Feature Tip: Add private address tag to any address under My Name Tag !
ERC-721
Overview
Max Total Supply
2,004 ROBOX
Holders
571
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
1 ROBOXLoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
THEROBOX2004
Compiler Version
v0.8.22+commit.4fc1097e
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2023-11-11 */ // SPDX-License-Identifier: MIT // File: @openzeppelin/contracts/utils/math/SignedMath.sol // OpenZeppelin Contracts (last updated v4.8.0) (utils/math/SignedMath.sol) pragma solidity ^0.8.0; /** * @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 v4.9.0) (utils/math/Math.sol) pragma solidity ^0.8.0; /** * @dev Standard math utilities missing in the Solidity language. */ library Math { enum Rounding { Down, // Toward negative infinity Up, // Toward infinity Zero // Toward zero } /** * @dev Returns the largest of two numbers. */ function max(uint256 a, uint256 b) internal pure returns (uint256) { return a > b ? a : b; } /** * @dev Returns the smallest of two numbers. */ function min(uint256 a, uint256 b) internal pure returns (uint256) { return a < b ? a : b; } /** * @dev Returns the average of two numbers. The result is rounded towards * zero. */ function average(uint256 a, uint256 b) internal pure returns (uint256) { // (a + b) / 2 can overflow. return (a & b) + (a ^ b) / 2; } /** * @dev Returns the ceiling of the division of two numbers. * * This differs from standard division with `/` in that it rounds up instead * of rounding down. */ function ceilDiv(uint256 a, uint256 b) internal pure returns (uint256) { // (a + b - 1) / b can overflow on addition, so we distribute. return a == 0 ? 0 : (a - 1) / b + 1; } /** * @notice Calculates floor(x * y / denominator) with full precision. Throws if result overflows a uint256 or denominator == 0 * @dev Original credit to Remco Bloemen under MIT license (https://xn--2-umb.com/21/muldiv) * with further edits by Uniswap Labs also under MIT license. */ function mulDiv(uint256 x, uint256 y, uint256 denominator) internal pure returns (uint256 result) { unchecked { // 512-bit multiply [prod1 prod0] = x * y. Compute the product mod 2^256 and mod 2^256 - 1, then use // use the Chinese Remainder Theorem to reconstruct the 512 bit result. The result is stored in two 256 // variables such that product = prod1 * 2^256 + prod0. uint256 prod0; // Least significant 256 bits of the product uint256 prod1; // Most significant 256 bits of the product assembly { let mm := mulmod(x, y, not(0)) prod0 := mul(x, y) prod1 := sub(sub(mm, prod0), lt(mm, prod0)) } // Handle non-overflow cases, 256 by 256 division. if (prod1 == 0) { // 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. require(denominator > prod1, "Math: mulDiv overflow"); /////////////////////////////////////////////// // 512 by 256 division. /////////////////////////////////////////////// // Make division exact by subtracting the remainder from [prod1 prod0]. uint256 remainder; assembly { // Compute remainder using mulmod. remainder := mulmod(x, y, denominator) // Subtract 256 bit number from 512 bit number. prod1 := sub(prod1, gt(remainder, prod0)) prod0 := sub(prod0, remainder) } // Factor powers of two out of denominator and compute largest power of two divisor of denominator. Always >= 1. // See https://cs.stackexchange.com/q/138556/92363. // Does not overflow because the denominator cannot be zero at this stage in the function. uint256 twos = denominator & (~denominator + 1); assembly { // Divide denominator by twos. denominator := div(denominator, twos) // Divide [prod1 prod0] by twos. prod0 := div(prod0, twos) // Flip twos such that it is 2^256 / twos. If twos is zero, then it becomes one. twos := add(div(sub(0, twos), twos), 1) } // Shift in bits from prod1 into prod0. prod0 |= prod1 * twos; // Invert denominator mod 2^256. Now that denominator is an odd number, it has an inverse modulo 2^256 such // that denominator * inv = 1 mod 2^256. Compute the inverse by starting with a seed that is correct for // four bits. That is, denominator * inv = 1 mod 2^4. uint256 inverse = (3 * denominator) ^ 2; // Use the Newton-Raphson iteration to improve the precision. Thanks to Hensel's lifting lemma, this also works // in modular arithmetic, doubling the correct bits in each step. inverse *= 2 - denominator * inverse; // inverse mod 2^8 inverse *= 2 - denominator * inverse; // inverse mod 2^16 inverse *= 2 - denominator * inverse; // inverse mod 2^32 inverse *= 2 - denominator * inverse; // inverse mod 2^64 inverse *= 2 - denominator * inverse; // inverse mod 2^128 inverse *= 2 - denominator * inverse; // inverse mod 2^256 // Because the division is now exact we can divide by multiplying with the modular inverse of denominator. // This will give us the correct result modulo 2^256. Since the preconditions guarantee that the outcome is // less than 2^256, this is the final result. We don't need to compute the high bits of the result and prod1 // is no longer required. result = prod0 * inverse; return result; } } /** * @notice Calculates x * y / denominator with full precision, following the selected rounding direction. */ function mulDiv(uint256 x, uint256 y, uint256 denominator, Rounding rounding) internal pure returns (uint256) { uint256 result = mulDiv(x, y, denominator); if (rounding == Rounding.Up && mulmod(x, y, denominator) > 0) { result += 1; } return result; } /** * @dev Returns the square root of a number. If the number is not a perfect square, the value is rounded down. * * Inspired by Henry S. Warren, Jr.'s "Hacker's Delight" (Chapter 11). */ function sqrt(uint256 a) internal pure returns (uint256) { if (a == 0) { return 0; } // For our first guess, we get the biggest power of 2 which is smaller than the square root of the target. // // We know that the "msb" (most significant bit) of our target number `a` is a power of 2 such that we have // `msb(a) <= a < 2*msb(a)`. This value can be written `msb(a)=2**k` with `k=log2(a)`. // // This can be rewritten `2**log2(a) <= a < 2**(log2(a) + 1)` // → `sqrt(2**k) <= sqrt(a) < sqrt(2**(k+1))` // → `2**(k/2) <= sqrt(a) < 2**((k+1)/2) <= 2**(k/2 + 1)` // // Consequently, `2**(log2(a) / 2)` is a good first approximation of `sqrt(a)` with at least 1 correct bit. uint256 result = 1 << (log2(a) >> 1); // At this point `result` is an estimation with one bit of precision. We know the true value is a uint128, // since it is the square root of a uint256. Newton's method converges quadratically (precision doubles at // every iteration). We thus need at most 7 iteration to turn our partial result with one bit of precision // into the expected uint128 result. unchecked { result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; return min(result, a / result); } } /** * @notice Calculates sqrt(a), following the selected rounding direction. */ function sqrt(uint256 a, Rounding rounding) internal pure returns (uint256) { unchecked { uint256 result = sqrt(a); return result + (rounding == Rounding.Up && result * result < a ? 1 : 0); } } /** * @dev Return the log in base 2, rounded down, of a positive value. * Returns 0 if given 0. */ function log2(uint256 value) internal pure returns (uint256) { uint256 result = 0; unchecked { if (value >> 128 > 0) { value >>= 128; result += 128; } if (value >> 64 > 0) { value >>= 64; result += 64; } if (value >> 32 > 0) { value >>= 32; result += 32; } if (value >> 16 > 0) { value >>= 16; result += 16; } if (value >> 8 > 0) { value >>= 8; result += 8; } if (value >> 4 > 0) { value >>= 4; result += 4; } if (value >> 2 > 0) { value >>= 2; result += 2; } if (value >> 1 > 0) { result += 1; } } return result; } /** * @dev Return the log in base 2, following the selected rounding direction, of a positive value. * Returns 0 if given 0. */ function log2(uint256 value, Rounding rounding) internal pure returns (uint256) { unchecked { uint256 result = log2(value); return result + (rounding == Rounding.Up && 1 << result < value ? 1 : 0); } } /** * @dev Return the log in base 10, rounded down, of a positive value. * Returns 0 if given 0. */ function log10(uint256 value) internal pure returns (uint256) { uint256 result = 0; unchecked { if (value >= 10 ** 64) { value /= 10 ** 64; result += 64; } if (value >= 10 ** 32) { value /= 10 ** 32; result += 32; } if (value >= 10 ** 16) { value /= 10 ** 16; result += 16; } if (value >= 10 ** 8) { value /= 10 ** 8; result += 8; } if (value >= 10 ** 4) { value /= 10 ** 4; result += 4; } if (value >= 10 ** 2) { value /= 10 ** 2; result += 2; } if (value >= 10 ** 1) { result += 1; } } return result; } /** * @dev Return the log in base 10, following the selected rounding direction, of a positive value. * Returns 0 if given 0. */ function log10(uint256 value, Rounding rounding) internal pure returns (uint256) { unchecked { uint256 result = log10(value); return result + (rounding == Rounding.Up && 10 ** result < value ? 1 : 0); } } /** * @dev Return the log in base 256, rounded down, of a positive value. * Returns 0 if given 0. * * Adding one to the result gives the number of pairs of hex symbols needed to represent `value` as a hex string. */ function log256(uint256 value) internal pure returns (uint256) { uint256 result = 0; unchecked { if (value >> 128 > 0) { value >>= 128; result += 16; } if (value >> 64 > 0) { value >>= 64; result += 8; } if (value >> 32 > 0) { value >>= 32; result += 4; } if (value >> 16 > 0) { value >>= 16; result += 2; } if (value >> 8 > 0) { result += 1; } } return result; } /** * @dev Return the log in base 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 + (rounding == Rounding.Up && 1 << (result << 3) < value ? 1 : 0); } } } // File: @openzeppelin/contracts/utils/Strings.sol // OpenZeppelin Contracts (last updated v4.9.0) (utils/Strings.sol) pragma solidity ^0.8.0; /** * @dev String operations. */ library Strings { bytes16 private constant _SYMBOLS = "0123456789abcdef"; uint8 private constant _ADDRESS_LENGTH = 20; /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function toString(uint256 value) internal pure returns (string memory) { unchecked { uint256 length = Math.log10(value) + 1; string memory buffer = new string(length); uint256 ptr; /// @solidity memory-safe-assembly assembly { ptr := add(buffer, add(32, length)) } while (true) { ptr--; /// @solidity memory-safe-assembly assembly { mstore8(ptr, byte(mod(value, 10), _SYMBOLS)) } value /= 10; if (value == 0) break; } return buffer; } } /** * @dev Converts a `int256` to its ASCII `string` decimal representation. */ function toString(int256 value) internal pure returns (string memory) { return string(abi.encodePacked(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) { bytes memory buffer = new bytes(2 * length + 2); buffer[0] = "0"; buffer[1] = "x"; for (uint256 i = 2 * length + 1; i > 1; --i) { buffer[i] = _SYMBOLS[value & 0xf]; value >>= 4; } require(value == 0, "Strings: hex length insufficient"); return string(buffer); } /** * @dev Converts an `address` with fixed length of 20 bytes to its not checksummed ASCII `string` hexadecimal representation. */ function toHexString(address addr) internal pure returns (string memory) { return toHexString(uint256(uint160(addr)), _ADDRESS_LENGTH); } /** * @dev Returns true if the two strings are equal. */ function equal(string memory a, string memory b) internal pure returns (bool) { return keccak256(bytes(a)) == keccak256(bytes(b)); } } // File: @openzeppelin/contracts/utils/Context.sol // OpenZeppelin Contracts v4.4.1 (utils/Context.sol) pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } } // File: @openzeppelin/contracts/access/Ownable.sol // OpenZeppelin Contracts (last updated v4.9.0) (access/Ownable.sol) pragma solidity ^0.8.0; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _transferOwnership(_msgSender()); } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { _checkOwner(); _; } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if the sender is not the owner. */ function _checkOwner() internal view virtual { require(owner() == _msgSender(), "Ownable: caller is not the owner"); } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions. 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 { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } } // File: 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/THEROBOX2004.sol pragma solidity ^0.8.22; contract THEROBOX2004 is ERC721A, Ownable { using Strings for uint256; uint256 public maxSupply = 2004; uint256 public maxPerTx = 10; uint256 public mintPrice = .0025 ether; uint256 public maxFree = 1; bool public sale; mapping(address => uint256) public freeMintCounter; string public baseURI; error SaleNotActive(); error MaxSupplyExceeded(); error MaxPerTxExceeded(); error MaxFreeExceeded(); error InsufficientFunds(); error NoContractMint(); constructor(string memory baseURI_) ERC721A("THEROBOX2004", "ROBOX") { baseURI = baseURI_; } function mint(uint256 _amount) external payable { if (!sale) revert SaleNotActive(); if (_totalMinted() + _amount > maxSupply) revert MaxSupplyExceeded(); if (_amount > maxPerTx) revert MaxPerTxExceeded(); if (msg.value < mintPrice * _amount) revert InsufficientFunds(); _mint(msg.sender, _amount); } function freeMint(uint256 _amount) external payable { if (tx.origin != msg.sender) revert NoContractMint(); if (!sale) revert SaleNotActive(); if (_totalMinted() + _amount > maxSupply) revert MaxSupplyExceeded(); if (freeMintCounter[msg.sender] + _amount > maxFree) revert MaxFreeExceeded(); freeMintCounter[msg.sender] += _amount; _mint(msg.sender, _amount); } function airdrop(address _to, uint256 _amount) external onlyOwner { _mint(_to, _amount); } function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { require( _exists(tokenId), "ERC721Metadata: URI query for nonexistent token" ); return string( abi.encodePacked( "ipfs://", baseURI, "/", tokenId.toString(), ".json" ) ); } function _baseURI() internal view virtual override returns (string memory) { return baseURI; } function _startTokenId() internal view virtual override returns (uint256) { return 1; } function setBaseURI(string memory baseURI_) external onlyOwner { baseURI = baseURI_; } function toggleSale() external onlyOwner { sale = !sale; } function setMaxSupply(uint256 _maxSupply) external onlyOwner { maxSupply = _maxSupply; } function setMintPrice(uint256 _mintPrice) external onlyOwner { mintPrice = _mintPrice; } function setMaxPerTx(uint256 _maxPerTx) external onlyOwner { maxPerTx = _maxPerTx; } function setMaxFree(uint256 _maxFree) external onlyOwner { maxFree = _maxFree; } function withdraw() external onlyOwner { (bool success, ) = payable(msg.sender).call{ value: address(this).balance }(""); require(success, "Transaction 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":"InsufficientFunds","type":"error"},{"inputs":[],"name":"MaxFreeExceeded","type":"error"},{"inputs":[],"name":"MaxPerTxExceeded","type":"error"},{"inputs":[],"name":"MaxSupplyExceeded","type":"error"},{"inputs":[],"name":"MintERC2309QuantityExceedsLimit","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[],"name":"NoContractMint","type":"error"},{"inputs":[],"name":"OwnerQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"OwnershipNotInitializedForExtraData","type":"error"},{"inputs":[],"name":"SaleNotActive","type":"error"},{"inputs":[],"name":"TransferCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"TransferFromIncorrectOwner","type":"error"},{"inputs":[],"name":"TransferToNonERC721ReceiverImplementer","type":"error"},{"inputs":[],"name":"TransferToZeroAddress","type":"error"},{"inputs":[],"name":"URIQueryForNonexistentToken","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"fromTokenId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"toTokenId","type":"uint256"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"}],"name":"ConsecutiveTransfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"address","name":"_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":"uint256","name":"_amount","type":"uint256"}],"name":"freeMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"freeMintCounter","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxFree","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxPerTx","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"mintPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"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":"_mintPrice","type":"uint256"}],"name":"setMintPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"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
60806040526107d4600955600a80556608e1bc9bf04000600b556001600c553480156200002a575f80fd5b50604051620035cb380380620035cb833981810160405281019062000050919062000387565b6040518060400160405280600c81526020017f544845524f424f583230303400000000000000000000000000000000000000008152506040518060400160405280600581526020017f524f424f580000000000000000000000000000000000000000000000000000008152508160029081620000cd91906200060d565b508060039081620000df91906200060d565b50620000f06200013060201b60201c565b5f819055505050620001176200010b6200013860201b60201c565b6200013f60201b60201c565b80600f90816200012891906200060d565b5050620006f1565b5f6001905090565b5f33905090565b5f60085f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1690508160085f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b5f604051905090565b5f80fd5b5f80fd5b5f80fd5b5f80fd5b5f601f19601f8301169050919050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52604160045260245ffd5b62000263826200021b565b810181811067ffffffffffffffff821117156200028557620002846200022b565b5b80604052505050565b5f6200029962000202565b9050620002a7828262000258565b919050565b5f67ffffffffffffffff821115620002c957620002c86200022b565b5b620002d4826200021b565b9050602081019050919050565b5f5b8381101562000300578082015181840152602081019050620002e3565b5f8484015250505050565b5f620003216200031b84620002ac565b6200028e565b90508281526020810184848401111562000340576200033f62000217565b5b6200034d848285620002e1565b509392505050565b5f82601f8301126200036c576200036b62000213565b5b81516200037e8482602086016200030b565b91505092915050565b5f602082840312156200039f576200039e6200020b565b5b5f82015167ffffffffffffffff811115620003bf57620003be6200020f565b5b620003cd8482850162000355565b91505092915050565b5f81519050919050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52602260045260245ffd5b5f60028204905060018216806200042557607f821691505b6020821081036200043b576200043a620003e0565b5b50919050565b5f819050815f5260205f209050919050565b5f6020601f8301049050919050565b5f82821b905092915050565b5f600883026200049f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8262000462565b620004ab868362000462565b95508019841693508086168417925050509392505050565b5f819050919050565b5f819050919050565b5f620004f5620004ef620004e984620004c3565b620004cc565b620004c3565b9050919050565b5f819050919050565b6200051083620004d5565b620005286200051f82620004fc565b8484546200046e565b825550505050565b5f90565b6200053e62000530565b6200054b81848462000505565b505050565b5b818110156200057257620005665f8262000534565b60018101905062000551565b5050565b601f821115620005c1576200058b8162000441565b620005968462000453565b81016020851015620005a6578190505b620005be620005b58562000453565b83018262000550565b50505b505050565b5f82821c905092915050565b5f620005e35f1984600802620005c6565b1980831691505092915050565b5f620005fd8383620005d2565b9150826002028217905092915050565b6200061882620003d6565b67ffffffffffffffff8111156200063457620006336200022b565b5b6200064082546200040d565b6200064d82828562000576565b5f60209050601f83116001811462000683575f84156200066e578287015190505b6200067a8582620005f0565b865550620006e9565b601f198416620006938662000441565b5f5b82811015620006bc5784890151825560018201915060208501945060208101905062000695565b86831015620006dc5784890151620006d8601f891682620005d2565b8355505b6001600288020188555050505b505050505050565b612ecc80620006ff5f395ff3fe6080604052600436106101f8575f3560e01c80637c928fe91161010c578063c6f6f2161161009f578063e985e9c51161006e578063e985e9c51461067c578063f2fde38b146106b8578063f4a0a528146106e0578063f968adbe14610708578063f9c4d16814610732576101f8565b8063c6f6f216146105c6578063c87b56dd146105ee578063d5abeb011461062a578063d755bf9914610654576101f8565b806395d89b41116100db57806395d89b411461053c578063a0712d6814610566578063a22cb46514610582578063b88d4fde146105aa576101f8565b80637c928fe9146104b85780637d8966e4146104d45780638ba4cc3c146104ea5780638da5cb5b14610512576101f8565b8063485a68a31161018f5780636ad1fe021161015e5780636ad1fe02146103ea5780636c0360eb146104145780636f8b44b01461043e57806370a0823114610466578063715018a6146104a2576101f8565b8063485a68a31461033257806355f804b31461035c5780636352211e146103845780636817c76c146103c0576101f8565b806318160ddd116101cb57806318160ddd146102ba57806323b872dd146102e45780633ccfd60b1461030057806342842e0e14610316576101f8565b806301ffc9a7146101fc57806306fdde0314610238578063081812fc14610262578063095ea7b31461029e575b5f80fd5b348015610207575f80fd5b50610222600480360381019061021d919061201b565b61076e565b60405161022f9190612060565b60405180910390f35b348015610243575f80fd5b5061024c6107ff565b6040516102599190612103565b60405180910390f35b34801561026d575f80fd5b5061028860048036038101906102839190612156565b61088f565b60405161029591906121c0565b60405180910390f35b6102b860048036038101906102b39190612203565b610909565b005b3480156102c5575f80fd5b506102ce610a48565b6040516102db9190612250565b60405180910390f35b6102fe60048036038101906102f99190612269565b610a5d565b005b34801561030b575f80fd5b50610314610d6b565b005b610330600480360381019061032b9190612269565b610e1e565b005b34801561033d575f80fd5b50610346610e3d565b6040516103539190612250565b60405180910390f35b348015610367575f80fd5b50610382600480360381019061037d91906123e5565b610e43565b005b34801561038f575f80fd5b506103aa60048036038101906103a59190612156565b610e5e565b6040516103b791906121c0565b60405180910390f35b3480156103cb575f80fd5b506103d4610e6f565b6040516103e19190612250565b60405180910390f35b3480156103f5575f80fd5b506103fe610e75565b60405161040b9190612060565b60405180910390f35b34801561041f575f80fd5b50610428610e87565b6040516104359190612103565b60405180910390f35b348015610449575f80fd5b50610464600480360381019061045f9190612156565b610f13565b005b348015610471575f80fd5b5061048c6004803603810190610487919061242c565b610f25565b6040516104999190612250565b60405180910390f35b3480156104ad575f80fd5b506104b6610fda565b005b6104d260048036038101906104cd9190612156565b610fed565b005b3480156104df575f80fd5b506104e86111c9565b005b3480156104f5575f80fd5b50610510600480360381019061050b9190612203565b6111fb565b005b34801561051d575f80fd5b50610526611211565b60405161053391906121c0565b60405180910390f35b348015610547575f80fd5b50610550611239565b60405161055d9190612103565b60405180910390f35b610580600480360381019061057b9190612156565b6112c9565b005b34801561058d575f80fd5b506105a860048036038101906105a39190612481565b6113ec565b005b6105c460048036038101906105bf919061255d565b6114f2565b005b3480156105d1575f80fd5b506105ec60048036038101906105e79190612156565b611564565b005b3480156105f9575f80fd5b50610614600480360381019061060f9190612156565b611576565b6040516106219190612103565b60405180910390f35b348015610635575f80fd5b5061063e6115f2565b60405161064b9190612250565b60405180910390f35b34801561065f575f80fd5b5061067a60048036038101906106759190612156565b6115f8565b005b348015610687575f80fd5b506106a2600480360381019061069d91906125dd565b61160a565b6040516106af9190612060565b60405180910390f35b3480156106c3575f80fd5b506106de60048036038101906106d9919061242c565b611698565b005b3480156106eb575f80fd5b5061070660048036038101906107019190612156565b61171a565b005b348015610713575f80fd5b5061071c61172c565b6040516107299190612250565b60405180910390f35b34801561073d575f80fd5b506107586004803603810190610753919061242c565b611732565b6040516107659190612250565b60405180910390f35b5f6301ffc9a760e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806107c857506380ac58cd60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806107f85750635b5e139f60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b9050919050565b60606002805461080e90612648565b80601f016020809104026020016040519081016040528092919081815260200182805461083a90612648565b80156108855780601f1061085c57610100808354040283529160200191610885565b820191905f5260205f20905b81548152906001019060200180831161086857829003601f168201915b5050505050905090565b5f61089982611747565b6108cf576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60065f8381526020019081526020015f205f015f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b5f61091382610e5e565b90508073ffffffffffffffffffffffffffffffffffffffff166109346117a1565b73ffffffffffffffffffffffffffffffffffffffff1614610997576109608161095b6117a1565b61160a565b610996576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b8260065f8481526020019081526020015f205f015f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b5f610a516117a8565b6001545f540303905090565b5f610a67826117b0565b90508373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610ace576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5f80610ad984611873565b91509150610aef8187610aea6117a1565b611896565b610b3b57610b0486610aff6117a1565b61160a565b610b3a576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b5f73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff1603610ba0576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610bad86868660016118d9565b8015610bb7575f82555b60055f8773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8154600190039190508190555060055f8673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f815460010191905081905550610c7f85610c5b8888876118df565b7c020000000000000000000000000000000000000000000000000000000017611906565b60045f8681526020019081526020015f20819055505f7c0200000000000000000000000000000000000000000000000000000000841603610cfb575f6001850190505f60045f8381526020019081526020015f205403610cf9575f548114610cf8578360045f8381526020019081526020015f20819055505b5b505b838573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4610d638686866001611930565b505050505050565b610d73611936565b5f3373ffffffffffffffffffffffffffffffffffffffff1647604051610d98906126a5565b5f6040518083038185875af1925050503d805f8114610dd2576040519150601f19603f3d011682016040523d82523d5f602084013e610dd7565b606091505b5050905080610e1b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e1290612703565b60405180910390fd5b50565b610e3883838360405180602001604052805f8152506114f2565b505050565b600c5481565b610e4b611936565b80600f9081610e5a91906128be565b5050565b5f610e68826117b0565b9050919050565b600b5481565b600d5f9054906101000a900460ff1681565b600f8054610e9490612648565b80601f0160208091040260200160405190810160405280929190818152602001828054610ec090612648565b8015610f0b5780601f10610ee257610100808354040283529160200191610f0b565b820191905f5260205f20905b815481529060010190602001808311610eee57829003601f168201915b505050505081565b610f1b611936565b8060098190555050565b5f8073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603610f8b576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b67ffffffffffffffff60055f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2054169050919050565b610fe2611936565b610feb5f6119b4565b565b3373ffffffffffffffffffffffffffffffffffffffff163273ffffffffffffffffffffffffffffffffffffffff1614611052576040517fc8a2f6cd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600d5f9054906101000a900460ff16611097576040517fb7b2409700000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600954816110a3611a77565b6110ad91906129ba565b11156110e5576040517f8a164f6300000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600c5481600e5f3373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205461113191906129ba565b1115611169576040517f9a314b6900000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b80600e5f3373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8282546111b591906129ba565b925050819055506111c63382611a88565b50565b6111d1611936565b600d5f9054906101000a900460ff1615600d5f6101000a81548160ff021916908315150217905550565b611203611936565b61120d8282611a88565b5050565b5f60085f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60606003805461124890612648565b80601f016020809104026020016040519081016040528092919081815260200182805461127490612648565b80156112bf5780601f10611296576101008083540402835291602001916112bf565b820191905f5260205f20905b8154815290600101906020018083116112a257829003601f168201915b5050505050905090565b600d5f9054906101000a900460ff1661130e576040517fb7b2409700000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6009548161131a611a77565b61132491906129ba565b111561135c576040517f8a164f6300000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600a54811115611398576040517f845d1a2200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b80600b546113a691906129ed565b3410156113df576040517f356680b700000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6113e93382611a88565b50565b8060075f6113f86117a1565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f6101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff166114a16117a1565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516114e69190612060565b60405180910390a35050565b6114fd848484610a5d565b5f8373ffffffffffffffffffffffffffffffffffffffff163b1461155e5761152784848484611c31565b61155d576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b50505050565b61156c611936565b80600a8190555050565b606061158182611747565b6115c0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115b790612a9e565b60405180910390fd5b600f6115cb83611d7c565b6040516020016115dc929190612c54565b6040516020818303038152906040529050919050565b60095481565b611600611936565b80600c8190555050565b5f60075f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f9054906101000a900460ff16905092915050565b6116a0611936565b5f73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff160361170e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161170590612d08565b60405180910390fd5b611717816119b4565b50565b611722611936565b80600b8190555050565b600a5481565b600e602052805f5260405f205f915090505481565b5f816117516117a8565b1115801561175f57505f5482105b801561179a57505f7c010000000000000000000000000000000000000000000000000000000060045f8581526020019081526020015f205416145b9050919050565b5f33905090565b5f6001905090565b5f80829050806117be6117a8565b1161183c575f5481101561183b575f60045f8381526020019081526020015f205490505f7c0100000000000000000000000000000000000000000000000000000000821603611839575b5f810361182f5760045f836001900393508381526020019081526020015f20549050611808565b809250505061186e565b505b5b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b5f805f60065f8581526020019081526020015f2090508092508254915050915091565b5f73ffffffffffffffffffffffffffffffffffffffff8316925073ffffffffffffffffffffffffffffffffffffffff821691508382148383141790509392505050565b50505050565b5f8060e883901c905060e86118f5868684611e46565b62ffffff16901b9150509392505050565b5f73ffffffffffffffffffffffffffffffffffffffff83169250814260a01b178317905092915050565b50505050565b61193e611e4e565b73ffffffffffffffffffffffffffffffffffffffff1661195c611211565b73ffffffffffffffffffffffffffffffffffffffff16146119b2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119a990612d70565b60405180910390fd5b565b5f60085f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1690508160085f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b5f611a806117a8565b5f5403905090565b5f805490505f8203611ac6576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b611ad25f8483856118d9565b600160406001901b17820260055f8573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8282540192505081905550611b4483611b355f865f6118df565b611b3e85611e55565b17611906565b60045f8381526020019081526020015f20819055505f80838301905073ffffffffffffffffffffffffffffffffffffffff8516915082825f7fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef5f80a4600183015b818114611bde5780835f7fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef5f80a4600181019050611ba5565b505f8203611c18576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805f819055505050611c2c5f848385611930565b505050565b5f8373ffffffffffffffffffffffffffffffffffffffff1663150b7a02611c566117a1565b8786866040518563ffffffff1660e01b8152600401611c789493929190612de0565b6020604051808303815f875af1925050508015611cb357506040513d601f19601f82011682018060405250810190611cb09190612e3e565b60015b611d29573d805f8114611ce1576040519150601f19603f3d011682016040523d82523d5f602084013e611ce6565b606091505b505f815103611d21576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b60605f6001611d8a84611e64565b0190505f8167ffffffffffffffff811115611da857611da76122c1565b5b6040519080825280601f01601f191660200182016040528015611dda5781602001600182028036833780820191505090505b5090505f82602001820190505b600115611e3b578080600190039150507f3031323334353637383961626364656600000000000000000000000000000000600a86061a8153600a8581611e3057611e2f612e69565b5b0494505f8503611de7575b819350505050919050565b5f9392505050565b5f33905090565b5f6001821460e11b9050919050565b5f805f90507a184f03e93ff9f4daa797ed6e38ed64bf6a1f0100000000000000008310611ec0577a184f03e93ff9f4daa797ed6e38ed64bf6a1f0100000000000000008381611eb657611eb5612e69565b5b0492506040810190505b6d04ee2d6d415b85acef81000000008310611efd576d04ee2d6d415b85acef81000000008381611ef357611ef2612e69565b5b0492506020810190505b662386f26fc100008310611f2c57662386f26fc100008381611f2257611f21612e69565b5b0492506010810190505b6305f5e1008310611f55576305f5e1008381611f4b57611f4a612e69565b5b0492506008810190505b6127108310611f7a576127108381611f7057611f6f612e69565b5b0492506004810190505b60648310611f9d5760648381611f9357611f92612e69565b5b0492506002810190505b600a8310611fac576001810190505b80915050919050565b5f604051905090565b5f80fd5b5f80fd5b5f7fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b611ffa81611fc6565b8114612004575f80fd5b50565b5f8135905061201581611ff1565b92915050565b5f602082840312156120305761202f611fbe565b5b5f61203d84828501612007565b91505092915050565b5f8115159050919050565b61205a81612046565b82525050565b5f6020820190506120735f830184612051565b92915050565b5f81519050919050565b5f82825260208201905092915050565b5f5b838110156120b0578082015181840152602081019050612095565b5f8484015250505050565b5f601f19601f8301169050919050565b5f6120d582612079565b6120df8185612083565b93506120ef818560208601612093565b6120f8816120bb565b840191505092915050565b5f6020820190508181035f83015261211b81846120cb565b905092915050565b5f819050919050565b61213581612123565b811461213f575f80fd5b50565b5f813590506121508161212c565b92915050565b5f6020828403121561216b5761216a611fbe565b5b5f61217884828501612142565b91505092915050565b5f73ffffffffffffffffffffffffffffffffffffffff82169050919050565b5f6121aa82612181565b9050919050565b6121ba816121a0565b82525050565b5f6020820190506121d35f8301846121b1565b92915050565b6121e2816121a0565b81146121ec575f80fd5b50565b5f813590506121fd816121d9565b92915050565b5f806040838503121561221957612218611fbe565b5b5f612226858286016121ef565b925050602061223785828601612142565b9150509250929050565b61224a81612123565b82525050565b5f6020820190506122635f830184612241565b92915050565b5f805f606084860312156122805761227f611fbe565b5b5f61228d868287016121ef565b935050602061229e868287016121ef565b92505060406122af86828701612142565b9150509250925092565b5f80fd5b5f80fd5b7f4e487b71000000000000000000000000000000000000000000000000000000005f52604160045260245ffd5b6122f7826120bb565b810181811067ffffffffffffffff82111715612316576123156122c1565b5b80604052505050565b5f612328611fb5565b905061233482826122ee565b919050565b5f67ffffffffffffffff821115612353576123526122c1565b5b61235c826120bb565b9050602081019050919050565b828183375f83830152505050565b5f61238961238484612339565b61231f565b9050828152602081018484840111156123a5576123a46122bd565b5b6123b0848285612369565b509392505050565b5f82601f8301126123cc576123cb6122b9565b5b81356123dc848260208601612377565b91505092915050565b5f602082840312156123fa576123f9611fbe565b5b5f82013567ffffffffffffffff81111561241757612416611fc2565b5b612423848285016123b8565b91505092915050565b5f6020828403121561244157612440611fbe565b5b5f61244e848285016121ef565b91505092915050565b61246081612046565b811461246a575f80fd5b50565b5f8135905061247b81612457565b92915050565b5f806040838503121561249757612496611fbe565b5b5f6124a4858286016121ef565b92505060206124b58582860161246d565b9150509250929050565b5f67ffffffffffffffff8211156124d9576124d86122c1565b5b6124e2826120bb565b9050602081019050919050565b5f6125016124fc846124bf565b61231f565b90508281526020810184848401111561251d5761251c6122bd565b5b612528848285612369565b509392505050565b5f82601f830112612544576125436122b9565b5b81356125548482602086016124ef565b91505092915050565b5f805f806080858703121561257557612574611fbe565b5b5f612582878288016121ef565b9450506020612593878288016121ef565b93505060406125a487828801612142565b925050606085013567ffffffffffffffff8111156125c5576125c4611fc2565b5b6125d187828801612530565b91505092959194509250565b5f80604083850312156125f3576125f2611fbe565b5b5f612600858286016121ef565b9250506020612611858286016121ef565b9150509250929050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52602260045260245ffd5b5f600282049050600182168061265f57607f821691505b6020821081036126725761267161261b565b5b50919050565b5f81905092915050565b50565b5f6126905f83612678565b915061269b82612682565b5f82019050919050565b5f6126af82612685565b9150819050919050565b7f5472616e73616374696f6e206661696c656400000000000000000000000000005f82015250565b5f6126ed601283612083565b91506126f8826126b9565b602082019050919050565b5f6020820190508181035f83015261271a816126e1565b9050919050565b5f819050815f5260205f209050919050565b5f6020601f8301049050919050565b5f82821b905092915050565b5f6008830261277d7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82612742565b6127878683612742565b95508019841693508086168417925050509392505050565b5f819050919050565b5f6127c26127bd6127b884612123565b61279f565b612123565b9050919050565b5f819050919050565b6127db836127a8565b6127ef6127e7826127c9565b84845461274e565b825550505050565b5f90565b6128036127f7565b61280e8184846127d2565b505050565b5b81811015612831576128265f826127fb565b600181019050612814565b5050565b601f8211156128765761284781612721565b61285084612733565b8101602085101561285f578190505b61287361286b85612733565b830182612813565b50505b505050565b5f82821c905092915050565b5f6128965f198460080261287b565b1980831691505092915050565b5f6128ae8383612887565b9150826002028217905092915050565b6128c782612079565b67ffffffffffffffff8111156128e0576128df6122c1565b5b6128ea8254612648565b6128f5828285612835565b5f60209050601f831160018114612926575f8415612914578287015190505b61291e85826128a3565b865550612985565b601f19841661293486612721565b5f5b8281101561295b57848901518255600182019150602085019450602081019050612936565b868310156129785784890151612974601f891682612887565b8355505b6001600288020188555050505b505050505050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52601160045260245ffd5b5f6129c482612123565b91506129cf83612123565b92508282019050808211156129e7576129e661298d565b5b92915050565b5f6129f782612123565b9150612a0283612123565b9250828202612a1081612123565b91508282048414831517612a2757612a2661298d565b5b5092915050565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f5f8201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b5f612a88602f83612083565b9150612a9382612a2e565b604082019050919050565b5f6020820190508181035f830152612ab581612a7c565b9050919050565b5f81905092915050565b7f697066733a2f2f000000000000000000000000000000000000000000000000005f82015250565b5f612afa600783612abc565b9150612b0582612ac6565b600782019050919050565b5f8154612b1c81612648565b612b268186612abc565b9450600182165f8114612b405760018114612b5557612b87565b60ff1983168652811515820286019350612b87565b612b5e85612721565b5f5b83811015612b7f57815481890152600182019150602081019050612b60565b838801955050505b50505092915050565b7f2f000000000000000000000000000000000000000000000000000000000000005f82015250565b5f612bc4600183612abc565b9150612bcf82612b90565b600182019050919050565b5f612be482612079565b612bee8185612abc565b9350612bfe818560208601612093565b80840191505092915050565b7f2e6a736f6e0000000000000000000000000000000000000000000000000000005f82015250565b5f612c3e600583612abc565b9150612c4982612c0a565b600582019050919050565b5f612c5e82612aee565b9150612c6a8285612b10565b9150612c7582612bb8565b9150612c818284612bda565b9150612c8c82612c32565b91508190509392505050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f20615f8201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b5f612cf2602683612083565b9150612cfd82612c98565b604082019050919050565b5f6020820190508181035f830152612d1f81612ce6565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65725f82015250565b5f612d5a602083612083565b9150612d6582612d26565b602082019050919050565b5f6020820190508181035f830152612d8781612d4e565b9050919050565b5f81519050919050565b5f82825260208201905092915050565b5f612db282612d8e565b612dbc8185612d98565b9350612dcc818560208601612093565b612dd5816120bb565b840191505092915050565b5f608082019050612df35f8301876121b1565b612e0060208301866121b1565b612e0d6040830185612241565b8181036060830152612e1f8184612da8565b905095945050505050565b5f81519050612e3881611ff1565b92915050565b5f60208284031215612e5357612e52611fbe565b5b5f612e6084828501612e2a565b91505092915050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52601260045260245ffdfea2646970667358221220e41853285432008eeee41b50714827746bb2bd52816dec808a7f24065b9495af64736f6c634300081600330000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000002e516d58665847714347444d5a4c426f6f557a4c5338584a444d5a47534747614d4d4a3746564b573958425467656d000000000000000000000000000000000000
Deployed Bytecode
0x6080604052600436106101f8575f3560e01c80637c928fe91161010c578063c6f6f2161161009f578063e985e9c51161006e578063e985e9c51461067c578063f2fde38b146106b8578063f4a0a528146106e0578063f968adbe14610708578063f9c4d16814610732576101f8565b8063c6f6f216146105c6578063c87b56dd146105ee578063d5abeb011461062a578063d755bf9914610654576101f8565b806395d89b41116100db57806395d89b411461053c578063a0712d6814610566578063a22cb46514610582578063b88d4fde146105aa576101f8565b80637c928fe9146104b85780637d8966e4146104d45780638ba4cc3c146104ea5780638da5cb5b14610512576101f8565b8063485a68a31161018f5780636ad1fe021161015e5780636ad1fe02146103ea5780636c0360eb146104145780636f8b44b01461043e57806370a0823114610466578063715018a6146104a2576101f8565b8063485a68a31461033257806355f804b31461035c5780636352211e146103845780636817c76c146103c0576101f8565b806318160ddd116101cb57806318160ddd146102ba57806323b872dd146102e45780633ccfd60b1461030057806342842e0e14610316576101f8565b806301ffc9a7146101fc57806306fdde0314610238578063081812fc14610262578063095ea7b31461029e575b5f80fd5b348015610207575f80fd5b50610222600480360381019061021d919061201b565b61076e565b60405161022f9190612060565b60405180910390f35b348015610243575f80fd5b5061024c6107ff565b6040516102599190612103565b60405180910390f35b34801561026d575f80fd5b5061028860048036038101906102839190612156565b61088f565b60405161029591906121c0565b60405180910390f35b6102b860048036038101906102b39190612203565b610909565b005b3480156102c5575f80fd5b506102ce610a48565b6040516102db9190612250565b60405180910390f35b6102fe60048036038101906102f99190612269565b610a5d565b005b34801561030b575f80fd5b50610314610d6b565b005b610330600480360381019061032b9190612269565b610e1e565b005b34801561033d575f80fd5b50610346610e3d565b6040516103539190612250565b60405180910390f35b348015610367575f80fd5b50610382600480360381019061037d91906123e5565b610e43565b005b34801561038f575f80fd5b506103aa60048036038101906103a59190612156565b610e5e565b6040516103b791906121c0565b60405180910390f35b3480156103cb575f80fd5b506103d4610e6f565b6040516103e19190612250565b60405180910390f35b3480156103f5575f80fd5b506103fe610e75565b60405161040b9190612060565b60405180910390f35b34801561041f575f80fd5b50610428610e87565b6040516104359190612103565b60405180910390f35b348015610449575f80fd5b50610464600480360381019061045f9190612156565b610f13565b005b348015610471575f80fd5b5061048c6004803603810190610487919061242c565b610f25565b6040516104999190612250565b60405180910390f35b3480156104ad575f80fd5b506104b6610fda565b005b6104d260048036038101906104cd9190612156565b610fed565b005b3480156104df575f80fd5b506104e86111c9565b005b3480156104f5575f80fd5b50610510600480360381019061050b9190612203565b6111fb565b005b34801561051d575f80fd5b50610526611211565b60405161053391906121c0565b60405180910390f35b348015610547575f80fd5b50610550611239565b60405161055d9190612103565b60405180910390f35b610580600480360381019061057b9190612156565b6112c9565b005b34801561058d575f80fd5b506105a860048036038101906105a39190612481565b6113ec565b005b6105c460048036038101906105bf919061255d565b6114f2565b005b3480156105d1575f80fd5b506105ec60048036038101906105e79190612156565b611564565b005b3480156105f9575f80fd5b50610614600480360381019061060f9190612156565b611576565b6040516106219190612103565b60405180910390f35b348015610635575f80fd5b5061063e6115f2565b60405161064b9190612250565b60405180910390f35b34801561065f575f80fd5b5061067a60048036038101906106759190612156565b6115f8565b005b348015610687575f80fd5b506106a2600480360381019061069d91906125dd565b61160a565b6040516106af9190612060565b60405180910390f35b3480156106c3575f80fd5b506106de60048036038101906106d9919061242c565b611698565b005b3480156106eb575f80fd5b5061070660048036038101906107019190612156565b61171a565b005b348015610713575f80fd5b5061071c61172c565b6040516107299190612250565b60405180910390f35b34801561073d575f80fd5b506107586004803603810190610753919061242c565b611732565b6040516107659190612250565b60405180910390f35b5f6301ffc9a760e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806107c857506380ac58cd60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806107f85750635b5e139f60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b9050919050565b60606002805461080e90612648565b80601f016020809104026020016040519081016040528092919081815260200182805461083a90612648565b80156108855780601f1061085c57610100808354040283529160200191610885565b820191905f5260205f20905b81548152906001019060200180831161086857829003601f168201915b5050505050905090565b5f61089982611747565b6108cf576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60065f8381526020019081526020015f205f015f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b5f61091382610e5e565b90508073ffffffffffffffffffffffffffffffffffffffff166109346117a1565b73ffffffffffffffffffffffffffffffffffffffff1614610997576109608161095b6117a1565b61160a565b610996576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b8260065f8481526020019081526020015f205f015f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b5f610a516117a8565b6001545f540303905090565b5f610a67826117b0565b90508373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610ace576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5f80610ad984611873565b91509150610aef8187610aea6117a1565b611896565b610b3b57610b0486610aff6117a1565b61160a565b610b3a576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b5f73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff1603610ba0576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610bad86868660016118d9565b8015610bb7575f82555b60055f8773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8154600190039190508190555060055f8673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f815460010191905081905550610c7f85610c5b8888876118df565b7c020000000000000000000000000000000000000000000000000000000017611906565b60045f8681526020019081526020015f20819055505f7c0200000000000000000000000000000000000000000000000000000000841603610cfb575f6001850190505f60045f8381526020019081526020015f205403610cf9575f548114610cf8578360045f8381526020019081526020015f20819055505b5b505b838573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4610d638686866001611930565b505050505050565b610d73611936565b5f3373ffffffffffffffffffffffffffffffffffffffff1647604051610d98906126a5565b5f6040518083038185875af1925050503d805f8114610dd2576040519150601f19603f3d011682016040523d82523d5f602084013e610dd7565b606091505b5050905080610e1b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e1290612703565b60405180910390fd5b50565b610e3883838360405180602001604052805f8152506114f2565b505050565b600c5481565b610e4b611936565b80600f9081610e5a91906128be565b5050565b5f610e68826117b0565b9050919050565b600b5481565b600d5f9054906101000a900460ff1681565b600f8054610e9490612648565b80601f0160208091040260200160405190810160405280929190818152602001828054610ec090612648565b8015610f0b5780601f10610ee257610100808354040283529160200191610f0b565b820191905f5260205f20905b815481529060010190602001808311610eee57829003601f168201915b505050505081565b610f1b611936565b8060098190555050565b5f8073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603610f8b576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b67ffffffffffffffff60055f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2054169050919050565b610fe2611936565b610feb5f6119b4565b565b3373ffffffffffffffffffffffffffffffffffffffff163273ffffffffffffffffffffffffffffffffffffffff1614611052576040517fc8a2f6cd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600d5f9054906101000a900460ff16611097576040517fb7b2409700000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600954816110a3611a77565b6110ad91906129ba565b11156110e5576040517f8a164f6300000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600c5481600e5f3373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205461113191906129ba565b1115611169576040517f9a314b6900000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b80600e5f3373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8282546111b591906129ba565b925050819055506111c63382611a88565b50565b6111d1611936565b600d5f9054906101000a900460ff1615600d5f6101000a81548160ff021916908315150217905550565b611203611936565b61120d8282611a88565b5050565b5f60085f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60606003805461124890612648565b80601f016020809104026020016040519081016040528092919081815260200182805461127490612648565b80156112bf5780601f10611296576101008083540402835291602001916112bf565b820191905f5260205f20905b8154815290600101906020018083116112a257829003601f168201915b5050505050905090565b600d5f9054906101000a900460ff1661130e576040517fb7b2409700000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6009548161131a611a77565b61132491906129ba565b111561135c576040517f8a164f6300000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600a54811115611398576040517f845d1a2200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b80600b546113a691906129ed565b3410156113df576040517f356680b700000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6113e93382611a88565b50565b8060075f6113f86117a1565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f6101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff166114a16117a1565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516114e69190612060565b60405180910390a35050565b6114fd848484610a5d565b5f8373ffffffffffffffffffffffffffffffffffffffff163b1461155e5761152784848484611c31565b61155d576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b50505050565b61156c611936565b80600a8190555050565b606061158182611747565b6115c0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115b790612a9e565b60405180910390fd5b600f6115cb83611d7c565b6040516020016115dc929190612c54565b6040516020818303038152906040529050919050565b60095481565b611600611936565b80600c8190555050565b5f60075f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f9054906101000a900460ff16905092915050565b6116a0611936565b5f73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff160361170e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161170590612d08565b60405180910390fd5b611717816119b4565b50565b611722611936565b80600b8190555050565b600a5481565b600e602052805f5260405f205f915090505481565b5f816117516117a8565b1115801561175f57505f5482105b801561179a57505f7c010000000000000000000000000000000000000000000000000000000060045f8581526020019081526020015f205416145b9050919050565b5f33905090565b5f6001905090565b5f80829050806117be6117a8565b1161183c575f5481101561183b575f60045f8381526020019081526020015f205490505f7c0100000000000000000000000000000000000000000000000000000000821603611839575b5f810361182f5760045f836001900393508381526020019081526020015f20549050611808565b809250505061186e565b505b5b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b5f805f60065f8581526020019081526020015f2090508092508254915050915091565b5f73ffffffffffffffffffffffffffffffffffffffff8316925073ffffffffffffffffffffffffffffffffffffffff821691508382148383141790509392505050565b50505050565b5f8060e883901c905060e86118f5868684611e46565b62ffffff16901b9150509392505050565b5f73ffffffffffffffffffffffffffffffffffffffff83169250814260a01b178317905092915050565b50505050565b61193e611e4e565b73ffffffffffffffffffffffffffffffffffffffff1661195c611211565b73ffffffffffffffffffffffffffffffffffffffff16146119b2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119a990612d70565b60405180910390fd5b565b5f60085f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1690508160085f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b5f611a806117a8565b5f5403905090565b5f805490505f8203611ac6576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b611ad25f8483856118d9565b600160406001901b17820260055f8573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8282540192505081905550611b4483611b355f865f6118df565b611b3e85611e55565b17611906565b60045f8381526020019081526020015f20819055505f80838301905073ffffffffffffffffffffffffffffffffffffffff8516915082825f7fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef5f80a4600183015b818114611bde5780835f7fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef5f80a4600181019050611ba5565b505f8203611c18576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805f819055505050611c2c5f848385611930565b505050565b5f8373ffffffffffffffffffffffffffffffffffffffff1663150b7a02611c566117a1565b8786866040518563ffffffff1660e01b8152600401611c789493929190612de0565b6020604051808303815f875af1925050508015611cb357506040513d601f19601f82011682018060405250810190611cb09190612e3e565b60015b611d29573d805f8114611ce1576040519150601f19603f3d011682016040523d82523d5f602084013e611ce6565b606091505b505f815103611d21576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b60605f6001611d8a84611e64565b0190505f8167ffffffffffffffff811115611da857611da76122c1565b5b6040519080825280601f01601f191660200182016040528015611dda5781602001600182028036833780820191505090505b5090505f82602001820190505b600115611e3b578080600190039150507f3031323334353637383961626364656600000000000000000000000000000000600a86061a8153600a8581611e3057611e2f612e69565b5b0494505f8503611de7575b819350505050919050565b5f9392505050565b5f33905090565b5f6001821460e11b9050919050565b5f805f90507a184f03e93ff9f4daa797ed6e38ed64bf6a1f0100000000000000008310611ec0577a184f03e93ff9f4daa797ed6e38ed64bf6a1f0100000000000000008381611eb657611eb5612e69565b5b0492506040810190505b6d04ee2d6d415b85acef81000000008310611efd576d04ee2d6d415b85acef81000000008381611ef357611ef2612e69565b5b0492506020810190505b662386f26fc100008310611f2c57662386f26fc100008381611f2257611f21612e69565b5b0492506010810190505b6305f5e1008310611f55576305f5e1008381611f4b57611f4a612e69565b5b0492506008810190505b6127108310611f7a576127108381611f7057611f6f612e69565b5b0492506004810190505b60648310611f9d5760648381611f9357611f92612e69565b5b0492506002810190505b600a8310611fac576001810190505b80915050919050565b5f604051905090565b5f80fd5b5f80fd5b5f7fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b611ffa81611fc6565b8114612004575f80fd5b50565b5f8135905061201581611ff1565b92915050565b5f602082840312156120305761202f611fbe565b5b5f61203d84828501612007565b91505092915050565b5f8115159050919050565b61205a81612046565b82525050565b5f6020820190506120735f830184612051565b92915050565b5f81519050919050565b5f82825260208201905092915050565b5f5b838110156120b0578082015181840152602081019050612095565b5f8484015250505050565b5f601f19601f8301169050919050565b5f6120d582612079565b6120df8185612083565b93506120ef818560208601612093565b6120f8816120bb565b840191505092915050565b5f6020820190508181035f83015261211b81846120cb565b905092915050565b5f819050919050565b61213581612123565b811461213f575f80fd5b50565b5f813590506121508161212c565b92915050565b5f6020828403121561216b5761216a611fbe565b5b5f61217884828501612142565b91505092915050565b5f73ffffffffffffffffffffffffffffffffffffffff82169050919050565b5f6121aa82612181565b9050919050565b6121ba816121a0565b82525050565b5f6020820190506121d35f8301846121b1565b92915050565b6121e2816121a0565b81146121ec575f80fd5b50565b5f813590506121fd816121d9565b92915050565b5f806040838503121561221957612218611fbe565b5b5f612226858286016121ef565b925050602061223785828601612142565b9150509250929050565b61224a81612123565b82525050565b5f6020820190506122635f830184612241565b92915050565b5f805f606084860312156122805761227f611fbe565b5b5f61228d868287016121ef565b935050602061229e868287016121ef565b92505060406122af86828701612142565b9150509250925092565b5f80fd5b5f80fd5b7f4e487b71000000000000000000000000000000000000000000000000000000005f52604160045260245ffd5b6122f7826120bb565b810181811067ffffffffffffffff82111715612316576123156122c1565b5b80604052505050565b5f612328611fb5565b905061233482826122ee565b919050565b5f67ffffffffffffffff821115612353576123526122c1565b5b61235c826120bb565b9050602081019050919050565b828183375f83830152505050565b5f61238961238484612339565b61231f565b9050828152602081018484840111156123a5576123a46122bd565b5b6123b0848285612369565b509392505050565b5f82601f8301126123cc576123cb6122b9565b5b81356123dc848260208601612377565b91505092915050565b5f602082840312156123fa576123f9611fbe565b5b5f82013567ffffffffffffffff81111561241757612416611fc2565b5b612423848285016123b8565b91505092915050565b5f6020828403121561244157612440611fbe565b5b5f61244e848285016121ef565b91505092915050565b61246081612046565b811461246a575f80fd5b50565b5f8135905061247b81612457565b92915050565b5f806040838503121561249757612496611fbe565b5b5f6124a4858286016121ef565b92505060206124b58582860161246d565b9150509250929050565b5f67ffffffffffffffff8211156124d9576124d86122c1565b5b6124e2826120bb565b9050602081019050919050565b5f6125016124fc846124bf565b61231f565b90508281526020810184848401111561251d5761251c6122bd565b5b612528848285612369565b509392505050565b5f82601f830112612544576125436122b9565b5b81356125548482602086016124ef565b91505092915050565b5f805f806080858703121561257557612574611fbe565b5b5f612582878288016121ef565b9450506020612593878288016121ef565b93505060406125a487828801612142565b925050606085013567ffffffffffffffff8111156125c5576125c4611fc2565b5b6125d187828801612530565b91505092959194509250565b5f80604083850312156125f3576125f2611fbe565b5b5f612600858286016121ef565b9250506020612611858286016121ef565b9150509250929050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52602260045260245ffd5b5f600282049050600182168061265f57607f821691505b6020821081036126725761267161261b565b5b50919050565b5f81905092915050565b50565b5f6126905f83612678565b915061269b82612682565b5f82019050919050565b5f6126af82612685565b9150819050919050565b7f5472616e73616374696f6e206661696c656400000000000000000000000000005f82015250565b5f6126ed601283612083565b91506126f8826126b9565b602082019050919050565b5f6020820190508181035f83015261271a816126e1565b9050919050565b5f819050815f5260205f209050919050565b5f6020601f8301049050919050565b5f82821b905092915050565b5f6008830261277d7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82612742565b6127878683612742565b95508019841693508086168417925050509392505050565b5f819050919050565b5f6127c26127bd6127b884612123565b61279f565b612123565b9050919050565b5f819050919050565b6127db836127a8565b6127ef6127e7826127c9565b84845461274e565b825550505050565b5f90565b6128036127f7565b61280e8184846127d2565b505050565b5b81811015612831576128265f826127fb565b600181019050612814565b5050565b601f8211156128765761284781612721565b61285084612733565b8101602085101561285f578190505b61287361286b85612733565b830182612813565b50505b505050565b5f82821c905092915050565b5f6128965f198460080261287b565b1980831691505092915050565b5f6128ae8383612887565b9150826002028217905092915050565b6128c782612079565b67ffffffffffffffff8111156128e0576128df6122c1565b5b6128ea8254612648565b6128f5828285612835565b5f60209050601f831160018114612926575f8415612914578287015190505b61291e85826128a3565b865550612985565b601f19841661293486612721565b5f5b8281101561295b57848901518255600182019150602085019450602081019050612936565b868310156129785784890151612974601f891682612887565b8355505b6001600288020188555050505b505050505050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52601160045260245ffd5b5f6129c482612123565b91506129cf83612123565b92508282019050808211156129e7576129e661298d565b5b92915050565b5f6129f782612123565b9150612a0283612123565b9250828202612a1081612123565b91508282048414831517612a2757612a2661298d565b5b5092915050565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f5f8201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b5f612a88602f83612083565b9150612a9382612a2e565b604082019050919050565b5f6020820190508181035f830152612ab581612a7c565b9050919050565b5f81905092915050565b7f697066733a2f2f000000000000000000000000000000000000000000000000005f82015250565b5f612afa600783612abc565b9150612b0582612ac6565b600782019050919050565b5f8154612b1c81612648565b612b268186612abc565b9450600182165f8114612b405760018114612b5557612b87565b60ff1983168652811515820286019350612b87565b612b5e85612721565b5f5b83811015612b7f57815481890152600182019150602081019050612b60565b838801955050505b50505092915050565b7f2f000000000000000000000000000000000000000000000000000000000000005f82015250565b5f612bc4600183612abc565b9150612bcf82612b90565b600182019050919050565b5f612be482612079565b612bee8185612abc565b9350612bfe818560208601612093565b80840191505092915050565b7f2e6a736f6e0000000000000000000000000000000000000000000000000000005f82015250565b5f612c3e600583612abc565b9150612c4982612c0a565b600582019050919050565b5f612c5e82612aee565b9150612c6a8285612b10565b9150612c7582612bb8565b9150612c818284612bda565b9150612c8c82612c32565b91508190509392505050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f20615f8201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b5f612cf2602683612083565b9150612cfd82612c98565b604082019050919050565b5f6020820190508181035f830152612d1f81612ce6565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65725f82015250565b5f612d5a602083612083565b9150612d6582612d26565b602082019050919050565b5f6020820190508181035f830152612d8781612d4e565b9050919050565b5f81519050919050565b5f82825260208201905092915050565b5f612db282612d8e565b612dbc8185612d98565b9350612dcc818560208601612093565b612dd5816120bb565b840191505092915050565b5f608082019050612df35f8301876121b1565b612e0060208301866121b1565b612e0d6040830185612241565b8181036060830152612e1f8184612da8565b905095945050505050565b5f81519050612e3881611ff1565b92915050565b5f60208284031215612e5357612e52611fbe565b5b5f612e6084828501612e2a565b91505092915050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52601260045260245ffdfea2646970667358221220e41853285432008eeee41b50714827746bb2bd52816dec808a7f24065b9495af64736f6c63430008160033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
0000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000002e516d58665847714347444d5a4c426f6f557a4c5338584a444d5a47534747614d4d4a3746564b573958425467656d000000000000000000000000000000000000
-----Decoded View---------------
Arg [0] : baseURI_ (string): QmXfXGqCGDMZLBooUzLS8XJDMZGSGGaMMJ7FVKW9XBTgem
-----Encoded View---------------
4 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000020
Arg [1] : 000000000000000000000000000000000000000000000000000000000000002e
Arg [2] : 516d58665847714347444d5a4c426f6f557a4c5338584a444d5a47534747614d
Arg [3] : 4d4a3746564b573958425467656d000000000000000000000000000000000000
Deployed Bytecode Sourcemap
72451:3149:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;39345:639;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;40247:100;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;46738:218;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;46171:408;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;35998:323;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;50377:2825;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;75389:208;;;;;;;;;;;;;:::i;:::-;;53298:193;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;72652:26;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;74769:100;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;41640:152;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;72607:38;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;72685:16;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;72767:21;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;74957:102;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;37182:233;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;20124:103;;;;;;;;;;;;;:::i;:::-;;73459:422;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;74877:72;;;;;;;;;;;;;:::i;:::-;;73889:104;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;19483:87;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;40423:104;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;73095:352;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;47296:234;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;54089:407;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;75177:98;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;74001:535;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;72534:31;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;75287:94;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;47687:164;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;20382:201;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;75067:102;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;72572:28;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;72708:50;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;39345:639;39430:4;39769:10;39754:25;;:11;:25;;;;:102;;;;39846:10;39831:25;;:11;:25;;;;39754:102;:179;;;;39923:10;39908:25;;:11;:25;;;;39754:179;39734:199;;39345:639;;;:::o;40247:100::-;40301:13;40334:5;40327:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;40247:100;:::o;46738:218::-;46814:7;46839:16;46847:7;46839;:16::i;:::-;46834:64;;46864:34;;;;;;;;;;;;;;46834:64;46918:15;:24;46934:7;46918:24;;;;;;;;;;;:30;;;;;;;;;;;;46911:37;;46738:218;;;:::o;46171:408::-;46260:13;46276:16;46284:7;46276;:16::i;:::-;46260:32;;46332:5;46309:28;;:19;:17;:19::i;:::-;:28;;;46305:175;;46357:44;46374:5;46381:19;:17;:19::i;:::-;46357:16;:44::i;:::-;46352:128;;46429:35;;;;;;;;;;;;;;46352:128;46305:175;46525:2;46492:15;:24;46508:7;46492:24;;;;;;;;;;;:30;;;:35;;;;;;;;;;;;;;;;;;46563:7;46559:2;46543:28;;46552:5;46543:28;;;;;;;;;;;;46249:330;46171:408;;:::o;35998:323::-;36059:7;36287:15;:13;:15::i;:::-;36272:12;;36256:13;;:28;:46;36249:53;;35998:323;:::o;50377:2825::-;50519:27;50549;50568:7;50549:18;:27::i;:::-;50519:57;;50634:4;50593:45;;50609:19;50593:45;;;50589:86;;50647:28;;;;;;;;;;;;;;50589:86;50689:27;50718:23;50745:35;50772:7;50745:26;:35::i;:::-;50688:92;;;;50880:68;50905:15;50922:4;50928:19;:17;:19::i;:::-;50880:24;:68::i;:::-;50875:180;;50968:43;50985:4;50991:19;:17;:19::i;:::-;50968:16;:43::i;:::-;50963:92;;51020:35;;;;;;;;;;;;;;50963:92;50875:180;51086:1;51072:16;;:2;:16;;;51068:52;;51097:23;;;;;;;;;;;;;;51068:52;51133:43;51155:4;51161:2;51165:7;51174:1;51133:21;:43::i;:::-;51269:15;51266:160;;;51409:1;51388:19;51381:30;51266:160;51806:18;:24;51825:4;51806:24;;;;;;;;;;;;;;;;51804:26;;;;;;;;;;;;51875:18;:22;51894:2;51875:22;;;;;;;;;;;;;;;;51873:24;;;;;;;;;;;52197:146;52234:2;52283:45;52298:4;52304:2;52308:19;52283:14;:45::i;:::-;32397:8;52255:73;52197:18;:146::i;:::-;52168:17;:26;52186:7;52168:26;;;;;;;;;;;:175;;;;52514:1;32397:8;52463:19;:47;:52;52459:627;;52536:19;52568:1;52558:7;:11;52536:33;;52725:1;52691:17;:30;52709:11;52691:30;;;;;;;;;;;;:35;52687:384;;52829:13;;52814:11;:28;52810:242;;53009:19;52976:17;:30;52994:11;52976:30;;;;;;;;;;;:52;;;;52810:242;52687:384;52517:569;52459:627;53133:7;53129:2;53114:27;;53123:4;53114:27;;;;;;;;;;;;53152:42;53173:4;53179:2;53183:7;53192:1;53152:20;:42::i;:::-;50508:2694;;;50377:2825;;;:::o;75389:208::-;19369:13;:11;:13::i;:::-;75440:12:::1;75466:10;75458:24;;75504:21;75458:82;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;75439:101;;;75559:7;75551:38;;;;;;;;;;;;:::i;:::-;;;;;;;;;75428:169;75389:208::o:0;53298:193::-;53444:39;53461:4;53467:2;53471:7;53444:39;;;;;;;;;;;;:16;:39::i;:::-;53298:193;;;:::o;72652:26::-;;;;:::o;74769:100::-;19369:13;:11;:13::i;:::-;74853:8:::1;74843:7;:18;;;;;;:::i;:::-;;74769:100:::0;:::o;41640:152::-;41712:7;41755:27;41774:7;41755:18;:27::i;:::-;41732:52;;41640:152;;;:::o;72607:38::-;;;;:::o;72685:16::-;;;;;;;;;;;;;:::o;72767:21::-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;74957:102::-;19369:13;:11;:13::i;:::-;75041:10:::1;75029:9;:22;;;;74957:102:::0;:::o;37182:233::-;37254:7;37295:1;37278:19;;:5;:19;;;37274:60;;37306:28;;;;;;;;;;;;;;37274:60;31341:13;37352:18;:25;37371:5;37352:25;;;;;;;;;;;;;;;;:55;37345:62;;37182:233;;;:::o;20124:103::-;19369:13;:11;:13::i;:::-;20189:30:::1;20216:1;20189:18;:30::i;:::-;20124:103::o:0;73459:422::-;73539:10;73526:23;;:9;:23;;;73522:52;;73558:16;;;;;;;;;;;;;;73522:52;73590:4;;;;;;;;;;;73585:33;;73603:15;;;;;;;;;;;;;;73585:33;73660:9;;73650:7;73633:14;:12;:14::i;:::-;:24;;;;:::i;:::-;:36;73629:68;;;73678:19;;;;;;;;;;;;;;73629:68;73752:7;;73742;73712:15;:27;73728:10;73712:27;;;;;;;;;;;;;;;;:37;;;;:::i;:::-;:47;73708:77;;;73768:17;;;;;;;;;;;;;;73708:77;73829:7;73798:15;:27;73814:10;73798:27;;;;;;;;;;;;;;;;:38;;;;;;;:::i;:::-;;;;;;;;73847:26;73853:10;73865:7;73847:5;:26::i;:::-;73459:422;:::o;74877:72::-;19369:13;:11;:13::i;:::-;74937:4:::1;;;;;;;;;;;74936:5;74929:4;;:12;;;;;;;;;;;;;;;;;;74877:72::o:0;73889:104::-;19369:13;:11;:13::i;:::-;73966:19:::1;73972:3;73977:7;73966:5;:19::i;:::-;73889:104:::0;;:::o;19483:87::-;19529:7;19556:6;;;;;;;;;;;19549:13;;19483:87;:::o;40423:104::-;40479:13;40512:7;40505:14;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;40423:104;:::o;73095:352::-;73159:4;;;;;;;;;;;73154:33;;73172:15;;;;;;;;;;;;;;73154:33;73229:9;;73219:7;73202:14;:12;:14::i;:::-;:24;;;;:::i;:::-;:36;73198:68;;;73247:19;;;;;;;;;;;;;;73198:68;73291:8;;73281:7;:18;73277:49;;;73308:18;;;;;;;;;;;;;;73277:49;73365:7;73353:9;;:19;;;;:::i;:::-;73341:9;:31;73337:63;;;73381:19;;;;;;;;;;;;;;73337:63;73413:26;73419:10;73431:7;73413:5;:26::i;:::-;73095:352;:::o;47296:234::-;47443:8;47391:18;:39;47410:19;:17;:19::i;:::-;47391:39;;;;;;;;;;;;;;;:49;47431:8;47391:49;;;;;;;;;;;;;;;;:60;;;;;;;;;;;;;;;;;;47503:8;47467:55;;47482:19;:17;:19::i;:::-;47467:55;;;47513:8;47467:55;;;;;;:::i;:::-;;;;;;;;47296:234;;:::o;54089:407::-;54264:31;54277:4;54283:2;54287:7;54264:12;:31::i;:::-;54328:1;54310:2;:14;;;:19;54306:183;;54349:56;54380:4;54386:2;54390:7;54399:5;54349:30;:56::i;:::-;54344:145;;54433:40;;;;;;;;;;;;;;54344:145;54306:183;54089:407;;;;:::o;75177:98::-;19369:13;:11;:13::i;:::-;75258:9:::1;75247:8;:20;;;;75177:98:::0;:::o;74001:535::-;74119:13;74172:16;74180:7;74172;:16::i;:::-;74150:113;;;;;;;;;;;;:::i;:::-;;;;;;;;;74390:7;74446:18;:7;:16;:18::i;:::-;74319:194;;;;;;;;;:::i;:::-;;;;;;;;;;;;;74274:254;;74001:535;;;:::o;72534:31::-;;;;:::o;75287:94::-;19369:13;:11;:13::i;:::-;75365:8:::1;75355:7;:18;;;;75287:94:::0;:::o;47687:164::-;47784:4;47808:18;:25;47827:5;47808:25;;;;;;;;;;;;;;;:35;47834:8;47808:35;;;;;;;;;;;;;;;;;;;;;;;;;47801:42;;47687:164;;;;:::o;20382:201::-;19369:13;:11;:13::i;:::-;20491:1:::1;20471:22;;:8;:22;;::::0;20463:73:::1;;;;;;;;;;;;:::i;:::-;;;;;;;;;20547:28;20566:8;20547:18;:28::i;:::-;20382:201:::0;:::o;75067:102::-;19369:13;:11;:13::i;:::-;75151:10:::1;75139:9;:22;;;;75067:102:::0;:::o;72572:28::-;;;;:::o;72708:50::-;;;;;;;;;;;;;;;;;:::o;48109:282::-;48174:4;48230:7;48211:15;:13;:15::i;:::-;:26;;:66;;;;;48264:13;;48254:7;:23;48211:66;:153;;;;;48363:1;32117:8;48315:17;:26;48333:7;48315:26;;;;;;;;;;;;:44;:49;48211:153;48191:173;;48109:282;;;:::o;70417:105::-;70477:7;70504:10;70497:17;;70417:105;:::o;74660:101::-;74725:7;74752:1;74745:8;;74660:101;:::o;42795:1275::-;42862:7;42882:12;42897:7;42882:22;;42965:4;42946:15;:13;:15::i;:::-;:23;42942:1061;;42999:13;;42992:4;:20;42988:1015;;;43037:14;43054:17;:23;43072:4;43054:23;;;;;;;;;;;;43037:40;;43171:1;32117:8;43143:6;:24;:29;43139:845;;43808:113;43825:1;43815:6;:11;43808:113;;43868:17;:25;43886:6;;;;;;;43868:25;;;;;;;;;;;;43859:34;;43808:113;;;43954:6;43947:13;;;;;;43139:845;43014:989;42988:1015;42942:1061;44031:31;;;;;;;;;;;;;;42795:1275;;;;:::o;49272:485::-;49374:27;49403:23;49444:38;49485:15;:24;49501:7;49485:24;;;;;;;;;;;49444:65;;49662:18;49639:41;;49719:19;49713:26;49694:45;;49624:126;49272:485;;;:::o;48500:659::-;48649:11;48814:16;48807:5;48803:28;48794:37;;48974:16;48963:9;48959:32;48946:45;;49124:15;49113:9;49110:30;49102:5;49091:9;49088:20;49085:56;49075:66;;48500:659;;;;;:::o;55158:159::-;;;;;:::o;69726:311::-;69861:7;69881:16;32521:3;69907:19;:41;;69881:68;;32521:3;69975:31;69986:4;69992:2;69996:9;69975:10;:31::i;:::-;69967:40;;:62;;69960:69;;;69726:311;;;;;:::o;44618:450::-;44698:14;44866:16;44859:5;44855:28;44846:37;;45043:5;45029:11;45004:23;45000:41;44997:52;44990:5;44987:63;44977:73;;44618:450;;;;:::o;55982:158::-;;;;;:::o;19648:132::-;19723:12;:10;:12::i;:::-;19712:23;;:7;:5;:7::i;:::-;:23;;;19704:68;;;;;;;;;;;;:::i;:::-;;;;;;;;;19648:132::o;20743:191::-;20817:16;20836:6;;;;;;;;;;;20817:25;;20862:8;20853:6;;:17;;;;;;;;;;;;;;;;;;20917:8;20886:40;;20907:8;20886:40;;;;;;;;;;;;20806:128;20743:191;:::o;36419:296::-;36474:7;36681:15;:13;:15::i;:::-;36665:13;;:31;36658:38;;36419:296;:::o;57758:2966::-;57831:20;57854:13;;57831:36;;57894:1;57882:8;:13;57878:44;;57904:18;;;;;;;;;;;;;;57878:44;57935:61;57965:1;57969:2;57973:12;57987:8;57935:21;:61::i;:::-;58479:1;31479:2;58449:1;:26;;58448:32;58436:8;:45;58410:18;:22;58429:2;58410:22;;;;;;;;;;;;;;;;:71;;;;;;;;;;;58758:139;58795:2;58849:33;58872:1;58876:2;58880:1;58849:14;:33::i;:::-;58816:30;58837:8;58816:20;:30::i;:::-;:66;58758:18;:139::i;:::-;58724:17;:31;58742:12;58724:31;;;;;;;;;;;:173;;;;58914:16;58945:11;58974:8;58959:12;:23;58945:37;;59495:16;59491:2;59487:25;59475:37;;59867:12;59827:8;59786:1;59724:25;59665:1;59604;59577:335;60238:1;60224:12;60220:20;60178:346;60279:3;60270:7;60267:16;60178:346;;60497:7;60487:8;60484:1;60457:25;60454:1;60451;60446:59;60332:1;60323:7;60319:15;60308:26;;60178:346;;;60182:77;60569:1;60557:8;:13;60553:45;;60579:19;;;;;;;;;;;;;;60553:45;60631:3;60615:13;:19;;;;58184:2462;;60656:60;60685:1;60689:2;60693:12;60707:8;60656:20;:60::i;:::-;57820:2904;57758:2966;;:::o;56580:716::-;56743:4;56789:2;56764:45;;;56810:19;:17;:19::i;:::-;56831:4;56837:7;56846:5;56764:88;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;56760:529;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;57064:1;57047:6;:13;:18;57043:235;;57093:40;;;;;;;;;;;;;;57043:235;57236:6;57230:13;57221:6;57217:2;57213:15;57206:38;56760:529;56933:54;;;56923:64;;;:6;:64;;;;56916:71;;;56580:716;;;;;;:::o;14953:::-;15009:13;15060:14;15097:1;15077:17;15088:5;15077:10;:17::i;:::-;:21;15060:38;;15113:20;15147:6;15136:18;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;15113:41;;15169:11;15298:6;15294:2;15290:15;15282:6;15278:28;15271:35;;15335:288;15342:4;15335:288;;;15367:5;;;;;;;;15509:8;15504:2;15497:5;15493:14;15488:30;15483:3;15475:44;15565:2;15556:11;;;;;;:::i;:::-;;;;;15599:1;15590:5;:10;15335:288;15586:21;15335:288;15644:6;15637:13;;;;;14953:716;;;:::o;69427:147::-;69564:6;69427:147;;;;;:::o;18034:98::-;18087:7;18114:10;18107:17;;18034:98;:::o;45170:324::-;45240:14;45473:1;45463:8;45460:15;45434:24;45430:46;45420:56;;45170:324;;;:::o;11787:948::-;11840:7;11860:14;11877:1;11860:18;;11927:8;11918:5;:17;11914:106;;11965:8;11956:17;;;;;;:::i;:::-;;;;;12002:2;11992:12;;;;11914:106;12047:8;12038:5;:17;12034:106;;12085:8;12076:17;;;;;;:::i;:::-;;;;;12122:2;12112:12;;;;12034:106;12167:8;12158:5;:17;12154:106;;12205:8;12196:17;;;;;;:::i;:::-;;;;;12242:2;12232:12;;;;12154:106;12287:7;12278:5;:16;12274:103;;12324:7;12315:16;;;;;;:::i;:::-;;;;;12360:1;12350:11;;;;12274:103;12404:7;12395:5;:16;12391:103;;12441:7;12432:16;;;;;;:::i;:::-;;;;;12477:1;12467:11;;;;12391:103;12521:7;12512:5;:16;12508:103;;12558:7;12549:16;;;;;;:::i;:::-;;;;;12594:1;12584:11;;;;12508:103;12638:7;12629:5;:16;12625:68;;12676:1;12666:11;;;;12625:68;12721:6;12714:13;;;11787: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:168::-;13805:20;13801:1;13793:6;13789:14;13782:44;13665:168;:::o;13839:366::-;13981:3;14002:67;14066:2;14061:3;14002:67;:::i;:::-;13995:74;;14078:93;14167:3;14078:93;:::i;:::-;14196:2;14191:3;14187:12;14180:19;;13839:366;;;:::o;14211:419::-;14377:4;14415:2;14404:9;14400:18;14392:26;;14464:9;14458:4;14454:20;14450:1;14439:9;14435:17;14428:47;14492:131;14618:4;14492:131;:::i;:::-;14484:139;;14211:419;;;:::o;14636:141::-;14685:4;14708:3;14700:11;;14731:3;14728:1;14721:14;14765:4;14762:1;14752:18;14744:26;;14636:141;;;:::o;14783:93::-;14820:6;14867:2;14862;14855:5;14851:14;14847:23;14837:33;;14783:93;;;:::o;14882:107::-;14926:8;14976:5;14970:4;14966:16;14945:37;;14882:107;;;;:::o;14995:393::-;15064:6;15114:1;15102:10;15098:18;15137:97;15167:66;15156:9;15137:97;:::i;:::-;15255:39;15285:8;15274:9;15255:39;:::i;:::-;15243:51;;15327:4;15323:9;15316:5;15312:21;15303:30;;15376:4;15366:8;15362:19;15355:5;15352:30;15342:40;;15071:317;;14995:393;;;;;:::o;15394:60::-;15422:3;15443:5;15436:12;;15394:60;;;:::o;15460:142::-;15510:9;15543:53;15561:34;15570:24;15588:5;15570:24;:::i;:::-;15561:34;:::i;:::-;15543:53;:::i;:::-;15530:66;;15460:142;;;:::o;15608:75::-;15651:3;15672:5;15665:12;;15608:75;;;:::o;15689:269::-;15799:39;15830:7;15799:39;:::i;:::-;15860:91;15909:41;15933:16;15909:41;:::i;:::-;15901:6;15894:4;15888:11;15860:91;:::i;:::-;15854:4;15847:105;15765:193;15689:269;;;:::o;15964:73::-;16009:3;15964:73;:::o;16043:189::-;16120:32;;:::i;:::-;16161:65;16219:6;16211;16205:4;16161:65;:::i;:::-;16096:136;16043:189;;:::o;16238:186::-;16298:120;16315:3;16308:5;16305:14;16298:120;;;16369:39;16406:1;16399:5;16369:39;:::i;:::-;16342:1;16335:5;16331:13;16322:22;;16298:120;;;16238:186;;:::o;16430:543::-;16531:2;16526:3;16523:11;16520:446;;;16565:38;16597:5;16565:38;:::i;:::-;16649:29;16667:10;16649:29;:::i;:::-;16639:8;16635:44;16832:2;16820:10;16817:18;16814:49;;;16853:8;16838:23;;16814:49;16876:80;16932:22;16950:3;16932:22;:::i;:::-;16922:8;16918:37;16905:11;16876:80;:::i;:::-;16535:431;;16520:446;16430:543;;;:::o;16979:117::-;17033:8;17083:5;17077:4;17073:16;17052:37;;16979:117;;;;:::o;17102:169::-;17146:6;17179:51;17227:1;17223:6;17215:5;17212:1;17208:13;17179:51;:::i;:::-;17175:56;17260:4;17254;17250:15;17240:25;;17153:118;17102:169;;;;:::o;17276:295::-;17352:4;17498:29;17523:3;17517:4;17498:29;:::i;:::-;17490:37;;17560:3;17557:1;17553:11;17547:4;17544:21;17536:29;;17276:295;;;;:::o;17576:1395::-;17693:37;17726:3;17693:37;:::i;:::-;17795:18;17787:6;17784:30;17781:56;;;17817:18;;:::i;:::-;17781:56;17861:38;17893:4;17887:11;17861:38;:::i;:::-;17946:67;18006:6;17998;17992:4;17946:67;:::i;:::-;18040:1;18064:4;18051:17;;18096:2;18088:6;18085:14;18113:1;18108:618;;;;18770:1;18787:6;18784:77;;;18836:9;18831:3;18827:19;18821:26;18812:35;;18784:77;18887:67;18947:6;18940:5;18887:67;:::i;:::-;18881:4;18874:81;18743:222;18078:887;;18108:618;18160:4;18156:9;18148:6;18144:22;18194:37;18226:4;18194:37;:::i;:::-;18253:1;18267:208;18281:7;18278:1;18275:14;18267:208;;;18360:9;18355:3;18351:19;18345:26;18337:6;18330:42;18411:1;18403:6;18399:14;18389:24;;18458:2;18447:9;18443:18;18430:31;;18304:4;18301:1;18297:12;18292:17;;18267:208;;;18503:6;18494:7;18491:19;18488:179;;;18561:9;18556:3;18552:19;18546:26;18604:48;18646:4;18638:6;18634:17;18623:9;18604:48;:::i;:::-;18596:6;18589:64;18511:156;18488:179;18713:1;18709;18701:6;18697:14;18693:22;18687:4;18680:36;18115:611;;;18078:887;;17668:1303;;;17576:1395;;:::o;18977:180::-;19025:77;19022:1;19015:88;19122:4;19119:1;19112:15;19146:4;19143:1;19136:15;19163:191;19203:3;19222:20;19240:1;19222:20;:::i;:::-;19217:25;;19256:20;19274:1;19256:20;:::i;:::-;19251:25;;19299:1;19296;19292:9;19285:16;;19320:3;19317:1;19314:10;19311:36;;;19327:18;;:::i;:::-;19311:36;19163:191;;;;:::o;19360:410::-;19400:7;19423:20;19441:1;19423:20;:::i;:::-;19418:25;;19457:20;19475:1;19457:20;:::i;:::-;19452:25;;19512:1;19509;19505:9;19534:30;19552:11;19534:30;:::i;:::-;19523:41;;19713:1;19704:7;19700:15;19697:1;19694:22;19674:1;19667:9;19647:83;19624:139;;19743:18;;:::i;:::-;19624:139;19408:362;19360:410;;;;:::o;19776:234::-;19916:34;19912:1;19904:6;19900:14;19893:58;19985:17;19980:2;19972:6;19968:15;19961:42;19776:234;:::o;20016:366::-;20158:3;20179:67;20243:2;20238:3;20179:67;:::i;:::-;20172:74;;20255:93;20344:3;20255:93;:::i;:::-;20373:2;20368:3;20364:12;20357:19;;20016:366;;;:::o;20388:419::-;20554:4;20592:2;20581:9;20577:18;20569:26;;20641:9;20635:4;20631:20;20627:1;20616:9;20612:17;20605:47;20669:131;20795:4;20669:131;:::i;:::-;20661:139;;20388:419;;;:::o;20813:148::-;20915:11;20952:3;20937:18;;20813:148;;;;:::o;20967:161::-;21107:9;21103:1;21095:6;21091:14;21084:33;20967:161;:::o;21138:416::-;21298:3;21323:84;21405:1;21400:3;21323:84;:::i;:::-;21316:91;;21420:93;21509:3;21420:93;:::i;:::-;21542:1;21537:3;21533:11;21526:18;;21138:416;;;:::o;21592:954::-;21695:3;21736:5;21730:12;21769:36;21795:9;21769:36;:::i;:::-;21825:89;21907:6;21902:3;21825:89;:::i;:::-;21818:96;;21949:1;21938:9;21934:17;21969:1;21964:182;;;;22164:1;22159:377;;;;21927:609;;21964:182;22056:4;22052:9;22041;22037:25;22032:3;22025:38;22122:6;22115:14;22108:22;22100:6;22096:35;22091:3;22087:45;22080:52;;21964:182;;22159:377;22234:38;22266:5;22234:38;:::i;:::-;22298:1;22316:166;22330:6;22327:1;22324:13;22316:166;;;22408:7;22402:14;22398:1;22393:3;22389:11;22382:35;22462:1;22453:7;22449:15;22438:26;;22352:4;22349:1;22345:12;22340:17;;22316:166;;;22515:6;22510:3;22506:16;22499:23;;22166:370;;21927:609;;21699:847;;21592:954;;;;:::o;22556:159::-;22700:3;22696:1;22688:6;22684:14;22677:27;22556:159;:::o;22725:416::-;22885:3;22910:84;22992:1;22987:3;22910:84;:::i;:::-;22903:91;;23007:93;23096:3;23007:93;:::i;:::-;23129:1;23124:3;23120:11;23113:18;;22725:416;;;:::o;23151:410::-;23257:3;23289:39;23322:5;23289:39;:::i;:::-;23348:89;23430:6;23425:3;23348:89;:::i;:::-;23341:96;;23450:65;23508:6;23503:3;23496:4;23489:5;23485:16;23450:65;:::i;:::-;23544:6;23539:3;23535:16;23528:23;;23261:300;23151:410;;;;:::o;23571:163::-;23715:7;23711:1;23703:6;23699:14;23692:31;23571:163;:::o;23744:416::-;23904:3;23929:84;24011:1;24006:3;23929:84;:::i;:::-;23922:91;;24026:93;24115:3;24026:93;:::i;:::-;24148:1;24143:3;24139:11;24132:18;;23744:416;;;:::o;24170:1255::-;24650:3;24676:148;24820:3;24676:148;:::i;:::-;24669:155;;24845:92;24933:3;24924:6;24845:92;:::i;:::-;24838:99;;24958:148;25102:3;24958:148;:::i;:::-;24951:155;;25127:95;25218:3;25209:6;25127:95;:::i;:::-;25120:102;;25243:148;25387:3;25243:148;:::i;:::-;25236:155;;25412:3;25405:10;;24170:1255;;;;;:::o;25435:237::-;25579:34;25575:1;25567:6;25563:14;25556:58;25652:8;25647:2;25639:6;25635:15;25628:33;25435:237;:::o;25682:382::-;25824:3;25849:67;25913:2;25908:3;25849:67;:::i;:::-;25842:74;;25929:93;26018:3;25929:93;:::i;:::-;26051:2;26046:3;26042:12;26035:19;;25682:382;;;:::o;26074:435::-;26240:4;26282:2;26271:9;26267:18;26259:26;;26335:9;26329:4;26325:20;26321:1;26310:9;26306:17;26299:47;26367:131;26493:4;26367:131;:::i;:::-;26359:139;;26074:435;;;:::o;26519:190::-;26663:34;26659:1;26651:6;26647:14;26640:58;26519:190;:::o;26719:382::-;26861:3;26886:67;26950:2;26945:3;26886:67;:::i;:::-;26879:74;;26966:93;27055:3;26966:93;:::i;:::-;27088:2;27083:3;27079:12;27072:19;;26719:382;;;:::o;27111:435::-;27277:4;27319:2;27308:9;27304:18;27296:26;;27372:9;27366:4;27362:20;27358:1;27347:9;27343:17;27336:47;27404:131;27530:4;27404:131;:::i;:::-;27396:139;;27111:435;;;:::o;27556:106::-;27607:6;27645:5;27639:12;27629:22;;27556:106;;;:::o;27672:180::-;27755:11;27793:6;27788:3;27781:19;27837:4;27832:3;27828:14;27813:29;;27672:180;;;;:::o;27862:393::-;27948:3;27980:38;28012:5;27980:38;:::i;:::-;28038:70;28101:6;28096:3;28038:70;:::i;:::-;28031:77;;28121:65;28179:6;28174:3;28167:4;28160:5;28156:16;28121:65;:::i;:::-;28215:29;28237:6;28215:29;:::i;:::-;28210:3;28206:39;28199:46;;27952:303;27862:393;;;;:::o;28265:668::-;28460:4;28502:3;28491:9;28487:19;28479:27;;28520:71;28588:1;28577:9;28573:17;28564:6;28520:71;:::i;:::-;28605:72;28673:2;28662:9;28658:18;28649:6;28605:72;:::i;:::-;28691;28759:2;28748:9;28744:18;28735:6;28691:72;:::i;:::-;28814:9;28808:4;28804:20;28799:2;28788:9;28784:18;28777:48;28846:76;28917:4;28908:6;28846:76;:::i;:::-;28838:84;;28265:668;;;;;;;:::o;28943:153::-;28999:5;29034:6;29028:13;29019:22;;29054:32;29080:5;29054:32;:::i;:::-;28943:153;;;;:::o;29106:373::-;29175:6;29228:2;29216:9;29207:7;29203:23;29199:32;29196:119;;;29234:79;;:::i;:::-;29196:119;29362:1;29391:63;29446:7;29437:6;29426:9;29422:22;29391:63;:::i;:::-;29381:73;;29329:139;29106:373;;;;:::o;29489:196::-;29541:77;29538:1;29531:88;29642:4;29639:1;29632:15;29670:4;29667:1;29660:15
Swarm Source
ipfs://e41853285432008eeee41b50714827746bb2bd52816dec808a7f24065b9495af
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.