Feature Tip: Add private address tag to any address under My Name Tag !
ERC-721
Overview
Max Total Supply
6,900 PEPPET
Holders
1,812
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
2 PEPPETLoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
EthereumPeppets
Compiler Version
v0.8.22+commit.4fc1097e
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2024-01-06 */ // 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/ethpeppets.sol pragma solidity ^0.8.22; contract EthereumPeppets is ERC721A, Ownable { using Strings for uint256; uint256 public maxSupply = 6900; uint256 public price = 0.002 ether; uint256 public maxPerTx = 20; uint256 public maxFree = 2; bool public sale; error MaxSupplyReached(); error MaxPerTxReached(); error MaxFreeReached(); error NotEnoughETH(); error SalePaused(); constructor(string memory __baseURI) ERC721A("Ethereum Peppets", "PEPPET") Ownable(msg.sender) { baseURI = __baseURI; } function mint(uint256 _amount) external payable { if (!sale) revert SalePaused(); if (_totalMinted() + _amount > maxSupply) revert MaxSupplyReached(); if (msg.value < price * _amount) revert NotEnoughETH(); if (_amount > maxPerTx) revert MaxPerTxReached(); _mint(msg.sender, _amount); } mapping(address => uint256) public counter; function freeMint(uint256 _amount) external payable onlyUser { if (!sale) revert SalePaused(); if (_totalMinted() + _amount > maxSupply) revert MaxSupplyReached(); if (counter[msg.sender] + _amount > maxFree) revert MaxFreeReached(); counter[msg.sender] += _amount; _mint(msg.sender, _amount); } // URI FUNCTIONS string public baseURI; string private uriExtension = ".json"; 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(), uriExtension) ); } 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 baseURI__) public onlyOwner { baseURI = baseURI__; } function toggleSale() external onlyOwner { sale = !sale; } function setPrice(uint256 _price) external onlyOwner { price = _price; } function setMaxPerTx(uint256 _maxPerTx) external onlyOwner { maxPerTx = _maxPerTx; } function setMaxFree(uint256 _maxFree) external onlyOwner { maxFree = _maxFree; } function setMaxSupply(uint256 _maxSupply) external onlyOwner { if (_maxSupply > maxSupply) revert MaxSupplyReached(); maxSupply = _maxSupply; } function airdrop(address _to, uint256 _amount) external onlyOwner { _mint(_to, _amount); } modifier onlyUser() { require(tx.origin == msg.sender); _; } // WITHDRAW function withdraw() external onlyOwner { (bool success, ) = payable(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":"__baseURI","type":"string"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ApprovalCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"ApprovalQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[],"name":"MaxFreeReached","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":"SalePaused","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":"_to","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":[{"internalType":"address","name":"","type":"address"}],"name":"counter","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"freeMint","outputs":[],"stateMutability":"payable","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":"price","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":"baseURI__","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_maxFree","type":"uint256"}],"name":"setMaxFree","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_maxPerTx","type":"uint256"}],"name":"setMaxPerTx","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_maxSupply","type":"uint256"}],"name":"setMaxSupply","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_price","type":"uint256"}],"name":"setPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"toggleSale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"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
6080604052611af460095566071afd498d0000600a556014600b556002600c556040518060400160405280600581526020017f2e6a736f6e000000000000000000000000000000000000000000000000000000815250601090816200006591906200050d565b5034801562000072575f80fd5b506040516200355938038062003559833981810160405281019062000098919062000749565b336040518060400160405280601081526020017f457468657265756d2050657070657473000000000000000000000000000000008152506040518060400160405280600681526020017f504550504554000000000000000000000000000000000000000000000000000081525081600290816200011691906200050d565b5080600390816200012891906200050d565b5062000139620001de60201b60201c565b5f8190555050505f73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603620001b3575f6040517f1e4fbdf7000000000000000000000000000000000000000000000000000000008152600401620001aa9190620007db565b60405180910390fd5b620001c481620001e660201b60201c565b5080600f9081620001d691906200050d565b5050620007f6565b5f6001905090565b5f60085f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1690508160085f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b5f81519050919050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52604160045260245ffd5b7f4e487b71000000000000000000000000000000000000000000000000000000005f52602260045260245ffd5b5f60028204905060018216806200032557607f821691505b6020821081036200033b576200033a620002e0565b5b50919050565b5f819050815f5260205f209050919050565b5f6020601f8301049050919050565b5f82821b905092915050565b5f600883026200039f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8262000362565b620003ab868362000362565b95508019841693508086168417925050509392505050565b5f819050919050565b5f819050919050565b5f620003f5620003ef620003e984620003c3565b620003cc565b620003c3565b9050919050565b5f819050919050565b6200041083620003d5565b620004286200041f82620003fc565b8484546200036e565b825550505050565b5f90565b6200043e62000430565b6200044b81848462000405565b505050565b5b818110156200047257620004665f8262000434565b60018101905062000451565b5050565b601f821115620004c1576200048b8162000341565b620004968462000353565b81016020851015620004a6578190505b620004be620004b58562000353565b83018262000450565b50505b505050565b5f82821c905092915050565b5f620004e35f1984600802620004c6565b1980831691505092915050565b5f620004fd8383620004d2565b9150826002028217905092915050565b6200051882620002a9565b67ffffffffffffffff811115620005345762000533620002b3565b5b6200054082546200030d565b6200054d82828562000476565b5f60209050601f83116001811462000583575f84156200056e578287015190505b6200057a8582620004f0565b865550620005e9565b601f198416620005938662000341565b5f5b82811015620005bc5784890151825560018201915060208501945060208101905062000595565b86831015620005dc5784890151620005d8601f891682620004d2565b8355505b6001600288020188555050505b505050505050565b5f604051905090565b5f80fd5b5f80fd5b5f80fd5b5f80fd5b5f601f19601f8301169050919050565b62000625826200060a565b810181811067ffffffffffffffff82111715620006475762000646620002b3565b5b80604052505050565b5f6200065b620005f1565b90506200066982826200061a565b919050565b5f67ffffffffffffffff8211156200068b576200068a620002b3565b5b62000696826200060a565b9050602081019050919050565b5f5b83811015620006c2578082015181840152602081019050620006a5565b5f8484015250505050565b5f620006e3620006dd846200066e565b62000650565b90508281526020810184848401111562000702576200070162000606565b5b6200070f848285620006a3565b509392505050565b5f82601f8301126200072e576200072d62000602565b5b815162000740848260208601620006cd565b91505092915050565b5f60208284031215620007615762000760620005fa565b5b5f82015167ffffffffffffffff811115620007815762000780620005fe565b5b6200078f8482850162000717565b91505092915050565b5f73ffffffffffffffffffffffffffffffffffffffff82169050919050565b5f620007c38262000798565b9050919050565b620007d581620007b7565b82525050565b5f602082019050620007f05f830184620007ca565b92915050565b612d5580620008045f395ff3fe6080604052600436106101f8575f3560e01c80637d8966e41161010c578063b88d4fde1161009f578063d5abeb011161006e578063d5abeb011461068e578063d755bf99146106b8578063e985e9c5146106e0578063f2fde38b1461071c578063f968adbe14610744576101f8565b8063b88d4fde146105d2578063c12327b8146105ee578063c6f6f2161461062a578063c87b56dd14610652576101f8565b806395d89b41116100db57806395d89b411461053a578063a035b1fe14610564578063a0712d681461058e578063a22cb465146105aa576101f8565b80637d8966e4146104aa5780638ba4cc3c146104c05780638da5cb5b146104e857806391b7f5ed14610512576101f8565b8063485a68a31161018f5780636c0360eb1161015e5780636c0360eb146103ea5780636f8b44b01461041457806370a082311461043c578063715018a6146104785780637c928fe91461048e576101f8565b8063485a68a31461033257806355f804b31461035c5780636352211e146103845780636ad1fe02146103c0576101f8565b806318160ddd116101cb57806318160ddd146102ba57806323b872dd146102e45780633ccfd60b1461030057806342842e0e14610316576101f8565b806301ffc9a7146101fc57806306fdde0314610238578063081812fc14610262578063095ea7b31461029e575b5f80fd5b348015610207575f80fd5b50610222600480360381019061021d9190612037565b61076e565b60405161022f919061207c565b60405180910390f35b348015610243575f80fd5b5061024c6107ff565b604051610259919061211f565b60405180910390f35b34801561026d575f80fd5b5061028860048036038101906102839190612172565b61088f565b60405161029591906121dc565b60405180910390f35b6102b860048036038101906102b3919061221f565b610909565b005b3480156102c5575f80fd5b506102ce610a48565b6040516102db919061226c565b60405180910390f35b6102fe60048036038101906102f99190612285565b610a5d565b005b34801561030b575f80fd5b50610314610d6b565b005b610330600480360381019061032b9190612285565b610e1e565b005b34801561033d575f80fd5b50610346610e3d565b604051610353919061226c565b60405180910390f35b348015610367575f80fd5b50610382600480360381019061037d9190612401565b610e43565b005b34801561038f575f80fd5b506103aa60048036038101906103a59190612172565b610e5e565b6040516103b791906121dc565b60405180910390f35b3480156103cb575f80fd5b506103d4610e6f565b6040516103e1919061207c565b60405180910390f35b3480156103f5575f80fd5b506103fe610e81565b60405161040b919061211f565b60405180910390f35b34801561041f575f80fd5b5061043a60048036038101906104359190612172565b610f0d565b005b348015610447575f80fd5b50610462600480360381019061045d9190612448565b610f5b565b60405161046f919061226c565b60405180910390f35b348015610483575f80fd5b5061048c611010565b005b6104a860048036038101906104a39190612172565b611023565b005b3480156104b5575f80fd5b506104be6111d1565b005b3480156104cb575f80fd5b506104e660048036038101906104e1919061221f565b611203565b005b3480156104f3575f80fd5b506104fc611219565b60405161050991906121dc565b60405180910390f35b34801561051d575f80fd5b5061053860048036038101906105339190612172565b611241565b005b348015610545575f80fd5b5061054e611253565b60405161055b919061211f565b60405180910390f35b34801561056f575f80fd5b506105786112e3565b604051610585919061226c565b60405180910390f35b6105a860048036038101906105a39190612172565b6112e9565b005b3480156105b5575f80fd5b506105d060048036038101906105cb919061249d565b61140c565b005b6105ec60048036038101906105e79190612579565b611512565b005b3480156105f9575f80fd5b50610614600480360381019061060f9190612448565b611584565b604051610621919061226c565b60405180910390f35b348015610635575f80fd5b50610650600480360381019061064b9190612172565b611599565b005b34801561065d575f80fd5b5061067860048036038101906106739190612172565b6115ab565b604051610685919061211f565b60405180910390f35b348015610699575f80fd5b506106a261162a565b6040516106af919061226c565b60405180910390f35b3480156106c3575f80fd5b506106de60048036038101906106d99190612172565b611630565b005b3480156106eb575f80fd5b50610706600480360381019061070191906125f9565b611642565b604051610713919061207c565b60405180910390f35b348015610727575f80fd5b50610742600480360381019061073d9190612448565b6116d0565b005b34801561074f575f80fd5b50610758611754565b604051610765919061226c565b60405180910390f35b5f6301ffc9a760e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806107c857506380ac58cd60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806107f85750635b5e139f60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b9050919050565b60606002805461080e90612664565b80601f016020809104026020016040519081016040528092919081815260200182805461083a90612664565b80156108855780601f1061085c57610100808354040283529160200191610885565b820191905f5260205f20905b81548152906001019060200180831161086857829003601f168201915b5050505050905090565b5f6108998261175a565b6108cf576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60065f8381526020019081526020015f205f015f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b5f61091382610e5e565b90508073ffffffffffffffffffffffffffffffffffffffff166109346117b4565b73ffffffffffffffffffffffffffffffffffffffff1614610997576109608161095b6117b4565b611642565b610996576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b8260065f8481526020019081526020015f205f015f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b5f610a516117bb565b6001545f540303905090565b5f610a67826117c3565b90508373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610ace576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5f80610ad984611886565b91509150610aef8187610aea6117b4565b6118a9565b610b3b57610b0486610aff6117b4565b611642565b610b3a576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b5f73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff1603610ba0576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610bad86868660016118ec565b8015610bb7575f82555b60055f8773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8154600190039190508190555060055f8673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f815460010191905081905550610c7f85610c5b8888876118f2565b7c020000000000000000000000000000000000000000000000000000000017611919565b60045f8681526020019081526020015f20819055505f7c0200000000000000000000000000000000000000000000000000000000841603610cfb575f6001850190505f60045f8381526020019081526020015f205403610cf9575f548114610cf8578360045f8381526020019081526020015f20819055505b5b505b838573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4610d638686866001611943565b505050505050565b610d73611949565b5f3373ffffffffffffffffffffffffffffffffffffffff1647604051610d98906126c1565b5f6040518083038185875af1925050503d805f8114610dd2576040519150601f19603f3d011682016040523d82523d5f602084013e610dd7565b606091505b5050905080610e1b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e129061271f565b60405180910390fd5b50565b610e3883838360405180602001604052805f815250611512565b505050565b600c5481565b610e4b611949565b80600f9081610e5a91906128da565b5050565b5f610e68826117c3565b9050919050565b600d5f9054906101000a900460ff1681565b600f8054610e8e90612664565b80601f0160208091040260200160405190810160405280929190818152602001828054610eba90612664565b8015610f055780601f10610edc57610100808354040283529160200191610f05565b820191905f5260205f20905b815481529060010190602001808311610ee857829003601f168201915b505050505081565b610f15611949565b600954811115610f51576040517fd05cb60900000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8060098190555050565b5f8073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603610fc1576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b67ffffffffffffffff60055f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2054169050919050565b611018611949565b6110215f6119d0565b565b3373ffffffffffffffffffffffffffffffffffffffff163273ffffffffffffffffffffffffffffffffffffffff161461105a575f80fd5b600d5f9054906101000a900460ff1661109f576040517f8a98cbd000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600954816110ab611a93565b6110b591906129d6565b11156110ed576040517fd05cb60900000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600c5481600e5f3373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205461113991906129d6565b1115611171576040517ff90c1bdb00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b80600e5f3373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8282546111bd91906129d6565b925050819055506111ce3382611aa4565b50565b6111d9611949565b600d5f9054906101000a900460ff1615600d5f6101000a81548160ff021916908315150217905550565b61120b611949565b6112158282611aa4565b5050565b5f60085f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b611249611949565b80600a8190555050565b60606003805461126290612664565b80601f016020809104026020016040519081016040528092919081815260200182805461128e90612664565b80156112d95780601f106112b0576101008083540402835291602001916112d9565b820191905f5260205f20905b8154815290600101906020018083116112bc57829003601f168201915b5050505050905090565b600a5481565b600d5f9054906101000a900460ff1661132e576040517f8a98cbd000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6009548161133a611a93565b61134491906129d6565b111561137c576040517fd05cb60900000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b80600a5461138a9190612a09565b3410156113c3576040517f583aa02600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600b548111156113ff576040517f84eef40b00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6114093382611aa4565b50565b8060075f6114186117b4565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f6101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff166114c16117b4565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611506919061207c565b60405180910390a35050565b61151d848484610a5d565b5f8373ffffffffffffffffffffffffffffffffffffffff163b1461157e5761154784848484611c4d565b61157d576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b50505050565b600e602052805f5260405f205f915090505481565b6115a1611949565b80600b8190555050565b60606115b68261175a565b6115f5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115ec90612aba565b60405180910390fd5b600f61160083611d98565b601060405160200161161493929190612bdc565b6040516020818303038152906040529050919050565b60095481565b611638611949565b80600c8190555050565b5f60075f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f9054906101000a900460ff16905092915050565b6116d8611949565b5f73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603611748575f6040517f1e4fbdf700000000000000000000000000000000000000000000000000000000815260040161173f91906121dc565b60405180910390fd5b611751816119d0565b50565b600b5481565b5f816117646117bb565b1115801561177257505f5482105b80156117ad57505f7c010000000000000000000000000000000000000000000000000000000060045f8581526020019081526020015f205416145b9050919050565b5f33905090565b5f6001905090565b5f80829050806117d16117bb565b1161184f575f5481101561184e575f60045f8381526020019081526020015f205490505f7c010000000000000000000000000000000000000000000000000000000082160361184c575b5f81036118425760045f836001900393508381526020019081526020015f2054905061181b565b8092505050611881565b505b5b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b5f805f60065f8581526020019081526020015f2090508092508254915050915091565b5f73ffffffffffffffffffffffffffffffffffffffff8316925073ffffffffffffffffffffffffffffffffffffffff821691508382148383141790509392505050565b50505050565b5f8060e883901c905060e8611908868684611e62565b62ffffff16901b9150509392505050565b5f73ffffffffffffffffffffffffffffffffffffffff83169250814260a01b178317905092915050565b50505050565b611951611e6a565b73ffffffffffffffffffffffffffffffffffffffff1661196f611219565b73ffffffffffffffffffffffffffffffffffffffff16146119ce57611992611e6a565b6040517f118cdaa70000000000000000000000000000000000000000000000000000000081526004016119c591906121dc565b60405180910390fd5b565b5f60085f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1690508160085f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b5f611a9c6117bb565b5f5403905090565b5f805490505f8203611ae2576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b611aee5f8483856118ec565b600160406001901b17820260055f8573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8282540192505081905550611b6083611b515f865f6118f2565b611b5a85611e71565b17611919565b60045f8381526020019081526020015f20819055505f80838301905073ffffffffffffffffffffffffffffffffffffffff8516915082825f7fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef5f80a4600183015b818114611bfa5780835f7fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef5f80a4600181019050611bc1565b505f8203611c34576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805f819055505050611c485f848385611943565b505050565b5f8373ffffffffffffffffffffffffffffffffffffffff1663150b7a02611c726117b4565b8786866040518563ffffffff1660e01b8152600401611c949493929190612c69565b6020604051808303815f875af1925050508015611ccf57506040513d601f19601f82011682018060405250810190611ccc9190612cc7565b60015b611d45573d805f8114611cfd576040519150601f19603f3d011682016040523d82523d5f602084013e611d02565b606091505b505f815103611d3d576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b60605f6001611da684611e80565b0190505f8167ffffffffffffffff811115611dc457611dc36122dd565b5b6040519080825280601f01601f191660200182016040528015611df65781602001600182028036833780820191505090505b5090505f82602001820190505b600115611e57578080600190039150507f3031323334353637383961626364656600000000000000000000000000000000600a86061a8153600a8581611e4c57611e4b612cf2565b5b0494505f8503611e03575b819350505050919050565b5f9392505050565b5f33905090565b5f6001821460e11b9050919050565b5f805f90507a184f03e93ff9f4daa797ed6e38ed64bf6a1f0100000000000000008310611edc577a184f03e93ff9f4daa797ed6e38ed64bf6a1f0100000000000000008381611ed257611ed1612cf2565b5b0492506040810190505b6d04ee2d6d415b85acef81000000008310611f19576d04ee2d6d415b85acef81000000008381611f0f57611f0e612cf2565b5b0492506020810190505b662386f26fc100008310611f4857662386f26fc100008381611f3e57611f3d612cf2565b5b0492506010810190505b6305f5e1008310611f71576305f5e1008381611f6757611f66612cf2565b5b0492506008810190505b6127108310611f96576127108381611f8c57611f8b612cf2565b5b0492506004810190505b60648310611fb95760648381611faf57611fae612cf2565b5b0492506002810190505b600a8310611fc8576001810190505b80915050919050565b5f604051905090565b5f80fd5b5f80fd5b5f7fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b61201681611fe2565b8114612020575f80fd5b50565b5f813590506120318161200d565b92915050565b5f6020828403121561204c5761204b611fda565b5b5f61205984828501612023565b91505092915050565b5f8115159050919050565b61207681612062565b82525050565b5f60208201905061208f5f83018461206d565b92915050565b5f81519050919050565b5f82825260208201905092915050565b5f5b838110156120cc5780820151818401526020810190506120b1565b5f8484015250505050565b5f601f19601f8301169050919050565b5f6120f182612095565b6120fb818561209f565b935061210b8185602086016120af565b612114816120d7565b840191505092915050565b5f6020820190508181035f83015261213781846120e7565b905092915050565b5f819050919050565b6121518161213f565b811461215b575f80fd5b50565b5f8135905061216c81612148565b92915050565b5f6020828403121561218757612186611fda565b5b5f6121948482850161215e565b91505092915050565b5f73ffffffffffffffffffffffffffffffffffffffff82169050919050565b5f6121c68261219d565b9050919050565b6121d6816121bc565b82525050565b5f6020820190506121ef5f8301846121cd565b92915050565b6121fe816121bc565b8114612208575f80fd5b50565b5f81359050612219816121f5565b92915050565b5f806040838503121561223557612234611fda565b5b5f6122428582860161220b565b92505060206122538582860161215e565b9150509250929050565b6122668161213f565b82525050565b5f60208201905061227f5f83018461225d565b92915050565b5f805f6060848603121561229c5761229b611fda565b5b5f6122a98682870161220b565b93505060206122ba8682870161220b565b92505060406122cb8682870161215e565b9150509250925092565b5f80fd5b5f80fd5b7f4e487b71000000000000000000000000000000000000000000000000000000005f52604160045260245ffd5b612313826120d7565b810181811067ffffffffffffffff82111715612332576123316122dd565b5b80604052505050565b5f612344611fd1565b9050612350828261230a565b919050565b5f67ffffffffffffffff82111561236f5761236e6122dd565b5b612378826120d7565b9050602081019050919050565b828183375f83830152505050565b5f6123a56123a084612355565b61233b565b9050828152602081018484840111156123c1576123c06122d9565b5b6123cc848285612385565b509392505050565b5f82601f8301126123e8576123e76122d5565b5b81356123f8848260208601612393565b91505092915050565b5f6020828403121561241657612415611fda565b5b5f82013567ffffffffffffffff81111561243357612432611fde565b5b61243f848285016123d4565b91505092915050565b5f6020828403121561245d5761245c611fda565b5b5f61246a8482850161220b565b91505092915050565b61247c81612062565b8114612486575f80fd5b50565b5f8135905061249781612473565b92915050565b5f80604083850312156124b3576124b2611fda565b5b5f6124c08582860161220b565b92505060206124d185828601612489565b9150509250929050565b5f67ffffffffffffffff8211156124f5576124f46122dd565b5b6124fe826120d7565b9050602081019050919050565b5f61251d612518846124db565b61233b565b905082815260208101848484011115612539576125386122d9565b5b612544848285612385565b509392505050565b5f82601f8301126125605761255f6122d5565b5b813561257084826020860161250b565b91505092915050565b5f805f806080858703121561259157612590611fda565b5b5f61259e8782880161220b565b94505060206125af8782880161220b565b93505060406125c08782880161215e565b925050606085013567ffffffffffffffff8111156125e1576125e0611fde565b5b6125ed8782880161254c565b91505092959194509250565b5f806040838503121561260f5761260e611fda565b5b5f61261c8582860161220b565b925050602061262d8582860161220b565b9150509250929050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52602260045260245ffd5b5f600282049050600182168061267b57607f821691505b60208210810361268e5761268d612637565b5b50919050565b5f81905092915050565b50565b5f6126ac5f83612694565b91506126b78261269e565b5f82019050919050565b5f6126cb826126a1565b9150819050919050565b7f5472616e73666572206661696c65642e000000000000000000000000000000005f82015250565b5f61270960108361209f565b9150612714826126d5565b602082019050919050565b5f6020820190508181035f830152612736816126fd565b9050919050565b5f819050815f5260205f209050919050565b5f6020601f8301049050919050565b5f82821b905092915050565b5f600883026127997fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8261275e565b6127a3868361275e565b95508019841693508086168417925050509392505050565b5f819050919050565b5f6127de6127d96127d48461213f565b6127bb565b61213f565b9050919050565b5f819050919050565b6127f7836127c4565b61280b612803826127e5565b84845461276a565b825550505050565b5f90565b61281f612813565b61282a8184846127ee565b505050565b5b8181101561284d576128425f82612817565b600181019050612830565b5050565b601f821115612892576128638161273d565b61286c8461274f565b8101602085101561287b578190505b61288f6128878561274f565b83018261282f565b50505b505050565b5f82821c905092915050565b5f6128b25f1984600802612897565b1980831691505092915050565b5f6128ca83836128a3565b9150826002028217905092915050565b6128e382612095565b67ffffffffffffffff8111156128fc576128fb6122dd565b5b6129068254612664565b612911828285612851565b5f60209050601f831160018114612942575f8415612930578287015190505b61293a85826128bf565b8655506129a1565b601f1984166129508661273d565b5f5b8281101561297757848901518255600182019150602085019450602081019050612952565b868310156129945784890151612990601f8916826128a3565b8355505b6001600288020188555050505b505050505050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52601160045260245ffd5b5f6129e08261213f565b91506129eb8361213f565b9250828201905080821115612a0357612a026129a9565b5b92915050565b5f612a138261213f565b9150612a1e8361213f565b9250828202612a2c8161213f565b91508282048414831517612a4357612a426129a9565b5b5092915050565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f5f8201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b5f612aa4602f8361209f565b9150612aaf82612a4a565b604082019050919050565b5f6020820190508181035f830152612ad181612a98565b9050919050565b5f81905092915050565b5f8154612aee81612664565b612af88186612ad8565b9450600182165f8114612b125760018114612b2757612b59565b60ff1983168652811515820286019350612b59565b612b308561273d565b5f5b83811015612b5157815481890152600182019150602081019050612b32565b838801955050505b50505092915050565b7f2f000000000000000000000000000000000000000000000000000000000000005f82015250565b5f612b96600183612ad8565b9150612ba182612b62565b600182019050919050565b5f612bb682612095565b612bc08185612ad8565b9350612bd08185602086016120af565b80840191505092915050565b5f612be78286612ae2565b9150612bf282612b8a565b9150612bfe8285612bac565b9150612c0a8284612ae2565b9150819050949350505050565b5f81519050919050565b5f82825260208201905092915050565b5f612c3b82612c17565b612c458185612c21565b9350612c558185602086016120af565b612c5e816120d7565b840191505092915050565b5f608082019050612c7c5f8301876121cd565b612c8960208301866121cd565b612c96604083018561225d565b8181036060830152612ca88184612c31565b905095945050505050565b5f81519050612cc18161200d565b92915050565b5f60208284031215612cdc57612cdb611fda565b5b5f612ce984828501612cb3565b91505092915050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52601260045260245ffdfea2646970667358221220e529ed07db16ee4ad89368a43c7199b3d9bc44525a569a957bbfbe91881f3e3064736f6c6343000816003300000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000035697066733a2f2f516d644a44334374523831447839446668466843704532324c5a577967424751504a614e7571747150347a51346b0000000000000000000000
Deployed Bytecode
0x6080604052600436106101f8575f3560e01c80637d8966e41161010c578063b88d4fde1161009f578063d5abeb011161006e578063d5abeb011461068e578063d755bf99146106b8578063e985e9c5146106e0578063f2fde38b1461071c578063f968adbe14610744576101f8565b8063b88d4fde146105d2578063c12327b8146105ee578063c6f6f2161461062a578063c87b56dd14610652576101f8565b806395d89b41116100db57806395d89b411461053a578063a035b1fe14610564578063a0712d681461058e578063a22cb465146105aa576101f8565b80637d8966e4146104aa5780638ba4cc3c146104c05780638da5cb5b146104e857806391b7f5ed14610512576101f8565b8063485a68a31161018f5780636c0360eb1161015e5780636c0360eb146103ea5780636f8b44b01461041457806370a082311461043c578063715018a6146104785780637c928fe91461048e576101f8565b8063485a68a31461033257806355f804b31461035c5780636352211e146103845780636ad1fe02146103c0576101f8565b806318160ddd116101cb57806318160ddd146102ba57806323b872dd146102e45780633ccfd60b1461030057806342842e0e14610316576101f8565b806301ffc9a7146101fc57806306fdde0314610238578063081812fc14610262578063095ea7b31461029e575b5f80fd5b348015610207575f80fd5b50610222600480360381019061021d9190612037565b61076e565b60405161022f919061207c565b60405180910390f35b348015610243575f80fd5b5061024c6107ff565b604051610259919061211f565b60405180910390f35b34801561026d575f80fd5b5061028860048036038101906102839190612172565b61088f565b60405161029591906121dc565b60405180910390f35b6102b860048036038101906102b3919061221f565b610909565b005b3480156102c5575f80fd5b506102ce610a48565b6040516102db919061226c565b60405180910390f35b6102fe60048036038101906102f99190612285565b610a5d565b005b34801561030b575f80fd5b50610314610d6b565b005b610330600480360381019061032b9190612285565b610e1e565b005b34801561033d575f80fd5b50610346610e3d565b604051610353919061226c565b60405180910390f35b348015610367575f80fd5b50610382600480360381019061037d9190612401565b610e43565b005b34801561038f575f80fd5b506103aa60048036038101906103a59190612172565b610e5e565b6040516103b791906121dc565b60405180910390f35b3480156103cb575f80fd5b506103d4610e6f565b6040516103e1919061207c565b60405180910390f35b3480156103f5575f80fd5b506103fe610e81565b60405161040b919061211f565b60405180910390f35b34801561041f575f80fd5b5061043a60048036038101906104359190612172565b610f0d565b005b348015610447575f80fd5b50610462600480360381019061045d9190612448565b610f5b565b60405161046f919061226c565b60405180910390f35b348015610483575f80fd5b5061048c611010565b005b6104a860048036038101906104a39190612172565b611023565b005b3480156104b5575f80fd5b506104be6111d1565b005b3480156104cb575f80fd5b506104e660048036038101906104e1919061221f565b611203565b005b3480156104f3575f80fd5b506104fc611219565b60405161050991906121dc565b60405180910390f35b34801561051d575f80fd5b5061053860048036038101906105339190612172565b611241565b005b348015610545575f80fd5b5061054e611253565b60405161055b919061211f565b60405180910390f35b34801561056f575f80fd5b506105786112e3565b604051610585919061226c565b60405180910390f35b6105a860048036038101906105a39190612172565b6112e9565b005b3480156105b5575f80fd5b506105d060048036038101906105cb919061249d565b61140c565b005b6105ec60048036038101906105e79190612579565b611512565b005b3480156105f9575f80fd5b50610614600480360381019061060f9190612448565b611584565b604051610621919061226c565b60405180910390f35b348015610635575f80fd5b50610650600480360381019061064b9190612172565b611599565b005b34801561065d575f80fd5b5061067860048036038101906106739190612172565b6115ab565b604051610685919061211f565b60405180910390f35b348015610699575f80fd5b506106a261162a565b6040516106af919061226c565b60405180910390f35b3480156106c3575f80fd5b506106de60048036038101906106d99190612172565b611630565b005b3480156106eb575f80fd5b50610706600480360381019061070191906125f9565b611642565b604051610713919061207c565b60405180910390f35b348015610727575f80fd5b50610742600480360381019061073d9190612448565b6116d0565b005b34801561074f575f80fd5b50610758611754565b604051610765919061226c565b60405180910390f35b5f6301ffc9a760e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806107c857506380ac58cd60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806107f85750635b5e139f60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b9050919050565b60606002805461080e90612664565b80601f016020809104026020016040519081016040528092919081815260200182805461083a90612664565b80156108855780601f1061085c57610100808354040283529160200191610885565b820191905f5260205f20905b81548152906001019060200180831161086857829003601f168201915b5050505050905090565b5f6108998261175a565b6108cf576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60065f8381526020019081526020015f205f015f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b5f61091382610e5e565b90508073ffffffffffffffffffffffffffffffffffffffff166109346117b4565b73ffffffffffffffffffffffffffffffffffffffff1614610997576109608161095b6117b4565b611642565b610996576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b8260065f8481526020019081526020015f205f015f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b5f610a516117bb565b6001545f540303905090565b5f610a67826117c3565b90508373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610ace576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5f80610ad984611886565b91509150610aef8187610aea6117b4565b6118a9565b610b3b57610b0486610aff6117b4565b611642565b610b3a576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b5f73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff1603610ba0576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610bad86868660016118ec565b8015610bb7575f82555b60055f8773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8154600190039190508190555060055f8673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f815460010191905081905550610c7f85610c5b8888876118f2565b7c020000000000000000000000000000000000000000000000000000000017611919565b60045f8681526020019081526020015f20819055505f7c0200000000000000000000000000000000000000000000000000000000841603610cfb575f6001850190505f60045f8381526020019081526020015f205403610cf9575f548114610cf8578360045f8381526020019081526020015f20819055505b5b505b838573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4610d638686866001611943565b505050505050565b610d73611949565b5f3373ffffffffffffffffffffffffffffffffffffffff1647604051610d98906126c1565b5f6040518083038185875af1925050503d805f8114610dd2576040519150601f19603f3d011682016040523d82523d5f602084013e610dd7565b606091505b5050905080610e1b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e129061271f565b60405180910390fd5b50565b610e3883838360405180602001604052805f815250611512565b505050565b600c5481565b610e4b611949565b80600f9081610e5a91906128da565b5050565b5f610e68826117c3565b9050919050565b600d5f9054906101000a900460ff1681565b600f8054610e8e90612664565b80601f0160208091040260200160405190810160405280929190818152602001828054610eba90612664565b8015610f055780601f10610edc57610100808354040283529160200191610f05565b820191905f5260205f20905b815481529060010190602001808311610ee857829003601f168201915b505050505081565b610f15611949565b600954811115610f51576040517fd05cb60900000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8060098190555050565b5f8073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603610fc1576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b67ffffffffffffffff60055f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2054169050919050565b611018611949565b6110215f6119d0565b565b3373ffffffffffffffffffffffffffffffffffffffff163273ffffffffffffffffffffffffffffffffffffffff161461105a575f80fd5b600d5f9054906101000a900460ff1661109f576040517f8a98cbd000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600954816110ab611a93565b6110b591906129d6565b11156110ed576040517fd05cb60900000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600c5481600e5f3373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205461113991906129d6565b1115611171576040517ff90c1bdb00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b80600e5f3373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8282546111bd91906129d6565b925050819055506111ce3382611aa4565b50565b6111d9611949565b600d5f9054906101000a900460ff1615600d5f6101000a81548160ff021916908315150217905550565b61120b611949565b6112158282611aa4565b5050565b5f60085f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b611249611949565b80600a8190555050565b60606003805461126290612664565b80601f016020809104026020016040519081016040528092919081815260200182805461128e90612664565b80156112d95780601f106112b0576101008083540402835291602001916112d9565b820191905f5260205f20905b8154815290600101906020018083116112bc57829003601f168201915b5050505050905090565b600a5481565b600d5f9054906101000a900460ff1661132e576040517f8a98cbd000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6009548161133a611a93565b61134491906129d6565b111561137c576040517fd05cb60900000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b80600a5461138a9190612a09565b3410156113c3576040517f583aa02600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600b548111156113ff576040517f84eef40b00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6114093382611aa4565b50565b8060075f6114186117b4565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f6101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff166114c16117b4565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611506919061207c565b60405180910390a35050565b61151d848484610a5d565b5f8373ffffffffffffffffffffffffffffffffffffffff163b1461157e5761154784848484611c4d565b61157d576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b50505050565b600e602052805f5260405f205f915090505481565b6115a1611949565b80600b8190555050565b60606115b68261175a565b6115f5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115ec90612aba565b60405180910390fd5b600f61160083611d98565b601060405160200161161493929190612bdc565b6040516020818303038152906040529050919050565b60095481565b611638611949565b80600c8190555050565b5f60075f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f9054906101000a900460ff16905092915050565b6116d8611949565b5f73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603611748575f6040517f1e4fbdf700000000000000000000000000000000000000000000000000000000815260040161173f91906121dc565b60405180910390fd5b611751816119d0565b50565b600b5481565b5f816117646117bb565b1115801561177257505f5482105b80156117ad57505f7c010000000000000000000000000000000000000000000000000000000060045f8581526020019081526020015f205416145b9050919050565b5f33905090565b5f6001905090565b5f80829050806117d16117bb565b1161184f575f5481101561184e575f60045f8381526020019081526020015f205490505f7c010000000000000000000000000000000000000000000000000000000082160361184c575b5f81036118425760045f836001900393508381526020019081526020015f2054905061181b565b8092505050611881565b505b5b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b5f805f60065f8581526020019081526020015f2090508092508254915050915091565b5f73ffffffffffffffffffffffffffffffffffffffff8316925073ffffffffffffffffffffffffffffffffffffffff821691508382148383141790509392505050565b50505050565b5f8060e883901c905060e8611908868684611e62565b62ffffff16901b9150509392505050565b5f73ffffffffffffffffffffffffffffffffffffffff83169250814260a01b178317905092915050565b50505050565b611951611e6a565b73ffffffffffffffffffffffffffffffffffffffff1661196f611219565b73ffffffffffffffffffffffffffffffffffffffff16146119ce57611992611e6a565b6040517f118cdaa70000000000000000000000000000000000000000000000000000000081526004016119c591906121dc565b60405180910390fd5b565b5f60085f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1690508160085f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b5f611a9c6117bb565b5f5403905090565b5f805490505f8203611ae2576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b611aee5f8483856118ec565b600160406001901b17820260055f8573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8282540192505081905550611b6083611b515f865f6118f2565b611b5a85611e71565b17611919565b60045f8381526020019081526020015f20819055505f80838301905073ffffffffffffffffffffffffffffffffffffffff8516915082825f7fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef5f80a4600183015b818114611bfa5780835f7fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef5f80a4600181019050611bc1565b505f8203611c34576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805f819055505050611c485f848385611943565b505050565b5f8373ffffffffffffffffffffffffffffffffffffffff1663150b7a02611c726117b4565b8786866040518563ffffffff1660e01b8152600401611c949493929190612c69565b6020604051808303815f875af1925050508015611ccf57506040513d601f19601f82011682018060405250810190611ccc9190612cc7565b60015b611d45573d805f8114611cfd576040519150601f19603f3d011682016040523d82523d5f602084013e611d02565b606091505b505f815103611d3d576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b60605f6001611da684611e80565b0190505f8167ffffffffffffffff811115611dc457611dc36122dd565b5b6040519080825280601f01601f191660200182016040528015611df65781602001600182028036833780820191505090505b5090505f82602001820190505b600115611e57578080600190039150507f3031323334353637383961626364656600000000000000000000000000000000600a86061a8153600a8581611e4c57611e4b612cf2565b5b0494505f8503611e03575b819350505050919050565b5f9392505050565b5f33905090565b5f6001821460e11b9050919050565b5f805f90507a184f03e93ff9f4daa797ed6e38ed64bf6a1f0100000000000000008310611edc577a184f03e93ff9f4daa797ed6e38ed64bf6a1f0100000000000000008381611ed257611ed1612cf2565b5b0492506040810190505b6d04ee2d6d415b85acef81000000008310611f19576d04ee2d6d415b85acef81000000008381611f0f57611f0e612cf2565b5b0492506020810190505b662386f26fc100008310611f4857662386f26fc100008381611f3e57611f3d612cf2565b5b0492506010810190505b6305f5e1008310611f71576305f5e1008381611f6757611f66612cf2565b5b0492506008810190505b6127108310611f96576127108381611f8c57611f8b612cf2565b5b0492506004810190505b60648310611fb95760648381611faf57611fae612cf2565b5b0492506002810190505b600a8310611fc8576001810190505b80915050919050565b5f604051905090565b5f80fd5b5f80fd5b5f7fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b61201681611fe2565b8114612020575f80fd5b50565b5f813590506120318161200d565b92915050565b5f6020828403121561204c5761204b611fda565b5b5f61205984828501612023565b91505092915050565b5f8115159050919050565b61207681612062565b82525050565b5f60208201905061208f5f83018461206d565b92915050565b5f81519050919050565b5f82825260208201905092915050565b5f5b838110156120cc5780820151818401526020810190506120b1565b5f8484015250505050565b5f601f19601f8301169050919050565b5f6120f182612095565b6120fb818561209f565b935061210b8185602086016120af565b612114816120d7565b840191505092915050565b5f6020820190508181035f83015261213781846120e7565b905092915050565b5f819050919050565b6121518161213f565b811461215b575f80fd5b50565b5f8135905061216c81612148565b92915050565b5f6020828403121561218757612186611fda565b5b5f6121948482850161215e565b91505092915050565b5f73ffffffffffffffffffffffffffffffffffffffff82169050919050565b5f6121c68261219d565b9050919050565b6121d6816121bc565b82525050565b5f6020820190506121ef5f8301846121cd565b92915050565b6121fe816121bc565b8114612208575f80fd5b50565b5f81359050612219816121f5565b92915050565b5f806040838503121561223557612234611fda565b5b5f6122428582860161220b565b92505060206122538582860161215e565b9150509250929050565b6122668161213f565b82525050565b5f60208201905061227f5f83018461225d565b92915050565b5f805f6060848603121561229c5761229b611fda565b5b5f6122a98682870161220b565b93505060206122ba8682870161220b565b92505060406122cb8682870161215e565b9150509250925092565b5f80fd5b5f80fd5b7f4e487b71000000000000000000000000000000000000000000000000000000005f52604160045260245ffd5b612313826120d7565b810181811067ffffffffffffffff82111715612332576123316122dd565b5b80604052505050565b5f612344611fd1565b9050612350828261230a565b919050565b5f67ffffffffffffffff82111561236f5761236e6122dd565b5b612378826120d7565b9050602081019050919050565b828183375f83830152505050565b5f6123a56123a084612355565b61233b565b9050828152602081018484840111156123c1576123c06122d9565b5b6123cc848285612385565b509392505050565b5f82601f8301126123e8576123e76122d5565b5b81356123f8848260208601612393565b91505092915050565b5f6020828403121561241657612415611fda565b5b5f82013567ffffffffffffffff81111561243357612432611fde565b5b61243f848285016123d4565b91505092915050565b5f6020828403121561245d5761245c611fda565b5b5f61246a8482850161220b565b91505092915050565b61247c81612062565b8114612486575f80fd5b50565b5f8135905061249781612473565b92915050565b5f80604083850312156124b3576124b2611fda565b5b5f6124c08582860161220b565b92505060206124d185828601612489565b9150509250929050565b5f67ffffffffffffffff8211156124f5576124f46122dd565b5b6124fe826120d7565b9050602081019050919050565b5f61251d612518846124db565b61233b565b905082815260208101848484011115612539576125386122d9565b5b612544848285612385565b509392505050565b5f82601f8301126125605761255f6122d5565b5b813561257084826020860161250b565b91505092915050565b5f805f806080858703121561259157612590611fda565b5b5f61259e8782880161220b565b94505060206125af8782880161220b565b93505060406125c08782880161215e565b925050606085013567ffffffffffffffff8111156125e1576125e0611fde565b5b6125ed8782880161254c565b91505092959194509250565b5f806040838503121561260f5761260e611fda565b5b5f61261c8582860161220b565b925050602061262d8582860161220b565b9150509250929050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52602260045260245ffd5b5f600282049050600182168061267b57607f821691505b60208210810361268e5761268d612637565b5b50919050565b5f81905092915050565b50565b5f6126ac5f83612694565b91506126b78261269e565b5f82019050919050565b5f6126cb826126a1565b9150819050919050565b7f5472616e73666572206661696c65642e000000000000000000000000000000005f82015250565b5f61270960108361209f565b9150612714826126d5565b602082019050919050565b5f6020820190508181035f830152612736816126fd565b9050919050565b5f819050815f5260205f209050919050565b5f6020601f8301049050919050565b5f82821b905092915050565b5f600883026127997fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8261275e565b6127a3868361275e565b95508019841693508086168417925050509392505050565b5f819050919050565b5f6127de6127d96127d48461213f565b6127bb565b61213f565b9050919050565b5f819050919050565b6127f7836127c4565b61280b612803826127e5565b84845461276a565b825550505050565b5f90565b61281f612813565b61282a8184846127ee565b505050565b5b8181101561284d576128425f82612817565b600181019050612830565b5050565b601f821115612892576128638161273d565b61286c8461274f565b8101602085101561287b578190505b61288f6128878561274f565b83018261282f565b50505b505050565b5f82821c905092915050565b5f6128b25f1984600802612897565b1980831691505092915050565b5f6128ca83836128a3565b9150826002028217905092915050565b6128e382612095565b67ffffffffffffffff8111156128fc576128fb6122dd565b5b6129068254612664565b612911828285612851565b5f60209050601f831160018114612942575f8415612930578287015190505b61293a85826128bf565b8655506129a1565b601f1984166129508661273d565b5f5b8281101561297757848901518255600182019150602085019450602081019050612952565b868310156129945784890151612990601f8916826128a3565b8355505b6001600288020188555050505b505050505050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52601160045260245ffd5b5f6129e08261213f565b91506129eb8361213f565b9250828201905080821115612a0357612a026129a9565b5b92915050565b5f612a138261213f565b9150612a1e8361213f565b9250828202612a2c8161213f565b91508282048414831517612a4357612a426129a9565b5b5092915050565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f5f8201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b5f612aa4602f8361209f565b9150612aaf82612a4a565b604082019050919050565b5f6020820190508181035f830152612ad181612a98565b9050919050565b5f81905092915050565b5f8154612aee81612664565b612af88186612ad8565b9450600182165f8114612b125760018114612b2757612b59565b60ff1983168652811515820286019350612b59565b612b308561273d565b5f5b83811015612b5157815481890152600182019150602081019050612b32565b838801955050505b50505092915050565b7f2f000000000000000000000000000000000000000000000000000000000000005f82015250565b5f612b96600183612ad8565b9150612ba182612b62565b600182019050919050565b5f612bb682612095565b612bc08185612ad8565b9350612bd08185602086016120af565b80840191505092915050565b5f612be78286612ae2565b9150612bf282612b8a565b9150612bfe8285612bac565b9150612c0a8284612ae2565b9150819050949350505050565b5f81519050919050565b5f82825260208201905092915050565b5f612c3b82612c17565b612c458185612c21565b9350612c558185602086016120af565b612c5e816120d7565b840191505092915050565b5f608082019050612c7c5f8301876121cd565b612c8960208301866121cd565b612c96604083018561225d565b8181036060830152612ca88184612c31565b905095945050505050565b5f81519050612cc18161200d565b92915050565b5f60208284031215612cdc57612cdb611fda565b5b5f612ce984828501612cb3565b91505092915050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52601260045260245ffdfea2646970667358221220e529ed07db16ee4ad89368a43c7199b3d9bc44525a569a957bbfbe91881f3e3064736f6c63430008160033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
00000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000035697066733a2f2f516d644a44334374523831447839446668466843704532324c5a577967424751504a614e7571747150347a51346b0000000000000000000000
-----Decoded View---------------
Arg [0] : __baseURI (string): ipfs://QmdJD3CtR81Dx9DfhFhCpE22LZWygBGQPJaNuqtqP4zQ4k
-----Encoded View---------------
4 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000020
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000035
Arg [2] : 697066733a2f2f516d644a44334374523831447839446668466843704532324c
Arg [3] : 5a577967424751504a614e7571747150347a51346b0000000000000000000000
Deployed Bytecode Sourcemap
75661:3147:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;42557:639;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;43459:100;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;49950:218;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;49383:408;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;39210:323;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;53589:2825;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;78599:206;;;;;;;;;;;;;:::i;:::-;;56510:193;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;75861:26;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;77715:100;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;44852:152;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;75894:16;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;77003:21;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;78205:166;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;40394:233;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;23317:103;;;;;;;;;;;;;:::i;:::-;;76624:347;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;77823:72;;;;;;;;;;;;;:::i;:::-;;78379:104;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;22642:87;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;77903:86;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;43635:104;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;75785:34;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;76227:338;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;50508:234;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;57301:407;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;76573:42;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;77997:98;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;77077:405;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;75747:31;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;78103:94;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;50899:164;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;23575:220;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;75826: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;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;78599:206::-;22528:13;:11;:13::i;:::-;78650:12:::1;78676:10;78668:24;;78714:21;78668:82;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;78649:101;;;78769:7;78761:36;;;;;;;;;;;;:::i;:::-;;;;;;;;;78638:167;78599:206::o:0;56510:193::-;56656:39;56673:4;56679:2;56683:7;56656:39;;;;;;;;;;;;:16;:39::i;:::-;56510:193;;;:::o;75861:26::-;;;;:::o;77715:100::-;22528:13;:11;:13::i;:::-;77798:9:::1;77788:7;:19;;;;;;:::i;:::-;;77715:100:::0;:::o;44852:152::-;44924:7;44967:27;44986:7;44967:18;:27::i;:::-;44944:52;;44852:152;;;:::o;75894:16::-;;;;;;;;;;;;;:::o;77003:21::-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;78205:166::-;22528:13;:11;:13::i;:::-;78294:9:::1;;78281:10;:22;78277:53;;;78312:18;;;;;;;;;;;;;;78277:53;78353:10;78341:9;:22;;;;78205:166:::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;76624:347::-;78543:10;78530:23;;:9;:23;;;78522:32;;;;;;76701:4:::1;;;;;;;;;;;76696:30;;76714:12;;;;;;;;;;;;;;76696:30;76768:9;;76758:7;76741:14;:12;:14::i;:::-;:24;;;;:::i;:::-;:36;76737:67;;;76786:18;;;;;;;;;;;;;;76737:67;76851:7;;76841;76819;:19;76827:10;76819:19;;;;;;;;;;;;;;;;:29;;;;:::i;:::-;:39;76815:68;;;76867:16;;;;;;;;;;;;;;76815:68;76919:7;76896;:19;76904:10;76896:19;;;;;;;;;;;;;;;;:30;;;;;;;:::i;:::-;;;;;;;;76937:26;76943:10;76955:7;76937:5;:26::i;:::-;76624:347:::0;:::o;77823:72::-;22528:13;:11;:13::i;:::-;77883:4:::1;;;;;;;;;;;77882:5;77875:4;;:12;;;;;;;;;;;;;;;;;;77823:72::o:0;78379:104::-;22528:13;:11;:13::i;:::-;78456:19:::1;78462:3;78467:7;78456:5;:19::i;:::-;78379:104:::0;;:::o;22642:87::-;22688:7;22715:6;;;;;;;;;;;22708:13;;22642:87;:::o;77903:86::-;22528:13;:11;:13::i;:::-;77975:6:::1;77967:5;:14;;;;77903:86:::0;:::o;43635:104::-;43691:13;43724:7;43717:14;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;43635:104;:::o;75785:34::-;;;;:::o;76227:338::-;76291:4;;;;;;;;;;;76286:30;;76304:12;;;;;;;;;;;;;;76286:30;76358:9;;76348:7;76331:14;:12;:14::i;:::-;:24;;;;:::i;:::-;:36;76327:67;;;76376:18;;;;;;;;;;;;;;76327:67;76429:7;76421:5;;:15;;;;:::i;:::-;76409:9;:27;76405:54;;;76445:14;;;;;;;;;;;;;;76405:54;76484:8;;76474:7;:18;76470:48;;;76501:17;;;;;;;;;;;;;;76470:48;76531:26;76537:10;76549:7;76531:5;:26::i;:::-;76227:338;:::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;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;76573:42::-;;;;;;;;;;;;;;;;;:::o;77997:98::-;22528:13;:11;:13::i;:::-;78078:9:::1;78067:8;:20;;;;77997:98:::0;:::o;77077:405::-;77195:13;77248:16;77256:7;77248;:16::i;:::-;77226:113;;;;;;;;;;;;:::i;:::-;;;;;;;;;77412:7;77426:18;:7;:16;:18::i;:::-;77446:12;77395:64;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;77350:124;;77077:405;;;:::o;75747:31::-;;;;:::o;78103:94::-;22528:13;:11;:13::i;:::-;78181:8:::1;78171:7;:18;;;;78103:94:::0;:::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;75826: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;77606:101::-;77671:7;77698:1;77691:8;;77606: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;39631:296::-;39686:7;39893:15;:13;:15::i;:::-;39877:13;;:31;39870:38;;39631:296;:::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;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:166::-;13805:18;13801:1;13793:6;13789:14;13782:42;13665:166;:::o;13837:366::-;13979:3;14000:67;14064:2;14059:3;14000:67;:::i;:::-;13993:74;;14076:93;14165:3;14076:93;:::i;:::-;14194:2;14189:3;14185:12;14178:19;;13837:366;;;:::o;14209:419::-;14375:4;14413:2;14402:9;14398:18;14390:26;;14462:9;14456:4;14452:20;14448:1;14437:9;14433:17;14426:47;14490:131;14616:4;14490:131;:::i;:::-;14482:139;;14209:419;;;:::o;14634:141::-;14683:4;14706:3;14698:11;;14729:3;14726:1;14719:14;14763:4;14760:1;14750:18;14742:26;;14634:141;;;:::o;14781:93::-;14818:6;14865:2;14860;14853:5;14849:14;14845:23;14835:33;;14781:93;;;:::o;14880:107::-;14924:8;14974:5;14968:4;14964:16;14943:37;;14880:107;;;;:::o;14993:393::-;15062:6;15112:1;15100:10;15096:18;15135:97;15165:66;15154:9;15135:97;:::i;:::-;15253:39;15283:8;15272:9;15253:39;:::i;:::-;15241:51;;15325:4;15321:9;15314:5;15310:21;15301:30;;15374:4;15364:8;15360:19;15353:5;15350:30;15340:40;;15069:317;;14993:393;;;;;:::o;15392:60::-;15420:3;15441:5;15434:12;;15392:60;;;:::o;15458:142::-;15508:9;15541:53;15559:34;15568:24;15586:5;15568:24;:::i;:::-;15559:34;:::i;:::-;15541:53;:::i;:::-;15528:66;;15458:142;;;:::o;15606:75::-;15649:3;15670:5;15663:12;;15606:75;;;:::o;15687:269::-;15797:39;15828:7;15797:39;:::i;:::-;15858:91;15907:41;15931:16;15907:41;:::i;:::-;15899:6;15892:4;15886:11;15858:91;:::i;:::-;15852:4;15845:105;15763:193;15687:269;;;:::o;15962:73::-;16007:3;15962:73;:::o;16041:189::-;16118:32;;:::i;:::-;16159:65;16217:6;16209;16203:4;16159:65;:::i;:::-;16094:136;16041:189;;:::o;16236:186::-;16296:120;16313:3;16306:5;16303:14;16296:120;;;16367:39;16404:1;16397:5;16367:39;:::i;:::-;16340:1;16333:5;16329:13;16320:22;;16296:120;;;16236:186;;:::o;16428:543::-;16529:2;16524:3;16521:11;16518:446;;;16563:38;16595:5;16563:38;:::i;:::-;16647:29;16665:10;16647:29;:::i;:::-;16637:8;16633:44;16830:2;16818:10;16815:18;16812:49;;;16851:8;16836:23;;16812:49;16874:80;16930:22;16948:3;16930:22;:::i;:::-;16920:8;16916:37;16903:11;16874:80;:::i;:::-;16533:431;;16518:446;16428:543;;;:::o;16977:117::-;17031:8;17081:5;17075:4;17071:16;17050:37;;16977:117;;;;:::o;17100:169::-;17144:6;17177:51;17225:1;17221:6;17213:5;17210:1;17206:13;17177:51;:::i;:::-;17173:56;17258:4;17252;17248:15;17238:25;;17151:118;17100:169;;;;:::o;17274:295::-;17350:4;17496:29;17521:3;17515:4;17496:29;:::i;:::-;17488:37;;17558:3;17555:1;17551:11;17545:4;17542:21;17534:29;;17274:295;;;;:::o;17574:1395::-;17691:37;17724:3;17691:37;:::i;:::-;17793:18;17785:6;17782:30;17779:56;;;17815:18;;:::i;:::-;17779:56;17859:38;17891:4;17885:11;17859:38;:::i;:::-;17944:67;18004:6;17996;17990:4;17944:67;:::i;:::-;18038:1;18062:4;18049:17;;18094:2;18086:6;18083:14;18111:1;18106:618;;;;18768:1;18785:6;18782:77;;;18834:9;18829:3;18825:19;18819:26;18810:35;;18782:77;18885:67;18945:6;18938:5;18885:67;:::i;:::-;18879:4;18872:81;18741:222;18076:887;;18106:618;18158:4;18154:9;18146:6;18142:22;18192:37;18224:4;18192:37;:::i;:::-;18251:1;18265:208;18279:7;18276:1;18273:14;18265:208;;;18358:9;18353:3;18349:19;18343:26;18335:6;18328:42;18409:1;18401:6;18397:14;18387:24;;18456:2;18445:9;18441:18;18428:31;;18302:4;18299:1;18295:12;18290:17;;18265:208;;;18501:6;18492:7;18489:19;18486:179;;;18559:9;18554:3;18550:19;18544:26;18602:48;18644:4;18636:6;18632:17;18621:9;18602:48;:::i;:::-;18594:6;18587:64;18509:156;18486:179;18711:1;18707;18699:6;18695:14;18691:22;18685:4;18678:36;18113:611;;;18076:887;;17666:1303;;;17574:1395;;:::o;18975:180::-;19023:77;19020:1;19013:88;19120:4;19117:1;19110:15;19144:4;19141:1;19134:15;19161:191;19201:3;19220:20;19238:1;19220:20;:::i;:::-;19215:25;;19254:20;19272:1;19254:20;:::i;:::-;19249:25;;19297:1;19294;19290:9;19283:16;;19318:3;19315:1;19312:10;19309:36;;;19325:18;;:::i;:::-;19309:36;19161:191;;;;:::o;19358:410::-;19398:7;19421:20;19439:1;19421:20;:::i;:::-;19416:25;;19455:20;19473:1;19455:20;:::i;:::-;19450:25;;19510:1;19507;19503:9;19532:30;19550:11;19532:30;:::i;:::-;19521:41;;19711:1;19702:7;19698:15;19695:1;19692:22;19672:1;19665:9;19645:83;19622:139;;19741:18;;:::i;:::-;19622:139;19406:362;19358:410;;;;:::o;19774:234::-;19914:34;19910:1;19902:6;19898:14;19891:58;19983:17;19978:2;19970:6;19966:15;19959:42;19774:234;:::o;20014:366::-;20156:3;20177:67;20241:2;20236:3;20177:67;:::i;:::-;20170:74;;20253:93;20342:3;20253:93;:::i;:::-;20371:2;20366:3;20362:12;20355:19;;20014:366;;;:::o;20386:419::-;20552:4;20590:2;20579:9;20575:18;20567:26;;20639:9;20633:4;20629:20;20625:1;20614:9;20610:17;20603:47;20667:131;20793:4;20667:131;:::i;:::-;20659:139;;20386:419;;;:::o;20811:148::-;20913:11;20950:3;20935:18;;20811:148;;;;:::o;20989:874::-;21092:3;21129:5;21123:12;21158:36;21184:9;21158:36;:::i;:::-;21210:89;21292:6;21287:3;21210:89;:::i;:::-;21203:96;;21330:1;21319:9;21315:17;21346:1;21341:166;;;;21521:1;21516:341;;;;21308:549;;21341:166;21425:4;21421:9;21410;21406:25;21401:3;21394:38;21487:6;21480:14;21473:22;21465:6;21461:35;21456:3;21452:45;21445:52;;21341:166;;21516:341;21583:38;21615:5;21583:38;:::i;:::-;21643:1;21657:154;21671:6;21668:1;21665:13;21657:154;;;21745:7;21739:14;21735:1;21730:3;21726:11;21719:35;21795:1;21786:7;21782:15;21771:26;;21693:4;21690:1;21686:12;21681:17;;21657:154;;;21840:6;21835:3;21831:16;21824:23;;21523:334;;21308:549;;21096:767;;20989:874;;;;:::o;21869:151::-;22009:3;22005:1;21997:6;21993:14;21986:27;21869:151;:::o;22026:400::-;22186:3;22207:84;22289:1;22284:3;22207:84;:::i;:::-;22200:91;;22300:93;22389:3;22300:93;:::i;:::-;22418:1;22413:3;22409:11;22402:18;;22026:400;;;:::o;22432:390::-;22538:3;22566:39;22599:5;22566:39;:::i;:::-;22621:89;22703:6;22698:3;22621:89;:::i;:::-;22614:96;;22719:65;22777:6;22772:3;22765:4;22758:5;22754:16;22719:65;:::i;:::-;22809:6;22804:3;22800:16;22793:23;;22542:280;22432:390;;;;:::o;22828:849::-;23151:3;23173:92;23261:3;23252:6;23173:92;:::i;:::-;23166:99;;23282:148;23426:3;23282:148;:::i;:::-;23275:155;;23447:95;23538:3;23529:6;23447:95;:::i;:::-;23440:102;;23559:92;23647:3;23638:6;23559:92;:::i;:::-;23552:99;;23668:3;23661:10;;22828:849;;;;;;:::o;23683:98::-;23734:6;23768:5;23762:12;23752:22;;23683:98;;;:::o;23787:168::-;23870:11;23904:6;23899:3;23892:19;23944:4;23939:3;23935:14;23920:29;;23787:168;;;;:::o;23961:373::-;24047:3;24075:38;24107:5;24075:38;:::i;:::-;24129:70;24192:6;24187:3;24129:70;:::i;:::-;24122:77;;24208:65;24266:6;24261:3;24254:4;24247:5;24243:16;24208:65;:::i;:::-;24298:29;24320:6;24298:29;:::i;:::-;24293:3;24289:39;24282:46;;24051:283;23961:373;;;;:::o;24340:640::-;24535:4;24573:3;24562:9;24558:19;24550:27;;24587:71;24655:1;24644:9;24640:17;24631:6;24587:71;:::i;:::-;24668:72;24736:2;24725:9;24721:18;24712:6;24668:72;:::i;:::-;24750;24818:2;24807:9;24803:18;24794:6;24750:72;:::i;:::-;24869:9;24863:4;24859:20;24854:2;24843:9;24839:18;24832:48;24897:76;24968:4;24959:6;24897:76;:::i;:::-;24889:84;;24340:640;;;;;;;:::o;24986:141::-;25042:5;25073:6;25067:13;25058:22;;25089:32;25115:5;25089:32;:::i;:::-;24986:141;;;;:::o;25133:349::-;25202:6;25251:2;25239:9;25230:7;25226:23;25222:32;25219:119;;;25257:79;;:::i;:::-;25219:119;25377:1;25402:63;25457:7;25448:6;25437:9;25433:22;25402:63;:::i;:::-;25392:73;;25348:127;25133:349;;;;:::o;25488:180::-;25536:77;25533:1;25526:88;25633:4;25630:1;25623:15;25657:4;25654:1;25647:15
Swarm Source
ipfs://e529ed07db16ee4ad89368a43c7199b3d9bc44525a569a957bbfbe91881f3e30
Loading...
Loading
Loading...
Loading
[ Download: CSV Export ]
[ Download: CSV Export ]
A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.