Feature Tip: Add private address tag to any address under My Name Tag !
ERC-721
Overview
Max Total Supply
310 STARX
Holders
201
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
1 STARXLoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
StarshipX
Compiler Version
v0.8.17+commit.8df45f5f
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2023-01-12 */ // File: @openzeppelin/contracts/utils/introspection/IERC165.sol // OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC165 standard, as defined in the * https://eips.ethereum.org/EIPS/eip-165[EIP]. * * Implementers can declare support of contract interfaces, which can then be * queried by others ({ERC165Checker}). * * For an implementation, see {ERC165}. */ interface IERC165 { /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] * to learn more about how these ids are created. * * This function call must use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); } // File: @openzeppelin/contracts/token/ERC721/IERC721.sol // OpenZeppelin Contracts (last updated v4.8.0) (token/ERC721/IERC721.sol) pragma solidity ^0.8.0; /** * @dev Required interface of an ERC721 compliant contract. */ interface IERC721 is IERC165 { /** * @dev Emitted when `tokenId` token is transferred from `from` to `to`. */ event Transfer(address indexed from, address indexed to, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token. */ event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets. */ event ApprovalForAll(address indexed owner, address indexed operator, bool approved); /** * @dev Returns the number of tokens in ``owner``'s account. */ function balanceOf(address owner) external view returns (uint256 balance); /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) external view returns (address owner); /** * @dev Safely transfers `tokenId` token from `from` to `to`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes calldata data ) external; /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must have been allowed to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Transfers `tokenId` token from `from` to `to`. * * WARNING: Note that the caller is responsible to confirm that the recipient is capable of receiving ERC721 * or else they may be permanently lost. Usage of {safeTransferFrom} prevents loss, though the caller must * understand this adds an external call which potentially creates a reentrancy vulnerability. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) external; /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool _approved) external; /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll} */ function isApprovedForAll(address owner, address operator) external view returns (bool); } // File: @openzeppelin/contracts/utils/math/Math.sol // OpenZeppelin Contracts (last updated v4.8.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: @openzeppelin/contracts/utils/Strings.sol // OpenZeppelin Contracts (last updated v4.8.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: @openzeppelin/contracts/utils/Context.sol // OpenZeppelin Contracts v4.4.1 (utils/Context.sol) pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } } // File: @openzeppelin/contracts/access/Ownable.sol // OpenZeppelin Contracts (last updated v4.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: erc721a/contracts/IERC721A.sol // ERC721A Contracts v4.2.3 // Creator: Chiru Labs pragma solidity ^0.8.4; /** * @dev Interface of ERC721A. */ interface IERC721A { /** * The caller must own the token or be an approved operator. */ error ApprovalCallerNotOwnerNorApproved(); /** * The token does not exist. */ error ApprovalQueryForNonexistentToken(); /** * Cannot query the balance for the zero address. */ error BalanceQueryForZeroAddress(); /** * Cannot mint to the zero address. */ error MintToZeroAddress(); /** * The quantity of tokens minted must be more than zero. */ error MintZeroQuantity(); /** * The token does not exist. */ error OwnerQueryForNonexistentToken(); /** * The caller must own the token or be an approved operator. */ error TransferCallerNotOwnerNorApproved(); /** * The token must be owned by `from`. */ error TransferFromIncorrectOwner(); /** * Cannot safely transfer to a contract that does not implement the * ERC721Receiver interface. */ error TransferToNonERC721ReceiverImplementer(); /** * Cannot transfer to the zero address. */ error TransferToZeroAddress(); /** * The token does not exist. */ error URIQueryForNonexistentToken(); /** * The `quantity` minted with ERC2309 exceeds the safety limit. */ error MintERC2309QuantityExceedsLimit(); /** * The `extraData` cannot be set on an unintialized ownership slot. */ error OwnershipNotInitializedForExtraData(); // ============================================================= // STRUCTS // ============================================================= struct TokenOwnership { // The address of the owner. address addr; // Stores the start time of ownership with minimal overhead for tokenomics. uint64 startTimestamp; // Whether the token has been burned. bool burned; // Arbitrary data similar to `startTimestamp` that can be set via {_extraData}. uint24 extraData; } // ============================================================= // TOKEN COUNTERS // ============================================================= /** * @dev Returns the total number of tokens in existence. * Burned tokens will reduce the count. * To get the total number of tokens minted, please see {_totalMinted}. */ function totalSupply() external view returns (uint256); // ============================================================= // IERC165 // ============================================================= /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * [EIP section](https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified) * to learn more about how these ids are created. * * This function call must use less than 30000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); // ============================================================= // IERC721 // ============================================================= /** * @dev Emitted when `tokenId` token is transferred from `from` to `to`. */ event Transfer(address indexed from, address indexed to, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token. */ event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables or disables * (`approved`) `operator` to manage all of its assets. */ event ApprovalForAll(address indexed owner, address indexed operator, bool approved); /** * @dev Returns the number of tokens in `owner`'s account. */ function balanceOf(address owner) external view returns (uint256 balance); /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) external view returns (address owner); /** * @dev Safely transfers `tokenId` token from `from` to `to`, * checking first that contract recipients are aware of the ERC721 protocol * to prevent tokens from being forever locked. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be have been allowed to move * this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement * {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes calldata data ) external payable; /** * @dev Equivalent to `safeTransferFrom(from, to, tokenId, '')`. */ function safeTransferFrom( address from, address to, uint256 tokenId ) external payable; /** * @dev Transfers `tokenId` from `from` to `to`. * * WARNING: Usage of this method is discouraged, use {safeTransferFrom} * whenever possible. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token * by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 tokenId ) external payable; /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the * zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) external payable; /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} * for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool _approved) external; /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll}. */ function isApprovedForAll(address owner, address operator) external view returns (bool); // ============================================================= // IERC721Metadata // ============================================================= /** * @dev Returns the token collection name. */ function name() external view returns (string memory); /** * @dev Returns the token collection symbol. */ function symbol() external view returns (string memory); /** * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token. */ function tokenURI(uint256 tokenId) external view returns (string memory); // ============================================================= // IERC2309 // ============================================================= /** * @dev Emitted when tokens in `fromTokenId` to `toTokenId` * (inclusive) is transferred from `from` to `to`, as defined in the * [ERC2309](https://eips.ethereum.org/EIPS/eip-2309) standard. * * See {_mintERC2309} for more details. */ event ConsecutiveTransfer(uint256 indexed fromTokenId, uint256 toTokenId, address indexed from, address indexed to); } // File: erc721a/contracts/ERC721A.sol // ERC721A Contracts v4.2.3 // Creator: Chiru Labs pragma solidity ^0.8.4; /** * @dev Interface of ERC721 token receiver. */ interface ERC721A__IERC721Receiver { function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); } /** * @title ERC721A * * @dev Implementation of the [ERC721](https://eips.ethereum.org/EIPS/eip-721) * Non-Fungible Token Standard, including the Metadata extension. * Optimized for lower gas during batch mints. * * Token IDs are minted in sequential order (e.g. 0, 1, 2, 3, ...) * starting from `_startTokenId()`. * * Assumptions: * * - An owner cannot have more than 2**64 - 1 (max value of uint64) of supply. * - The maximum token ID cannot exceed 2**256 - 1 (max value of uint256). */ contract ERC721A is IERC721A { // Bypass for a `--via-ir` bug (https://github.com/chiru-labs/ERC721A/pull/364). struct TokenApprovalRef { address value; } // ============================================================= // CONSTANTS // ============================================================= // Mask of an entry in packed address data. uint256 private constant _BITMASK_ADDRESS_DATA_ENTRY = (1 << 64) - 1; // The bit position of `numberMinted` in packed address data. uint256 private constant _BITPOS_NUMBER_MINTED = 64; // The bit position of `numberBurned` in packed address data. uint256 private constant _BITPOS_NUMBER_BURNED = 128; // The bit position of `aux` in packed address data. uint256 private constant _BITPOS_AUX = 192; // Mask of all 256 bits in packed address data except the 64 bits for `aux`. uint256 private constant _BITMASK_AUX_COMPLEMENT = (1 << 192) - 1; // The bit position of `startTimestamp` in packed ownership. uint256 private constant _BITPOS_START_TIMESTAMP = 160; // The bit mask of the `burned` bit in packed ownership. uint256 private constant _BITMASK_BURNED = 1 << 224; // The bit position of the `nextInitialized` bit in packed ownership. uint256 private constant _BITPOS_NEXT_INITIALIZED = 225; // The bit mask of the `nextInitialized` bit in packed ownership. uint256 private constant _BITMASK_NEXT_INITIALIZED = 1 << 225; // The bit position of `extraData` in packed ownership. uint256 private constant _BITPOS_EXTRA_DATA = 232; // Mask of all 256 bits in a packed ownership except the 24 bits for `extraData`. uint256 private constant _BITMASK_EXTRA_DATA_COMPLEMENT = (1 << 232) - 1; // The mask of the lower 160 bits for addresses. uint256 private constant _BITMASK_ADDRESS = (1 << 160) - 1; // The maximum `quantity` that can be minted with {_mintERC2309}. // This limit is to prevent overflows on the address data entries. // For a limit of 5000, a total of 3.689e15 calls to {_mintERC2309} // is required to cause an overflow, which is unrealistic. uint256 private constant _MAX_MINT_ERC2309_QUANTITY_LIMIT = 5000; // The `Transfer` event signature is given by: // `keccak256(bytes("Transfer(address,address,uint256)"))`. bytes32 private constant _TRANSFER_EVENT_SIGNATURE = 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef; // ============================================================= // STORAGE // ============================================================= // The next token ID to be minted. uint256 private _currentIndex; // The number of tokens burned. uint256 private _burnCounter; // Token name string private _name; // Token symbol string private _symbol; // Mapping from token ID to ownership details // An empty struct value does not necessarily mean the token is unowned. // See {_packedOwnershipOf} implementation for details. // // Bits Layout: // - [0..159] `addr` // - [160..223] `startTimestamp` // - [224] `burned` // - [225] `nextInitialized` // - [232..255] `extraData` mapping(uint256 => uint256) private _packedOwnerships; // Mapping owner address to address data. // // Bits Layout: // - [0..63] `balance` // - [64..127] `numberMinted` // - [128..191] `numberBurned` // - [192..255] `aux` mapping(address => uint256) private _packedAddressData; // Mapping from token ID to approved address. mapping(uint256 => TokenApprovalRef) private _tokenApprovals; // Mapping from owner to operator approvals mapping(address => mapping(address => bool)) private _operatorApprovals; // ============================================================= // CONSTRUCTOR // ============================================================= constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; _currentIndex = _startTokenId(); } // ============================================================= // TOKEN COUNTING OPERATIONS // ============================================================= /** * @dev Returns the starting token ID. * To change the starting token ID, please override this function. */ function _startTokenId() internal view virtual returns (uint256) { return 0; } /** * @dev Returns the next token ID to be minted. */ function _nextTokenId() internal view virtual returns (uint256) { return _currentIndex; } /** * @dev Returns the total number of tokens in existence. * Burned tokens will reduce the count. * To get the total number of tokens minted, please see {_totalMinted}. */ function totalSupply() public view virtual override returns (uint256) { // Counter underflow is impossible as _burnCounter cannot be incremented // more than `_currentIndex - _startTokenId()` times. unchecked { return _currentIndex - _burnCounter - _startTokenId(); } } /** * @dev Returns the total amount of tokens minted in the contract. */ function _totalMinted() internal view virtual returns (uint256) { // Counter underflow is impossible as `_currentIndex` does not decrement, // and it is initialized to `_startTokenId()`. unchecked { return _currentIndex - _startTokenId(); } } /** * @dev Returns the total number of tokens burned. */ function _totalBurned() internal view virtual returns (uint256) { return _burnCounter; } // ============================================================= // ADDRESS DATA OPERATIONS // ============================================================= /** * @dev Returns the number of tokens in `owner`'s account. */ function balanceOf(address owner) public view virtual override returns (uint256) { if (owner == address(0)) revert BalanceQueryForZeroAddress(); return _packedAddressData[owner] & _BITMASK_ADDRESS_DATA_ENTRY; } /** * Returns the number of tokens minted by `owner`. */ function _numberMinted(address owner) internal view returns (uint256) { return (_packedAddressData[owner] >> _BITPOS_NUMBER_MINTED) & _BITMASK_ADDRESS_DATA_ENTRY; } /** * Returns the number of tokens burned by or on behalf of `owner`. */ function _numberBurned(address owner) internal view returns (uint256) { return (_packedAddressData[owner] >> _BITPOS_NUMBER_BURNED) & _BITMASK_ADDRESS_DATA_ENTRY; } /** * Returns the auxiliary data for `owner`. (e.g. number of whitelist mint slots used). */ function _getAux(address owner) internal view returns (uint64) { return uint64(_packedAddressData[owner] >> _BITPOS_AUX); } /** * Sets the auxiliary data for `owner`. (e.g. number of whitelist mint slots used). * If there are multiple variables, please pack them into a uint64. */ function _setAux(address owner, uint64 aux) internal virtual { uint256 packed = _packedAddressData[owner]; uint256 auxCasted; // Cast `aux` with assembly to avoid redundant masking. assembly { auxCasted := aux } packed = (packed & _BITMASK_AUX_COMPLEMENT) | (auxCasted << _BITPOS_AUX); _packedAddressData[owner] = packed; } // ============================================================= // IERC165 // ============================================================= /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * [EIP section](https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified) * to learn more about how these ids are created. * * This function call must use less than 30000 gas. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { // The interface IDs are constants representing the first 4 bytes // of the XOR of all function selectors in the interface. // See: [ERC165](https://eips.ethereum.org/EIPS/eip-165) // (e.g. `bytes4(i.functionA.selector ^ i.functionB.selector ^ ...)`) return interfaceId == 0x01ffc9a7 || // ERC165 interface ID for ERC165. interfaceId == 0x80ac58cd || // ERC165 interface ID for ERC721. interfaceId == 0x5b5e139f; // ERC165 interface ID for ERC721Metadata. } // ============================================================= // IERC721Metadata // ============================================================= /** * @dev Returns the token collection name. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev Returns the token collection symbol. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token. */ function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { if (!_exists(tokenId)) revert URIQueryForNonexistentToken(); string memory baseURI = _baseURI(); return bytes(baseURI).length != 0 ? string(abi.encodePacked(baseURI, _toString(tokenId))) : ''; } /** * @dev Base URI for computing {tokenURI}. If set, the resulting URI for each * token will be the concatenation of the `baseURI` and the `tokenId`. Empty * by default, it can be overridden in child contracts. */ function _baseURI() internal view virtual returns (string memory) { return ''; } // ============================================================= // OWNERSHIPS OPERATIONS // ============================================================= /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) public view virtual override returns (address) { return address(uint160(_packedOwnershipOf(tokenId))); } /** * @dev Gas spent here starts off proportional to the maximum mint batch size. * It gradually moves to O(1) as tokens get transferred around over time. */ function _ownershipOf(uint256 tokenId) internal view virtual returns (TokenOwnership memory) { return _unpackedOwnership(_packedOwnershipOf(tokenId)); } /** * @dev Returns the unpacked `TokenOwnership` struct at `index`. */ function _ownershipAt(uint256 index) internal view virtual returns (TokenOwnership memory) { return _unpackedOwnership(_packedOwnerships[index]); } /** * @dev Initializes the ownership slot minted at `index` for efficiency purposes. */ function _initializeOwnershipAt(uint256 index) internal virtual { if (_packedOwnerships[index] == 0) { _packedOwnerships[index] = _packedOwnershipOf(index); } } /** * Returns the packed ownership data of `tokenId`. */ function _packedOwnershipOf(uint256 tokenId) private view returns (uint256) { uint256 curr = tokenId; unchecked { if (_startTokenId() <= curr) if (curr < _currentIndex) { uint256 packed = _packedOwnerships[curr]; // If not burned. if (packed & _BITMASK_BURNED == 0) { // Invariant: // There will always be an initialized ownership slot // (i.e. `ownership.addr != address(0) && ownership.burned == false`) // before an unintialized ownership slot // (i.e. `ownership.addr == address(0) && ownership.burned == false`) // Hence, `curr` will not underflow. // // We can directly compare the packed value. // If the address is zero, packed will be zero. while (packed == 0) { packed = _packedOwnerships[--curr]; } return packed; } } } revert OwnerQueryForNonexistentToken(); } /** * @dev Returns the unpacked `TokenOwnership` struct from `packed`. */ function _unpackedOwnership(uint256 packed) private pure returns (TokenOwnership memory ownership) { ownership.addr = address(uint160(packed)); ownership.startTimestamp = uint64(packed >> _BITPOS_START_TIMESTAMP); ownership.burned = packed & _BITMASK_BURNED != 0; ownership.extraData = uint24(packed >> _BITPOS_EXTRA_DATA); } /** * @dev Packs ownership data into a single uint256. */ function _packOwnershipData(address owner, uint256 flags) private view returns (uint256 result) { assembly { // Mask `owner` to the lower 160 bits, in case the upper bits somehow aren't clean. owner := and(owner, _BITMASK_ADDRESS) // `owner | (block.timestamp << _BITPOS_START_TIMESTAMP) | flags`. result := or(owner, or(shl(_BITPOS_START_TIMESTAMP, timestamp()), flags)) } } /** * @dev Returns the `nextInitialized` flag set if `quantity` equals 1. */ function _nextInitializedFlag(uint256 quantity) private pure returns (uint256 result) { // For branchless setting of the `nextInitialized` flag. assembly { // `(quantity == 1) << _BITPOS_NEXT_INITIALIZED`. result := shl(_BITPOS_NEXT_INITIALIZED, eq(quantity, 1)) } } // ============================================================= // APPROVAL OPERATIONS // ============================================================= /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the * zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) public payable virtual override { address owner = ownerOf(tokenId); if (_msgSenderERC721A() != owner) if (!isApprovedForAll(owner, _msgSenderERC721A())) { revert ApprovalCallerNotOwnerNorApproved(); } _tokenApprovals[tokenId].value = to; emit Approval(owner, to, tokenId); } /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) public view virtual override returns (address) { if (!_exists(tokenId)) revert ApprovalQueryForNonexistentToken(); return _tokenApprovals[tokenId].value; } /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} * for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool approved) public virtual override { _operatorApprovals[_msgSenderERC721A()][operator] = approved; emit ApprovalForAll(_msgSenderERC721A(), operator, approved); } /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll}. */ function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) { return _operatorApprovals[owner][operator]; } /** * @dev Returns whether `tokenId` exists. * * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}. * * Tokens start existing when they are minted. See {_mint}. */ function _exists(uint256 tokenId) internal view virtual returns (bool) { return _startTokenId() <= tokenId && tokenId < _currentIndex && // If within bounds, _packedOwnerships[tokenId] & _BITMASK_BURNED == 0; // and not burned. } /** * @dev Returns whether `msgSender` is equal to `approvedAddress` or `owner`. */ function _isSenderApprovedOrOwner( address approvedAddress, address owner, address msgSender ) private pure returns (bool result) { assembly { // Mask `owner` to the lower 160 bits, in case the upper bits somehow aren't clean. owner := and(owner, _BITMASK_ADDRESS) // Mask `msgSender` to the lower 160 bits, in case the upper bits somehow aren't clean. msgSender := and(msgSender, _BITMASK_ADDRESS) // `msgSender == owner || msgSender == approvedAddress`. result := or(eq(msgSender, owner), eq(msgSender, approvedAddress)) } } /** * @dev Returns the storage slot and value for the approved address of `tokenId`. */ function _getApprovedSlotAndAddress(uint256 tokenId) private view returns (uint256 approvedAddressSlot, address approvedAddress) { TokenApprovalRef storage tokenApproval = _tokenApprovals[tokenId]; // The following is equivalent to `approvedAddress = _tokenApprovals[tokenId].value`. assembly { approvedAddressSlot := tokenApproval.slot approvedAddress := sload(approvedAddressSlot) } } // ============================================================= // TRANSFER OPERATIONS // ============================================================= /** * @dev Transfers `tokenId` from `from` to `to`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token * by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 tokenId ) public payable virtual override { uint256 prevOwnershipPacked = _packedOwnershipOf(tokenId); if (address(uint160(prevOwnershipPacked)) != from) revert TransferFromIncorrectOwner(); (uint256 approvedAddressSlot, address approvedAddress) = _getApprovedSlotAndAddress(tokenId); // The nested ifs save around 20+ gas over a compound boolean condition. if (!_isSenderApprovedOrOwner(approvedAddress, from, _msgSenderERC721A())) if (!isApprovedForAll(from, _msgSenderERC721A())) revert TransferCallerNotOwnerNorApproved(); if (to == address(0)) revert TransferToZeroAddress(); _beforeTokenTransfers(from, to, tokenId, 1); // Clear approvals from the previous owner. assembly { if approvedAddress { // This is equivalent to `delete _tokenApprovals[tokenId]`. sstore(approvedAddressSlot, 0) } } // Underflow of the sender's balance is impossible because we check for // ownership above and the recipient's balance can't realistically overflow. // Counter overflow is incredibly unrealistic as `tokenId` would have to be 2**256. unchecked { // We can directly increment and decrement the balances. --_packedAddressData[from]; // Updates: `balance -= 1`. ++_packedAddressData[to]; // Updates: `balance += 1`. // Updates: // - `address` to the next owner. // - `startTimestamp` to the timestamp of transfering. // - `burned` to `false`. // - `nextInitialized` to `true`. _packedOwnerships[tokenId] = _packOwnershipData( to, _BITMASK_NEXT_INITIALIZED | _nextExtraData(from, to, prevOwnershipPacked) ); // If the next slot may not have been initialized (i.e. `nextInitialized == false`) . if (prevOwnershipPacked & _BITMASK_NEXT_INITIALIZED == 0) { uint256 nextTokenId = tokenId + 1; // If the next slot's address is zero and not burned (i.e. packed value is zero). if (_packedOwnerships[nextTokenId] == 0) { // If the next slot is within bounds. if (nextTokenId != _currentIndex) { // Initialize the next slot to maintain correctness for `ownerOf(tokenId + 1)`. _packedOwnerships[nextTokenId] = prevOwnershipPacked; } } } } emit Transfer(from, to, tokenId); _afterTokenTransfers(from, to, tokenId, 1); } /** * @dev Equivalent to `safeTransferFrom(from, to, tokenId, '')`. */ function safeTransferFrom( address from, address to, uint256 tokenId ) public payable virtual override { safeTransferFrom(from, to, tokenId, ''); } /** * @dev Safely transfers `tokenId` token from `from` to `to`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be approved to move this token * by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement * {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes memory _data ) public payable virtual override { transferFrom(from, to, tokenId); if (to.code.length != 0) if (!_checkContractOnERC721Received(from, to, tokenId, _data)) { revert TransferToNonERC721ReceiverImplementer(); } } /** * @dev Hook that is called before a set of serially-ordered token IDs * are about to be transferred. This includes minting. * And also called before burning one token. * * `startTokenId` - the first token ID to be transferred. * `quantity` - the amount to be transferred. * * Calling conditions: * * - When `from` and `to` are both non-zero, `from`'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, `tokenId` will be burned by `from`. * - `from` and `to` are never both zero. */ function _beforeTokenTransfers( address from, address to, uint256 startTokenId, uint256 quantity ) internal virtual {} /** * @dev Hook that is called after a set of serially-ordered token IDs * have been transferred. This includes minting. * And also called after one token has been burned. * * `startTokenId` - the first token ID to be transferred. * `quantity` - the amount to be transferred. * * Calling conditions: * * - When `from` and `to` are both non-zero, `from`'s `tokenId` has been * transferred to `to`. * - When `from` is zero, `tokenId` has been minted for `to`. * - When `to` is zero, `tokenId` has been burned by `from`. * - `from` and `to` are never both zero. */ function _afterTokenTransfers( address from, address to, uint256 startTokenId, uint256 quantity ) internal virtual {} /** * @dev Private function to invoke {IERC721Receiver-onERC721Received} on a target contract. * * `from` - Previous owner of the given token ID. * `to` - Target address that will receive the token. * `tokenId` - Token ID to be transferred. * `_data` - Optional data to send along with the call. * * Returns whether the call correctly returned the expected magic value. */ function _checkContractOnERC721Received( address from, address to, uint256 tokenId, bytes memory _data ) private returns (bool) { try ERC721A__IERC721Receiver(to).onERC721Received(_msgSenderERC721A(), from, tokenId, _data) returns ( bytes4 retval ) { return retval == ERC721A__IERC721Receiver(to).onERC721Received.selector; } catch (bytes memory reason) { if (reason.length == 0) { revert TransferToNonERC721ReceiverImplementer(); } else { assembly { revert(add(32, reason), mload(reason)) } } } } // ============================================================= // MINT OPERATIONS // ============================================================= /** * @dev Mints `quantity` tokens and transfers them to `to`. * * Requirements: * * - `to` cannot be the zero address. * - `quantity` must be greater than 0. * * Emits a {Transfer} event for each mint. */ function _mint(address to, uint256 quantity) internal virtual { uint256 startTokenId = _currentIndex; if (quantity == 0) revert MintZeroQuantity(); _beforeTokenTransfers(address(0), to, startTokenId, quantity); // Overflows are incredibly unrealistic. // `balance` and `numberMinted` have a maximum limit of 2**64. // `tokenId` has a maximum limit of 2**256. unchecked { // Updates: // - `balance += quantity`. // - `numberMinted += quantity`. // // We can directly add to the `balance` and `numberMinted`. _packedAddressData[to] += quantity * ((1 << _BITPOS_NUMBER_MINTED) | 1); // Updates: // - `address` to the owner. // - `startTimestamp` to the timestamp of minting. // - `burned` to `false`. // - `nextInitialized` to `quantity == 1`. _packedOwnerships[startTokenId] = _packOwnershipData( to, _nextInitializedFlag(quantity) | _nextExtraData(address(0), to, 0) ); uint256 toMasked; uint256 end = startTokenId + quantity; // Use assembly to loop and emit the `Transfer` event for gas savings. // The duplicated `log4` removes an extra check and reduces stack juggling. // The assembly, together with the surrounding Solidity code, have been // delicately arranged to nudge the compiler into producing optimized opcodes. assembly { // Mask `to` to the lower 160 bits, in case the upper bits somehow aren't clean. toMasked := and(to, _BITMASK_ADDRESS) // Emit the `Transfer` event. log4( 0, // Start of data (0, since no data). 0, // End of data (0, since no data). _TRANSFER_EVENT_SIGNATURE, // Signature. 0, // `address(0)`. toMasked, // `to`. startTokenId // `tokenId`. ) // The `iszero(eq(,))` check ensures that large values of `quantity` // that overflows uint256 will make the loop run out of gas. // The compiler will optimize the `iszero` away for performance. for { let tokenId := add(startTokenId, 1) } iszero(eq(tokenId, end)) { tokenId := add(tokenId, 1) } { // Emit the `Transfer` event. Similar to above. log4(0, 0, _TRANSFER_EVENT_SIGNATURE, 0, toMasked, tokenId) } } if (toMasked == 0) revert MintToZeroAddress(); _currentIndex = end; } _afterTokenTransfers(address(0), to, startTokenId, quantity); } /** * @dev Mints `quantity` tokens and transfers them to `to`. * * This function is intended for efficient minting only during contract creation. * * It emits only one {ConsecutiveTransfer} as defined in * [ERC2309](https://eips.ethereum.org/EIPS/eip-2309), * instead of a sequence of {Transfer} event(s). * * Calling this function outside of contract creation WILL make your contract * non-compliant with the ERC721 standard. * For full ERC721 compliance, substituting ERC721 {Transfer} event(s) with the ERC2309 * {ConsecutiveTransfer} event is only permissible during contract creation. * * Requirements: * * - `to` cannot be the zero address. * - `quantity` must be greater than 0. * * Emits a {ConsecutiveTransfer} event. */ function _mintERC2309(address to, uint256 quantity) internal virtual { uint256 startTokenId = _currentIndex; if (to == address(0)) revert MintToZeroAddress(); if (quantity == 0) revert MintZeroQuantity(); if (quantity > _MAX_MINT_ERC2309_QUANTITY_LIMIT) revert MintERC2309QuantityExceedsLimit(); _beforeTokenTransfers(address(0), to, startTokenId, quantity); // Overflows are unrealistic due to the above check for `quantity` to be below the limit. unchecked { // Updates: // - `balance += quantity`. // - `numberMinted += quantity`. // // We can directly add to the `balance` and `numberMinted`. _packedAddressData[to] += quantity * ((1 << _BITPOS_NUMBER_MINTED) | 1); // Updates: // - `address` to the owner. // - `startTimestamp` to the timestamp of minting. // - `burned` to `false`. // - `nextInitialized` to `quantity == 1`. _packedOwnerships[startTokenId] = _packOwnershipData( to, _nextInitializedFlag(quantity) | _nextExtraData(address(0), to, 0) ); emit ConsecutiveTransfer(startTokenId, startTokenId + quantity - 1, address(0), to); _currentIndex = startTokenId + quantity; } _afterTokenTransfers(address(0), to, startTokenId, quantity); } /** * @dev Safely mints `quantity` tokens and transfers them to `to`. * * Requirements: * * - If `to` refers to a smart contract, it must implement * {IERC721Receiver-onERC721Received}, which is called for each safe transfer. * - `quantity` must be greater than 0. * * See {_mint}. * * Emits a {Transfer} event for each mint. */ function _safeMint( address to, uint256 quantity, bytes memory _data ) internal virtual { _mint(to, quantity); unchecked { if (to.code.length != 0) { uint256 end = _currentIndex; uint256 index = end - quantity; do { if (!_checkContractOnERC721Received(address(0), to, index++, _data)) { revert TransferToNonERC721ReceiverImplementer(); } } while (index < end); // Reentrancy protection. if (_currentIndex != end) revert(); } } } /** * @dev Equivalent to `_safeMint(to, quantity, '')`. */ function _safeMint(address to, uint256 quantity) internal virtual { _safeMint(to, quantity, ''); } // ============================================================= // BURN OPERATIONS // ============================================================= /** * @dev Equivalent to `_burn(tokenId, false)`. */ function _burn(uint256 tokenId) internal virtual { _burn(tokenId, false); } /** * @dev Destroys `tokenId`. * The approval is cleared when the token is burned. * * Requirements: * * - `tokenId` must exist. * * Emits a {Transfer} event. */ function _burn(uint256 tokenId, bool approvalCheck) internal virtual { uint256 prevOwnershipPacked = _packedOwnershipOf(tokenId); address from = address(uint160(prevOwnershipPacked)); (uint256 approvedAddressSlot, address approvedAddress) = _getApprovedSlotAndAddress(tokenId); if (approvalCheck) { // The nested ifs save around 20+ gas over a compound boolean condition. if (!_isSenderApprovedOrOwner(approvedAddress, from, _msgSenderERC721A())) if (!isApprovedForAll(from, _msgSenderERC721A())) revert TransferCallerNotOwnerNorApproved(); } _beforeTokenTransfers(from, address(0), tokenId, 1); // Clear approvals from the previous owner. assembly { if approvedAddress { // This is equivalent to `delete _tokenApprovals[tokenId]`. sstore(approvedAddressSlot, 0) } } // Underflow of the sender's balance is impossible because we check for // ownership above and the recipient's balance can't realistically overflow. // Counter overflow is incredibly unrealistic as `tokenId` would have to be 2**256. unchecked { // Updates: // - `balance -= 1`. // - `numberBurned += 1`. // // We can directly decrement the balance, and increment the number burned. // This is equivalent to `packed -= 1; packed += 1 << _BITPOS_NUMBER_BURNED;`. _packedAddressData[from] += (1 << _BITPOS_NUMBER_BURNED) - 1; // Updates: // - `address` to the last owner. // - `startTimestamp` to the timestamp of burning. // - `burned` to `true`. // - `nextInitialized` to `true`. _packedOwnerships[tokenId] = _packOwnershipData( from, (_BITMASK_BURNED | _BITMASK_NEXT_INITIALIZED) | _nextExtraData(from, address(0), prevOwnershipPacked) ); // If the next slot may not have been initialized (i.e. `nextInitialized == false`) . if (prevOwnershipPacked & _BITMASK_NEXT_INITIALIZED == 0) { uint256 nextTokenId = tokenId + 1; // If the next slot's address is zero and not burned (i.e. packed value is zero). if (_packedOwnerships[nextTokenId] == 0) { // If the next slot is within bounds. if (nextTokenId != _currentIndex) { // Initialize the next slot to maintain correctness for `ownerOf(tokenId + 1)`. _packedOwnerships[nextTokenId] = prevOwnershipPacked; } } } } emit Transfer(from, address(0), tokenId); _afterTokenTransfers(from, address(0), tokenId, 1); // Overflow not possible, as _burnCounter cannot be exceed _currentIndex times. unchecked { _burnCounter++; } } // ============================================================= // EXTRA DATA OPERATIONS // ============================================================= /** * @dev Directly sets the extra data for the ownership data `index`. */ function _setExtraDataAt(uint256 index, uint24 extraData) internal virtual { uint256 packed = _packedOwnerships[index]; if (packed == 0) revert OwnershipNotInitializedForExtraData(); uint256 extraDataCasted; // Cast `extraData` with assembly to avoid redundant masking. assembly { extraDataCasted := extraData } packed = (packed & _BITMASK_EXTRA_DATA_COMPLEMENT) | (extraDataCasted << _BITPOS_EXTRA_DATA); _packedOwnerships[index] = packed; } /** * @dev Called during each token transfer to set the 24bit `extraData` field. * Intended to be overridden by the cosumer contract. * * `previousExtraData` - the value of `extraData` before transfer. * * Calling conditions: * * - When `from` and `to` are both non-zero, `from`'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, `tokenId` will be burned by `from`. * - `from` and `to` are never both zero. */ function _extraData( address from, address to, uint24 previousExtraData ) internal view virtual returns (uint24) {} /** * @dev Returns the next extra data for the packed ownership data. * The returned result is shifted into position. */ function _nextExtraData( address from, address to, uint256 prevOwnershipPacked ) private view returns (uint256) { uint24 extraData = uint24(prevOwnershipPacked >> _BITPOS_EXTRA_DATA); return uint256(_extraData(from, to, extraData)) << _BITPOS_EXTRA_DATA; } // ============================================================= // OTHER OPERATIONS // ============================================================= /** * @dev Returns the message sender (defaults to `msg.sender`). * * If you are writing GSN compatible contracts, you need to override this function. */ function _msgSenderERC721A() internal view virtual returns (address) { return msg.sender; } /** * @dev Converts a uint256 to its ASCII string decimal representation. */ function _toString(uint256 value) internal pure virtual returns (string memory str) { assembly { // The maximum value of a uint256 contains 78 digits (1 byte per digit), but // we allocate 0xa0 bytes to keep the free memory pointer 32-byte word aligned. // We will need 1 word for the trailing zeros padding, 1 word for the length, // and 3 words for a maximum of 78 digits. Total: 5 * 0x20 = 0xa0. let m := add(mload(0x40), 0xa0) // Update the free memory pointer to allocate. mstore(0x40, m) // Assign the `str` to the end. str := sub(m, 0x20) // Zeroize the slot after the string. mstore(str, 0) // Cache the end of the memory to calculate the length later. let end := str // We write the string from rightmost digit to leftmost digit. // The following is essentially a do-while loop that also handles the zero case. // prettier-ignore for { let temp := value } 1 {} { str := sub(str, 1) // Write the character to the pointer. // The ASCII index of the '0' character is 48. mstore8(str, add(48, mod(temp, 10))) // Keep dividing `temp` until zero. temp := div(temp, 10) // prettier-ignore if iszero(temp) { break } } let length := sub(end, str) // Move the pointer 32 bytes leftwards to make room for the length. str := sub(str, 0x20) // Store the length. mstore(str, length) } } } // File: Starships.sol pragma solidity ^0.8.17; contract StarshipX is ERC721A, Ownable { using Strings for uint256; uint256 public maxSupply = 666; uint256 public mintPrice = 0.006 ether; uint256 public maxPerWallet = 5; bool public paused = true; string public baseURI = ""; constructor() ERC721A("StarshipX", "STARX") {} function mint(uint256 amount) external payable { require(!paused, "Mint paused"); require((totalSupply() + amount) <= maxSupply, "Max supply reached"); require( amount <= maxPerWallet, "Max per transaction reached" ); require( msg.value >= (mintPrice * amount), "Wrong mint price" ); _safeMint(msg.sender, amount); } function reserveMint(address receiver, uint256 mintAmount) external onlyOwner { _safeMint(receiver, mintAmount); } function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { require( _exists(tokenId), "ERC721Metadata: URI query for nonexistent token" ); return string(abi.encodePacked(baseURI, tokenId.toString(), ".json")); } function _baseURI() internal view virtual override returns (string memory) { return baseURI; } function setBaseURI(string memory uri) public onlyOwner { baseURI = uri; } function startSale() external onlyOwner { paused = !paused; } function setPrice(uint256 _newPrice) external onlyOwner { mintPrice = _newPrice; } function setValues(uint256 _newAmount) external onlyOwner { maxSupply = _newAmount; } function withdraw() external onlyOwner { (bool success, ) = payable(msg.sender).call{ value: address(this).balance }(""); require(success, "Transfer failed."); } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[],"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":[],"name":"baseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxPerWallet","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"mintPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"receiver","type":"address"},{"internalType":"uint256","name":"mintAmount","type":"uint256"}],"name":"reserveMint","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":"uri","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newPrice","type":"uint256"}],"name":"setPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newAmount","type":"uint256"}],"name":"setValues","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"startSale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
608060405261029a600955661550f7dca70000600a556005600b556001600c60006101000a81548160ff02191690831515021790555060405180602001604052806000815250600d90816200005591906200047f565b503480156200006357600080fd5b506040518060400160405280600981526020017f53746172736869705800000000000000000000000000000000000000000000008152506040518060400160405280600581526020017f53544152580000000000000000000000000000000000000000000000000000008152508160029081620000e191906200047f565b508060039081620000f391906200047f565b50620001046200013260201b60201c565b60008190555050506200012c620001206200013760201b60201c565b6200013f60201b60201c565b62000566565b600090565b600033905090565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600081519050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806200028757607f821691505b6020821081036200029d576200029c6200023f565b5b50919050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b600060088302620003077fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82620002c8565b620003138683620002c8565b95508019841693508086168417925050509392505050565b6000819050919050565b6000819050919050565b6000620003606200035a62000354846200032b565b62000335565b6200032b565b9050919050565b6000819050919050565b6200037c836200033f565b620003946200038b8262000367565b848454620002d5565b825550505050565b600090565b620003ab6200039c565b620003b881848462000371565b505050565b5b81811015620003e057620003d4600082620003a1565b600181019050620003be565b5050565b601f8211156200042f57620003f981620002a3565b6200040484620002b8565b8101602085101562000414578190505b6200042c6200042385620002b8565b830182620003bd565b50505b505050565b600082821c905092915050565b6000620004546000198460080262000434565b1980831691505092915050565b60006200046f838362000441565b9150826002028217905092915050565b6200048a8262000205565b67ffffffffffffffff811115620004a657620004a562000210565b5b620004b282546200026e565b620004bf828285620003e4565b600060209050601f831160018114620004f75760008415620004e2578287015190505b620004ee858262000461565b8655506200055e565b601f1984166200050786620002a3565b60005b8281101562000531578489015182556001820191506020850194506020810190506200050a565b868310156200055157848901516200054d601f89168262000441565b8355505b6001600288020188555050505b505050505050565b612e8f80620005766000396000f3fe6080604052600436106101c25760003560e01c806370a08231116100f7578063b0ea180211610095578063d5abeb0111610064578063d5abeb01146105c5578063e26d1474146105f0578063e985e9c514610619578063f2fde38b14610656576101c2565b8063b0ea18021461052c578063b66a0e5d14610555578063b88d4fde1461056c578063c87b56dd14610588576101c2565b806391b7f5ed116100d157806391b7f5ed1461049357806395d89b41146104bc578063a0712d68146104e7578063a22cb46514610503576101c2565b806370a0823114610414578063715018a6146104515780638da5cb5b14610468576101c2565b806342842e0e116101645780635c975abb1161013e5780635c975abb146103565780636352211e146103815780636817c76c146103be5780636c0360eb146103e9576101c2565b806342842e0e146102e6578063453c23101461030257806355f804b31461032d576101c2565b8063095ea7b3116101a0578063095ea7b31461026c57806318160ddd1461028857806323b872dd146102b35780633ccfd60b146102cf576101c2565b806301ffc9a7146101c757806306fdde0314610204578063081812fc1461022f575b600080fd5b3480156101d357600080fd5b506101ee60048036038101906101e99190611e60565b61067f565b6040516101fb9190611ea8565b60405180910390f35b34801561021057600080fd5b50610219610711565b6040516102269190611f53565b60405180910390f35b34801561023b57600080fd5b5061025660048036038101906102519190611fab565b6107a3565b6040516102639190612019565b60405180910390f35b61028660048036038101906102819190612060565b610822565b005b34801561029457600080fd5b5061029d610966565b6040516102aa91906120af565b60405180910390f35b6102cd60048036038101906102c891906120ca565b61097d565b005b3480156102db57600080fd5b506102e4610c9f565b005b61030060048036038101906102fb91906120ca565b610d56565b005b34801561030e57600080fd5b50610317610d76565b60405161032491906120af565b60405180910390f35b34801561033957600080fd5b50610354600480360381019061034f9190612252565b610d7c565b005b34801561036257600080fd5b5061036b610d97565b6040516103789190611ea8565b60405180910390f35b34801561038d57600080fd5b506103a860048036038101906103a39190611fab565b610daa565b6040516103b59190612019565b60405180910390f35b3480156103ca57600080fd5b506103d3610dbc565b6040516103e091906120af565b60405180910390f35b3480156103f557600080fd5b506103fe610dc2565b60405161040b9190611f53565b60405180910390f35b34801561042057600080fd5b5061043b6004803603810190610436919061229b565b610e50565b60405161044891906120af565b60405180910390f35b34801561045d57600080fd5b50610466610f08565b005b34801561047457600080fd5b5061047d610f1c565b60405161048a9190612019565b60405180910390f35b34801561049f57600080fd5b506104ba60048036038101906104b59190611fab565b610f46565b005b3480156104c857600080fd5b506104d1610f58565b6040516104de9190611f53565b60405180910390f35b61050160048036038101906104fc9190611fab565b610fea565b005b34801561050f57600080fd5b5061052a600480360381019061052591906122f4565b611133565b005b34801561053857600080fd5b50610553600480360381019061054e9190612060565b61123e565b005b34801561056157600080fd5b5061056a611254565b005b610586600480360381019061058191906123d5565b611288565b005b34801561059457600080fd5b506105af60048036038101906105aa9190611fab565b6112fb565b6040516105bc9190611f53565b60405180910390f35b3480156105d157600080fd5b506105da611377565b6040516105e791906120af565b60405180910390f35b3480156105fc57600080fd5b5061061760048036038101906106129190611fab565b61137d565b005b34801561062557600080fd5b50610640600480360381019061063b9190612458565b61138f565b60405161064d9190611ea8565b60405180910390f35b34801561066257600080fd5b5061067d6004803603810190610678919061229b565b611423565b005b60006301ffc9a760e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806106da57506380ac58cd60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b8061070a5750635b5e139f60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b9050919050565b606060028054610720906124c7565b80601f016020809104026020016040519081016040528092919081815260200182805461074c906124c7565b80156107995780601f1061076e57610100808354040283529160200191610799565b820191906000526020600020905b81548152906001019060200180831161077c57829003601f168201915b5050505050905090565b60006107ae826114a6565b6107e4576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6006600083815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b600061082d82610daa565b90508073ffffffffffffffffffffffffffffffffffffffff1661084e611505565b73ffffffffffffffffffffffffffffffffffffffff16146108b15761087a81610875611505565b61138f565b6108b0576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b826006600084815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b600061097061150d565b6001546000540303905090565b600061098882611512565b90508373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16146109ef576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000806109fb846115de565b91509150610a118187610a0c611505565b611605565b610a5d57610a2686610a21611505565b61138f565b610a5c576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff1603610ac3576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610ad08686866001611649565b8015610adb57600082555b600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600081546001900391905081905550600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000815460010191905081905550610ba985610b8588888761164f565b7c020000000000000000000000000000000000000000000000000000000017611677565b600460008681526020019081526020016000208190555060007c0200000000000000000000000000000000000000000000000000000000841603610c2f5760006001850190506000600460008381526020019081526020016000205403610c2d576000548114610c2c578360046000838152602001908152602001600020819055505b5b505b838573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4610c9786868660016116a2565b505050505050565b610ca76116a8565b60003373ffffffffffffffffffffffffffffffffffffffff1647604051610ccd90612529565b60006040518083038185875af1925050503d8060008114610d0a576040519150601f19603f3d011682016040523d82523d6000602084013e610d0f565b606091505b5050905080610d53576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d4a9061258a565b60405180910390fd5b50565b610d7183838360405180602001604052806000815250611288565b505050565b600b5481565b610d846116a8565b80600d9081610d939190612756565b5050565b600c60009054906101000a900460ff1681565b6000610db582611512565b9050919050565b600a5481565b600d8054610dcf906124c7565b80601f0160208091040260200160405190810160405280929190818152602001828054610dfb906124c7565b8015610e485780601f10610e1d57610100808354040283529160200191610e48565b820191906000526020600020905b815481529060010190602001808311610e2b57829003601f168201915b505050505081565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603610eb7576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b67ffffffffffffffff600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054169050919050565b610f106116a8565b610f1a6000611726565b565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b610f4e6116a8565b80600a8190555050565b606060038054610f67906124c7565b80601f0160208091040260200160405190810160405280929190818152602001828054610f93906124c7565b8015610fe05780601f10610fb557610100808354040283529160200191610fe0565b820191906000526020600020905b815481529060010190602001808311610fc357829003601f168201915b5050505050905090565b600c60009054906101000a900460ff161561103a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161103190612874565b60405180910390fd5b60095481611046610966565b61105091906128c3565b1115611091576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161108890612943565b60405180910390fd5b600b548111156110d6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110cd906129af565b60405180910390fd5b80600a546110e491906129cf565b341015611126576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161111d90612a5d565b60405180910390fd5b61113033826117ec565b50565b8060076000611140611505565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff166111ed611505565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516112329190611ea8565b60405180910390a35050565b6112466116a8565b61125082826117ec565b5050565b61125c6116a8565b600c60009054906101000a900460ff1615600c60006101000a81548160ff021916908315150217905550565b61129384848461097d565b60008373ffffffffffffffffffffffffffffffffffffffff163b146112f5576112be8484848461180a565b6112f4576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b50505050565b6060611306826114a6565b611345576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161133c90612aef565b60405180910390fd5b600d6113508361195a565b604051602001611361929190612c1a565b6040516020818303038152906040529050919050565b60095481565b6113856116a8565b8060098190555050565b6000600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b61142b6116a8565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff160361149a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161149190612cbb565b60405180910390fd5b6114a381611726565b50565b6000816114b161150d565b111580156114c0575060005482105b80156114fe575060007c0100000000000000000000000000000000000000000000000000000000600460008581526020019081526020016000205416145b9050919050565b600033905090565b600090565b6000808290508061152161150d565b116115a7576000548110156115a65760006004600083815260200190815260200160002054905060007c01000000000000000000000000000000000000000000000000000000008216036115a4575b6000810361159a576004600083600190039350838152602001908152602001600020549050611570565b80925050506115d9565b505b5b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b60008060006006600085815260200190815260200160002090508092508254915050915091565b600073ffffffffffffffffffffffffffffffffffffffff8316925073ffffffffffffffffffffffffffffffffffffffff821691508382148383141790509392505050565b50505050565b60008060e883901c905060e8611666868684611a28565b62ffffff16901b9150509392505050565b600073ffffffffffffffffffffffffffffffffffffffff83169250814260a01b178317905092915050565b50505050565b6116b0611a31565b73ffffffffffffffffffffffffffffffffffffffff166116ce610f1c565b73ffffffffffffffffffffffffffffffffffffffff1614611724576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161171b90612d27565b60405180910390fd5b565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b611806828260405180602001604052806000815250611a39565b5050565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a02611830611505565b8786866040518563ffffffff1660e01b81526004016118529493929190612d9c565b6020604051808303816000875af192505050801561188e57506040513d601f19601f8201168201806040525081019061188b9190612dfd565b60015b611907573d80600081146118be576040519150601f19603f3d011682016040523d82523d6000602084013e6118c3565b606091505b5060008151036118ff576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b60606000600161196984611ad6565b01905060008167ffffffffffffffff81111561198857611987612127565b5b6040519080825280601f01601f1916602001820160405280156119ba5781602001600182028036833780820191505090505b509050600082602001820190505b600115611a1d578080600190039150507f3031323334353637383961626364656600000000000000000000000000000000600a86061a8153600a8581611a1157611a10612e2a565b5b049450600085036119c8575b819350505050919050565b60009392505050565b600033905090565b611a438383611c29565b60008373ffffffffffffffffffffffffffffffffffffffff163b14611ad157600080549050600083820390505b611a83600086838060010194508661180a565b611ab9576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b818110611a70578160005414611ace57600080fd5b50505b505050565b600080600090507a184f03e93ff9f4daa797ed6e38ed64bf6a1f0100000000000000008310611b34577a184f03e93ff9f4daa797ed6e38ed64bf6a1f0100000000000000008381611b2a57611b29612e2a565b5b0492506040810190505b6d04ee2d6d415b85acef81000000008310611b71576d04ee2d6d415b85acef81000000008381611b6757611b66612e2a565b5b0492506020810190505b662386f26fc100008310611ba057662386f26fc100008381611b9657611b95612e2a565b5b0492506010810190505b6305f5e1008310611bc9576305f5e1008381611bbf57611bbe612e2a565b5b0492506008810190505b6127108310611bee576127108381611be457611be3612e2a565b5b0492506004810190505b60648310611c115760648381611c0757611c06612e2a565b5b0492506002810190505b600a8310611c20576001810190505b80915050919050565b60008054905060008203611c69576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b611c766000848385611649565b600160406001901b178202600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282540192505081905550611ced83611cde600086600061164f565b611ce785611de4565b17611677565b6004600083815260200190815260200160002081905550600080838301905073ffffffffffffffffffffffffffffffffffffffff85169150828260007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4600183015b818114611d8e57808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4600181019050611d53565b5060008203611dc9576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b806000819055505050611ddf60008483856116a2565b505050565b60006001821460e11b9050919050565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b611e3d81611e08565b8114611e4857600080fd5b50565b600081359050611e5a81611e34565b92915050565b600060208284031215611e7657611e75611dfe565b5b6000611e8484828501611e4b565b91505092915050565b60008115159050919050565b611ea281611e8d565b82525050565b6000602082019050611ebd6000830184611e99565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b83811015611efd578082015181840152602081019050611ee2565b60008484015250505050565b6000601f19601f8301169050919050565b6000611f2582611ec3565b611f2f8185611ece565b9350611f3f818560208601611edf565b611f4881611f09565b840191505092915050565b60006020820190508181036000830152611f6d8184611f1a565b905092915050565b6000819050919050565b611f8881611f75565b8114611f9357600080fd5b50565b600081359050611fa581611f7f565b92915050565b600060208284031215611fc157611fc0611dfe565b5b6000611fcf84828501611f96565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600061200382611fd8565b9050919050565b61201381611ff8565b82525050565b600060208201905061202e600083018461200a565b92915050565b61203d81611ff8565b811461204857600080fd5b50565b60008135905061205a81612034565b92915050565b6000806040838503121561207757612076611dfe565b5b60006120858582860161204b565b925050602061209685828601611f96565b9150509250929050565b6120a981611f75565b82525050565b60006020820190506120c460008301846120a0565b92915050565b6000806000606084860312156120e3576120e2611dfe565b5b60006120f18682870161204b565b93505060206121028682870161204b565b925050604061211386828701611f96565b9150509250925092565b600080fd5b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b61215f82611f09565b810181811067ffffffffffffffff8211171561217e5761217d612127565b5b80604052505050565b6000612191611df4565b905061219d8282612156565b919050565b600067ffffffffffffffff8211156121bd576121bc612127565b5b6121c682611f09565b9050602081019050919050565b82818337600083830152505050565b60006121f56121f0846121a2565b612187565b90508281526020810184848401111561221157612210612122565b5b61221c8482856121d3565b509392505050565b600082601f8301126122395761223861211d565b5b81356122498482602086016121e2565b91505092915050565b60006020828403121561226857612267611dfe565b5b600082013567ffffffffffffffff81111561228657612285611e03565b5b61229284828501612224565b91505092915050565b6000602082840312156122b1576122b0611dfe565b5b60006122bf8482850161204b565b91505092915050565b6122d181611e8d565b81146122dc57600080fd5b50565b6000813590506122ee816122c8565b92915050565b6000806040838503121561230b5761230a611dfe565b5b60006123198582860161204b565b925050602061232a858286016122df565b9150509250929050565b600067ffffffffffffffff82111561234f5761234e612127565b5b61235882611f09565b9050602081019050919050565b600061237861237384612334565b612187565b90508281526020810184848401111561239457612393612122565b5b61239f8482856121d3565b509392505050565b600082601f8301126123bc576123bb61211d565b5b81356123cc848260208601612365565b91505092915050565b600080600080608085870312156123ef576123ee611dfe565b5b60006123fd8782880161204b565b945050602061240e8782880161204b565b935050604061241f87828801611f96565b925050606085013567ffffffffffffffff8111156124405761243f611e03565b5b61244c878288016123a7565b91505092959194509250565b6000806040838503121561246f5761246e611dfe565b5b600061247d8582860161204b565b925050602061248e8582860161204b565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806124df57607f821691505b6020821081036124f2576124f1612498565b5b50919050565b600081905092915050565b50565b60006125136000836124f8565b915061251e82612503565b600082019050919050565b600061253482612506565b9150819050919050565b7f5472616e73666572206661696c65642e00000000000000000000000000000000600082015250565b6000612574601083611ece565b915061257f8261253e565b602082019050919050565b600060208201905081810360008301526125a381612567565b9050919050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b60006008830261260c7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff826125cf565b61261686836125cf565b95508019841693508086168417925050509392505050565b6000819050919050565b600061265361264e61264984611f75565b61262e565b611f75565b9050919050565b6000819050919050565b61266d83612638565b6126816126798261265a565b8484546125dc565b825550505050565b600090565b612696612689565b6126a1818484612664565b505050565b5b818110156126c5576126ba60008261268e565b6001810190506126a7565b5050565b601f82111561270a576126db816125aa565b6126e4846125bf565b810160208510156126f3578190505b6127076126ff856125bf565b8301826126a6565b50505b505050565b600082821c905092915050565b600061272d6000198460080261270f565b1980831691505092915050565b6000612746838361271c565b9150826002028217905092915050565b61275f82611ec3565b67ffffffffffffffff81111561277857612777612127565b5b61278282546124c7565b61278d8282856126c9565b600060209050601f8311600181146127c057600084156127ae578287015190505b6127b8858261273a565b865550612820565b601f1984166127ce866125aa565b60005b828110156127f6578489015182556001820191506020850194506020810190506127d1565b86831015612813578489015161280f601f89168261271c565b8355505b6001600288020188555050505b505050505050565b7f4d696e7420706175736564000000000000000000000000000000000000000000600082015250565b600061285e600b83611ece565b915061286982612828565b602082019050919050565b6000602082019050818103600083015261288d81612851565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60006128ce82611f75565b91506128d983611f75565b92508282019050808211156128f1576128f0612894565b5b92915050565b7f4d617820737570706c7920726561636865640000000000000000000000000000600082015250565b600061292d601283611ece565b9150612938826128f7565b602082019050919050565b6000602082019050818103600083015261295c81612920565b9050919050565b7f4d617820706572207472616e73616374696f6e20726561636865640000000000600082015250565b6000612999601b83611ece565b91506129a482612963565b602082019050919050565b600060208201905081810360008301526129c88161298c565b9050919050565b60006129da82611f75565b91506129e583611f75565b92508282026129f381611f75565b91508282048414831517612a0a57612a09612894565b5b5092915050565b7f57726f6e67206d696e7420707269636500000000000000000000000000000000600082015250565b6000612a47601083611ece565b9150612a5282612a11565b602082019050919050565b60006020820190508181036000830152612a7681612a3a565b9050919050565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b6000612ad9602f83611ece565b9150612ae482612a7d565b604082019050919050565b60006020820190508181036000830152612b0881612acc565b9050919050565b600081905092915050565b60008154612b27816124c7565b612b318186612b0f565b94506001821660008114612b4c5760018114612b6157612b94565b60ff1983168652811515820286019350612b94565b612b6a856125aa565b60005b83811015612b8c57815481890152600182019150602081019050612b6d565b838801955050505b50505092915050565b6000612ba882611ec3565b612bb28185612b0f565b9350612bc2818560208601611edf565b80840191505092915050565b7f2e6a736f6e000000000000000000000000000000000000000000000000000000600082015250565b6000612c04600583612b0f565b9150612c0f82612bce565b600582019050919050565b6000612c268285612b1a565b9150612c328284612b9d565b9150612c3d82612bf7565b91508190509392505050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000612ca5602683611ece565b9150612cb082612c49565b604082019050919050565b60006020820190508181036000830152612cd481612c98565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000612d11602083611ece565b9150612d1c82612cdb565b602082019050919050565b60006020820190508181036000830152612d4081612d04565b9050919050565b600081519050919050565b600082825260208201905092915050565b6000612d6e82612d47565b612d788185612d52565b9350612d88818560208601611edf565b612d9181611f09565b840191505092915050565b6000608082019050612db1600083018761200a565b612dbe602083018661200a565b612dcb60408301856120a0565b8181036060830152612ddd8184612d63565b905095945050505050565b600081519050612df781611e34565b92915050565b600060208284031215612e1357612e12611dfe565b5b6000612e2184828501612de8565b91505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fdfea26469706673582212207b533ac170c2d9f82124e491cbfd9a89f0d2bff8c5cd9cb6e78ad9da459c25a564736f6c63430008110033
Deployed Bytecode
0x6080604052600436106101c25760003560e01c806370a08231116100f7578063b0ea180211610095578063d5abeb0111610064578063d5abeb01146105c5578063e26d1474146105f0578063e985e9c514610619578063f2fde38b14610656576101c2565b8063b0ea18021461052c578063b66a0e5d14610555578063b88d4fde1461056c578063c87b56dd14610588576101c2565b806391b7f5ed116100d157806391b7f5ed1461049357806395d89b41146104bc578063a0712d68146104e7578063a22cb46514610503576101c2565b806370a0823114610414578063715018a6146104515780638da5cb5b14610468576101c2565b806342842e0e116101645780635c975abb1161013e5780635c975abb146103565780636352211e146103815780636817c76c146103be5780636c0360eb146103e9576101c2565b806342842e0e146102e6578063453c23101461030257806355f804b31461032d576101c2565b8063095ea7b3116101a0578063095ea7b31461026c57806318160ddd1461028857806323b872dd146102b35780633ccfd60b146102cf576101c2565b806301ffc9a7146101c757806306fdde0314610204578063081812fc1461022f575b600080fd5b3480156101d357600080fd5b506101ee60048036038101906101e99190611e60565b61067f565b6040516101fb9190611ea8565b60405180910390f35b34801561021057600080fd5b50610219610711565b6040516102269190611f53565b60405180910390f35b34801561023b57600080fd5b5061025660048036038101906102519190611fab565b6107a3565b6040516102639190612019565b60405180910390f35b61028660048036038101906102819190612060565b610822565b005b34801561029457600080fd5b5061029d610966565b6040516102aa91906120af565b60405180910390f35b6102cd60048036038101906102c891906120ca565b61097d565b005b3480156102db57600080fd5b506102e4610c9f565b005b61030060048036038101906102fb91906120ca565b610d56565b005b34801561030e57600080fd5b50610317610d76565b60405161032491906120af565b60405180910390f35b34801561033957600080fd5b50610354600480360381019061034f9190612252565b610d7c565b005b34801561036257600080fd5b5061036b610d97565b6040516103789190611ea8565b60405180910390f35b34801561038d57600080fd5b506103a860048036038101906103a39190611fab565b610daa565b6040516103b59190612019565b60405180910390f35b3480156103ca57600080fd5b506103d3610dbc565b6040516103e091906120af565b60405180910390f35b3480156103f557600080fd5b506103fe610dc2565b60405161040b9190611f53565b60405180910390f35b34801561042057600080fd5b5061043b6004803603810190610436919061229b565b610e50565b60405161044891906120af565b60405180910390f35b34801561045d57600080fd5b50610466610f08565b005b34801561047457600080fd5b5061047d610f1c565b60405161048a9190612019565b60405180910390f35b34801561049f57600080fd5b506104ba60048036038101906104b59190611fab565b610f46565b005b3480156104c857600080fd5b506104d1610f58565b6040516104de9190611f53565b60405180910390f35b61050160048036038101906104fc9190611fab565b610fea565b005b34801561050f57600080fd5b5061052a600480360381019061052591906122f4565b611133565b005b34801561053857600080fd5b50610553600480360381019061054e9190612060565b61123e565b005b34801561056157600080fd5b5061056a611254565b005b610586600480360381019061058191906123d5565b611288565b005b34801561059457600080fd5b506105af60048036038101906105aa9190611fab565b6112fb565b6040516105bc9190611f53565b60405180910390f35b3480156105d157600080fd5b506105da611377565b6040516105e791906120af565b60405180910390f35b3480156105fc57600080fd5b5061061760048036038101906106129190611fab565b61137d565b005b34801561062557600080fd5b50610640600480360381019061063b9190612458565b61138f565b60405161064d9190611ea8565b60405180910390f35b34801561066257600080fd5b5061067d6004803603810190610678919061229b565b611423565b005b60006301ffc9a760e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806106da57506380ac58cd60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b8061070a5750635b5e139f60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b9050919050565b606060028054610720906124c7565b80601f016020809104026020016040519081016040528092919081815260200182805461074c906124c7565b80156107995780601f1061076e57610100808354040283529160200191610799565b820191906000526020600020905b81548152906001019060200180831161077c57829003601f168201915b5050505050905090565b60006107ae826114a6565b6107e4576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6006600083815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b600061082d82610daa565b90508073ffffffffffffffffffffffffffffffffffffffff1661084e611505565b73ffffffffffffffffffffffffffffffffffffffff16146108b15761087a81610875611505565b61138f565b6108b0576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b826006600084815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b600061097061150d565b6001546000540303905090565b600061098882611512565b90508373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16146109ef576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000806109fb846115de565b91509150610a118187610a0c611505565b611605565b610a5d57610a2686610a21611505565b61138f565b610a5c576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff1603610ac3576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610ad08686866001611649565b8015610adb57600082555b600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600081546001900391905081905550600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000815460010191905081905550610ba985610b8588888761164f565b7c020000000000000000000000000000000000000000000000000000000017611677565b600460008681526020019081526020016000208190555060007c0200000000000000000000000000000000000000000000000000000000841603610c2f5760006001850190506000600460008381526020019081526020016000205403610c2d576000548114610c2c578360046000838152602001908152602001600020819055505b5b505b838573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4610c9786868660016116a2565b505050505050565b610ca76116a8565b60003373ffffffffffffffffffffffffffffffffffffffff1647604051610ccd90612529565b60006040518083038185875af1925050503d8060008114610d0a576040519150601f19603f3d011682016040523d82523d6000602084013e610d0f565b606091505b5050905080610d53576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d4a9061258a565b60405180910390fd5b50565b610d7183838360405180602001604052806000815250611288565b505050565b600b5481565b610d846116a8565b80600d9081610d939190612756565b5050565b600c60009054906101000a900460ff1681565b6000610db582611512565b9050919050565b600a5481565b600d8054610dcf906124c7565b80601f0160208091040260200160405190810160405280929190818152602001828054610dfb906124c7565b8015610e485780601f10610e1d57610100808354040283529160200191610e48565b820191906000526020600020905b815481529060010190602001808311610e2b57829003601f168201915b505050505081565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603610eb7576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b67ffffffffffffffff600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054169050919050565b610f106116a8565b610f1a6000611726565b565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b610f4e6116a8565b80600a8190555050565b606060038054610f67906124c7565b80601f0160208091040260200160405190810160405280929190818152602001828054610f93906124c7565b8015610fe05780601f10610fb557610100808354040283529160200191610fe0565b820191906000526020600020905b815481529060010190602001808311610fc357829003601f168201915b5050505050905090565b600c60009054906101000a900460ff161561103a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161103190612874565b60405180910390fd5b60095481611046610966565b61105091906128c3565b1115611091576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161108890612943565b60405180910390fd5b600b548111156110d6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110cd906129af565b60405180910390fd5b80600a546110e491906129cf565b341015611126576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161111d90612a5d565b60405180910390fd5b61113033826117ec565b50565b8060076000611140611505565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff166111ed611505565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516112329190611ea8565b60405180910390a35050565b6112466116a8565b61125082826117ec565b5050565b61125c6116a8565b600c60009054906101000a900460ff1615600c60006101000a81548160ff021916908315150217905550565b61129384848461097d565b60008373ffffffffffffffffffffffffffffffffffffffff163b146112f5576112be8484848461180a565b6112f4576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b50505050565b6060611306826114a6565b611345576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161133c90612aef565b60405180910390fd5b600d6113508361195a565b604051602001611361929190612c1a565b6040516020818303038152906040529050919050565b60095481565b6113856116a8565b8060098190555050565b6000600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b61142b6116a8565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff160361149a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161149190612cbb565b60405180910390fd5b6114a381611726565b50565b6000816114b161150d565b111580156114c0575060005482105b80156114fe575060007c0100000000000000000000000000000000000000000000000000000000600460008581526020019081526020016000205416145b9050919050565b600033905090565b600090565b6000808290508061152161150d565b116115a7576000548110156115a65760006004600083815260200190815260200160002054905060007c01000000000000000000000000000000000000000000000000000000008216036115a4575b6000810361159a576004600083600190039350838152602001908152602001600020549050611570565b80925050506115d9565b505b5b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b60008060006006600085815260200190815260200160002090508092508254915050915091565b600073ffffffffffffffffffffffffffffffffffffffff8316925073ffffffffffffffffffffffffffffffffffffffff821691508382148383141790509392505050565b50505050565b60008060e883901c905060e8611666868684611a28565b62ffffff16901b9150509392505050565b600073ffffffffffffffffffffffffffffffffffffffff83169250814260a01b178317905092915050565b50505050565b6116b0611a31565b73ffffffffffffffffffffffffffffffffffffffff166116ce610f1c565b73ffffffffffffffffffffffffffffffffffffffff1614611724576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161171b90612d27565b60405180910390fd5b565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b611806828260405180602001604052806000815250611a39565b5050565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a02611830611505565b8786866040518563ffffffff1660e01b81526004016118529493929190612d9c565b6020604051808303816000875af192505050801561188e57506040513d601f19601f8201168201806040525081019061188b9190612dfd565b60015b611907573d80600081146118be576040519150601f19603f3d011682016040523d82523d6000602084013e6118c3565b606091505b5060008151036118ff576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b60606000600161196984611ad6565b01905060008167ffffffffffffffff81111561198857611987612127565b5b6040519080825280601f01601f1916602001820160405280156119ba5781602001600182028036833780820191505090505b509050600082602001820190505b600115611a1d578080600190039150507f3031323334353637383961626364656600000000000000000000000000000000600a86061a8153600a8581611a1157611a10612e2a565b5b049450600085036119c8575b819350505050919050565b60009392505050565b600033905090565b611a438383611c29565b60008373ffffffffffffffffffffffffffffffffffffffff163b14611ad157600080549050600083820390505b611a83600086838060010194508661180a565b611ab9576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b818110611a70578160005414611ace57600080fd5b50505b505050565b600080600090507a184f03e93ff9f4daa797ed6e38ed64bf6a1f0100000000000000008310611b34577a184f03e93ff9f4daa797ed6e38ed64bf6a1f0100000000000000008381611b2a57611b29612e2a565b5b0492506040810190505b6d04ee2d6d415b85acef81000000008310611b71576d04ee2d6d415b85acef81000000008381611b6757611b66612e2a565b5b0492506020810190505b662386f26fc100008310611ba057662386f26fc100008381611b9657611b95612e2a565b5b0492506010810190505b6305f5e1008310611bc9576305f5e1008381611bbf57611bbe612e2a565b5b0492506008810190505b6127108310611bee576127108381611be457611be3612e2a565b5b0492506004810190505b60648310611c115760648381611c0757611c06612e2a565b5b0492506002810190505b600a8310611c20576001810190505b80915050919050565b60008054905060008203611c69576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b611c766000848385611649565b600160406001901b178202600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282540192505081905550611ced83611cde600086600061164f565b611ce785611de4565b17611677565b6004600083815260200190815260200160002081905550600080838301905073ffffffffffffffffffffffffffffffffffffffff85169150828260007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4600183015b818114611d8e57808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4600181019050611d53565b5060008203611dc9576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b806000819055505050611ddf60008483856116a2565b505050565b60006001821460e11b9050919050565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b611e3d81611e08565b8114611e4857600080fd5b50565b600081359050611e5a81611e34565b92915050565b600060208284031215611e7657611e75611dfe565b5b6000611e8484828501611e4b565b91505092915050565b60008115159050919050565b611ea281611e8d565b82525050565b6000602082019050611ebd6000830184611e99565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b83811015611efd578082015181840152602081019050611ee2565b60008484015250505050565b6000601f19601f8301169050919050565b6000611f2582611ec3565b611f2f8185611ece565b9350611f3f818560208601611edf565b611f4881611f09565b840191505092915050565b60006020820190508181036000830152611f6d8184611f1a565b905092915050565b6000819050919050565b611f8881611f75565b8114611f9357600080fd5b50565b600081359050611fa581611f7f565b92915050565b600060208284031215611fc157611fc0611dfe565b5b6000611fcf84828501611f96565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600061200382611fd8565b9050919050565b61201381611ff8565b82525050565b600060208201905061202e600083018461200a565b92915050565b61203d81611ff8565b811461204857600080fd5b50565b60008135905061205a81612034565b92915050565b6000806040838503121561207757612076611dfe565b5b60006120858582860161204b565b925050602061209685828601611f96565b9150509250929050565b6120a981611f75565b82525050565b60006020820190506120c460008301846120a0565b92915050565b6000806000606084860312156120e3576120e2611dfe565b5b60006120f18682870161204b565b93505060206121028682870161204b565b925050604061211386828701611f96565b9150509250925092565b600080fd5b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b61215f82611f09565b810181811067ffffffffffffffff8211171561217e5761217d612127565b5b80604052505050565b6000612191611df4565b905061219d8282612156565b919050565b600067ffffffffffffffff8211156121bd576121bc612127565b5b6121c682611f09565b9050602081019050919050565b82818337600083830152505050565b60006121f56121f0846121a2565b612187565b90508281526020810184848401111561221157612210612122565b5b61221c8482856121d3565b509392505050565b600082601f8301126122395761223861211d565b5b81356122498482602086016121e2565b91505092915050565b60006020828403121561226857612267611dfe565b5b600082013567ffffffffffffffff81111561228657612285611e03565b5b61229284828501612224565b91505092915050565b6000602082840312156122b1576122b0611dfe565b5b60006122bf8482850161204b565b91505092915050565b6122d181611e8d565b81146122dc57600080fd5b50565b6000813590506122ee816122c8565b92915050565b6000806040838503121561230b5761230a611dfe565b5b60006123198582860161204b565b925050602061232a858286016122df565b9150509250929050565b600067ffffffffffffffff82111561234f5761234e612127565b5b61235882611f09565b9050602081019050919050565b600061237861237384612334565b612187565b90508281526020810184848401111561239457612393612122565b5b61239f8482856121d3565b509392505050565b600082601f8301126123bc576123bb61211d565b5b81356123cc848260208601612365565b91505092915050565b600080600080608085870312156123ef576123ee611dfe565b5b60006123fd8782880161204b565b945050602061240e8782880161204b565b935050604061241f87828801611f96565b925050606085013567ffffffffffffffff8111156124405761243f611e03565b5b61244c878288016123a7565b91505092959194509250565b6000806040838503121561246f5761246e611dfe565b5b600061247d8582860161204b565b925050602061248e8582860161204b565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806124df57607f821691505b6020821081036124f2576124f1612498565b5b50919050565b600081905092915050565b50565b60006125136000836124f8565b915061251e82612503565b600082019050919050565b600061253482612506565b9150819050919050565b7f5472616e73666572206661696c65642e00000000000000000000000000000000600082015250565b6000612574601083611ece565b915061257f8261253e565b602082019050919050565b600060208201905081810360008301526125a381612567565b9050919050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b60006008830261260c7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff826125cf565b61261686836125cf565b95508019841693508086168417925050509392505050565b6000819050919050565b600061265361264e61264984611f75565b61262e565b611f75565b9050919050565b6000819050919050565b61266d83612638565b6126816126798261265a565b8484546125dc565b825550505050565b600090565b612696612689565b6126a1818484612664565b505050565b5b818110156126c5576126ba60008261268e565b6001810190506126a7565b5050565b601f82111561270a576126db816125aa565b6126e4846125bf565b810160208510156126f3578190505b6127076126ff856125bf565b8301826126a6565b50505b505050565b600082821c905092915050565b600061272d6000198460080261270f565b1980831691505092915050565b6000612746838361271c565b9150826002028217905092915050565b61275f82611ec3565b67ffffffffffffffff81111561277857612777612127565b5b61278282546124c7565b61278d8282856126c9565b600060209050601f8311600181146127c057600084156127ae578287015190505b6127b8858261273a565b865550612820565b601f1984166127ce866125aa565b60005b828110156127f6578489015182556001820191506020850194506020810190506127d1565b86831015612813578489015161280f601f89168261271c565b8355505b6001600288020188555050505b505050505050565b7f4d696e7420706175736564000000000000000000000000000000000000000000600082015250565b600061285e600b83611ece565b915061286982612828565b602082019050919050565b6000602082019050818103600083015261288d81612851565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60006128ce82611f75565b91506128d983611f75565b92508282019050808211156128f1576128f0612894565b5b92915050565b7f4d617820737570706c7920726561636865640000000000000000000000000000600082015250565b600061292d601283611ece565b9150612938826128f7565b602082019050919050565b6000602082019050818103600083015261295c81612920565b9050919050565b7f4d617820706572207472616e73616374696f6e20726561636865640000000000600082015250565b6000612999601b83611ece565b91506129a482612963565b602082019050919050565b600060208201905081810360008301526129c88161298c565b9050919050565b60006129da82611f75565b91506129e583611f75565b92508282026129f381611f75565b91508282048414831517612a0a57612a09612894565b5b5092915050565b7f57726f6e67206d696e7420707269636500000000000000000000000000000000600082015250565b6000612a47601083611ece565b9150612a5282612a11565b602082019050919050565b60006020820190508181036000830152612a7681612a3a565b9050919050565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b6000612ad9602f83611ece565b9150612ae482612a7d565b604082019050919050565b60006020820190508181036000830152612b0881612acc565b9050919050565b600081905092915050565b60008154612b27816124c7565b612b318186612b0f565b94506001821660008114612b4c5760018114612b6157612b94565b60ff1983168652811515820286019350612b94565b612b6a856125aa565b60005b83811015612b8c57815481890152600182019150602081019050612b6d565b838801955050505b50505092915050565b6000612ba882611ec3565b612bb28185612b0f565b9350612bc2818560208601611edf565b80840191505092915050565b7f2e6a736f6e000000000000000000000000000000000000000000000000000000600082015250565b6000612c04600583612b0f565b9150612c0f82612bce565b600582019050919050565b6000612c268285612b1a565b9150612c328284612b9d565b9150612c3d82612bf7565b91508190509392505050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000612ca5602683611ece565b9150612cb082612c49565b604082019050919050565b60006020820190508181036000830152612cd481612c98565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000612d11602083611ece565b9150612d1c82612cdb565b602082019050919050565b60006020820190508181036000830152612d4081612d04565b9050919050565b600081519050919050565b600082825260208201905092915050565b6000612d6e82612d47565b612d788185612d52565b9350612d88818560208601611edf565b612d9181611f09565b840191505092915050565b6000608082019050612db1600083018761200a565b612dbe602083018661200a565b612dcb60408301856120a0565b8181036060830152612ddd8184612d63565b905095945050505050565b600081519050612df781611e34565b92915050565b600060208284031215612e1357612e12611dfe565b5b6000612e2184828501612de8565b91505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fdfea26469706673582212207b533ac170c2d9f82124e491cbfd9a89f0d2bff8c5cd9cb6e78ad9da459c25a564736f6c63430008110033
Deployed Bytecode Sourcemap
76318:1976:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;43217:639;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;44119:100;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;50610:218;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;50043:408;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;39870:323;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;54249:2825;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;78085:206;;;;;;;;;;;;;:::i;:::-;;57170:193;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;76480:31;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;77695:88;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;76518:25;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;45512:152;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;76435:38;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;76550:26;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;41054:233;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;23996:103;;;;;;;;;;;;;:::i;:::-;;23348:87;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;77874:96;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;44295:104;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;76639:438;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;51168:234;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;77085:128;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;77791:75;;;;;;;;;;;;;:::i;:::-;;57961:407;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;77221:350;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;76398:30;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;77978:99;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;51559:164;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;24254:201;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;43217:639;43302:4;43641:10;43626:25;;:11;:25;;;;:102;;;;43718:10;43703:25;;:11;:25;;;;43626:102;:179;;;;43795:10;43780:25;;:11;:25;;;;43626:179;43606:199;;43217:639;;;:::o;44119:100::-;44173:13;44206:5;44199:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;44119:100;:::o;50610:218::-;50686:7;50711:16;50719:7;50711;:16::i;:::-;50706:64;;50736:34;;;;;;;;;;;;;;50706:64;50790:15;:24;50806:7;50790:24;;;;;;;;;;;:30;;;;;;;;;;;;50783:37;;50610:218;;;:::o;50043:408::-;50132:13;50148:16;50156:7;50148;:16::i;:::-;50132:32;;50204:5;50181:28;;:19;:17;:19::i;:::-;:28;;;50177:175;;50229:44;50246:5;50253:19;:17;:19::i;:::-;50229:16;:44::i;:::-;50224:128;;50301:35;;;;;;;;;;;;;;50224:128;50177:175;50397:2;50364:15;:24;50380:7;50364:24;;;;;;;;;;;:30;;;:35;;;;;;;;;;;;;;;;;;50435:7;50431:2;50415:28;;50424:5;50415:28;;;;;;;;;;;;50121:330;50043:408;;:::o;39870:323::-;39931:7;40159:15;:13;:15::i;:::-;40144:12;;40128:13;;:28;:46;40121:53;;39870:323;:::o;54249:2825::-;54391:27;54421;54440:7;54421:18;:27::i;:::-;54391:57;;54506:4;54465:45;;54481:19;54465:45;;;54461:86;;54519:28;;;;;;;;;;;;;;54461:86;54561:27;54590:23;54617:35;54644:7;54617:26;:35::i;:::-;54560:92;;;;54752:68;54777:15;54794:4;54800:19;:17;:19::i;:::-;54752:24;:68::i;:::-;54747:180;;54840:43;54857:4;54863:19;:17;:19::i;:::-;54840:16;:43::i;:::-;54835:92;;54892:35;;;;;;;;;;;;;;54835:92;54747:180;54958:1;54944:16;;:2;:16;;;54940:52;;54969:23;;;;;;;;;;;;;;54940:52;55005:43;55027:4;55033:2;55037:7;55046:1;55005:21;:43::i;:::-;55141:15;55138:160;;;55281:1;55260:19;55253:30;55138:160;55678:18;:24;55697:4;55678:24;;;;;;;;;;;;;;;;55676:26;;;;;;;;;;;;55747:18;:22;55766:2;55747:22;;;;;;;;;;;;;;;;55745:24;;;;;;;;;;;56069:146;56106:2;56155:45;56170:4;56176:2;56180:19;56155:14;:45::i;:::-;36269:8;56127:73;56069:18;:146::i;:::-;56040:17;:26;56058:7;56040:26;;;;;;;;;;;:175;;;;56386:1;36269:8;56335:19;:47;:52;56331:627;;56408:19;56440:1;56430:7;:11;56408:33;;56597:1;56563:17;:30;56581:11;56563:30;;;;;;;;;;;;:35;56559:384;;56701:13;;56686:11;:28;56682:242;;56881:19;56848:17;:30;56866:11;56848:30;;;;;;;;;;;:52;;;;56682:242;56559:384;56389:569;56331:627;57005:7;57001:2;56986:27;;56995:4;56986:27;;;;;;;;;;;;57024:42;57045:4;57051:2;57055:7;57064:1;57024:20;:42::i;:::-;54380:2694;;;54249:2825;;;:::o;78085:206::-;23234:13;:11;:13::i;:::-;78136:12:::1;78162:10;78154:24;;78200:21;78154:82;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;78135:101;;;78255:7;78247:36;;;;;;;;;;;;:::i;:::-;;;;;;;;;78124:167;78085:206::o:0;57170:193::-;57316:39;57333:4;57339:2;57343:7;57316:39;;;;;;;;;;;;:16;:39::i;:::-;57170:193;;;:::o;76480:31::-;;;;:::o;77695:88::-;23234:13;:11;:13::i;:::-;77772:3:::1;77762:7;:13;;;;;;:::i;:::-;;77695:88:::0;:::o;76518:25::-;;;;;;;;;;;;;:::o;45512:152::-;45584:7;45627:27;45646:7;45627:18;:27::i;:::-;45604:52;;45512:152;;;:::o;76435:38::-;;;;:::o;76550:26::-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;41054:233::-;41126:7;41167:1;41150:19;;:5;:19;;;41146:60;;41178:28;;;;;;;;;;;;;;41146:60;35213:13;41224:18;:25;41243:5;41224:25;;;;;;;;;;;;;;;;:55;41217:62;;41054:233;;;:::o;23996:103::-;23234:13;:11;:13::i;:::-;24061:30:::1;24088:1;24061:18;:30::i;:::-;23996:103::o:0;23348:87::-;23394:7;23421:6;;;;;;;;;;;23414:13;;23348:87;:::o;77874:96::-;23234:13;:11;:13::i;:::-;77953:9:::1;77941;:21;;;;77874:96:::0;:::o;44295:104::-;44351:13;44384:7;44377:14;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;44295:104;:::o;76639:438::-;76706:6;;;;;;;;;;;76705:7;76697:31;;;;;;;;;;;;:::i;:::-;;;;;;;;;76775:9;;76764:6;76748:13;:11;:13::i;:::-;:22;;;;:::i;:::-;76747:37;;76739:68;;;;;;;;;;;;:::i;:::-;;;;;;;;;76850:12;;76840:6;:22;;76818:99;;;;;;;;;;;;:::i;:::-;;;;;;;;;76976:6;76964:9;;:18;;;;:::i;:::-;76950:9;:33;;76928:99;;;;;;;;;;;;:::i;:::-;;;;;;;;;77040:29;77050:10;77062:6;77040:9;:29::i;:::-;76639:438;:::o;51168:234::-;51315:8;51263:18;:39;51282:19;:17;:19::i;:::-;51263:39;;;;;;;;;;;;;;;:49;51303:8;51263:49;;;;;;;;;;;;;;;;:60;;;;;;;;;;;;;;;;;;51375:8;51339:55;;51354:19;:17;:19::i;:::-;51339:55;;;51385:8;51339:55;;;;;;:::i;:::-;;;;;;;;51168:234;;:::o;77085:128::-;23234:13;:11;:13::i;:::-;77174:31:::1;77184:8;77194:10;77174:9;:31::i;:::-;77085:128:::0;;:::o;77791:75::-;23234:13;:11;:13::i;:::-;77852:6:::1;;;;;;;;;;;77851:7;77842:6;;:16;;;;;;;;;;;;;;;;;;77791:75::o:0;57961:407::-;58136:31;58149:4;58155:2;58159:7;58136:12;:31::i;:::-;58200:1;58182:2;:14;;;:19;58178:183;;58221:56;58252:4;58258:2;58262:7;58271:5;58221:30;:56::i;:::-;58216:145;;58305:40;;;;;;;;;;;;;;58216:145;58178:183;57961:407;;;;:::o;77221:350::-;77339:13;77392:16;77400:7;77392;:16::i;:::-;77370:113;;;;;;;;;;;;:::i;:::-;;;;;;;;;77525:7;77534:18;:7;:16;:18::i;:::-;77508:54;;;;;;;;;:::i;:::-;;;;;;;;;;;;;77494:69;;77221:350;;;:::o;76398:30::-;;;;:::o;77978:99::-;23234:13;:11;:13::i;:::-;78059:10:::1;78047:9;:22;;;;77978:99:::0;:::o;51559:164::-;51656:4;51680:18;:25;51699:5;51680:25;;;;;;;;;;;;;;;:35;51706:8;51680:35;;;;;;;;;;;;;;;;;;;;;;;;;51673:42;;51559:164;;;;:::o;24254:201::-;23234:13;:11;:13::i;:::-;24363:1:::1;24343:22;;:8;:22;;::::0;24335:73:::1;;;;;;;;;;;;:::i;:::-;;;;;;;;;24419:28;24438:8;24419:18;:28::i;:::-;24254:201:::0;:::o;51981:282::-;52046:4;52102:7;52083:15;:13;:15::i;:::-;:26;;:66;;;;;52136:13;;52126:7;:23;52083:66;:153;;;;;52235:1;35989:8;52187:17;:26;52205:7;52187:26;;;;;;;;;;;;:44;:49;52083:153;52063:173;;51981:282;;;:::o;74289:105::-;74349:7;74376:10;74369:17;;74289:105;:::o;39386:92::-;39442:7;39386:92;:::o;46667:1275::-;46734:7;46754:12;46769:7;46754:22;;46837:4;46818:15;:13;:15::i;:::-;:23;46814:1061;;46871:13;;46864:4;:20;46860:1015;;;46909:14;46926:17;:23;46944:4;46926:23;;;;;;;;;;;;46909:40;;47043:1;35989:8;47015:6;:24;:29;47011:845;;47680:113;47697:1;47687:6;:11;47680:113;;47740:17;:25;47758:6;;;;;;;47740:25;;;;;;;;;;;;47731:34;;47680:113;;;47826:6;47819:13;;;;;;47011:845;46886:989;46860:1015;46814:1061;47903:31;;;;;;;;;;;;;;46667:1275;;;;:::o;53144:485::-;53246:27;53275:23;53316:38;53357:15;:24;53373:7;53357:24;;;;;;;;;;;53316:65;;53534:18;53511:41;;53591:19;53585:26;53566:45;;53496:126;53144:485;;;:::o;52372:659::-;52521:11;52686:16;52679:5;52675:28;52666:37;;52846:16;52835:9;52831:32;52818:45;;52996:15;52985:9;52982:30;52974:5;52963:9;52960:20;52957:56;52947:66;;52372:659;;;;;:::o;59030:159::-;;;;;:::o;73598:311::-;73733:7;73753:16;36393:3;73779:19;:41;;73753:68;;36393:3;73847:31;73858:4;73864:2;73868:9;73847:10;:31::i;:::-;73839:40;;:62;;73832:69;;;73598:311;;;;;:::o;48490:450::-;48570:14;48738:16;48731:5;48727:28;48718:37;;48915:5;48901:11;48876:23;48872:41;48869:52;48862:5;48859:63;48849:73;;48490:450;;;;:::o;59854:158::-;;;;;:::o;23513:132::-;23588:12;:10;:12::i;:::-;23577:23;;:7;:5;:7::i;:::-;:23;;;23569:68;;;;;;;;;;;;:::i;:::-;;;;;;;;;23513:132::o;24615:191::-;24689:16;24708:6;;;;;;;;;;;24689:25;;24734:8;24725:6;;:17;;;;;;;;;;;;;;;;;;24789:8;24758:40;;24779:8;24758:40;;;;;;;;;;;;24678:128;24615:191;:::o;68121:112::-;68198:27;68208:2;68212:8;68198:27;;;;;;;;;;;;:9;:27::i;:::-;68121:112;;:::o;60452:716::-;60615:4;60661:2;60636:45;;;60682:19;:17;:19::i;:::-;60703:4;60709:7;60718:5;60636:88;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;60632:529;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;60936:1;60919:6;:13;:18;60915:235;;60965:40;;;;;;;;;;;;;;60915:235;61108:6;61102:13;61093:6;61089:2;61085:15;61078:38;60632:529;60805:54;;;60795:64;;;:6;:64;;;;60788:71;;;60452:716;;;;;;:::o;19326:::-;19382:13;19433:14;19470:1;19450:17;19461:5;19450:10;:17::i;:::-;:21;19433:38;;19486:20;19520:6;19509:18;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;19486:41;;19542:11;19671:6;19667:2;19663:15;19655:6;19651:28;19644:35;;19708:288;19715:4;19708:288;;;19740:5;;;;;;;;19882:8;19877:2;19870:5;19866:14;19861:30;19856:3;19848:44;19938:2;19929:11;;;;;;:::i;:::-;;;;;19972:1;19963:5;:10;19708:288;19959:21;19708:288;20017:6;20010:13;;;;;19326:716;;;:::o;73299:147::-;73436:6;73299:147;;;;;:::o;21899:98::-;21952:7;21979:10;21972:17;;21899:98;:::o;67348:689::-;67479:19;67485:2;67489:8;67479:5;:19::i;:::-;67558:1;67540:2;:14;;;:19;67536:483;;67580:11;67594:13;;67580:27;;67626:13;67648:8;67642:3;:14;67626:30;;67675:233;67706:62;67745:1;67749:2;67753:7;;;;;;67762:5;67706:30;:62::i;:::-;67701:167;;67804:40;;;;;;;;;;;;;;67701:167;67903:3;67895:5;:11;67675:233;;67990:3;67973:13;;:20;67969:34;;67995:8;;;67969:34;67561:458;;67536:483;67348:689;;;:::o;16192:922::-;16245:7;16265:14;16282:1;16265:18;;16332:6;16323:5;:15;16319:102;;16368:6;16359:15;;;;;;:::i;:::-;;;;;16403:2;16393:12;;;;16319:102;16448:6;16439:5;:15;16435:102;;16484:6;16475:15;;;;;;:::i;:::-;;;;;16519:2;16509:12;;;;16435:102;16564:6;16555:5;:15;16551:102;;16600:6;16591:15;;;;;;:::i;:::-;;;;;16635:2;16625:12;;;;16551:102;16680:5;16671;:14;16667:99;;16715:5;16706:14;;;;;;:::i;:::-;;;;;16749:1;16739:11;;;;16667:99;16793:5;16784;:14;16780:99;;16828:5;16819:14;;;;;;:::i;:::-;;;;;16862:1;16852:11;;;;16780:99;16906:5;16897;:14;16893:99;;16941:5;16932:14;;;;;;:::i;:::-;;;;;16975:1;16965:11;;;;16893:99;17019:5;17010;:14;17006:66;;17055:1;17045:11;;;;17006:66;17100:6;17093:13;;;16192:922;;;:::o;61630:2966::-;61703:20;61726:13;;61703:36;;61766:1;61754:8;:13;61750:44;;61776:18;;;;;;;;;;;;;;61750:44;61807:61;61837:1;61841:2;61845:12;61859:8;61807:21;:61::i;:::-;62351:1;35351:2;62321:1;:26;;62320:32;62308:8;:45;62282:18;:22;62301:2;62282:22;;;;;;;;;;;;;;;;:71;;;;;;;;;;;62630:139;62667:2;62721:33;62744:1;62748:2;62752:1;62721:14;:33::i;:::-;62688:30;62709:8;62688:20;:30::i;:::-;:66;62630:18;:139::i;:::-;62596:17;:31;62614:12;62596:31;;;;;;;;;;;:173;;;;62786:16;62817:11;62846:8;62831:12;:23;62817:37;;63367:16;63363:2;63359:25;63347:37;;63739:12;63699:8;63658:1;63596:25;63537:1;63476;63449:335;64110:1;64096:12;64092:20;64050:346;64151:3;64142:7;64139:16;64050:346;;64369:7;64359:8;64356:1;64329:25;64326:1;64323;64318:59;64204:1;64195:7;64191:15;64180:26;;64050:346;;;64054:77;64441:1;64429:8;:13;64425:45;;64451:19;;;;;;;;;;;;;;64425:45;64503:3;64487:13;:19;;;;62056:2462;;64528:60;64557:1;64561:2;64565:12;64579:8;64528:20;:60::i;:::-;61692:2904;61630:2966;;:::o;49042:324::-;49112:14;49345:1;49335:8;49332:15;49306:24;49302:46;49292:56;;49042:324;;;:::o;7:75:1:-;40:6;73:2;67:9;57:19;;7:75;:::o;88:117::-;197:1;194;187:12;211:117;320:1;317;310:12;334:149;370:7;410:66;403:5;399:78;388:89;;334:149;;;:::o;489:120::-;561:23;578:5;561:23;:::i;:::-;554:5;551:34;541:62;;599:1;596;589:12;541:62;489:120;:::o;615:137::-;660:5;698:6;685:20;676:29;;714:32;740:5;714:32;:::i;:::-;615:137;;;;:::o;758:327::-;816:6;865:2;853:9;844:7;840:23;836:32;833:119;;;871:79;;:::i;:::-;833:119;991:1;1016:52;1060:7;1051:6;1040:9;1036:22;1016:52;:::i;:::-;1006:62;;962:116;758:327;;;;:::o;1091:90::-;1125:7;1168:5;1161:13;1154:21;1143:32;;1091:90;;;:::o;1187:109::-;1268:21;1283:5;1268:21;:::i;:::-;1263:3;1256:34;1187:109;;:::o;1302:210::-;1389:4;1427:2;1416:9;1412:18;1404:26;;1440:65;1502:1;1491:9;1487:17;1478:6;1440:65;:::i;:::-;1302:210;;;;:::o;1518:99::-;1570:6;1604:5;1598:12;1588:22;;1518:99;;;:::o;1623:169::-;1707:11;1741:6;1736:3;1729:19;1781:4;1776:3;1772:14;1757:29;;1623:169;;;;:::o;1798:246::-;1879:1;1889:113;1903:6;1900:1;1897:13;1889:113;;;1988:1;1983:3;1979:11;1973:18;1969:1;1964:3;1960:11;1953:39;1925:2;1922:1;1918:10;1913:15;;1889:113;;;2036:1;2027:6;2022:3;2018:16;2011:27;1860:184;1798:246;;;:::o;2050:102::-;2091:6;2142:2;2138:7;2133:2;2126:5;2122:14;2118:28;2108:38;;2050:102;;;:::o;2158:377::-;2246:3;2274:39;2307:5;2274:39;:::i;:::-;2329:71;2393:6;2388:3;2329:71;:::i;:::-;2322:78;;2409:65;2467:6;2462:3;2455:4;2448:5;2444:16;2409:65;:::i;:::-;2499:29;2521:6;2499:29;:::i;:::-;2494:3;2490:39;2483:46;;2250:285;2158:377;;;;:::o;2541:313::-;2654:4;2692:2;2681:9;2677:18;2669:26;;2741:9;2735:4;2731:20;2727:1;2716:9;2712:17;2705:47;2769:78;2842:4;2833:6;2769:78;:::i;:::-;2761:86;;2541:313;;;;:::o;2860:77::-;2897:7;2926:5;2915:16;;2860:77;;;:::o;2943:122::-;3016:24;3034:5;3016:24;:::i;:::-;3009:5;3006:35;2996:63;;3055:1;3052;3045:12;2996:63;2943:122;:::o;3071:139::-;3117:5;3155:6;3142:20;3133:29;;3171:33;3198:5;3171:33;:::i;:::-;3071:139;;;;:::o;3216:329::-;3275:6;3324:2;3312:9;3303:7;3299:23;3295:32;3292:119;;;3330:79;;:::i;:::-;3292:119;3450:1;3475:53;3520:7;3511:6;3500:9;3496:22;3475:53;:::i;:::-;3465:63;;3421:117;3216:329;;;;:::o;3551:126::-;3588:7;3628:42;3621:5;3617:54;3606:65;;3551:126;;;:::o;3683:96::-;3720:7;3749:24;3767:5;3749:24;:::i;:::-;3738:35;;3683:96;;;:::o;3785:118::-;3872:24;3890:5;3872:24;:::i;:::-;3867:3;3860:37;3785:118;;:::o;3909:222::-;4002:4;4040:2;4029:9;4025:18;4017:26;;4053:71;4121:1;4110:9;4106:17;4097:6;4053:71;:::i;:::-;3909:222;;;;:::o;4137:122::-;4210:24;4228:5;4210:24;:::i;:::-;4203:5;4200:35;4190:63;;4249:1;4246;4239:12;4190:63;4137:122;:::o;4265:139::-;4311:5;4349:6;4336:20;4327:29;;4365:33;4392:5;4365:33;:::i;:::-;4265:139;;;;:::o;4410:474::-;4478:6;4486;4535:2;4523:9;4514:7;4510:23;4506:32;4503:119;;;4541:79;;:::i;:::-;4503:119;4661:1;4686:53;4731:7;4722:6;4711:9;4707:22;4686:53;:::i;:::-;4676:63;;4632:117;4788:2;4814:53;4859:7;4850:6;4839:9;4835:22;4814:53;:::i;:::-;4804:63;;4759:118;4410:474;;;;;:::o;4890:118::-;4977:24;4995:5;4977:24;:::i;:::-;4972:3;4965:37;4890:118;;:::o;5014:222::-;5107:4;5145:2;5134:9;5130:18;5122:26;;5158:71;5226:1;5215:9;5211:17;5202:6;5158:71;:::i;:::-;5014:222;;;;:::o;5242:619::-;5319:6;5327;5335;5384:2;5372:9;5363:7;5359:23;5355:32;5352:119;;;5390:79;;:::i;:::-;5352:119;5510:1;5535:53;5580:7;5571:6;5560:9;5556:22;5535:53;:::i;:::-;5525:63;;5481:117;5637:2;5663:53;5708:7;5699:6;5688:9;5684:22;5663:53;:::i;:::-;5653:63;;5608:118;5765:2;5791:53;5836:7;5827:6;5816:9;5812:22;5791:53;:::i;:::-;5781:63;;5736:118;5242:619;;;;;:::o;5867:117::-;5976:1;5973;5966:12;5990:117;6099:1;6096;6089:12;6113:180;6161:77;6158:1;6151:88;6258:4;6255:1;6248:15;6282:4;6279:1;6272:15;6299:281;6382:27;6404:4;6382:27;:::i;:::-;6374:6;6370:40;6512:6;6500:10;6497:22;6476:18;6464:10;6461:34;6458:62;6455:88;;;6523:18;;:::i;:::-;6455:88;6563:10;6559:2;6552:22;6342:238;6299:281;;:::o;6586:129::-;6620:6;6647:20;;:::i;:::-;6637:30;;6676:33;6704:4;6696:6;6676:33;:::i;:::-;6586:129;;;:::o;6721:308::-;6783:4;6873:18;6865:6;6862:30;6859:56;;;6895:18;;:::i;:::-;6859:56;6933:29;6955:6;6933:29;:::i;:::-;6925:37;;7017:4;7011;7007:15;6999:23;;6721:308;;;:::o;7035:146::-;7132:6;7127:3;7122;7109:30;7173:1;7164:6;7159:3;7155:16;7148:27;7035:146;;;:::o;7187:425::-;7265:5;7290:66;7306:49;7348:6;7306:49;:::i;:::-;7290:66;:::i;:::-;7281:75;;7379:6;7372:5;7365:21;7417:4;7410:5;7406:16;7455:3;7446:6;7441:3;7437:16;7434:25;7431:112;;;7462:79;;:::i;:::-;7431:112;7552:54;7599:6;7594:3;7589;7552:54;:::i;:::-;7271:341;7187:425;;;;;:::o;7632:340::-;7688:5;7737:3;7730:4;7722:6;7718:17;7714:27;7704:122;;7745:79;;:::i;:::-;7704:122;7862:6;7849:20;7887:79;7962:3;7954:6;7947:4;7939:6;7935:17;7887:79;:::i;:::-;7878:88;;7694:278;7632:340;;;;:::o;7978:509::-;8047:6;8096:2;8084:9;8075:7;8071:23;8067:32;8064:119;;;8102:79;;:::i;:::-;8064:119;8250:1;8239:9;8235:17;8222:31;8280:18;8272:6;8269:30;8266:117;;;8302:79;;:::i;:::-;8266:117;8407:63;8462:7;8453:6;8442:9;8438:22;8407:63;:::i;:::-;8397:73;;8193:287;7978:509;;;;:::o;8493:329::-;8552:6;8601:2;8589:9;8580:7;8576:23;8572:32;8569:119;;;8607:79;;:::i;:::-;8569:119;8727:1;8752:53;8797:7;8788:6;8777:9;8773:22;8752:53;:::i;:::-;8742:63;;8698:117;8493:329;;;;:::o;8828:116::-;8898:21;8913:5;8898:21;:::i;:::-;8891:5;8888:32;8878:60;;8934:1;8931;8924:12;8878:60;8828:116;:::o;8950:133::-;8993:5;9031:6;9018:20;9009:29;;9047:30;9071:5;9047:30;:::i;:::-;8950:133;;;;:::o;9089:468::-;9154:6;9162;9211:2;9199:9;9190:7;9186:23;9182:32;9179:119;;;9217:79;;:::i;:::-;9179:119;9337:1;9362:53;9407:7;9398:6;9387:9;9383:22;9362:53;:::i;:::-;9352:63;;9308:117;9464:2;9490:50;9532:7;9523:6;9512:9;9508:22;9490:50;:::i;:::-;9480:60;;9435:115;9089:468;;;;;:::o;9563:307::-;9624:4;9714:18;9706:6;9703:30;9700:56;;;9736:18;;:::i;:::-;9700:56;9774:29;9796:6;9774:29;:::i;:::-;9766:37;;9858:4;9852;9848:15;9840:23;;9563:307;;;:::o;9876:423::-;9953:5;9978:65;9994:48;10035:6;9994:48;:::i;:::-;9978:65;:::i;:::-;9969:74;;10066:6;10059:5;10052:21;10104:4;10097:5;10093:16;10142:3;10133:6;10128:3;10124:16;10121:25;10118:112;;;10149:79;;:::i;:::-;10118:112;10239:54;10286:6;10281:3;10276;10239:54;:::i;:::-;9959:340;9876:423;;;;;:::o;10318:338::-;10373:5;10422:3;10415:4;10407:6;10403:17;10399:27;10389:122;;10430:79;;:::i;:::-;10389:122;10547:6;10534:20;10572:78;10646:3;10638:6;10631:4;10623:6;10619:17;10572:78;:::i;:::-;10563:87;;10379:277;10318:338;;;;:::o;10662:943::-;10757:6;10765;10773;10781;10830:3;10818:9;10809:7;10805:23;10801:33;10798:120;;;10837:79;;:::i;:::-;10798:120;10957:1;10982:53;11027:7;11018:6;11007:9;11003:22;10982:53;:::i;:::-;10972:63;;10928:117;11084:2;11110:53;11155:7;11146:6;11135:9;11131:22;11110:53;:::i;:::-;11100:63;;11055:118;11212:2;11238:53;11283:7;11274:6;11263:9;11259:22;11238:53;:::i;:::-;11228:63;;11183:118;11368:2;11357:9;11353:18;11340:32;11399:18;11391:6;11388:30;11385:117;;;11421:79;;:::i;:::-;11385:117;11526:62;11580:7;11571:6;11560:9;11556:22;11526:62;:::i;:::-;11516:72;;11311:287;10662:943;;;;;;;:::o;11611:474::-;11679:6;11687;11736:2;11724:9;11715:7;11711:23;11707:32;11704:119;;;11742:79;;:::i;:::-;11704:119;11862:1;11887:53;11932:7;11923:6;11912:9;11908:22;11887:53;:::i;:::-;11877:63;;11833:117;11989:2;12015:53;12060:7;12051:6;12040:9;12036:22;12015:53;:::i;:::-;12005:63;;11960:118;11611:474;;;;;:::o;12091:180::-;12139:77;12136:1;12129:88;12236:4;12233:1;12226:15;12260:4;12257:1;12250:15;12277:320;12321:6;12358:1;12352:4;12348:12;12338:22;;12405:1;12399:4;12395:12;12426:18;12416:81;;12482:4;12474:6;12470:17;12460:27;;12416:81;12544:2;12536:6;12533:14;12513:18;12510:38;12507:84;;12563:18;;:::i;:::-;12507:84;12328:269;12277:320;;;:::o;12603:147::-;12704:11;12741:3;12726:18;;12603:147;;;;:::o;12756:114::-;;:::o;12876:398::-;13035:3;13056:83;13137:1;13132:3;13056:83;:::i;:::-;13049:90;;13148:93;13237:3;13148:93;:::i;:::-;13266:1;13261:3;13257:11;13250:18;;12876:398;;;:::o;13280:379::-;13464:3;13486:147;13629:3;13486:147;:::i;:::-;13479:154;;13650:3;13643:10;;13280:379;;;:::o;13665:166::-;13805:18;13801:1;13793:6;13789:14;13782:42;13665:166;:::o;13837:366::-;13979:3;14000:67;14064:2;14059:3;14000:67;:::i;:::-;13993:74;;14076:93;14165:3;14076:93;:::i;:::-;14194:2;14189:3;14185:12;14178:19;;13837:366;;;:::o;14209:419::-;14375:4;14413:2;14402:9;14398:18;14390:26;;14462:9;14456:4;14452:20;14448:1;14437:9;14433:17;14426:47;14490:131;14616:4;14490:131;:::i;:::-;14482:139;;14209:419;;;:::o;14634:141::-;14683:4;14706:3;14698:11;;14729:3;14726:1;14719:14;14763:4;14760:1;14750:18;14742:26;;14634:141;;;:::o;14781:93::-;14818:6;14865:2;14860;14853:5;14849:14;14845:23;14835:33;;14781:93;;;:::o;14880:107::-;14924:8;14974:5;14968:4;14964:16;14943:37;;14880:107;;;;:::o;14993:393::-;15062:6;15112:1;15100:10;15096:18;15135:97;15165:66;15154:9;15135:97;:::i;:::-;15253:39;15283:8;15272:9;15253:39;:::i;:::-;15241:51;;15325:4;15321:9;15314:5;15310:21;15301:30;;15374:4;15364:8;15360:19;15353:5;15350:30;15340:40;;15069:317;;14993:393;;;;;:::o;15392:60::-;15420:3;15441:5;15434:12;;15392:60;;;:::o;15458:142::-;15508:9;15541:53;15559:34;15568:24;15586:5;15568:24;:::i;:::-;15559:34;:::i;:::-;15541:53;:::i;:::-;15528:66;;15458:142;;;:::o;15606:75::-;15649:3;15670:5;15663:12;;15606:75;;;:::o;15687:269::-;15797:39;15828:7;15797:39;:::i;:::-;15858:91;15907:41;15931:16;15907:41;:::i;:::-;15899:6;15892:4;15886:11;15858:91;:::i;:::-;15852:4;15845:105;15763:193;15687:269;;;:::o;15962:73::-;16007:3;15962:73;:::o;16041:189::-;16118:32;;:::i;:::-;16159:65;16217:6;16209;16203:4;16159:65;:::i;:::-;16094:136;16041:189;;:::o;16236:186::-;16296:120;16313:3;16306:5;16303:14;16296:120;;;16367:39;16404:1;16397:5;16367:39;:::i;:::-;16340:1;16333:5;16329:13;16320:22;;16296:120;;;16236:186;;:::o;16428:543::-;16529:2;16524:3;16521:11;16518:446;;;16563:38;16595:5;16563:38;:::i;:::-;16647:29;16665:10;16647:29;:::i;:::-;16637:8;16633:44;16830:2;16818:10;16815:18;16812:49;;;16851:8;16836:23;;16812:49;16874:80;16930:22;16948:3;16930:22;:::i;:::-;16920:8;16916:37;16903:11;16874:80;:::i;:::-;16533:431;;16518:446;16428:543;;;:::o;16977:117::-;17031:8;17081:5;17075:4;17071:16;17050:37;;16977:117;;;;:::o;17100:169::-;17144:6;17177:51;17225:1;17221:6;17213:5;17210:1;17206:13;17177:51;:::i;:::-;17173:56;17258:4;17252;17248:15;17238:25;;17151:118;17100:169;;;;:::o;17274:295::-;17350:4;17496:29;17521:3;17515:4;17496:29;:::i;:::-;17488:37;;17558:3;17555:1;17551:11;17545:4;17542:21;17534:29;;17274:295;;;;:::o;17574:1395::-;17691:37;17724:3;17691:37;:::i;:::-;17793:18;17785:6;17782:30;17779:56;;;17815:18;;:::i;:::-;17779:56;17859:38;17891:4;17885:11;17859:38;:::i;:::-;17944:67;18004:6;17996;17990:4;17944:67;:::i;:::-;18038:1;18062:4;18049:17;;18094:2;18086:6;18083:14;18111:1;18106:618;;;;18768:1;18785:6;18782:77;;;18834:9;18829:3;18825:19;18819:26;18810:35;;18782:77;18885:67;18945:6;18938:5;18885:67;:::i;:::-;18879:4;18872:81;18741:222;18076:887;;18106:618;18158:4;18154:9;18146:6;18142:22;18192:37;18224:4;18192:37;:::i;:::-;18251:1;18265:208;18279:7;18276:1;18273:14;18265:208;;;18358:9;18353:3;18349:19;18343:26;18335:6;18328:42;18409:1;18401:6;18397:14;18387:24;;18456:2;18445:9;18441:18;18428:31;;18302:4;18299:1;18295:12;18290:17;;18265:208;;;18501:6;18492:7;18489:19;18486:179;;;18559:9;18554:3;18550:19;18544:26;18602:48;18644:4;18636:6;18632:17;18621:9;18602:48;:::i;:::-;18594:6;18587:64;18509:156;18486:179;18711:1;18707;18699:6;18695:14;18691:22;18685:4;18678:36;18113:611;;;18076:887;;17666:1303;;;17574:1395;;:::o;18975:161::-;19115:13;19111:1;19103:6;19099:14;19092:37;18975:161;:::o;19142:366::-;19284:3;19305:67;19369:2;19364:3;19305:67;:::i;:::-;19298:74;;19381:93;19470:3;19381:93;:::i;:::-;19499:2;19494:3;19490:12;19483:19;;19142:366;;;:::o;19514:419::-;19680:4;19718:2;19707:9;19703:18;19695:26;;19767:9;19761:4;19757:20;19753:1;19742:9;19738:17;19731:47;19795:131;19921:4;19795:131;:::i;:::-;19787:139;;19514:419;;;:::o;19939:180::-;19987:77;19984:1;19977:88;20084:4;20081:1;20074:15;20108:4;20105:1;20098:15;20125:191;20165:3;20184:20;20202:1;20184:20;:::i;:::-;20179:25;;20218:20;20236:1;20218:20;:::i;:::-;20213:25;;20261:1;20258;20254:9;20247:16;;20282:3;20279:1;20276:10;20273:36;;;20289:18;;:::i;:::-;20273:36;20125:191;;;;:::o;20322:168::-;20462:20;20458:1;20450:6;20446:14;20439:44;20322:168;:::o;20496:366::-;20638:3;20659:67;20723:2;20718:3;20659:67;:::i;:::-;20652:74;;20735:93;20824:3;20735:93;:::i;:::-;20853:2;20848:3;20844:12;20837:19;;20496:366;;;:::o;20868:419::-;21034:4;21072:2;21061:9;21057:18;21049:26;;21121:9;21115:4;21111:20;21107:1;21096:9;21092:17;21085:47;21149:131;21275:4;21149:131;:::i;:::-;21141:139;;20868:419;;;:::o;21293:177::-;21433:29;21429:1;21421:6;21417:14;21410:53;21293:177;:::o;21476:366::-;21618:3;21639:67;21703:2;21698:3;21639:67;:::i;:::-;21632:74;;21715:93;21804:3;21715:93;:::i;:::-;21833:2;21828:3;21824:12;21817:19;;21476:366;;;:::o;21848:419::-;22014:4;22052:2;22041:9;22037:18;22029:26;;22101:9;22095:4;22091:20;22087:1;22076:9;22072:17;22065:47;22129:131;22255:4;22129:131;:::i;:::-;22121:139;;21848:419;;;:::o;22273:410::-;22313:7;22336:20;22354:1;22336:20;:::i;:::-;22331:25;;22370:20;22388:1;22370:20;:::i;:::-;22365:25;;22425:1;22422;22418:9;22447:30;22465:11;22447:30;:::i;:::-;22436:41;;22626:1;22617:7;22613:15;22610:1;22607:22;22587:1;22580:9;22560:83;22537:139;;22656:18;;:::i;:::-;22537:139;22321:362;22273:410;;;;:::o;22689:166::-;22829:18;22825:1;22817:6;22813:14;22806:42;22689:166;:::o;22861:366::-;23003:3;23024:67;23088:2;23083:3;23024:67;:::i;:::-;23017:74;;23100:93;23189:3;23100:93;:::i;:::-;23218:2;23213:3;23209:12;23202:19;;22861:366;;;:::o;23233:419::-;23399:4;23437:2;23426:9;23422:18;23414:26;;23486:9;23480:4;23476:20;23472:1;23461:9;23457:17;23450:47;23514:131;23640:4;23514:131;:::i;:::-;23506:139;;23233:419;;;:::o;23658:234::-;23798:34;23794:1;23786:6;23782:14;23775:58;23867:17;23862:2;23854:6;23850:15;23843:42;23658:234;:::o;23898:366::-;24040:3;24061:67;24125:2;24120:3;24061:67;:::i;:::-;24054:74;;24137:93;24226:3;24137:93;:::i;:::-;24255:2;24250:3;24246:12;24239:19;;23898:366;;;:::o;24270:419::-;24436:4;24474:2;24463:9;24459:18;24451:26;;24523:9;24517:4;24513:20;24509:1;24498:9;24494:17;24487:47;24551:131;24677:4;24551:131;:::i;:::-;24543:139;;24270:419;;;:::o;24695:148::-;24797:11;24834:3;24819:18;;24695:148;;;;:::o;24873:874::-;24976:3;25013:5;25007:12;25042:36;25068:9;25042:36;:::i;:::-;25094:89;25176:6;25171:3;25094:89;:::i;:::-;25087:96;;25214:1;25203:9;25199:17;25230:1;25225:166;;;;25405:1;25400:341;;;;25192:549;;25225:166;25309:4;25305:9;25294;25290:25;25285:3;25278:38;25371:6;25364:14;25357:22;25349:6;25345:35;25340:3;25336:45;25329:52;;25225:166;;25400:341;25467:38;25499:5;25467:38;:::i;:::-;25527:1;25541:154;25555:6;25552:1;25549:13;25541:154;;;25629:7;25623:14;25619:1;25614:3;25610:11;25603:35;25679:1;25670:7;25666:15;25655:26;;25577:4;25574:1;25570:12;25565:17;;25541:154;;;25724:6;25719:3;25715:16;25708:23;;25407:334;;25192:549;;24980:767;;24873:874;;;;:::o;25753:390::-;25859:3;25887:39;25920:5;25887:39;:::i;:::-;25942:89;26024:6;26019:3;25942:89;:::i;:::-;25935:96;;26040:65;26098:6;26093:3;26086:4;26079:5;26075:16;26040:65;:::i;:::-;26130:6;26125:3;26121:16;26114:23;;25863:280;25753:390;;;;:::o;26149:155::-;26289:7;26285:1;26277:6;26273:14;26266:31;26149:155;:::o;26310:400::-;26470:3;26491:84;26573:1;26568:3;26491:84;:::i;:::-;26484:91;;26584:93;26673:3;26584:93;:::i;:::-;26702:1;26697:3;26693:11;26686:18;;26310:400;;;:::o;26716:695::-;26994:3;27016:92;27104:3;27095:6;27016:92;:::i;:::-;27009:99;;27125:95;27216:3;27207:6;27125:95;:::i;:::-;27118:102;;27237:148;27381:3;27237:148;:::i;:::-;27230:155;;27402:3;27395:10;;26716:695;;;;;:::o;27417:225::-;27557:34;27553:1;27545:6;27541:14;27534:58;27626:8;27621:2;27613:6;27609:15;27602:33;27417:225;:::o;27648:366::-;27790:3;27811:67;27875:2;27870:3;27811:67;:::i;:::-;27804:74;;27887:93;27976:3;27887:93;:::i;:::-;28005:2;28000:3;27996:12;27989:19;;27648:366;;;:::o;28020:419::-;28186:4;28224:2;28213:9;28209:18;28201:26;;28273:9;28267:4;28263:20;28259:1;28248:9;28244:17;28237:47;28301:131;28427:4;28301:131;:::i;:::-;28293:139;;28020:419;;;:::o;28445:182::-;28585:34;28581:1;28573:6;28569:14;28562:58;28445:182;:::o;28633:366::-;28775:3;28796:67;28860:2;28855:3;28796:67;:::i;:::-;28789:74;;28872:93;28961:3;28872:93;:::i;:::-;28990:2;28985:3;28981:12;28974:19;;28633:366;;;:::o;29005:419::-;29171:4;29209:2;29198:9;29194:18;29186:26;;29258:9;29252:4;29248:20;29244:1;29233:9;29229:17;29222:47;29286:131;29412:4;29286:131;:::i;:::-;29278:139;;29005:419;;;:::o;29430:98::-;29481:6;29515:5;29509:12;29499:22;;29430:98;;;:::o;29534:168::-;29617:11;29651:6;29646:3;29639:19;29691:4;29686:3;29682:14;29667:29;;29534:168;;;;:::o;29708:373::-;29794:3;29822:38;29854:5;29822:38;:::i;:::-;29876:70;29939:6;29934:3;29876:70;:::i;:::-;29869:77;;29955:65;30013:6;30008:3;30001:4;29994:5;29990:16;29955:65;:::i;:::-;30045:29;30067:6;30045:29;:::i;:::-;30040:3;30036:39;30029:46;;29798:283;29708:373;;;;:::o;30087:640::-;30282:4;30320:3;30309:9;30305:19;30297:27;;30334:71;30402:1;30391:9;30387:17;30378:6;30334:71;:::i;:::-;30415:72;30483:2;30472:9;30468:18;30459:6;30415:72;:::i;:::-;30497;30565:2;30554:9;30550:18;30541:6;30497:72;:::i;:::-;30616:9;30610:4;30606:20;30601:2;30590:9;30586:18;30579:48;30644:76;30715:4;30706:6;30644:76;:::i;:::-;30636:84;;30087:640;;;;;;;:::o;30733:141::-;30789:5;30820:6;30814:13;30805:22;;30836:32;30862:5;30836:32;:::i;:::-;30733:141;;;;:::o;30880:349::-;30949:6;30998:2;30986:9;30977:7;30973:23;30969:32;30966:119;;;31004:79;;:::i;:::-;30966:119;31124:1;31149:63;31204:7;31195:6;31184:9;31180:22;31149:63;:::i;:::-;31139:73;;31095:127;30880:349;;;;:::o;31235:180::-;31283:77;31280:1;31273:88;31380:4;31377:1;31370:15;31404:4;31401:1;31394:15
Swarm Source
ipfs://7b533ac170c2d9f82124e491cbfd9a89f0d2bff8c5cd9cb6e78ad9da459c25a5
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.