ERC-721
Overview
Max Total Supply
4,444 OSTR
Holders
1,219
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
1 OSTRLoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
OrdinaryStrangers
Compiler Version
v0.8.7+commit.e28d00a7
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2022-09-14 */ // File: https://github.com/OpenZeppelin/openzeppelin-contracts/blob/master/contracts/utils/math/Math.sol // OpenZeppelin Contracts (last updated v4.7.0) (utils/math/Math.sol) pragma solidity ^0.8.0; /** * @dev Standard math utilities missing in the Solidity language. */ library Math { enum Rounding { Down, // Toward negative infinity Up, // Toward infinity Zero // Toward zero } /** * @dev Returns the largest of two numbers. */ function max(uint256 a, uint256 b) internal pure returns (uint256) { return a > b ? a : b; } /** * @dev Returns the smallest of two numbers. */ function min(uint256 a, uint256 b) internal pure returns (uint256) { return a < b ? a : b; } /** * @dev Returns the average of two numbers. The result is rounded towards * zero. */ function average(uint256 a, uint256 b) internal pure returns (uint256) { // (a + b) / 2 can overflow. return (a & b) + (a ^ b) / 2; } /** * @dev Returns the ceiling of the division of two numbers. * * This differs from standard division with `/` in that it rounds up instead * of rounding down. */ function ceilDiv(uint256 a, uint256 b) internal pure returns (uint256) { // (a + b - 1) / b can overflow on addition, so we distribute. return a == 0 ? 0 : (a - 1) / b + 1; } /** * @notice Calculates floor(x * y / denominator) with full precision. Throws if result overflows a uint256 or denominator == 0 * @dev Original credit to Remco Bloemen under MIT license (https://xn--2-umb.com/21/muldiv) * with further edits by Uniswap Labs also under MIT license. */ function mulDiv( uint256 x, uint256 y, uint256 denominator ) internal pure returns (uint256 result) { unchecked { // 512-bit multiply [prod1 prod0] = x * y. Compute the product mod 2^256 and mod 2^256 - 1, then use // use the Chinese Remainder Theorem to reconstruct the 512 bit result. The result is stored in two 256 // variables such that product = prod1 * 2^256 + prod0. uint256 prod0; // Least significant 256 bits of the product uint256 prod1; // Most significant 256 bits of the product assembly { let mm := mulmod(x, y, not(0)) prod0 := mul(x, y) prod1 := sub(sub(mm, prod0), lt(mm, prod0)) } // Handle non-overflow cases, 256 by 256 division. if (prod1 == 0) { return prod0 / denominator; } // Make sure the result is less than 2^256. Also prevents denominator == 0. require(denominator > prod1); /////////////////////////////////////////////// // 512 by 256 division. /////////////////////////////////////////////// // Make division exact by subtracting the remainder from [prod1 prod0]. uint256 remainder; assembly { // Compute remainder using mulmod. remainder := mulmod(x, y, denominator) // Subtract 256 bit number from 512 bit number. prod1 := sub(prod1, gt(remainder, prod0)) prod0 := sub(prod0, remainder) } // Factor powers of two out of denominator and compute largest power of two divisor of denominator. Always >= 1. // See https://cs.stackexchange.com/q/138556/92363. // Does not overflow because the denominator cannot be zero at this stage in the function. uint256 twos = denominator & (~denominator + 1); assembly { // Divide denominator by twos. denominator := div(denominator, twos) // Divide [prod1 prod0] by twos. prod0 := div(prod0, twos) // Flip twos such that it is 2^256 / twos. If twos is zero, then it becomes one. twos := add(div(sub(0, twos), twos), 1) } // Shift in bits from prod1 into prod0. prod0 |= prod1 * twos; // Invert denominator mod 2^256. Now that denominator is an odd number, it has an inverse modulo 2^256 such // that denominator * inv = 1 mod 2^256. Compute the inverse by starting with a seed that is correct for // four bits. That is, denominator * inv = 1 mod 2^4. uint256 inverse = (3 * denominator) ^ 2; // Use the Newton-Raphson iteration to improve the precision. Thanks to Hensel's lifting lemma, this also works // in modular arithmetic, doubling the correct bits in each step. inverse *= 2 - denominator * inverse; // inverse mod 2^8 inverse *= 2 - denominator * inverse; // inverse mod 2^16 inverse *= 2 - denominator * inverse; // inverse mod 2^32 inverse *= 2 - denominator * inverse; // inverse mod 2^64 inverse *= 2 - denominator * inverse; // inverse mod 2^128 inverse *= 2 - denominator * inverse; // inverse mod 2^256 // Because the division is now exact we can divide by multiplying with the modular inverse of denominator. // This will give us the correct result modulo 2^256. Since the preconditions guarantee that the outcome is // less than 2^256, this is the final result. We don't need to compute the high bits of the result and prod1 // is no longer required. result = prod0 * inverse; return result; } } /** * @notice Calculates x * y / denominator with full precision, following the selected rounding direction. */ function mulDiv( uint256 x, uint256 y, uint256 denominator, Rounding rounding ) internal pure returns (uint256) { uint256 result = mulDiv(x, y, denominator); if (rounding == Rounding.Up && mulmod(x, y, denominator) > 0) { result += 1; } return result; } /** * @dev Returns the square root of a number. If the number is not a perfect square, the value is rounded down. * * Inspired by Henry S. Warren, Jr.'s "Hacker's Delight" (Chapter 11). */ function sqrt(uint256 a) internal pure returns (uint256) { if (a == 0) { return 0; } // For our first guess, we get the biggest power of 2 which is smaller than the square root of the target. // // We know that the "msb" (most significant bit) of our target number `a` is a power of 2 such that we have // `msb(a) <= a < 2*msb(a)`. This value can be written `msb(a)=2**k` with `k=log2(a)`. // // This can be rewritten `2**log2(a) <= a < 2**(log2(a) + 1)` // → `sqrt(2**k) <= sqrt(a) < sqrt(2**(k+1))` // → `2**(k/2) <= sqrt(a) < 2**((k+1)/2) <= 2**(k/2 + 1)` // // Consequently, `2**(log2(a) / 2)` is a good first approximation of `sqrt(a)` with at least 1 correct bit. uint256 result = 1 << (log2(a) >> 1); // At this point `result` is an estimation with one bit of precision. We know the true value is a uint128, // since it is the square root of a uint256. Newton's method converges quadratically (precision doubles at // every iteration). We thus need at most 7 iteration to turn our partial result with one bit of precision // into the expected uint128 result. unchecked { result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; return min(result, a / result); } } /** * @notice Calculates sqrt(a), following the selected rounding direction. */ function sqrt(uint256 a, Rounding rounding) internal pure returns (uint256) { unchecked { uint256 result = sqrt(a); return result + (rounding == Rounding.Up && result * result < a ? 1 : 0); } } /** * @dev Return the log in base 2, rounded down, of a positive value. * Returns 0 if given 0. */ function log2(uint256 value) internal pure returns (uint256) { uint256 result = 0; unchecked { if (value >> 128 > 0) { value >>= 128; result += 128; } if (value >> 64 > 0) { value >>= 64; result += 64; } if (value >> 32 > 0) { value >>= 32; result += 32; } if (value >> 16 > 0) { value >>= 16; result += 16; } if (value >> 8 > 0) { value >>= 8; result += 8; } if (value >> 4 > 0) { value >>= 4; result += 4; } if (value >> 2 > 0) { value >>= 2; result += 2; } if (value >> 1 > 0) { result += 1; } } return result; } /** * @dev Return the log in base 2, following the selected rounding direction, of a positive value. * Returns 0 if given 0. */ function log2(uint256 value, Rounding rounding) internal pure returns (uint256) { unchecked { uint256 result = log2(value); return result + (rounding == Rounding.Up && 1 << result < value ? 1 : 0); } } /** * @dev Return the log in base 10, rounded down, of a positive value. * Returns 0 if given 0. */ function log10(uint256 value) internal pure returns (uint256) { uint256 result = 0; unchecked { if (value >= 10**64) { value /= 10**64; result += 64; } if (value >= 10**32) { value /= 10**32; result += 32; } if (value >= 10**16) { value /= 10**16; result += 16; } if (value >= 10**8) { value /= 10**8; result += 8; } if (value >= 10**4) { value /= 10**4; result += 4; } if (value >= 10**2) { value /= 10**2; result += 2; } if (value >= 10**1) { result += 1; } } return result; } /** * @dev Return the log in base 10, following the selected rounding direction, of a positive value. * Returns 0 if given 0. */ function log10(uint256 value, Rounding rounding) internal pure returns (uint256) { unchecked { uint256 result = log10(value); return result + (rounding == Rounding.Up && 10**result < value ? 1 : 0); } } /** * @dev Return the log in base 256, rounded down, of a positive value. * Returns 0 if given 0. * * Adding one to the result gives the number of pairs of hex symbols needed to represent `value` as a hex string. */ function log256(uint256 value) internal pure returns (uint256) { uint256 result = 0; unchecked { if (value >> 128 > 0) { value >>= 128; result += 16; } if (value >> 64 > 0) { value >>= 64; result += 8; } if (value >> 32 > 0) { value >>= 32; result += 4; } if (value >> 16 > 0) { value >>= 16; result += 2; } if (value >> 8 > 0) { result += 1; } } return result; } /** * @dev Return the log in base 10, following the selected rounding direction, of a positive value. * Returns 0 if given 0. */ function log256(uint256 value, Rounding rounding) internal pure returns (uint256) { unchecked { uint256 result = log256(value); return result + (rounding == Rounding.Up && 1 << (result * 8) < value ? 1 : 0); } } } // File: https://github.com/OpenZeppelin/openzeppelin-contracts/blob/master/contracts/utils/Strings.sol // OpenZeppelin Contracts (last updated v4.7.0) (utils/Strings.sol) pragma solidity ^0.8.0; /** * @dev String operations. */ library Strings { bytes16 private constant _SYMBOLS = "0123456789abcdef"; uint8 private constant _ADDRESS_LENGTH = 20; /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function toString(uint256 value) internal pure returns (string memory) { unchecked { uint256 length = Math.log10(value) + 1; string memory buffer = new string(length); uint256 ptr; /// @solidity memory-safe-assembly assembly { ptr := add(buffer, add(32, length)) } while (true) { ptr--; /// @solidity memory-safe-assembly assembly { mstore8(ptr, byte(mod(value, 10), _SYMBOLS)) } value /= 10; if (value == 0) break; } return buffer; } } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { unchecked { return toHexString(value, Math.log256(value) + 1); } } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length. */ function toHexString(uint256 value, uint256 length) internal pure returns (string memory) { bytes memory buffer = new bytes(2 * length + 2); buffer[0] = "0"; buffer[1] = "x"; for (uint256 i = 2 * length + 1; i > 1; --i) { buffer[i] = _SYMBOLS[value & 0xf]; value >>= 4; } require(value == 0, "Strings: hex length insufficient"); return string(buffer); } /** * @dev Converts an `address` with fixed length of 20 bytes to its not checksummed ASCII `string` hexadecimal representation. */ function toHexString(address addr) internal pure returns (string memory) { return toHexString(uint256(uint160(addr)), _ADDRESS_LENGTH); } } // File: https://github.com/OpenZeppelin/openzeppelin-contracts/blob/master/contracts/utils/Context.sol // OpenZeppelin Contracts v4.4.1 (utils/Context.sol) pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } } // File: https://github.com/OpenZeppelin/openzeppelin-contracts/blob/master/contracts/access/Ownable.sol // OpenZeppelin Contracts (last updated v4.7.0) (access/Ownable.sol) pragma solidity ^0.8.0; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _transferOwnership(_msgSender()); } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { _checkOwner(); _; } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if the sender is not the owner. */ function _checkOwner() internal view virtual { require(owner() == _msgSender(), "Ownable: caller is not the owner"); } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } } // File: https://github.com/chiru-labs/ERC721A/blob/main/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: https://github.com/chiru-labs/ERC721A/blob/main/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/OrdinaryStrangers.sol pragma solidity ^0.8.0; contract OrdinaryStrangers is ERC721A, Ownable { using Strings for uint256; uint256 public mintPrice = 0.00666 ether; uint256 public constant supply = 4444; string private unRevealedURI = "ipfs://QmVY4tYCYhn3JGQhJBARAooFqtBZrhJ9UrLJDMfw28xHqt/"; string private baseURI = "ipfs://QmccLaXffECvXzYvQp3hmWr6evVcSKWU3LxV5SZddUC7PL/"; uint256 public maxNftPerWallet = 5; bool teamMinted = false; bool public paused = false; bool public isRevealed = false; constructor() ERC721A("Ordinary Strangers", "OSTR") {} function toggleReveal() external onlyOwner {isRevealed = !isRevealed;} function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { require(_exists(tokenId), "ERC721Metadata: URI query for nonexistent token"); if (!isRevealed) {return unRevealedURI;} return bytes(baseURI).length > 0 ? string(abi.encodePacked(baseURI, tokenId.toString(), ".json")) : ""; } function teamMint(uint _teamSupply, address _teamWallet) external onlyOwner { require(totalSupply() + _teamSupply <= supply, "You can't mint more than the total supply"); require(!teamMinted, "Team has already minted"); teamMinted = true; _mint(_teamWallet, _teamSupply); } function mint(uint256 quantity) external payable { require(totalSupply() + quantity <= supply, "You can't mint more than the total supply"); require(tx.origin == msg.sender, "Caller should not be a contract"); if (msg.sender != owner()) { require(!paused, "Contract paused"); require(quantity + _numberMinted(msg.sender) <= maxNftPerWallet, string(abi.encodePacked("You can only mint 5 NFTs"))); require(msg.value >= mintPrice * quantity, "Insufficient funds"); } _mint(msg.sender, quantity); } function getBaseURI() public view onlyOwner returns (string memory) {return baseURI;} function setNotRevealedUrl(string memory unRevealedURI_) external onlyOwner{unRevealedURI = unRevealedURI_;} function _baseURI() internal view override returns (string memory) {return baseURI;} function setBaseURI(string memory baseURI_) external onlyOwner {baseURI = baseURI_;} function setMintPrice(uint256 _newPrice) external onlyOwner {mintPrice = _newPrice;} function setPaused(bool _pausedState) external onlyOwner {paused = _pausedState;} function setMaxNftPerWallet(uint256 max_) external onlyOwner {maxNftPerWallet = max_;} function getNotRevealedURL() external view onlyOwner returns (string memory) {return unRevealedURI;} function numberMinted(address _address) public view returns (uint256) {return _numberMinted(_address);} function totalMinted() public view returns (uint256) {return _totalMinted();} function exists(uint256 tokenId) public view returns (bool) {return _exists(tokenId);} function withdraw() public payable onlyOwner {(bool os, ) = payable(owner()).call{value: address(this).balance}("");require(os);} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ApprovalCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"ApprovalQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[],"name":"MintERC2309QuantityExceedsLimit","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[],"name":"OwnerQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"OwnershipNotInitializedForExtraData","type":"error"},{"inputs":[],"name":"TransferCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"TransferFromIncorrectOwner","type":"error"},{"inputs":[],"name":"TransferToNonERC721ReceiverImplementer","type":"error"},{"inputs":[],"name":"TransferToZeroAddress","type":"error"},{"inputs":[],"name":"URIQueryForNonexistentToken","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"fromTokenId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"toTokenId","type":"uint256"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"}],"name":"ConsecutiveTransfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"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":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"exists","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getBaseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getNotRevealedURL","outputs":[{"internalType":"string","name":"","type":"string"}],"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":"isRevealed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxNftPerWallet","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"quantity","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"mintPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_address","type":"address"}],"name":"numberMinted","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"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":[{"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":"max_","type":"uint256"}],"name":"setMaxNftPerWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newPrice","type":"uint256"}],"name":"setMintPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"unRevealedURI_","type":"string"}],"name":"setNotRevealedUrl","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_pausedState","type":"bool"}],"name":"setPaused","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"supply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_teamSupply","type":"uint256"},{"internalType":"address","name":"_teamWallet","type":"address"}],"name":"teamMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"toggleReveal","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":"totalMinted","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"payable","type":"function"}]
Contract Creation Code
6617a93c1634400060095560e0604052603660808181529062001e0a60a03980516200003491600a916020909101906200015b565b5060405180606001604052806036815260200162001dd46036913980516200006591600b916020909101906200015b565b506005600c55600d805462ffffff191690553480156200008457600080fd5b5060408051808201825260128152714f7264696e61727920537472616e6765727360701b60208083019182528351808501909452600484526327a9aa2960e11b908401528151919291620000db916002916200015b565b508051620000f19060039060208401906200015b565b50506000805550620001033362000109565b6200023e565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b828054620001699062000201565b90600052602060002090601f0160209004810192826200018d5760008555620001d8565b82601f10620001a857805160ff1916838001178555620001d8565b82800160010185558215620001d8579182015b82811115620001d8578251825591602001919060010190620001bb565b50620001e6929150620001ea565b5090565b5b80821115620001e65760008155600101620001eb565b600181811c908216806200021657607f821691505b602082108114156200023857634e487b7160e01b600052602260045260246000fd5b50919050565b611b86806200024e6000396000f3fe60806040526004361061020f5760003560e01c80636817c76c11610118578063a22cb465116100a0578063c87b56dd1161006f578063c87b56dd14610570578063dc33e68114610590578063e985e9c5146105b0578063f2fde38b146105f9578063f4a0a5281461061957600080fd5b8063a22cb46514610508578063a2309ff814610528578063b88d4fde1461053d578063bfa457bc1461055057600080fd5b80638da5cb5b116100e75780638da5cb5b1461048257806395d89b41146104a05780639884a353146104b55780639c12e1bc146104d5578063a0712d68146104f557600080fd5b80636817c76c1461042257806370a0823114610438578063714c539814610458578063715018a61461046d57600080fd5b80633ccfd60b1161019b57806354214f691161016a57806354214f691461038e57806355f804b3146103ae5780635b8ad429146103ce5780635c975abb146103e35780636352211e1461040257600080fd5b80633ccfd60b1461033e57806342842e0e146103465780634f558e791461035957806353431ecf1461037957600080fd5b8063095ea7b3116101e2578063095ea7b3146102c757806316c38b3c146102dc57806318160ddd146102fc57806322127d191461031557806323b872dd1461032b57600080fd5b806301ffc9a714610214578063047fc9aa1461024957806306fdde031461026d578063081812fc1461028f575b600080fd5b34801561022057600080fd5b5061023461022f366004611815565b610639565b60405190151581526020015b60405180910390f35b34801561025557600080fd5b5061025f61115c81565b604051908152602001610240565b34801561027957600080fd5b5061028261068b565b6040516102409190611a14565b34801561029b57600080fd5b506102af6102aa366004611898565b61071d565b6040516001600160a01b039091168152602001610240565b6102da6102d53660046117d0565b610761565b005b3480156102e857600080fd5b506102da6102f73660046117fa565b610801565b34801561030857600080fd5b506001546000540361025f565b34801561032157600080fd5b5061025f600c5481565b6102da6103393660046116ee565b610823565b6102da6109b4565b6102da6103543660046116ee565b610a30565b34801561036557600080fd5b50610234610374366004611898565b610a50565b34801561038557600080fd5b50610282610a5b565b34801561039a57600080fd5b50600d546102349062010000900460ff1681565b3480156103ba57600080fd5b506102da6103c936600461184f565b610a72565b3480156103da57600080fd5b506102da610a91565b3480156103ef57600080fd5b50600d5461023490610100900460ff1681565b34801561040e57600080fd5b506102af61041d366004611898565b610ab8565b34801561042e57600080fd5b5061025f60095481565b34801561044457600080fd5b5061025f6104533660046116a0565b610ac3565b34801561046457600080fd5b50610282610b12565b34801561047957600080fd5b506102da610b29565b34801561048e57600080fd5b506008546001600160a01b03166102af565b3480156104ac57600080fd5b50610282610b3d565b3480156104c157600080fd5b506102da6104d0366004611898565b610b4c565b3480156104e157600080fd5b506102da6104f036600461184f565b610b59565b6102da610503366004611898565b610b74565b34801561051457600080fd5b506102da6105233660046117a6565b610d4a565b34801561053457600080fd5b5060005461025f565b6102da61054b36600461172a565b610db6565b34801561055c57600080fd5b506102da61056b3660046118b1565b610e00565b34801561057c57600080fd5b5061028261058b366004611898565b610eab565b34801561059c57600080fd5b5061025f6105ab3660046116a0565b611018565b3480156105bc57600080fd5b506102346105cb3660046116bb565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b34801561060557600080fd5b506102da6106143660046116a0565b611043565b34801561062557600080fd5b506102da610634366004611898565b6110b9565b60006301ffc9a760e01b6001600160e01b03198316148061066a57506380ac58cd60e01b6001600160e01b03198316145b806106855750635b5e139f60e01b6001600160e01b03198316145b92915050565b60606002805461069a90611ad3565b80601f01602080910402602001604051908101604052809291908181526020018280546106c690611ad3565b80156107135780601f106106e857610100808354040283529160200191610713565b820191906000526020600020905b8154815290600101906020018083116106f657829003601f168201915b5050505050905090565b6000610728826110c6565b610745576040516333d1c03960e21b815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b600061076c82610ab8565b9050336001600160a01b038216146107a55761078881336105cb565b6107a5576040516367d9dca160e11b815260040160405180910390fd5b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b6108096110ed565b600d80549115156101000261ff0019909216919091179055565b600061082e82611147565b9050836001600160a01b0316816001600160a01b0316146108615760405162a1148160e81b815260040160405180910390fd5b60008281526006602052604090208054338082146001600160a01b038816909114176108ae5761089186336105cb565b6108ae57604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b0385166108d557604051633a954ecd60e21b815260040160405180910390fd5b80156108e057600082555b6001600160a01b038681166000908152600560205260408082208054600019019055918716808252919020805460010190554260a01b17600160e11b17600085815260046020526040902055600160e11b831661096b57600184016000818152600460205260409020546109695760005481146109695760008181526004602052604090208490555b505b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050505050565b6109bc6110ed565b60006109d06008546001600160a01b031690565b6001600160a01b03164760405160006040518083038185875af1925050503d8060008114610a1a576040519150601f19603f3d011682016040523d82523d6000602084013e610a1f565b606091505b5050905080610a2d57600080fd5b50565b610a4b83838360405180602001604052806000815250610db6565b505050565b6000610685826110c6565b6060610a656110ed565b600a805461069a90611ad3565b610a7a6110ed565b8051610a8d90600b906020840190611565565b5050565b610a996110ed565b600d805462ff0000198116620100009182900460ff1615909102179055565b600061068582611147565b60006001600160a01b038216610aec576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b031660009081526005602052604090205467ffffffffffffffff1690565b6060610b1c6110ed565b600b805461069a90611ad3565b610b316110ed565b610b3b60006111af565b565b60606003805461069a90611ad3565b610b546110ed565b600c55565b610b616110ed565b8051610a8d90600a906020840190611565565b61115c81610b856001546000540390565b610b8f9190611a70565b1115610bb65760405162461bcd60e51b8152600401610bad90611a27565b60405180910390fd5b323314610c055760405162461bcd60e51b815260206004820152601f60248201527f43616c6c65722073686f756c64206e6f74206265206120636f6e7472616374006044820152606401610bad565b6008546001600160a01b03163314610d4057600d54610100900460ff1615610c615760405162461bcd60e51b815260206004820152600f60248201526e10dbdb9d1c9858dd081c185d5cd959608a1b6044820152606401610bad565b600c54336000908152600560205260409081902054610c8b911c67ffffffffffffffff1683611a70565b1115604051602001610cc0907f596f752063616e206f6e6c79206d696e742035204e4654730000000000000000815260180190565b60405160208183030381529060405290610ced5760405162461bcd60e51b8152600401610bad9190611a14565b5080600954610cfc9190611a88565b341015610d405760405162461bcd60e51b8152602060048201526012602482015271496e73756666696369656e742066756e647360701b6044820152606401610bad565b610a2d3382611201565b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b610dc1848484610823565b6001600160a01b0383163b15610dfa57610ddd848484846112f8565b610dfa576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b610e086110ed565b61115c82610e196001546000540390565b610e239190611a70565b1115610e415760405162461bcd60e51b8152600401610bad90611a27565b600d5460ff1615610e945760405162461bcd60e51b815260206004820152601760248201527f5465616d2068617320616c7265616479206d696e7465640000000000000000006044820152606401610bad565b600d805460ff19166001179055610a8d8183611201565b6060610eb6826110c6565b610f1a5760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b6064820152608401610bad565b600d5462010000900460ff16610fbc57600a8054610f3790611ad3565b80601f0160208091040260200160405190810160405280929190818152602001828054610f6390611ad3565b8015610fb05780601f10610f8557610100808354040283529160200191610fb0565b820191906000526020600020905b815481529060010190602001808311610f9357829003601f168201915b50505050509050919050565b6000600b8054610fcb90611ad3565b905011610fe75760405180602001604052806000815250610685565b600b610ff2836113f0565b60405160200161100392919061191c565b60405160208183030381529060405292915050565b6001600160a01b0381166000908152600560205260408082205467ffffffffffffffff911c16610685565b61104b6110ed565b6001600160a01b0381166110b05760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610bad565b610a2d816111af565b6110c16110ed565b600955565b6000805482108015610685575050600090815260046020526040902054600160e01b161590565b6008546001600160a01b03163314610b3b5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610bad565b60008160005481101561119657600081815260046020526040902054600160e01b8116611194575b8061118d57506000190160008181526004602052604090205461116f565b9392505050565b505b604051636f96cda160e11b815260040160405180910390fd5b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b600054816112225760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b03831660008181526005602090815260408083208054680100000000000000018802019055848352600490915281206001851460e11b4260a01b178317905582840190839083907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8180a4600183015b8181146112d157808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4600101611299565b50816112ef57604051622e076360e81b815260040160405180910390fd5b60005550505050565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a029061132d9033908990889088906004016119d7565b602060405180830381600087803b15801561134757600080fd5b505af1925050508015611377575060408051601f3d908101601f1916820190925261137491810190611832565b60015b6113d2573d8080156113a5576040519150601f19603f3d011682016040523d82523d6000602084013e6113aa565b606091505b5080516113ca576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490505b949350505050565b606060006113fd8361148d565b600101905060008167ffffffffffffffff81111561141d5761141d611b24565b6040519080825280601f01601f191660200182016040528015611447576020820181803683370190505b5090508181016020015b600019016f181899199a1a9b1b9c1cb0b131b232b360811b600a86061a8153600a850494508461148057611485565b611451565b509392505050565b60008072184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b83106114cc5772184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b830492506040015b6d04ee2d6d415b85acef810000000083106114f8576d04ee2d6d415b85acef8100000000830492506020015b662386f26fc10000831061151657662386f26fc10000830492506010015b6305f5e100831061152e576305f5e100830492506008015b612710831061154257612710830492506004015b60648310611554576064830492506002015b600a83106106855760010192915050565b82805461157190611ad3565b90600052602060002090601f01602090048101928261159357600085556115d9565b82601f106115ac57805160ff19168380011785556115d9565b828001600101855582156115d9579182015b828111156115d95782518255916020019190600101906115be565b506115e59291506115e9565b5090565b5b808211156115e557600081556001016115ea565b600067ffffffffffffffff8084111561161957611619611b24565b604051601f8501601f19908116603f0116810190828211818310171561164157611641611b24565b8160405280935085815286868601111561165a57600080fd5b858560208301376000602087830101525050509392505050565b80356001600160a01b038116811461168b57600080fd5b919050565b8035801515811461168b57600080fd5b6000602082840312156116b257600080fd5b61118d82611674565b600080604083850312156116ce57600080fd5b6116d783611674565b91506116e560208401611674565b90509250929050565b60008060006060848603121561170357600080fd5b61170c84611674565b925061171a60208501611674565b9150604084013590509250925092565b6000806000806080858703121561174057600080fd5b61174985611674565b935061175760208601611674565b925060408501359150606085013567ffffffffffffffff81111561177a57600080fd5b8501601f8101871361178b57600080fd5b61179a878235602084016115fe565b91505092959194509250565b600080604083850312156117b957600080fd5b6117c283611674565b91506116e560208401611690565b600080604083850312156117e357600080fd5b6117ec83611674565b946020939093013593505050565b60006020828403121561180c57600080fd5b61118d82611690565b60006020828403121561182757600080fd5b813561118d81611b3a565b60006020828403121561184457600080fd5b815161118d81611b3a565b60006020828403121561186157600080fd5b813567ffffffffffffffff81111561187857600080fd5b8201601f8101841361188957600080fd5b6113e8848235602084016115fe565b6000602082840312156118aa57600080fd5b5035919050565b600080604083850312156118c457600080fd5b823591506116e560208401611674565b600081518084526118ec816020860160208601611aa7565b601f01601f19169290920160200192915050565b60008151611912818560208601611aa7565b9290920192915050565b600080845481600182811c91508083168061193857607f831692505b602080841082141561195857634e487b7160e01b86526022600452602486fd5b81801561196c576001811461197d576119aa565b60ff198616895284890196506119aa565b60008b81526020902060005b868110156119a25781548b820152908501908301611989565b505084890196505b5050505050506119ce6119bd8286611900565b64173539b7b760d91b815260050190565b95945050505050565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090611a0a908301846118d4565b9695505050505050565b60208152600061118d60208301846118d4565b60208082526029908201527f596f752063616e2774206d696e74206d6f7265207468616e2074686520746f74604082015268616c20737570706c7960b81b606082015260800190565b60008219821115611a8357611a83611b0e565b500190565b6000816000190483118215151615611aa257611aa2611b0e565b500290565b60005b83811015611ac2578181015183820152602001611aaa565b83811115610dfa5750506000910152565b600181811c90821680611ae757607f821691505b60208210811415611b0857634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160e01b031981168114610a2d57600080fdfea2646970667358221220395674387312196ab6ff2a88d2dd0649ca6f2391d21563c1588ac4d4ab0c8ba564736f6c63430008070033697066733a2f2f516d63634c61586666454376587a5976517033686d57723665765663534b5755334c785635535a6464554337504c2f697066733a2f2f516d56593474594359686e334a4751684a424152416f6f467174425a72684a3955724c4a444d66773238784871742f
Deployed Bytecode
0x60806040526004361061020f5760003560e01c80636817c76c11610118578063a22cb465116100a0578063c87b56dd1161006f578063c87b56dd14610570578063dc33e68114610590578063e985e9c5146105b0578063f2fde38b146105f9578063f4a0a5281461061957600080fd5b8063a22cb46514610508578063a2309ff814610528578063b88d4fde1461053d578063bfa457bc1461055057600080fd5b80638da5cb5b116100e75780638da5cb5b1461048257806395d89b41146104a05780639884a353146104b55780639c12e1bc146104d5578063a0712d68146104f557600080fd5b80636817c76c1461042257806370a0823114610438578063714c539814610458578063715018a61461046d57600080fd5b80633ccfd60b1161019b57806354214f691161016a57806354214f691461038e57806355f804b3146103ae5780635b8ad429146103ce5780635c975abb146103e35780636352211e1461040257600080fd5b80633ccfd60b1461033e57806342842e0e146103465780634f558e791461035957806353431ecf1461037957600080fd5b8063095ea7b3116101e2578063095ea7b3146102c757806316c38b3c146102dc57806318160ddd146102fc57806322127d191461031557806323b872dd1461032b57600080fd5b806301ffc9a714610214578063047fc9aa1461024957806306fdde031461026d578063081812fc1461028f575b600080fd5b34801561022057600080fd5b5061023461022f366004611815565b610639565b60405190151581526020015b60405180910390f35b34801561025557600080fd5b5061025f61115c81565b604051908152602001610240565b34801561027957600080fd5b5061028261068b565b6040516102409190611a14565b34801561029b57600080fd5b506102af6102aa366004611898565b61071d565b6040516001600160a01b039091168152602001610240565b6102da6102d53660046117d0565b610761565b005b3480156102e857600080fd5b506102da6102f73660046117fa565b610801565b34801561030857600080fd5b506001546000540361025f565b34801561032157600080fd5b5061025f600c5481565b6102da6103393660046116ee565b610823565b6102da6109b4565b6102da6103543660046116ee565b610a30565b34801561036557600080fd5b50610234610374366004611898565b610a50565b34801561038557600080fd5b50610282610a5b565b34801561039a57600080fd5b50600d546102349062010000900460ff1681565b3480156103ba57600080fd5b506102da6103c936600461184f565b610a72565b3480156103da57600080fd5b506102da610a91565b3480156103ef57600080fd5b50600d5461023490610100900460ff1681565b34801561040e57600080fd5b506102af61041d366004611898565b610ab8565b34801561042e57600080fd5b5061025f60095481565b34801561044457600080fd5b5061025f6104533660046116a0565b610ac3565b34801561046457600080fd5b50610282610b12565b34801561047957600080fd5b506102da610b29565b34801561048e57600080fd5b506008546001600160a01b03166102af565b3480156104ac57600080fd5b50610282610b3d565b3480156104c157600080fd5b506102da6104d0366004611898565b610b4c565b3480156104e157600080fd5b506102da6104f036600461184f565b610b59565b6102da610503366004611898565b610b74565b34801561051457600080fd5b506102da6105233660046117a6565b610d4a565b34801561053457600080fd5b5060005461025f565b6102da61054b36600461172a565b610db6565b34801561055c57600080fd5b506102da61056b3660046118b1565b610e00565b34801561057c57600080fd5b5061028261058b366004611898565b610eab565b34801561059c57600080fd5b5061025f6105ab3660046116a0565b611018565b3480156105bc57600080fd5b506102346105cb3660046116bb565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b34801561060557600080fd5b506102da6106143660046116a0565b611043565b34801561062557600080fd5b506102da610634366004611898565b6110b9565b60006301ffc9a760e01b6001600160e01b03198316148061066a57506380ac58cd60e01b6001600160e01b03198316145b806106855750635b5e139f60e01b6001600160e01b03198316145b92915050565b60606002805461069a90611ad3565b80601f01602080910402602001604051908101604052809291908181526020018280546106c690611ad3565b80156107135780601f106106e857610100808354040283529160200191610713565b820191906000526020600020905b8154815290600101906020018083116106f657829003601f168201915b5050505050905090565b6000610728826110c6565b610745576040516333d1c03960e21b815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b600061076c82610ab8565b9050336001600160a01b038216146107a55761078881336105cb565b6107a5576040516367d9dca160e11b815260040160405180910390fd5b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b6108096110ed565b600d80549115156101000261ff0019909216919091179055565b600061082e82611147565b9050836001600160a01b0316816001600160a01b0316146108615760405162a1148160e81b815260040160405180910390fd5b60008281526006602052604090208054338082146001600160a01b038816909114176108ae5761089186336105cb565b6108ae57604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b0385166108d557604051633a954ecd60e21b815260040160405180910390fd5b80156108e057600082555b6001600160a01b038681166000908152600560205260408082208054600019019055918716808252919020805460010190554260a01b17600160e11b17600085815260046020526040902055600160e11b831661096b57600184016000818152600460205260409020546109695760005481146109695760008181526004602052604090208490555b505b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050505050565b6109bc6110ed565b60006109d06008546001600160a01b031690565b6001600160a01b03164760405160006040518083038185875af1925050503d8060008114610a1a576040519150601f19603f3d011682016040523d82523d6000602084013e610a1f565b606091505b5050905080610a2d57600080fd5b50565b610a4b83838360405180602001604052806000815250610db6565b505050565b6000610685826110c6565b6060610a656110ed565b600a805461069a90611ad3565b610a7a6110ed565b8051610a8d90600b906020840190611565565b5050565b610a996110ed565b600d805462ff0000198116620100009182900460ff1615909102179055565b600061068582611147565b60006001600160a01b038216610aec576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b031660009081526005602052604090205467ffffffffffffffff1690565b6060610b1c6110ed565b600b805461069a90611ad3565b610b316110ed565b610b3b60006111af565b565b60606003805461069a90611ad3565b610b546110ed565b600c55565b610b616110ed565b8051610a8d90600a906020840190611565565b61115c81610b856001546000540390565b610b8f9190611a70565b1115610bb65760405162461bcd60e51b8152600401610bad90611a27565b60405180910390fd5b323314610c055760405162461bcd60e51b815260206004820152601f60248201527f43616c6c65722073686f756c64206e6f74206265206120636f6e7472616374006044820152606401610bad565b6008546001600160a01b03163314610d4057600d54610100900460ff1615610c615760405162461bcd60e51b815260206004820152600f60248201526e10dbdb9d1c9858dd081c185d5cd959608a1b6044820152606401610bad565b600c54336000908152600560205260409081902054610c8b911c67ffffffffffffffff1683611a70565b1115604051602001610cc0907f596f752063616e206f6e6c79206d696e742035204e4654730000000000000000815260180190565b60405160208183030381529060405290610ced5760405162461bcd60e51b8152600401610bad9190611a14565b5080600954610cfc9190611a88565b341015610d405760405162461bcd60e51b8152602060048201526012602482015271496e73756666696369656e742066756e647360701b6044820152606401610bad565b610a2d3382611201565b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b610dc1848484610823565b6001600160a01b0383163b15610dfa57610ddd848484846112f8565b610dfa576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b610e086110ed565b61115c82610e196001546000540390565b610e239190611a70565b1115610e415760405162461bcd60e51b8152600401610bad90611a27565b600d5460ff1615610e945760405162461bcd60e51b815260206004820152601760248201527f5465616d2068617320616c7265616479206d696e7465640000000000000000006044820152606401610bad565b600d805460ff19166001179055610a8d8183611201565b6060610eb6826110c6565b610f1a5760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b6064820152608401610bad565b600d5462010000900460ff16610fbc57600a8054610f3790611ad3565b80601f0160208091040260200160405190810160405280929190818152602001828054610f6390611ad3565b8015610fb05780601f10610f8557610100808354040283529160200191610fb0565b820191906000526020600020905b815481529060010190602001808311610f9357829003601f168201915b50505050509050919050565b6000600b8054610fcb90611ad3565b905011610fe75760405180602001604052806000815250610685565b600b610ff2836113f0565b60405160200161100392919061191c565b60405160208183030381529060405292915050565b6001600160a01b0381166000908152600560205260408082205467ffffffffffffffff911c16610685565b61104b6110ed565b6001600160a01b0381166110b05760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610bad565b610a2d816111af565b6110c16110ed565b600955565b6000805482108015610685575050600090815260046020526040902054600160e01b161590565b6008546001600160a01b03163314610b3b5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610bad565b60008160005481101561119657600081815260046020526040902054600160e01b8116611194575b8061118d57506000190160008181526004602052604090205461116f565b9392505050565b505b604051636f96cda160e11b815260040160405180910390fd5b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b600054816112225760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b03831660008181526005602090815260408083208054680100000000000000018802019055848352600490915281206001851460e11b4260a01b178317905582840190839083907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8180a4600183015b8181146112d157808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4600101611299565b50816112ef57604051622e076360e81b815260040160405180910390fd5b60005550505050565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a029061132d9033908990889088906004016119d7565b602060405180830381600087803b15801561134757600080fd5b505af1925050508015611377575060408051601f3d908101601f1916820190925261137491810190611832565b60015b6113d2573d8080156113a5576040519150601f19603f3d011682016040523d82523d6000602084013e6113aa565b606091505b5080516113ca576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490505b949350505050565b606060006113fd8361148d565b600101905060008167ffffffffffffffff81111561141d5761141d611b24565b6040519080825280601f01601f191660200182016040528015611447576020820181803683370190505b5090508181016020015b600019016f181899199a1a9b1b9c1cb0b131b232b360811b600a86061a8153600a850494508461148057611485565b611451565b509392505050565b60008072184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b83106114cc5772184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b830492506040015b6d04ee2d6d415b85acef810000000083106114f8576d04ee2d6d415b85acef8100000000830492506020015b662386f26fc10000831061151657662386f26fc10000830492506010015b6305f5e100831061152e576305f5e100830492506008015b612710831061154257612710830492506004015b60648310611554576064830492506002015b600a83106106855760010192915050565b82805461157190611ad3565b90600052602060002090601f01602090048101928261159357600085556115d9565b82601f106115ac57805160ff19168380011785556115d9565b828001600101855582156115d9579182015b828111156115d95782518255916020019190600101906115be565b506115e59291506115e9565b5090565b5b808211156115e557600081556001016115ea565b600067ffffffffffffffff8084111561161957611619611b24565b604051601f8501601f19908116603f0116810190828211818310171561164157611641611b24565b8160405280935085815286868601111561165a57600080fd5b858560208301376000602087830101525050509392505050565b80356001600160a01b038116811461168b57600080fd5b919050565b8035801515811461168b57600080fd5b6000602082840312156116b257600080fd5b61118d82611674565b600080604083850312156116ce57600080fd5b6116d783611674565b91506116e560208401611674565b90509250929050565b60008060006060848603121561170357600080fd5b61170c84611674565b925061171a60208501611674565b9150604084013590509250925092565b6000806000806080858703121561174057600080fd5b61174985611674565b935061175760208601611674565b925060408501359150606085013567ffffffffffffffff81111561177a57600080fd5b8501601f8101871361178b57600080fd5b61179a878235602084016115fe565b91505092959194509250565b600080604083850312156117b957600080fd5b6117c283611674565b91506116e560208401611690565b600080604083850312156117e357600080fd5b6117ec83611674565b946020939093013593505050565b60006020828403121561180c57600080fd5b61118d82611690565b60006020828403121561182757600080fd5b813561118d81611b3a565b60006020828403121561184457600080fd5b815161118d81611b3a565b60006020828403121561186157600080fd5b813567ffffffffffffffff81111561187857600080fd5b8201601f8101841361188957600080fd5b6113e8848235602084016115fe565b6000602082840312156118aa57600080fd5b5035919050565b600080604083850312156118c457600080fd5b823591506116e560208401611674565b600081518084526118ec816020860160208601611aa7565b601f01601f19169290920160200192915050565b60008151611912818560208601611aa7565b9290920192915050565b600080845481600182811c91508083168061193857607f831692505b602080841082141561195857634e487b7160e01b86526022600452602486fd5b81801561196c576001811461197d576119aa565b60ff198616895284890196506119aa565b60008b81526020902060005b868110156119a25781548b820152908501908301611989565b505084890196505b5050505050506119ce6119bd8286611900565b64173539b7b760d91b815260050190565b95945050505050565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090611a0a908301846118d4565b9695505050505050565b60208152600061118d60208301846118d4565b60208082526029908201527f596f752063616e2774206d696e74206d6f7265207468616e2074686520746f74604082015268616c20737570706c7960b81b606082015260800190565b60008219821115611a8357611a83611b0e565b500190565b6000816000190483118215151615611aa257611aa2611b0e565b500290565b60005b83811015611ac2578181015183820152602001611aaa565b83811115610dfa5750506000910152565b600181811c90821680611ae757607f821691505b60208210811415611b0857634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160e01b031981168114610a2d57600080fdfea2646970667358221220395674387312196ab6ff2a88d2dd0649ca6f2391d21563c1588ac4d4ab0c8ba564736f6c63430008070033
Deployed Bytecode Sourcemap
70600:3125:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;37488:639;;;;;;;;;;-1:-1:-1;37488:639:0;;;;;:::i;:::-;;:::i;:::-;;;7791:14:1;;7784:22;7766:41;;7754:2;7739:18;37488:639:0;;;;;;;;70733:37;;;;;;;;;;;;70766:4;70733:37;;;;;11185:25:1;;;11173:2;11158:18;70733:37:0;11039:177:1;38390:100:0;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;44881:218::-;;;;;;;;;;-1:-1:-1;44881:218:0;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;7089:32:1;;;7071:51;;7059:2;7044:18;44881:218:0;6925:203:1;44314:408:0;;;;;;:::i;:::-;;:::i;:::-;;73012:81;;;;;;;;;;-1:-1:-1;73012:81:0;;;;;:::i;:::-;;:::i;34141:323::-;;;;;;;;;;-1:-1:-1;34415:12:0;;34202:7;34399:13;:28;34141:323;;70977:34;;;;;;;;;;;;;;;;48520:2825;;;;;;:::i;:::-;;:::i;73593:129::-;;;:::i;51441:193::-;;;;;;:::i;:::-;;:::i;73499:86::-;;;;;;;;;;-1:-1:-1;73499:86:0;;;;;:::i;:::-;;:::i;73195:100::-;;;;;;;;;;;;;:::i;71081:30::-;;;;;;;;;;-1:-1:-1;71081:30:0;;;;;;;;;;;72828:84;;;;;;;;;;-1:-1:-1;72828:84:0;;;;;:::i;:::-;;:::i;71182:70::-;;;;;;;;;;;;;:::i;71048:26::-;;;;;;;;;;-1:-1:-1;71048:26:0;;;;;;;;;;;39783:152;;;;;;;;;;-1:-1:-1;39783:152:0;;;;;:::i;:::-;;:::i;70686:40::-;;;;;;;;;;;;;;;;35325:233;;;;;;;;;;-1:-1:-1;35325:233:0;;;;;:::i;:::-;;:::i;72527:85::-;;;;;;;;;;;;;:::i;18187:103::-;;;;;;;;;;;;;:::i;17539:87::-;;;;;;;;;;-1:-1:-1;17612:6:0;;-1:-1:-1;;;;;17612:6:0;17539:87;;38566:104;;;;;;;;;;;;;:::i;73101:86::-;;;;;;;;;;-1:-1:-1;73101:86:0;;;;;:::i;:::-;;:::i;72620:108::-;;;;;;;;;;-1:-1:-1;72620:108:0;;;;;:::i;:::-;;:::i;71936:583::-;;;;;;:::i;:::-;;:::i;45439:234::-;;;;;;;;;;-1:-1:-1;45439:234:0;;;;;:::i;:::-;;:::i;73414:77::-;;;;;;;;;;-1:-1:-1;73458:7:0;34808:13;73414:77;;52232:407;;;;;;:::i;:::-;;:::i;71614:314::-;;;;;;;;;;-1:-1:-1;71614:314:0;;;;;:::i;:::-;;:::i;71260:346::-;;;;;;;;;;-1:-1:-1;71260:346:0;;;;;:::i;:::-;;:::i;73303:103::-;;;;;;;;;;-1:-1:-1;73303:103:0;;;;;:::i;:::-;;:::i;45830:164::-;;;;;;;;;;-1:-1:-1;45830:164:0;;;;;:::i;:::-;-1:-1:-1;;;;;45951:25:0;;;45927:4;45951:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;45830:164;18445:201;;;;;;;;;;-1:-1:-1;18445:201:0;;;;;:::i;:::-;;:::i;72920:84::-;;;;;;;;;;-1:-1:-1;72920:84:0;;;;;:::i;:::-;;:::i;37488:639::-;37573:4;-1:-1:-1;;;;;;;;;37897:25:0;;;;:102;;-1:-1:-1;;;;;;;;;;37974:25:0;;;37897:102;:179;;;-1:-1:-1;;;;;;;;;;38051:25:0;;;37897:179;37877:199;37488:639;-1:-1:-1;;37488:639:0:o;38390:100::-;38444:13;38477:5;38470:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;38390:100;:::o;44881:218::-;44957:7;44982:16;44990:7;44982;:16::i;:::-;44977:64;;45007:34;;-1:-1:-1;;;45007:34:0;;;;;;;;;;;44977:64;-1:-1:-1;45061:24:0;;;;:15;:24;;;;;:30;-1:-1:-1;;;;;45061:30:0;;44881:218::o;44314:408::-;44403:13;44419:16;44427:7;44419;:16::i;:::-;44403:32;-1:-1:-1;68647:10:0;-1:-1:-1;;;;;44452:28:0;;;44448:175;;44500:44;44517:5;68647:10;45830:164;:::i;44500:44::-;44495:128;;44572:35;;-1:-1:-1;;;44572:35:0;;;;;;;;;;;44495:128;44635:24;;;;:15;:24;;;;;;:35;;-1:-1:-1;;;;;;44635:35:0;-1:-1:-1;;;;;44635:35:0;;;;;;;;;44686:28;;44635:24;;44686:28;;;;;;;44392:330;44314:408;;:::o;73012:81::-;17425:13;:11;:13::i;:::-;73070:6:::1;:21:::0;;;::::1;;;;-1:-1:-1::0;;73070:21:0;;::::1;::::0;;;::::1;::::0;;73012:81::o;48520:2825::-;48662:27;48692;48711:7;48692:18;:27::i;:::-;48662:57;;48777:4;-1:-1:-1;;;;;48736:45:0;48752:19;-1:-1:-1;;;;;48736:45:0;;48732:86;;48790:28;;-1:-1:-1;;;48790:28:0;;;;;;;;;;;48732:86;48832:27;47628:24;;;:15;:24;;;;;47856:26;;68647:10;47253:30;;;-1:-1:-1;;;;;46946:28:0;;47231:20;;;47228:56;49018:180;;49111:43;49128:4;68647:10;45830:164;:::i;49111:43::-;49106:92;;49163:35;;-1:-1:-1;;;49163:35:0;;;;;;;;;;;49106:92;-1:-1:-1;;;;;49215:16:0;;49211:52;;49240:23;;-1:-1:-1;;;49240:23:0;;;;;;;;;;;49211:52;49412:15;49409:160;;;49552:1;49531:19;49524:30;49409:160;-1:-1:-1;;;;;49949:24:0;;;;;;;:18;:24;;;;;;49947:26;;-1:-1:-1;;49947:26:0;;;50018:22;;;;;;;;;50016:24;;-1:-1:-1;50016:24:0;;;43172:11;43147:23;43143:41;43130:63;-1:-1:-1;;;43130:63:0;50311:26;;;;:17;:26;;;;;:175;-1:-1:-1;;;50606:47:0;;50602:627;;50711:1;50701:11;;50679:19;50834:30;;;:17;:30;;;;;;50830:384;;50972:13;;50957:11;:28;50953:242;;51119:30;;;;:17;:30;;;;;:52;;;50953:242;50660:569;50602:627;51276:7;51272:2;-1:-1:-1;;;;;51257:27:0;51266:4;-1:-1:-1;;;;;51257:27:0;;;;;;;;;;;48651:2694;;;48520:2825;;;:::o;73593:129::-;17425:13;:11;:13::i;:::-;73640:7:::1;73661;17612:6:::0;;-1:-1:-1;;;;;17612:6:0;;17539:87;73661:7:::1;-1:-1:-1::0;;;;;73653:21:0::1;73682;73653:55;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;73639:69;;;73717:2;73709:11;;;::::0;::::1;;73638:84;73593:129::o:0;51441:193::-;51587:39;51604:4;51610:2;51614:7;51587:39;;;;;;;;;;;;:16;:39::i;:::-;51441:193;;;:::o;73499:86::-;73553:4;73567:16;73575:7;73567;:16::i;73195:100::-;73257:13;17425;:11;:13::i;:::-;73280::::1;73273:20;;;;;:::i;72828:84::-:0;17425:13;:11;:13::i;:::-;72892:18;;::::1;::::0;:7:::1;::::0;:18:::1;::::0;::::1;::::0;::::1;:::i;:::-;;72828:84:::0;:::o;71182:70::-;17425:13;:11;:13::i;:::-;71240:10:::1;::::0;;-1:-1:-1;;71226:24:0;::::1;71240:10:::0;;;;::::1;;;71239:11;71226:24:::0;;::::1;;::::0;;71182:70::o;39783:152::-;39855:7;39898:27;39917:7;39898:18;:27::i;35325:233::-;35397:7;-1:-1:-1;;;;;35421:19:0;;35417:60;;35449:28;;-1:-1:-1;;;35449:28:0;;;;;;;;;;;35417:60;-1:-1:-1;;;;;;35495:25:0;;;;;:18;:25;;;;;;29484:13;35495:55;;35325:233::o;72527:85::-;72580:13;17425;:11;:13::i;:::-;72603:7:::1;72596:14;;;;;:::i;18187:103::-:0;17425:13;:11;:13::i;:::-;18252:30:::1;18279:1;18252:18;:30::i;:::-;18187:103::o:0;38566:104::-;38622:13;38655:7;38648:14;;;;;:::i;73101:86::-;17425:13;:11;:13::i;:::-;73163:15:::1;:22:::0;73101:86::o;72620:108::-;17425:13;:11;:13::i;:::-;72696:30;;::::1;::::0;:13:::1;::::0;:30:::1;::::0;::::1;::::0;::::1;:::i;71936:583::-:0;70766:4;72020:8;72004:13;34415:12;;34202:7;34399:13;:28;;34141:323;72004:13;:24;;;;:::i;:::-;:34;;71996:88;;;;-1:-1:-1;;;71996:88:0;;;;;;;:::i;:::-;;;;;;;;;72103:9;72116:10;72103:23;72095:67;;;;-1:-1:-1;;;72095:67:0;;9347:2:1;72095:67:0;;;9329:21:1;9386:2;9366:18;;;9359:30;9425:33;9405:18;;;9398:61;9476:18;;72095:67:0;9145:355:1;72095:67:0;17612:6;;-1:-1:-1;;;;;17612:6:0;72177:10;:21;72173:301;;72224:6;;;;;;;72223:7;72215:35;;;;-1:-1:-1;;;72215:35:0;;9003:2:1;72215:35:0;;;8985:21:1;9042:2;9022:18;;;9015:30;-1:-1:-1;;;9061:18:1;;;9054:45;9116:18;;72215:35:0;8801:339:1;72215:35:0;72313:15;;72298:10;35701:7;35729:25;;;:18;:25;;29622:2;35729:25;;;;;72273:36;;35729:50;29484:13;35728:82;72273:8;:36;:::i;:::-;:55;;72337:44;;;;;;6649:26:1;6637:39;;6701:2;6692:12;;6435:275;72337:44:0;;;;;;;;;;;;;72265:118;;;;;-1:-1:-1;;;72265:118:0;;;;;;;;:::i;:::-;;72431:8;72419:9;;:20;;;;:::i;:::-;72406:9;:33;;72398:64;;;;-1:-1:-1;;;72398:64:0;;9707:2:1;72398:64:0;;;9689:21:1;9746:2;9726:18;;;9719:30;-1:-1:-1;;;9765:18:1;;;9758:48;9823:18;;72398:64:0;9505:342:1;72398:64:0;72484:27;72490:10;72502:8;72484:5;:27::i;45439:234::-;68647:10;45534:39;;;;:18;:39;;;;;;;;-1:-1:-1;;;;;45534:49:0;;;;;;;;;;;;:60;;-1:-1:-1;;45534:60:0;;;;;;;;;;45610:55;;7766:41:1;;;45534:49:0;;68647:10;45610:55;;7739:18:1;45610:55:0;;;;;;;45439:234;;:::o;52232:407::-;52407:31;52420:4;52426:2;52430:7;52407:12;:31::i;:::-;-1:-1:-1;;;;;52453:14:0;;;:19;52449:183;;52492:56;52523:4;52529:2;52533:7;52542:5;52492:30;:56::i;:::-;52487:145;;52576:40;;-1:-1:-1;;;52576:40:0;;;;;;;;;;;52487:145;52232:407;;;;:::o;71614:314::-;17425:13;:11;:13::i;:::-;70766:4:::1;71725:11;71709:13;34415:12:::0;;34202:7;34399:13;:28;;34141:323;71709:13:::1;:27;;;;:::i;:::-;:37;;71701:91;;;;-1:-1:-1::0;;;71701:91:0::1;;;;;;;:::i;:::-;71812:10;::::0;::::1;;71811:11;71803:47;;;::::0;-1:-1:-1;;;71803:47:0;;8651:2:1;71803:47:0::1;::::0;::::1;8633:21:1::0;8690:2;8670:18;;;8663:30;8729:25;8709:18;;;8702:53;8772:18;;71803:47:0::1;8449:347:1::0;71803:47:0::1;71861:10;:17:::0;;-1:-1:-1;;71861:17:0::1;71874:4;71861:17;::::0;;71889:31:::1;71895:11:::0;71908;71889:5:::1;:31::i;71260:346::-:0;71333:13;71367:16;71375:7;71367;:16::i;:::-;71359:76;;;;-1:-1:-1;;;71359:76:0;;10415:2:1;71359:76:0;;;10397:21:1;10454:2;10434:18;;;10427:30;10493:34;10473:18;;;10466:62;-1:-1:-1;;;10544:18:1;;;10537:45;10599:19;;71359:76:0;10213:411:1;71359:76:0;71451:10;;;;;;;71446:40;;71471:13;71464:20;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;71260:346;;;:::o;71446:40::-;71527:1;71509:7;71503:21;;;;;:::i;:::-;;;:25;:95;;;;;;;;;;;;;;;;;71555:7;71564:18;:7;:16;:18::i;:::-;71538:54;;;;;;;;;:::i;:::-;;;;;;;;;;;;;71496:102;71260:346;-1:-1:-1;;71260:346:0:o;73303:103::-;-1:-1:-1;;;;;35729:25:0;;73364:7;35729:25;;;:18;:25;;29622:2;35729:25;;;;29484:13;35729:50;;35728:82;73381:23;35640:178;18445:201;17425:13;:11;:13::i;:::-;-1:-1:-1;;;;;18534:22:0;::::1;18526:73;;;::::0;-1:-1:-1;;;18526:73:0;;8244:2:1;18526:73:0::1;::::0;::::1;8226:21:1::0;8283:2;8263:18;;;8256:30;8322:34;8302:18;;;8295:62;-1:-1:-1;;;8373:18:1;;;8366:36;8419:19;;18526:73:0::1;8042:402:1::0;18526:73:0::1;18610:28;18629:8;18610:18;:28::i;72920:84::-:0;17425:13;:11;:13::i;:::-;72981:9:::1;:21:::0;72920:84::o;46252:282::-;46317:4;46407:13;;46397:7;:23;46354:153;;;;-1:-1:-1;;46458:26:0;;;;:17;:26;;;;;;-1:-1:-1;;;46458:44:0;:49;;46252:282::o;17704:132::-;17612:6;;-1:-1:-1;;;;;17612:6:0;68647:10;17768:23;17760:68;;;;-1:-1:-1;;;17760:68:0;;10054:2:1;17760:68:0;;;10036:21:1;;;10073:18;;;10066:30;10132:34;10112:18;;;10105:62;10184:18;;17760:68:0;9852:356:1;40938:1275:0;41005:7;41040;41142:13;;41135:4;:20;41131:1015;;;41180:14;41197:23;;;:17;:23;;;;;;-1:-1:-1;;;41286:24:0;;41282:845;;41951:113;41958:11;41951:113;;-1:-1:-1;;;42029:6:0;42011:25;;;;:17;:25;;;;;;41951:113;;;42097:6;40938:1275;-1:-1:-1;;;40938:1275:0:o;41282:845::-;41157:989;41131:1015;42174:31;;-1:-1:-1;;;42174:31:0;;;;;;;;;;;18806:191;18899:6;;;-1:-1:-1;;;;;18916:17:0;;;-1:-1:-1;;;;;;18916:17:0;;;;;;;18949:40;;18899:6;;;18916:17;18899:6;;18949:40;;18880:16;;18949:40;18869:128;18806:191;:::o;55901:2966::-;55974:20;55997:13;56025;56021:44;;56047:18;;-1:-1:-1;;;56047:18:0;;;;;;;;;;;56021:44;-1:-1:-1;;;;;56553:22:0;;;;;;:18;:22;;;;29622:2;56553:22;;;:71;;56591:32;56579:45;;56553:71;;;56867:31;;;:17;:31;;;;;-1:-1:-1;43603:15:0;;43577:24;43573:46;43172:11;43147:23;43143:41;43140:52;43130:63;;56867:173;;57102:23;;;;56867:31;;56553:22;;57867:25;56553:22;;57720:335;58381:1;58367:12;58363:20;58321:346;58422:3;58413:7;58410:16;58321:346;;58640:7;58630:8;58627:1;58600:25;58597:1;58594;58589:59;58475:1;58462:15;58321:346;;;-1:-1:-1;58700:13:0;58696:45;;58722:19;;-1:-1:-1;;;58722:19:0;;;;;;;;;;;58696:45;58758:13;:19;-1:-1:-1;51441:193:0;;;:::o;54723:716::-;54907:88;;-1:-1:-1;;;54907:88:0;;54886:4;;-1:-1:-1;;;;;54907:45:0;;;;;:88;;68647:10;;54974:4;;54980:7;;54989:5;;54907:88;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;54907:88:0;;;;;;;;-1:-1:-1;;54907:88:0;;;;;;;;;;;;:::i;:::-;;;54903:529;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;55190:13:0;;55186:235;;55236:40;;-1:-1:-1;;;55236:40:0;;;;;;;;;;;55186:235;55379:6;55373:13;55364:6;55360:2;55356:15;55349:38;54903:529;-1:-1:-1;;;;;;55066:64:0;-1:-1:-1;;;55066:64:0;;-1:-1:-1;54903:529:0;54723:716;;;;;;:::o;13411:::-;13467:13;13518:14;13535:17;13546:5;13535:10;:17::i;:::-;13555:1;13535:21;13518:38;;13571:20;13605:6;13594:18;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;13594:18:0;-1:-1:-1;13571:41:0;-1:-1:-1;13736:28:0;;;13752:2;13736:28;13793:288;-1:-1:-1;;13825:5:0;-1:-1:-1;;;13962:2:0;13951:14;;13946:30;13825:5;13933:44;14023:2;14014:11;;;-1:-1:-1;14048:10:0;14044:21;;14060:5;;14044:21;13793:288;;;-1:-1:-1;14102:6:0;13411:716;-1:-1:-1;;;13411:716:0:o;10224:922::-;10277:7;;-1:-1:-1;;;10355:15:0;;10351:102;;-1:-1:-1;;;10391:15:0;;;-1:-1:-1;10435:2:0;10425:12;10351:102;10480:6;10471:5;:15;10467:102;;10516:6;10507:15;;;-1:-1:-1;10551:2:0;10541:12;10467:102;10596:6;10587:5;:15;10583:102;;10632:6;10623:15;;;-1:-1:-1;10667:2:0;10657:12;10583:102;10712:5;10703;:14;10699:99;;10747:5;10738:14;;;-1:-1:-1;10781:1:0;10771:11;10699:99;10825:5;10816;:14;10812:99;;10860:5;10851:14;;;-1:-1:-1;10894:1:0;10884:11;10812:99;10938:5;10929;:14;10925:99;;10973:5;10964:14;;;-1:-1:-1;11007:1:0;10997:11;10925:99;11051:5;11042;:14;11038:66;;11087:1;11077:11;11132:6;10224:922;-1:-1:-1;;10224:922:0:o;-1:-1:-1:-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;14:631:1;78:5;108:18;149:2;141:6;138:14;135:40;;;155:18;;:::i;:::-;230:2;224:9;198:2;284:15;;-1:-1:-1;;280:24:1;;;306:2;276:33;272:42;260:55;;;330:18;;;350:22;;;327:46;324:72;;;376:18;;:::i;:::-;416:10;412:2;405:22;445:6;436:15;;475:6;467;460:22;515:3;506:6;501:3;497:16;494:25;491:45;;;532:1;529;522:12;491:45;582:6;577:3;570:4;562:6;558:17;545:44;637:1;630:4;621:6;613;609:19;605:30;598:41;;;;14:631;;;;;:::o;650:173::-;718:20;;-1:-1:-1;;;;;767:31:1;;757:42;;747:70;;813:1;810;803:12;747:70;650:173;;;:::o;828:160::-;893:20;;949:13;;942:21;932:32;;922:60;;978:1;975;968:12;993:186;1052:6;1105:2;1093:9;1084:7;1080:23;1076:32;1073:52;;;1121:1;1118;1111:12;1073:52;1144:29;1163:9;1144:29;:::i;1184:260::-;1252:6;1260;1313:2;1301:9;1292:7;1288:23;1284:32;1281:52;;;1329:1;1326;1319:12;1281:52;1352:29;1371:9;1352:29;:::i;:::-;1342:39;;1400:38;1434:2;1423:9;1419:18;1400:38;:::i;:::-;1390:48;;1184:260;;;;;:::o;1449:328::-;1526:6;1534;1542;1595:2;1583:9;1574:7;1570:23;1566:32;1563:52;;;1611:1;1608;1601:12;1563:52;1634:29;1653:9;1634:29;:::i;:::-;1624:39;;1682:38;1716:2;1705:9;1701:18;1682:38;:::i;:::-;1672:48;;1767:2;1756:9;1752:18;1739:32;1729:42;;1449:328;;;;;:::o;1782:666::-;1877:6;1885;1893;1901;1954:3;1942:9;1933:7;1929:23;1925:33;1922:53;;;1971:1;1968;1961:12;1922:53;1994:29;2013:9;1994:29;:::i;:::-;1984:39;;2042:38;2076:2;2065:9;2061:18;2042:38;:::i;:::-;2032:48;;2127:2;2116:9;2112:18;2099:32;2089:42;;2182:2;2171:9;2167:18;2154:32;2209:18;2201:6;2198:30;2195:50;;;2241:1;2238;2231:12;2195:50;2264:22;;2317:4;2309:13;;2305:27;-1:-1:-1;2295:55:1;;2346:1;2343;2336:12;2295:55;2369:73;2434:7;2429:2;2416:16;2411:2;2407;2403:11;2369:73;:::i;:::-;2359:83;;;1782:666;;;;;;;:::o;2453:254::-;2518:6;2526;2579:2;2567:9;2558:7;2554:23;2550:32;2547:52;;;2595:1;2592;2585:12;2547:52;2618:29;2637:9;2618:29;:::i;:::-;2608:39;;2666:35;2697:2;2686:9;2682:18;2666:35;:::i;2712:254::-;2780:6;2788;2841:2;2829:9;2820:7;2816:23;2812:32;2809:52;;;2857:1;2854;2847:12;2809:52;2880:29;2899:9;2880:29;:::i;:::-;2870:39;2956:2;2941:18;;;;2928:32;;-1:-1:-1;;;2712:254:1:o;2971:180::-;3027:6;3080:2;3068:9;3059:7;3055:23;3051:32;3048:52;;;3096:1;3093;3086:12;3048:52;3119:26;3135:9;3119:26;:::i;3156:245::-;3214:6;3267:2;3255:9;3246:7;3242:23;3238:32;3235:52;;;3283:1;3280;3273:12;3235:52;3322:9;3309:23;3341:30;3365:5;3341:30;:::i;3406:249::-;3475:6;3528:2;3516:9;3507:7;3503:23;3499:32;3496:52;;;3544:1;3541;3534:12;3496:52;3576:9;3570:16;3595:30;3619:5;3595:30;:::i;3660:450::-;3729:6;3782:2;3770:9;3761:7;3757:23;3753:32;3750:52;;;3798:1;3795;3788:12;3750:52;3838:9;3825:23;3871:18;3863:6;3860:30;3857:50;;;3903:1;3900;3893:12;3857:50;3926:22;;3979:4;3971:13;;3967:27;-1:-1:-1;3957:55:1;;4008:1;4005;3998:12;3957:55;4031:73;4096:7;4091:2;4078:16;4073:2;4069;4065:11;4031:73;:::i;4115:180::-;4174:6;4227:2;4215:9;4206:7;4202:23;4198:32;4195:52;;;4243:1;4240;4233:12;4195:52;-1:-1:-1;4266:23:1;;4115:180;-1:-1:-1;4115:180:1:o;4300:254::-;4368:6;4376;4429:2;4417:9;4408:7;4404:23;4400:32;4397:52;;;4445:1;4442;4435:12;4397:52;4481:9;4468:23;4458:33;;4510:38;4544:2;4533:9;4529:18;4510:38;:::i;4559:257::-;4600:3;4638:5;4632:12;4665:6;4660:3;4653:19;4681:63;4737:6;4730:4;4725:3;4721:14;4714:4;4707:5;4703:16;4681:63;:::i;:::-;4798:2;4777:15;-1:-1:-1;;4773:29:1;4764:39;;;;4805:4;4760:50;;4559:257;-1:-1:-1;;4559:257:1:o;4821:185::-;4863:3;4901:5;4895:12;4916:52;4961:6;4956:3;4949:4;4942:5;4938:16;4916:52;:::i;:::-;4984:16;;;;;4821:185;-1:-1:-1;;4821:185:1:o;5129:1301::-;5406:3;5435:1;5468:6;5462:13;5498:3;5520:1;5548:9;5544:2;5540:18;5530:28;;5608:2;5597:9;5593:18;5630;5620:61;;5674:4;5666:6;5662:17;5652:27;;5620:61;5700:2;5748;5740:6;5737:14;5717:18;5714:38;5711:165;;;-1:-1:-1;;;5775:33:1;;5831:4;5828:1;5821:15;5861:4;5782:3;5849:17;5711:165;5892:18;5919:104;;;;6037:1;6032:320;;;;5885:467;;5919:104;-1:-1:-1;;5952:24:1;;5940:37;;5997:16;;;;-1:-1:-1;5919:104:1;;6032:320;11294:1;11287:14;;;11331:4;11318:18;;6127:1;6141:165;6155:6;6152:1;6149:13;6141:165;;;6233:14;;6220:11;;;6213:35;6276:16;;;;6170:10;;6141:165;;;6145:3;;6335:6;6330:3;6326:16;6319:23;;5885:467;;;;;;;6368:56;6393:30;6419:3;6411:6;6393:30;:::i;:::-;-1:-1:-1;;;5071:20:1;;5116:1;5107:11;;5011:113;6368:56;6361:63;5129:1301;-1:-1:-1;;;;;5129:1301:1:o;7133:488::-;-1:-1:-1;;;;;7402:15:1;;;7384:34;;7454:15;;7449:2;7434:18;;7427:43;7501:2;7486:18;;7479:34;;;7549:3;7544:2;7529:18;;7522:31;;;7327:4;;7570:45;;7595:19;;7587:6;7570:45;:::i;:::-;7562:53;7133:488;-1:-1:-1;;;;;;7133:488:1:o;7818:219::-;7967:2;7956:9;7949:21;7930:4;7987:44;8027:2;8016:9;8012:18;8004:6;7987:44;:::i;10629:405::-;10831:2;10813:21;;;10870:2;10850:18;;;10843:30;10909:34;10904:2;10889:18;;10882:62;-1:-1:-1;;;10975:2:1;10960:18;;10953:39;11024:3;11009:19;;10629:405::o;11347:128::-;11387:3;11418:1;11414:6;11411:1;11408:13;11405:39;;;11424:18;;:::i;:::-;-1:-1:-1;11460:9:1;;11347:128::o;11480:168::-;11520:7;11586:1;11582;11578:6;11574:14;11571:1;11568:21;11563:1;11556:9;11549:17;11545:45;11542:71;;;11593:18;;:::i;:::-;-1:-1:-1;11633:9:1;;11480:168::o;11653:258::-;11725:1;11735:113;11749:6;11746:1;11743:13;11735:113;;;11825:11;;;11819:18;11806:11;;;11799:39;11771:2;11764:10;11735:113;;;11866:6;11863:1;11860:13;11857:48;;;-1:-1:-1;;11901:1:1;11883:16;;11876:27;11653:258::o;11916:380::-;11995:1;11991:12;;;;12038;;;12059:61;;12113:4;12105:6;12101:17;12091:27;;12059:61;12166:2;12158:6;12155:14;12135:18;12132:38;12129:161;;;12212:10;12207:3;12203:20;12200:1;12193:31;12247:4;12244:1;12237:15;12275:4;12272:1;12265:15;12129:161;;11916:380;;;:::o;12301:127::-;12362:10;12357:3;12353:20;12350:1;12343:31;12393:4;12390:1;12383:15;12417:4;12414:1;12407:15;12565:127;12626:10;12621:3;12617:20;12614:1;12607:31;12657:4;12654:1;12647:15;12681:4;12678:1;12671:15;12697:131;-1:-1:-1;;;;;;12771:32:1;;12761:43;;12751:71;;12818:1;12815;12808:12
Swarm Source
ipfs://395674387312196ab6ff2a88d2dd0649ca6f2391d21563c1588ac4d4ab0c8ba5
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.