ERC-721
Overview
Max Total Supply
246 SPC
Holders
112
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
2 SPCLoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
SPACEByAnon
Compiler Version
v0.8.7+commit.e28d00a7
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2022-12-06 */ // SPDX-License-Identifier: MIT // 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.7.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: 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; /** * @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/token/ERC721/extensions/IERC721Metadata.sol // OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/IERC721Metadata.sol) pragma solidity ^0.8.0; /** * @title ERC-721 Non-Fungible Token Standard, optional metadata extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Metadata is IERC721 { /** * @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); } // File: @openzeppelin/contracts/utils/introspection/ERC165.sol // OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol) pragma solidity ^0.8.0; /** * @dev Implementation of the {IERC165} interface. * * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check * for the additional interface id that will be supported. For example: * * ```solidity * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { * return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId); * } * ``` * * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation. */ abstract contract ERC165 is IERC165 { /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IERC165).interfaceId; } } // File: @openzeppelin/contracts/token/ERC721/IERC721Receiver.sol // OpenZeppelin Contracts (last updated v4.6.0) (token/ERC721/IERC721Receiver.sol) pragma solidity ^0.8.0; /** * @title ERC721 token receiver interface * @dev Interface for any contract that wants to support safeTransfers * from ERC721 asset contracts. */ interface IERC721Receiver { /** * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom} * by `operator` from `from`, this function is called. * * It must return its Solidity selector to confirm the token transfer. * If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted. * * The selector can be obtained in Solidity with `IERC721Receiver.onERC721Received.selector`. */ function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); } // File: @openzeppelin/contracts/utils/Address.sol // OpenZeppelin Contracts (last updated v4.7.0) (utils/Address.sol) pragma solidity ^0.8.1; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== * * [IMPORTANT] * ==== * You shouldn't rely on `isContract` to protect against flash loan attacks! * * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract * constructor. * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize/address.code.length, which returns 0 // for contracts in construction, since the code is only stored at the end // of the constructor execution. return account.code.length > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); (bool success, ) = recipient.call{value: amount}(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain `call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCall(target, data, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value ) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value, string memory errorMessage ) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); require(isContract(target), "Address: call to non-contract"); (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall( address target, bytes memory data, string memory errorMessage ) internal view returns (bytes memory) { require(isContract(target), "Address: static call to non-contract"); (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { require(isContract(target), "Address: delegate call to non-contract"); (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason using the provided one. * * _Available since v4.3._ */ function verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) internal pure returns (bytes memory) { if (success) { return returndata; } else { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly /// @solidity memory-safe-assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } } // 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: @openzeppelin/contracts/utils/Strings.sol // OpenZeppelin Contracts (last updated v4.7.0) (utils/Strings.sol) pragma solidity ^0.8.0; /** * @dev String operations. */ library Strings { bytes16 private constant _HEX_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) { // Inspired by OraclizeAPI's implementation - MIT licence // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol if (value == 0) { return "0"; } uint256 temp = value; uint256 digits; while (temp != 0) { digits++; temp /= 10; } bytes memory buffer = new bytes(digits); while (value != 0) { digits -= 1; buffer[digits] = bytes1(uint8(48 + uint256(value % 10))); value /= 10; } return string(buffer); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { if (value == 0) { return "0x00"; } uint256 temp = value; uint256 length = 0; while (temp != 0) { length++; temp >>= 8; } return toHexString(value, length); } /** * @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] = _HEX_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: erc721a/contracts/IERC721A.sol // ERC721A Contracts v4.2.3 // Creator: Chiru Labs pragma solidity ^0.8.4; /** * @dev Interface of ERC721A. */ interface IERC721A { /** * The caller must own the token or be an approved operator. */ error ApprovalCallerNotOwnerNorApproved(); /** * The token does not exist. */ error ApprovalQueryForNonexistentToken(); /** * Cannot query the balance for the zero address. */ error BalanceQueryForZeroAddress(); /** * Cannot mint to the zero address. */ error MintToZeroAddress(); /** * The quantity of tokens minted must be more than zero. */ error MintZeroQuantity(); /** * The token does not exist. */ error OwnerQueryForNonexistentToken(); /** * The caller must own the token or be an approved operator. */ error TransferCallerNotOwnerNorApproved(); /** * The token must be owned by `from`. */ error TransferFromIncorrectOwner(); /** * Cannot safely transfer to a contract that does not implement the * ERC721Receiver interface. */ error TransferToNonERC721ReceiverImplementer(); /** * Cannot transfer to the zero address. */ error TransferToZeroAddress(); /** * The token does not exist. */ error URIQueryForNonexistentToken(); /** * The `quantity` minted with ERC2309 exceeds the safety limit. */ error MintERC2309QuantityExceedsLimit(); /** * The `extraData` cannot be set on an unintialized ownership slot. */ error OwnershipNotInitializedForExtraData(); // ============================================================= // STRUCTS // ============================================================= struct TokenOwnership { // The address of the owner. address addr; // Stores the start time of ownership with minimal overhead for tokenomics. uint64 startTimestamp; // Whether the token has been burned. bool burned; // Arbitrary data similar to `startTimestamp` that can be set via {_extraData}. uint24 extraData; } // ============================================================= // TOKEN COUNTERS // ============================================================= /** * @dev Returns the total number of tokens in existence. * Burned tokens will reduce the count. * To get the total number of tokens minted, please see {_totalMinted}. */ function totalSupply() external view returns (uint256); // ============================================================= // IERC165 // ============================================================= /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * [EIP section](https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified) * to learn more about how these ids are created. * * This function call must use less than 30000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); // ============================================================= // IERC721 // ============================================================= /** * @dev Emitted when `tokenId` token is transferred from `from` to `to`. */ event Transfer(address indexed from, address indexed to, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token. */ event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables or disables * (`approved`) `operator` to manage all of its assets. */ event ApprovalForAll(address indexed owner, address indexed operator, bool approved); /** * @dev Returns the number of tokens in `owner`'s account. */ function balanceOf(address owner) external view returns (uint256 balance); /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) external view returns (address owner); /** * @dev Safely transfers `tokenId` token from `from` to `to`, * checking first that contract recipients are aware of the ERC721 protocol * to prevent tokens from being forever locked. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be have been allowed to move * this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement * {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes calldata data ) external payable; /** * @dev Equivalent to `safeTransferFrom(from, to, tokenId, '')`. */ function safeTransferFrom( address from, address to, uint256 tokenId ) external payable; /** * @dev Transfers `tokenId` from `from` to `to`. * * WARNING: Usage of this method is discouraged, use {safeTransferFrom} * whenever possible. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token * by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 tokenId ) external payable; /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the * zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) external payable; /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} * for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool _approved) external; /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll}. */ function isApprovedForAll(address owner, address operator) external view returns (bool); // ============================================================= // IERC721Metadata // ============================================================= /** * @dev Returns the token collection name. */ function name() external view returns (string memory); /** * @dev Returns the token collection symbol. */ function symbol() external view returns (string memory); /** * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token. */ function tokenURI(uint256 tokenId) external view returns (string memory); // ============================================================= // IERC2309 // ============================================================= /** * @dev Emitted when tokens in `fromTokenId` to `toTokenId` * (inclusive) is transferred from `from` to `to`, as defined in the * [ERC2309](https://eips.ethereum.org/EIPS/eip-2309) standard. * * See {_mintERC2309} for more details. */ event ConsecutiveTransfer(uint256 indexed fromTokenId, uint256 toTokenId, address indexed from, address indexed to); } // File: erc721a/contracts/ERC721A.sol // ERC721A Contracts v4.2.3 // Creator: Chiru Labs pragma solidity ^0.8.4; /** * @dev Interface of ERC721 token receiver. */ interface ERC721A__IERC721Receiver { function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); } /** * @title ERC721A * * @dev Implementation of the [ERC721](https://eips.ethereum.org/EIPS/eip-721) * Non-Fungible Token Standard, including the Metadata extension. * Optimized for lower gas during batch mints. * * Token IDs are minted in sequential order (e.g. 0, 1, 2, 3, ...) * starting from `_startTokenId()`. * * Assumptions: * * - An owner cannot have more than 2**64 - 1 (max value of uint64) of supply. * - The maximum token ID cannot exceed 2**256 - 1 (max value of uint256). */ contract ERC721A is IERC721A { // Bypass for a `--via-ir` bug (https://github.com/chiru-labs/ERC721A/pull/364). struct TokenApprovalRef { address value; } // ============================================================= // CONSTANTS // ============================================================= // Mask of an entry in packed address data. uint256 private constant _BITMASK_ADDRESS_DATA_ENTRY = (1 << 64) - 1; // The bit position of `numberMinted` in packed address data. uint256 private constant _BITPOS_NUMBER_MINTED = 64; // The bit position of `numberBurned` in packed address data. uint256 private constant _BITPOS_NUMBER_BURNED = 128; // The bit position of `aux` in packed address data. uint256 private constant _BITPOS_AUX = 192; // Mask of all 256 bits in packed address data except the 64 bits for `aux`. uint256 private constant _BITMASK_AUX_COMPLEMENT = (1 << 192) - 1; // The bit position of `startTimestamp` in packed ownership. uint256 private constant _BITPOS_START_TIMESTAMP = 160; // The bit mask of the `burned` bit in packed ownership. uint256 private constant _BITMASK_BURNED = 1 << 224; // The bit position of the `nextInitialized` bit in packed ownership. uint256 private constant _BITPOS_NEXT_INITIALIZED = 225; // The bit mask of the `nextInitialized` bit in packed ownership. uint256 private constant _BITMASK_NEXT_INITIALIZED = 1 << 225; // The bit position of `extraData` in packed ownership. uint256 private constant _BITPOS_EXTRA_DATA = 232; // Mask of all 256 bits in a packed ownership except the 24 bits for `extraData`. uint256 private constant _BITMASK_EXTRA_DATA_COMPLEMENT = (1 << 232) - 1; // The mask of the lower 160 bits for addresses. uint256 private constant _BITMASK_ADDRESS = (1 << 160) - 1; // The maximum `quantity` that can be minted with {_mintERC2309}. // This limit is to prevent overflows on the address data entries. // For a limit of 5000, a total of 3.689e15 calls to {_mintERC2309} // is required to cause an overflow, which is unrealistic. uint256 private constant _MAX_MINT_ERC2309_QUANTITY_LIMIT = 5000; // The `Transfer` event signature is given by: // `keccak256(bytes("Transfer(address,address,uint256)"))`. bytes32 private constant _TRANSFER_EVENT_SIGNATURE = 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef; // ============================================================= // STORAGE // ============================================================= // The next token ID to be minted. uint256 private _currentIndex; // The number of tokens burned. uint256 private _burnCounter; // Token name string private _name; // Token symbol string private _symbol; // Mapping from token ID to ownership details // An empty struct value does not necessarily mean the token is unowned. // See {_packedOwnershipOf} implementation for details. // // Bits Layout: // - [0..159] `addr` // - [160..223] `startTimestamp` // - [224] `burned` // - [225] `nextInitialized` // - [232..255] `extraData` mapping(uint256 => uint256) private _packedOwnerships; // Mapping owner address to address data. // // Bits Layout: // - [0..63] `balance` // - [64..127] `numberMinted` // - [128..191] `numberBurned` // - [192..255] `aux` mapping(address => uint256) private _packedAddressData; // Mapping from token ID to approved address. mapping(uint256 => TokenApprovalRef) private _tokenApprovals; // Mapping from owner to operator approvals mapping(address => mapping(address => bool)) private _operatorApprovals; // ============================================================= // CONSTRUCTOR // ============================================================= constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; _currentIndex = _startTokenId(); } // ============================================================= // TOKEN COUNTING OPERATIONS // ============================================================= /** * @dev Returns the starting token ID. * To change the starting token ID, please override this function. */ function _startTokenId() internal view virtual returns (uint256) { return 0; } /** * @dev Returns the next token ID to be minted. */ function _nextTokenId() internal view virtual returns (uint256) { return _currentIndex; } /** * @dev Returns the total number of tokens in existence. * Burned tokens will reduce the count. * To get the total number of tokens minted, please see {_totalMinted}. */ function totalSupply() public view virtual override returns (uint256) { // Counter underflow is impossible as _burnCounter cannot be incremented // more than `_currentIndex - _startTokenId()` times. unchecked { return _currentIndex - _burnCounter - _startTokenId(); } } /** * @dev Returns the total amount of tokens minted in the contract. */ function _totalMinted() internal view virtual returns (uint256) { // Counter underflow is impossible as `_currentIndex` does not decrement, // and it is initialized to `_startTokenId()`. unchecked { return _currentIndex - _startTokenId(); } } /** * @dev Returns the total number of tokens burned. */ function _totalBurned() internal view virtual returns (uint256) { return _burnCounter; } // ============================================================= // ADDRESS DATA OPERATIONS // ============================================================= /** * @dev Returns the number of tokens in `owner`'s account. */ function balanceOf(address owner) public view virtual override returns (uint256) { if (owner == address(0)) revert BalanceQueryForZeroAddress(); return _packedAddressData[owner] & _BITMASK_ADDRESS_DATA_ENTRY; } /** * Returns the number of tokens minted by `owner`. */ function _numberMinted(address owner) internal view returns (uint256) { return (_packedAddressData[owner] >> _BITPOS_NUMBER_MINTED) & _BITMASK_ADDRESS_DATA_ENTRY; } /** * Returns the number of tokens burned by or on behalf of `owner`. */ function _numberBurned(address owner) internal view returns (uint256) { return (_packedAddressData[owner] >> _BITPOS_NUMBER_BURNED) & _BITMASK_ADDRESS_DATA_ENTRY; } /** * Returns the auxiliary data for `owner`. (e.g. number of whitelist mint slots used). */ function _getAux(address owner) internal view returns (uint64) { return uint64(_packedAddressData[owner] >> _BITPOS_AUX); } /** * Sets the auxiliary data for `owner`. (e.g. number of whitelist mint slots used). * If there are multiple variables, please pack them into a uint64. */ function _setAux(address owner, uint64 aux) internal virtual { uint256 packed = _packedAddressData[owner]; uint256 auxCasted; // Cast `aux` with assembly to avoid redundant masking. assembly { auxCasted := aux } packed = (packed & _BITMASK_AUX_COMPLEMENT) | (auxCasted << _BITPOS_AUX); _packedAddressData[owner] = packed; } // ============================================================= // IERC165 // ============================================================= /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * [EIP section](https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified) * to learn more about how these ids are created. * * This function call must use less than 30000 gas. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { // The interface IDs are constants representing the first 4 bytes // of the XOR of all function selectors in the interface. // See: [ERC165](https://eips.ethereum.org/EIPS/eip-165) // (e.g. `bytes4(i.functionA.selector ^ i.functionB.selector ^ ...)`) return interfaceId == 0x01ffc9a7 || // ERC165 interface ID for ERC165. interfaceId == 0x80ac58cd || // ERC165 interface ID for ERC721. interfaceId == 0x5b5e139f; // ERC165 interface ID for ERC721Metadata. } // ============================================================= // IERC721Metadata // ============================================================= /** * @dev Returns the token collection name. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev Returns the token collection symbol. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token. */ function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { if (!_exists(tokenId)) revert URIQueryForNonexistentToken(); string memory baseURI = _baseURI(); return bytes(baseURI).length != 0 ? string(abi.encodePacked(baseURI, _toString(tokenId))) : ''; } /** * @dev Base URI for computing {tokenURI}. If set, the resulting URI for each * token will be the concatenation of the `baseURI` and the `tokenId`. Empty * by default, it can be overridden in child contracts. */ function _baseURI() internal view virtual returns (string memory) { return ''; } // ============================================================= // OWNERSHIPS OPERATIONS // ============================================================= /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) public view virtual override returns (address) { return address(uint160(_packedOwnershipOf(tokenId))); } /** * @dev Gas spent here starts off proportional to the maximum mint batch size. * It gradually moves to O(1) as tokens get transferred around over time. */ function _ownershipOf(uint256 tokenId) internal view virtual returns (TokenOwnership memory) { return _unpackedOwnership(_packedOwnershipOf(tokenId)); } /** * @dev Returns the unpacked `TokenOwnership` struct at `index`. */ function _ownershipAt(uint256 index) internal view virtual returns (TokenOwnership memory) { return _unpackedOwnership(_packedOwnerships[index]); } /** * @dev Initializes the ownership slot minted at `index` for efficiency purposes. */ function _initializeOwnershipAt(uint256 index) internal virtual { if (_packedOwnerships[index] == 0) { _packedOwnerships[index] = _packedOwnershipOf(index); } } /** * Returns the packed ownership data of `tokenId`. */ function _packedOwnershipOf(uint256 tokenId) private view returns (uint256) { uint256 curr = tokenId; unchecked { if (_startTokenId() <= curr) if (curr < _currentIndex) { uint256 packed = _packedOwnerships[curr]; // If not burned. if (packed & _BITMASK_BURNED == 0) { // Invariant: // There will always be an initialized ownership slot // (i.e. `ownership.addr != address(0) && ownership.burned == false`) // before an unintialized ownership slot // (i.e. `ownership.addr == address(0) && ownership.burned == false`) // Hence, `curr` will not underflow. // // We can directly compare the packed value. // If the address is zero, packed will be zero. while (packed == 0) { packed = _packedOwnerships[--curr]; } return packed; } } } revert OwnerQueryForNonexistentToken(); } /** * @dev Returns the unpacked `TokenOwnership` struct from `packed`. */ function _unpackedOwnership(uint256 packed) private pure returns (TokenOwnership memory ownership) { ownership.addr = address(uint160(packed)); ownership.startTimestamp = uint64(packed >> _BITPOS_START_TIMESTAMP); ownership.burned = packed & _BITMASK_BURNED != 0; ownership.extraData = uint24(packed >> _BITPOS_EXTRA_DATA); } /** * @dev Packs ownership data into a single uint256. */ function _packOwnershipData(address owner, uint256 flags) private view returns (uint256 result) { assembly { // Mask `owner` to the lower 160 bits, in case the upper bits somehow aren't clean. owner := and(owner, _BITMASK_ADDRESS) // `owner | (block.timestamp << _BITPOS_START_TIMESTAMP) | flags`. result := or(owner, or(shl(_BITPOS_START_TIMESTAMP, timestamp()), flags)) } } /** * @dev Returns the `nextInitialized` flag set if `quantity` equals 1. */ function _nextInitializedFlag(uint256 quantity) private pure returns (uint256 result) { // For branchless setting of the `nextInitialized` flag. assembly { // `(quantity == 1) << _BITPOS_NEXT_INITIALIZED`. result := shl(_BITPOS_NEXT_INITIALIZED, eq(quantity, 1)) } } // ============================================================= // APPROVAL OPERATIONS // ============================================================= /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the * zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) public payable virtual override { address owner = ownerOf(tokenId); if (_msgSenderERC721A() != owner) if (!isApprovedForAll(owner, _msgSenderERC721A())) { revert ApprovalCallerNotOwnerNorApproved(); } _tokenApprovals[tokenId].value = to; emit Approval(owner, to, tokenId); } /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) public view virtual override returns (address) { if (!_exists(tokenId)) revert ApprovalQueryForNonexistentToken(); return _tokenApprovals[tokenId].value; } /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} * for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool approved) public virtual override { _operatorApprovals[_msgSenderERC721A()][operator] = approved; emit ApprovalForAll(_msgSenderERC721A(), operator, approved); } /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll}. */ function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) { return _operatorApprovals[owner][operator]; } /** * @dev Returns whether `tokenId` exists. * * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}. * * Tokens start existing when they are minted. See {_mint}. */ function _exists(uint256 tokenId) internal view virtual returns (bool) { return _startTokenId() <= tokenId && tokenId < _currentIndex && // If within bounds, _packedOwnerships[tokenId] & _BITMASK_BURNED == 0; // and not burned. } /** * @dev Returns whether `msgSender` is equal to `approvedAddress` or `owner`. */ function _isSenderApprovedOrOwner( address approvedAddress, address owner, address msgSender ) private pure returns (bool result) { assembly { // Mask `owner` to the lower 160 bits, in case the upper bits somehow aren't clean. owner := and(owner, _BITMASK_ADDRESS) // Mask `msgSender` to the lower 160 bits, in case the upper bits somehow aren't clean. msgSender := and(msgSender, _BITMASK_ADDRESS) // `msgSender == owner || msgSender == approvedAddress`. result := or(eq(msgSender, owner), eq(msgSender, approvedAddress)) } } /** * @dev Returns the storage slot and value for the approved address of `tokenId`. */ function _getApprovedSlotAndAddress(uint256 tokenId) private view returns (uint256 approvedAddressSlot, address approvedAddress) { TokenApprovalRef storage tokenApproval = _tokenApprovals[tokenId]; // The following is equivalent to `approvedAddress = _tokenApprovals[tokenId].value`. assembly { approvedAddressSlot := tokenApproval.slot approvedAddress := sload(approvedAddressSlot) } } // ============================================================= // TRANSFER OPERATIONS // ============================================================= /** * @dev Transfers `tokenId` from `from` to `to`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token * by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 tokenId ) public payable virtual override { uint256 prevOwnershipPacked = _packedOwnershipOf(tokenId); if (address(uint160(prevOwnershipPacked)) != from) revert TransferFromIncorrectOwner(); (uint256 approvedAddressSlot, address approvedAddress) = _getApprovedSlotAndAddress(tokenId); // The nested ifs save around 20+ gas over a compound boolean condition. if (!_isSenderApprovedOrOwner(approvedAddress, from, _msgSenderERC721A())) if (!isApprovedForAll(from, _msgSenderERC721A())) revert TransferCallerNotOwnerNorApproved(); if (to == address(0)) revert TransferToZeroAddress(); _beforeTokenTransfers(from, to, tokenId, 1); // Clear approvals from the previous owner. assembly { if approvedAddress { // This is equivalent to `delete _tokenApprovals[tokenId]`. sstore(approvedAddressSlot, 0) } } // Underflow of the sender's balance is impossible because we check for // ownership above and the recipient's balance can't realistically overflow. // Counter overflow is incredibly unrealistic as `tokenId` would have to be 2**256. unchecked { // We can directly increment and decrement the balances. --_packedAddressData[from]; // Updates: `balance -= 1`. ++_packedAddressData[to]; // Updates: `balance += 1`. // Updates: // - `address` to the next owner. // - `startTimestamp` to the timestamp of transfering. // - `burned` to `false`. // - `nextInitialized` to `true`. _packedOwnerships[tokenId] = _packOwnershipData( to, _BITMASK_NEXT_INITIALIZED | _nextExtraData(from, to, prevOwnershipPacked) ); // If the next slot may not have been initialized (i.e. `nextInitialized == false`) . if (prevOwnershipPacked & _BITMASK_NEXT_INITIALIZED == 0) { uint256 nextTokenId = tokenId + 1; // If the next slot's address is zero and not burned (i.e. packed value is zero). if (_packedOwnerships[nextTokenId] == 0) { // If the next slot is within bounds. if (nextTokenId != _currentIndex) { // Initialize the next slot to maintain correctness for `ownerOf(tokenId + 1)`. _packedOwnerships[nextTokenId] = prevOwnershipPacked; } } } } emit Transfer(from, to, tokenId); _afterTokenTransfers(from, to, tokenId, 1); } /** * @dev Equivalent to `safeTransferFrom(from, to, tokenId, '')`. */ function safeTransferFrom( address from, address to, uint256 tokenId ) public payable virtual override { safeTransferFrom(from, to, tokenId, ''); } /** * @dev Safely transfers `tokenId` token from `from` to `to`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be approved to move this token * by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement * {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes memory _data ) public payable virtual override { transferFrom(from, to, tokenId); if (to.code.length != 0) if (!_checkContractOnERC721Received(from, to, tokenId, _data)) { revert TransferToNonERC721ReceiverImplementer(); } } /** * @dev Hook that is called before a set of serially-ordered token IDs * are about to be transferred. This includes minting. * And also called before burning one token. * * `startTokenId` - the first token ID to be transferred. * `quantity` - the amount to be transferred. * * Calling conditions: * * - When `from` and `to` are both non-zero, `from`'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, `tokenId` will be burned by `from`. * - `from` and `to` are never both zero. */ function _beforeTokenTransfers( address from, address to, uint256 startTokenId, uint256 quantity ) internal virtual {} /** * @dev Hook that is called after a set of serially-ordered token IDs * have been transferred. This includes minting. * And also called after one token has been burned. * * `startTokenId` - the first token ID to be transferred. * `quantity` - the amount to be transferred. * * Calling conditions: * * - When `from` and `to` are both non-zero, `from`'s `tokenId` has been * transferred to `to`. * - When `from` is zero, `tokenId` has been minted for `to`. * - When `to` is zero, `tokenId` has been burned by `from`. * - `from` and `to` are never both zero. */ function _afterTokenTransfers( address from, address to, uint256 startTokenId, uint256 quantity ) internal virtual {} /** * @dev Private function to invoke {IERC721Receiver-onERC721Received} on a target contract. * * `from` - Previous owner of the given token ID. * `to` - Target address that will receive the token. * `tokenId` - Token ID to be transferred. * `_data` - Optional data to send along with the call. * * Returns whether the call correctly returned the expected magic value. */ function _checkContractOnERC721Received( address from, address to, uint256 tokenId, bytes memory _data ) private returns (bool) { try ERC721A__IERC721Receiver(to).onERC721Received(_msgSenderERC721A(), from, tokenId, _data) returns ( bytes4 retval ) { return retval == ERC721A__IERC721Receiver(to).onERC721Received.selector; } catch (bytes memory reason) { if (reason.length == 0) { revert TransferToNonERC721ReceiverImplementer(); } else { assembly { revert(add(32, reason), mload(reason)) } } } } // ============================================================= // MINT OPERATIONS // ============================================================= /** * @dev Mints `quantity` tokens and transfers them to `to`. * * Requirements: * * - `to` cannot be the zero address. * - `quantity` must be greater than 0. * * Emits a {Transfer} event for each mint. */ function _mint(address to, uint256 quantity) internal virtual { uint256 startTokenId = _currentIndex; if (quantity == 0) revert MintZeroQuantity(); _beforeTokenTransfers(address(0), to, startTokenId, quantity); // Overflows are incredibly unrealistic. // `balance` and `numberMinted` have a maximum limit of 2**64. // `tokenId` has a maximum limit of 2**256. unchecked { // Updates: // - `balance += quantity`. // - `numberMinted += quantity`. // // We can directly add to the `balance` and `numberMinted`. _packedAddressData[to] += quantity * ((1 << _BITPOS_NUMBER_MINTED) | 1); // Updates: // - `address` to the owner. // - `startTimestamp` to the timestamp of minting. // - `burned` to `false`. // - `nextInitialized` to `quantity == 1`. _packedOwnerships[startTokenId] = _packOwnershipData( to, _nextInitializedFlag(quantity) | _nextExtraData(address(0), to, 0) ); uint256 toMasked; uint256 end = startTokenId + quantity; // Use assembly to loop and emit the `Transfer` event for gas savings. // The duplicated `log4` removes an extra check and reduces stack juggling. // The assembly, together with the surrounding Solidity code, have been // delicately arranged to nudge the compiler into producing optimized opcodes. assembly { // Mask `to` to the lower 160 bits, in case the upper bits somehow aren't clean. toMasked := and(to, _BITMASK_ADDRESS) // Emit the `Transfer` event. log4( 0, // Start of data (0, since no data). 0, // End of data (0, since no data). _TRANSFER_EVENT_SIGNATURE, // Signature. 0, // `address(0)`. toMasked, // `to`. startTokenId // `tokenId`. ) // The `iszero(eq(,))` check ensures that large values of `quantity` // that overflows uint256 will make the loop run out of gas. // The compiler will optimize the `iszero` away for performance. for { let tokenId := add(startTokenId, 1) } iszero(eq(tokenId, end)) { tokenId := add(tokenId, 1) } { // Emit the `Transfer` event. Similar to above. log4(0, 0, _TRANSFER_EVENT_SIGNATURE, 0, toMasked, tokenId) } } if (toMasked == 0) revert MintToZeroAddress(); _currentIndex = end; } _afterTokenTransfers(address(0), to, startTokenId, quantity); } /** * @dev Mints `quantity` tokens and transfers them to `to`. * * This function is intended for efficient minting only during contract creation. * * It emits only one {ConsecutiveTransfer} as defined in * [ERC2309](https://eips.ethereum.org/EIPS/eip-2309), * instead of a sequence of {Transfer} event(s). * * Calling this function outside of contract creation WILL make your contract * non-compliant with the ERC721 standard. * For full ERC721 compliance, substituting ERC721 {Transfer} event(s) with the ERC2309 * {ConsecutiveTransfer} event is only permissible during contract creation. * * Requirements: * * - `to` cannot be the zero address. * - `quantity` must be greater than 0. * * Emits a {ConsecutiveTransfer} event. */ function _mintERC2309(address to, uint256 quantity) internal virtual { uint256 startTokenId = _currentIndex; if (to == address(0)) revert MintToZeroAddress(); if (quantity == 0) revert MintZeroQuantity(); if (quantity > _MAX_MINT_ERC2309_QUANTITY_LIMIT) revert MintERC2309QuantityExceedsLimit(); _beforeTokenTransfers(address(0), to, startTokenId, quantity); // Overflows are unrealistic due to the above check for `quantity` to be below the limit. unchecked { // Updates: // - `balance += quantity`. // - `numberMinted += quantity`. // // We can directly add to the `balance` and `numberMinted`. _packedAddressData[to] += quantity * ((1 << _BITPOS_NUMBER_MINTED) | 1); // Updates: // - `address` to the owner. // - `startTimestamp` to the timestamp of minting. // - `burned` to `false`. // - `nextInitialized` to `quantity == 1`. _packedOwnerships[startTokenId] = _packOwnershipData( to, _nextInitializedFlag(quantity) | _nextExtraData(address(0), to, 0) ); emit ConsecutiveTransfer(startTokenId, startTokenId + quantity - 1, address(0), to); _currentIndex = startTokenId + quantity; } _afterTokenTransfers(address(0), to, startTokenId, quantity); } /** * @dev Safely mints `quantity` tokens and transfers them to `to`. * * Requirements: * * - If `to` refers to a smart contract, it must implement * {IERC721Receiver-onERC721Received}, which is called for each safe transfer. * - `quantity` must be greater than 0. * * See {_mint}. * * Emits a {Transfer} event for each mint. */ function _safeMint( address to, uint256 quantity, bytes memory _data ) internal virtual { _mint(to, quantity); unchecked { if (to.code.length != 0) { uint256 end = _currentIndex; uint256 index = end - quantity; do { if (!_checkContractOnERC721Received(address(0), to, index++, _data)) { revert TransferToNonERC721ReceiverImplementer(); } } while (index < end); // Reentrancy protection. if (_currentIndex != end) revert(); } } } /** * @dev Equivalent to `_safeMint(to, quantity, '')`. */ function _safeMint(address to, uint256 quantity) internal virtual { _safeMint(to, quantity, ''); } // ============================================================= // BURN OPERATIONS // ============================================================= /** * @dev Equivalent to `_burn(tokenId, false)`. */ function _burn(uint256 tokenId) internal virtual { _burn(tokenId, false); } /** * @dev Destroys `tokenId`. * The approval is cleared when the token is burned. * * Requirements: * * - `tokenId` must exist. * * Emits a {Transfer} event. */ function _burn(uint256 tokenId, bool approvalCheck) internal virtual { uint256 prevOwnershipPacked = _packedOwnershipOf(tokenId); address from = address(uint160(prevOwnershipPacked)); (uint256 approvedAddressSlot, address approvedAddress) = _getApprovedSlotAndAddress(tokenId); if (approvalCheck) { // The nested ifs save around 20+ gas over a compound boolean condition. if (!_isSenderApprovedOrOwner(approvedAddress, from, _msgSenderERC721A())) if (!isApprovedForAll(from, _msgSenderERC721A())) revert TransferCallerNotOwnerNorApproved(); } _beforeTokenTransfers(from, address(0), tokenId, 1); // Clear approvals from the previous owner. assembly { if approvedAddress { // This is equivalent to `delete _tokenApprovals[tokenId]`. sstore(approvedAddressSlot, 0) } } // Underflow of the sender's balance is impossible because we check for // ownership above and the recipient's balance can't realistically overflow. // Counter overflow is incredibly unrealistic as `tokenId` would have to be 2**256. unchecked { // Updates: // - `balance -= 1`. // - `numberBurned += 1`. // // We can directly decrement the balance, and increment the number burned. // This is equivalent to `packed -= 1; packed += 1 << _BITPOS_NUMBER_BURNED;`. _packedAddressData[from] += (1 << _BITPOS_NUMBER_BURNED) - 1; // Updates: // - `address` to the last owner. // - `startTimestamp` to the timestamp of burning. // - `burned` to `true`. // - `nextInitialized` to `true`. _packedOwnerships[tokenId] = _packOwnershipData( from, (_BITMASK_BURNED | _BITMASK_NEXT_INITIALIZED) | _nextExtraData(from, address(0), prevOwnershipPacked) ); // If the next slot may not have been initialized (i.e. `nextInitialized == false`) . if (prevOwnershipPacked & _BITMASK_NEXT_INITIALIZED == 0) { uint256 nextTokenId = tokenId + 1; // If the next slot's address is zero and not burned (i.e. packed value is zero). if (_packedOwnerships[nextTokenId] == 0) { // If the next slot is within bounds. if (nextTokenId != _currentIndex) { // Initialize the next slot to maintain correctness for `ownerOf(tokenId + 1)`. _packedOwnerships[nextTokenId] = prevOwnershipPacked; } } } } emit Transfer(from, address(0), tokenId); _afterTokenTransfers(from, address(0), tokenId, 1); // Overflow not possible, as _burnCounter cannot be exceed _currentIndex times. unchecked { _burnCounter++; } } // ============================================================= // EXTRA DATA OPERATIONS // ============================================================= /** * @dev Directly sets the extra data for the ownership data `index`. */ function _setExtraDataAt(uint256 index, uint24 extraData) internal virtual { uint256 packed = _packedOwnerships[index]; if (packed == 0) revert OwnershipNotInitializedForExtraData(); uint256 extraDataCasted; // Cast `extraData` with assembly to avoid redundant masking. assembly { extraDataCasted := extraData } packed = (packed & _BITMASK_EXTRA_DATA_COMPLEMENT) | (extraDataCasted << _BITPOS_EXTRA_DATA); _packedOwnerships[index] = packed; } /** * @dev Called during each token transfer to set the 24bit `extraData` field. * Intended to be overridden by the cosumer contract. * * `previousExtraData` - the value of `extraData` before transfer. * * Calling conditions: * * - When `from` and `to` are both non-zero, `from`'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, `tokenId` will be burned by `from`. * - `from` and `to` are never both zero. */ function _extraData( address from, address to, uint24 previousExtraData ) internal view virtual returns (uint24) {} /** * @dev Returns the next extra data for the packed ownership data. * The returned result is shifted into position. */ function _nextExtraData( address from, address to, uint256 prevOwnershipPacked ) private view returns (uint256) { uint24 extraData = uint24(prevOwnershipPacked >> _BITPOS_EXTRA_DATA); return uint256(_extraData(from, to, extraData)) << _BITPOS_EXTRA_DATA; } // ============================================================= // OTHER OPERATIONS // ============================================================= /** * @dev Returns the message sender (defaults to `msg.sender`). * * If you are writing GSN compatible contracts, you need to override this function. */ function _msgSenderERC721A() internal view virtual returns (address) { return msg.sender; } /** * @dev Converts a uint256 to its ASCII string decimal representation. */ function _toString(uint256 value) internal pure virtual returns (string memory str) { assembly { // The maximum value of a uint256 contains 78 digits (1 byte per digit), but // we allocate 0xa0 bytes to keep the free memory pointer 32-byte word aligned. // We will need 1 word for the trailing zeros padding, 1 word for the length, // and 3 words for a maximum of 78 digits. Total: 5 * 0x20 = 0xa0. let m := add(mload(0x40), 0xa0) // Update the free memory pointer to allocate. mstore(0x40, m) // Assign the `str` to the end. str := sub(m, 0x20) // Zeroize the slot after the string. mstore(str, 0) // Cache the end of the memory to calculate the length later. let end := str // We write the string from rightmost digit to leftmost digit. // The following is essentially a do-while loop that also handles the zero case. // prettier-ignore for { let temp := value } 1 {} { str := sub(str, 1) // Write the character to the pointer. // The ASCII index of the '0' character is 48. mstore8(str, add(48, mod(temp, 10))) // Keep dividing `temp` until zero. temp := div(temp, 10) // prettier-ignore if iszero(temp) { break } } let length := sub(end, str) // Move the pointer 32 bytes leftwards to make room for the length. str := sub(str, 0x20) // Store the length. mstore(str, length) } } } // File: contracts/ConnectionsByAnon.sol pragma solidity ^0.8.7; contract SPACEByAnon is ERC721A, Ownable { using Strings for uint256; string private baseURI ; uint256 public price = 0.002 ether; uint256 public maxPerTx = 10; uint256 public maxFreePerWallet = 2; uint256 public totalFree = 222; uint256 public maxSupply = 444; bool public mintEnabled = true; uint public totalFreeMinted = 0; mapping(address => uint256) private _mintedFreeAmount; constructor() ERC721A("SPACE by Anon", "SPC") {} function mint(uint256 count) external payable { uint256 cost = price; bool isFree = ((totalFreeMinted + count < totalFree + 1) && (_mintedFreeAmount[msg.sender] < maxFreePerWallet)); if (isFree) { require(mintEnabled, "Mint is not live yet"); require(totalSupply() + count <= maxSupply, "No more"); require(count <= maxPerTx, "Max per TX reached."); if(count >= (maxFreePerWallet - _mintedFreeAmount[msg.sender])) { require(msg.value >= (count * cost) - ((maxFreePerWallet - _mintedFreeAmount[msg.sender]) * cost), "Please send the exact ETH amount"); _mintedFreeAmount[msg.sender] = maxFreePerWallet; totalFreeMinted += maxFreePerWallet; } else if(count < (maxFreePerWallet - _mintedFreeAmount[msg.sender])) { require(msg.value >= 0, "Please send the exact ETH amount"); _mintedFreeAmount[msg.sender] += count; totalFreeMinted += count; } } else{ require(mintEnabled, "Mint is not live yet"); require(msg.value >= count * cost, "Please send the exact ETH amount"); require(totalSupply() + count <= maxSupply, "Sold out"); require(count <= maxPerTx, "Max per TX reached."); } _safeMint(msg.sender, count); } 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 setBaseURI(string memory uri) public onlyOwner { baseURI = uri; } function setFreeAmount(uint256 amount) external onlyOwner { totalFree = amount; } function setPrice(uint256 _newPrice) external onlyOwner { price = _newPrice; } function toggleMint() external onlyOwner { mintEnabled = !mintEnabled; } 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":[{"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":"maxFreePerWallet","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxPerTx","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"count","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"mintEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"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":"price","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"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":"amount","type":"uint256"}],"name":"setFreeAmount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newPrice","type":"uint256"}],"name":"setPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"toggleMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalFree","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalFreeMinted","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
608060405266071afd498d0000600a908155600b556002600c5560de600d556101bc600e55600f805460ff1916600117905560006010553480156200004357600080fd5b50604080518082018252600d81526c29a820a1a290313c9020b737b760991b60208083019182528351808501909452600384526253504360e81b908401528151919291620000949160029162000114565b508051620000aa90600390602084019062000114565b50506000805550620000bc33620000c2565b620001f7565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b8280546200012290620001ba565b90600052602060002090601f01602090048101928262000146576000855562000191565b82601f106200016157805160ff191683800117855562000191565b8280016001018555821562000191579182015b828111156200019157825182559160200191906001019062000174565b506200019f929150620001a3565b5090565b5b808211156200019f5760008155600101620001a4565b600181811c90821680620001cf57607f821691505b60208210811415620001f157634e487b7160e01b600052602260045260246000fd5b50919050565b611a7680620002076000396000f3fe6080604052600436106101cd5760003560e01c806392910eec116100f7578063c87b56dd11610095578063dad7b5c911610064578063dad7b5c9146104a9578063e985e9c5146104bf578063f2fde38b14610508578063f968adbe1461052857600080fd5b8063c87b56dd14610444578063d123973014610464578063d3dd5fe01461047e578063d5abeb011461049357600080fd5b8063a0712d68116100d1578063a0712d68146103e8578063a22cb465146103fb578063a70273571461041b578063b88d4fde1461043157600080fd5b806392910eec1461039d57806395d89b41146103bd578063a035b1fe146103d257600080fd5b80633ccfd60b1161016f57806370a082311161013e57806370a082311461032a578063715018a61461034a5780638da5cb5b1461035f57806391b7f5ed1461037d57600080fd5b80633ccfd60b146102c257806342842e0e146102d757806355f804b3146102ea5780636352211e1461030a57600080fd5b8063095ea7b3116101ab578063095ea7b31461026157806318160ddd1461027657806323b872dd14610299578063333e44e6146102ac57600080fd5b806301ffc9a7146101d257806306fdde0314610207578063081812fc14610229575b600080fd5b3480156101de57600080fd5b506101f26101ed3660046116eb565b61053e565b60405190151581526020015b60405180910390f35b34801561021357600080fd5b5061021c610590565b6040516101fe91906118c7565b34801561023557600080fd5b5061024961024436600461176e565b610622565b6040516001600160a01b0390911681526020016101fe565b61027461026f3660046116c1565b610666565b005b34801561028257600080fd5b50600154600054035b6040519081526020016101fe565b6102746102a73660046115cd565b610706565b3480156102b857600080fd5b5061028b600d5481565b3480156102ce57600080fd5b50610274610897565b6102746102e53660046115cd565b610932565b3480156102f657600080fd5b50610274610305366004611725565b610952565b34801561031657600080fd5b5061024961032536600461176e565b610971565b34801561033657600080fd5b5061028b61034536600461157f565b61097c565b34801561035657600080fd5b506102746109cb565b34801561036b57600080fd5b506008546001600160a01b0316610249565b34801561038957600080fd5b5061027461039836600461176e565b6109df565b3480156103a957600080fd5b506102746103b836600461176e565b6109ec565b3480156103c957600080fd5b5061021c6109f9565b3480156103de57600080fd5b5061028b600a5481565b6102746103f636600461176e565b610a08565b34801561040757600080fd5b50610274610416366004611685565b610dbc565b34801561042757600080fd5b5061028b600c5481565b61027461043f366004611609565b610e28565b34801561045057600080fd5b5061021c61045f36600461176e565b610e72565b34801561047057600080fd5b50600f546101f29060ff1681565b34801561048a57600080fd5b50610274610f13565b34801561049f57600080fd5b5061028b600e5481565b3480156104b557600080fd5b5061028b60105481565b3480156104cb57600080fd5b506101f26104da36600461159a565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b34801561051457600080fd5b5061027461052336600461157f565b610f2f565b34801561053457600080fd5b5061028b600b5481565b60006301ffc9a760e01b6001600160e01b03198316148061056f57506380ac58cd60e01b6001600160e01b03198316145b8061058a5750635b5e139f60e01b6001600160e01b03198316145b92915050565b60606002805461059f90611968565b80601f01602080910402602001604051908101604052809291908181526020018280546105cb90611968565b80156106185780601f106105ed57610100808354040283529160200191610618565b820191906000526020600020905b8154815290600101906020018083116105fb57829003601f168201915b5050505050905090565b600061062d82610fa5565b61064a576040516333d1c03960e21b815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b600061067182610971565b9050336001600160a01b038216146106aa5761068d81336104da565b6106aa576040516367d9dca160e11b815260040160405180910390fd5b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b600061071182610fcc565b9050836001600160a01b0316816001600160a01b0316146107445760405162a1148160e81b815260040160405180910390fd5b60008281526006602052604090208054338082146001600160a01b038816909114176107915761077486336104da565b61079157604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b0385166107b857604051633a954ecd60e21b815260040160405180910390fd5b80156107c357600082555b6001600160a01b038681166000908152600560205260408082208054600019019055918716808252919020805460010190554260a01b17600160e11b17600085815260046020526040902055600160e11b831661084e576001840160008181526004602052604090205461084c57600054811461084c5760008181526004602052604090208490555b505b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050505050565b61089f611034565b604051600090339047908381818185875af1925050503d80600081146108e1576040519150601f19603f3d011682016040523d82523d6000602084013e6108e6565b606091505b505090508061092f5760405162461bcd60e51b815260206004820152601060248201526f2a3930b739b332b9103330b4b632b21760811b60448201526064015b60405180910390fd5b50565b61094d83838360405180602001604052806000815250610e28565b505050565b61095a611034565b805161096d906009906020840190611454565b5050565b600061058a82610fcc565b60006001600160a01b0382166109a5576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b031660009081526005602052604090205467ffffffffffffffff1690565b6109d3611034565b6109dd600061108e565b565b6109e7611034565b600a55565b6109f4611034565b600d55565b60606003805461059f90611968565b600a54600d54600090610a1c9060016118da565b83601054610a2a91906118da565b108015610a475750600c5433600090815260116020526040902054105b90508015610c7457600f5460ff16610a985760405162461bcd60e51b8152602060048201526014602482015273135a5b9d081a5cc81b9bdd081b1a5d99481e595d60621b6044820152606401610926565b600e5483610aa96001546000540390565b610ab391906118da565b1115610aeb5760405162461bcd60e51b81526020600482015260076024820152664e6f206d6f726560c81b6044820152606401610926565b600b54831115610b335760405162461bcd60e51b815260206004820152601360248201527226b0bc103832b9102a2c103932b0b1b432b21760691b6044820152606401610926565b33600090815260116020526040902054600c54610b509190611925565b8310610c135733600090815260116020526040902054600c548391610b7491611925565b610b7e9190611906565b610b888385611906565b610b929190611925565b341015610be15760405162461bcd60e51b815260206004820181905260248201527f506c656173652073656e64207468652065786163742045544820616d6f756e746044820152606401610926565b600c5433600090815260116020526040812082905560108054909190610c089084906118da565b90915550610db29050565b33600090815260116020526040902054600c54610c309190611925565b831015610c6f573360009081526011602052604081208054859290610c569084906118da565b925050819055508260106000828254610c0891906118da565b610db2565b600f5460ff16610cbd5760405162461bcd60e51b8152602060048201526014602482015273135a5b9d081a5cc81b9bdd081b1a5d99481e595d60621b6044820152606401610926565b610cc78284611906565b341015610d165760405162461bcd60e51b815260206004820181905260248201527f506c656173652073656e64207468652065786163742045544820616d6f756e746044820152606401610926565b600e5483610d276001546000540390565b610d3191906118da565b1115610d6a5760405162461bcd60e51b815260206004820152600860248201526714dbdb19081bdd5d60c21b6044820152606401610926565b600b54831115610db25760405162461bcd60e51b815260206004820152601360248201527226b0bc103832b9102a2c103932b0b1b432b21760691b6044820152606401610926565b61094d33846110e0565b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b610e33848484610706565b6001600160a01b0383163b15610e6c57610e4f848484846110fa565b610e6c576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b6060610e7d82610fa5565b610ee15760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b6064820152608401610926565b6009610eec836111f2565b604051602001610efd9291906117cf565b6040516020818303038152906040529050919050565b610f1b611034565b600f805460ff19811660ff90911615179055565b610f37611034565b6001600160a01b038116610f9c5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610926565b61092f8161108e565b600080548210801561058a575050600090815260046020526040902054600160e01b161590565b60008160005481101561101b57600081815260046020526040902054600160e01b8116611019575b80611012575060001901600081815260046020526040902054610ff4565b9392505050565b505b604051636f96cda160e11b815260040160405180910390fd5b6008546001600160a01b031633146109dd5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610926565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b61096d8282604051806020016040528060008152506112f0565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a029061112f90339089908890889060040161188a565b602060405180830381600087803b15801561114957600080fd5b505af1925050508015611179575060408051601f3d908101601f1916820190925261117691810190611708565b60015b6111d4573d8080156111a7576040519150601f19603f3d011682016040523d82523d6000602084013e6111ac565b606091505b5080516111cc576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490505b949350505050565b6060816112165750506040805180820190915260018152600360fc1b602082015290565b8160005b8115611240578061122a816119a3565b91506112399050600a836118f2565b915061121a565b60008167ffffffffffffffff81111561125b5761125b611a14565b6040519080825280601f01601f191660200182016040528015611285576020820181803683370190505b5090505b84156111ea5761129a600183611925565b91506112a7600a866119be565b6112b29060306118da565b60f81b8183815181106112c7576112c76119fe565b60200101906001600160f81b031916908160001a9053506112e9600a866118f2565b9450611289565b6112fa838361135d565b6001600160a01b0383163b1561094d576000548281035b61132460008683806001019450866110fa565b611341576040516368d2bf6b60e11b815260040160405180910390fd5b81811061131157816000541461135657600080fd5b5050505050565b6000548161137e5760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b03831660008181526005602090815260408083208054680100000000000000018802019055848352600490915281206001851460e11b4260a01b178317905582840190839083907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8180a4600183015b81811461142d57808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a46001016113f5565b508161144b57604051622e076360e81b815260040160405180910390fd5b60005550505050565b82805461146090611968565b90600052602060002090601f01602090048101928261148257600085556114c8565b82601f1061149b57805160ff19168380011785556114c8565b828001600101855582156114c8579182015b828111156114c85782518255916020019190600101906114ad565b506114d49291506114d8565b5090565b5b808211156114d457600081556001016114d9565b600067ffffffffffffffff8084111561150857611508611a14565b604051601f8501601f19908116603f0116810190828211818310171561153057611530611a14565b8160405280935085815286868601111561154957600080fd5b858560208301376000602087830101525050509392505050565b80356001600160a01b038116811461157a57600080fd5b919050565b60006020828403121561159157600080fd5b61101282611563565b600080604083850312156115ad57600080fd5b6115b683611563565b91506115c460208401611563565b90509250929050565b6000806000606084860312156115e257600080fd5b6115eb84611563565b92506115f960208501611563565b9150604084013590509250925092565b6000806000806080858703121561161f57600080fd5b61162885611563565b935061163660208601611563565b925060408501359150606085013567ffffffffffffffff81111561165957600080fd5b8501601f8101871361166a57600080fd5b611679878235602084016114ed565b91505092959194509250565b6000806040838503121561169857600080fd5b6116a183611563565b9150602083013580151581146116b657600080fd5b809150509250929050565b600080604083850312156116d457600080fd5b6116dd83611563565b946020939093013593505050565b6000602082840312156116fd57600080fd5b813561101281611a2a565b60006020828403121561171a57600080fd5b815161101281611a2a565b60006020828403121561173757600080fd5b813567ffffffffffffffff81111561174e57600080fd5b8201601f8101841361175f57600080fd5b6111ea848235602084016114ed565b60006020828403121561178057600080fd5b5035919050565b6000815180845261179f81602086016020860161193c565b601f01601f19169290920160200192915050565b600081516117c581856020860161193c565b9290920192915050565b600080845481600182811c9150808316806117eb57607f831692505b602080841082141561180b57634e487b7160e01b86526022600452602486fd5b81801561181f57600181146118305761185d565b60ff1986168952848901965061185d565b60008b81526020902060005b868110156118555781548b82015290850190830161183c565b505084890196505b50505050505061188161187082866117b3565b64173539b7b760d91b815260050190565b95945050505050565b6001600160a01b03858116825284166020820152604081018390526080606082018190526000906118bd90830184611787565b9695505050505050565b6020815260006110126020830184611787565b600082198211156118ed576118ed6119d2565b500190565b600082611901576119016119e8565b500490565b6000816000190483118215151615611920576119206119d2565b500290565b600082821015611937576119376119d2565b500390565b60005b8381101561195757818101518382015260200161193f565b83811115610e6c5750506000910152565b600181811c9082168061197c57607f821691505b6020821081141561199d57634e487b7160e01b600052602260045260246000fd5b50919050565b60006000198214156119b7576119b76119d2565b5060010190565b6000826119cd576119cd6119e8565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160e01b03198116811461092f57600080fdfea2646970667358221220e2d871a56fe29b6e325a1eca5014d222ae63ae0491dbf1e531797e07059454fe64736f6c63430008070033
Deployed Bytecode
0x6080604052600436106101cd5760003560e01c806392910eec116100f7578063c87b56dd11610095578063dad7b5c911610064578063dad7b5c9146104a9578063e985e9c5146104bf578063f2fde38b14610508578063f968adbe1461052857600080fd5b8063c87b56dd14610444578063d123973014610464578063d3dd5fe01461047e578063d5abeb011461049357600080fd5b8063a0712d68116100d1578063a0712d68146103e8578063a22cb465146103fb578063a70273571461041b578063b88d4fde1461043157600080fd5b806392910eec1461039d57806395d89b41146103bd578063a035b1fe146103d257600080fd5b80633ccfd60b1161016f57806370a082311161013e57806370a082311461032a578063715018a61461034a5780638da5cb5b1461035f57806391b7f5ed1461037d57600080fd5b80633ccfd60b146102c257806342842e0e146102d757806355f804b3146102ea5780636352211e1461030a57600080fd5b8063095ea7b3116101ab578063095ea7b31461026157806318160ddd1461027657806323b872dd14610299578063333e44e6146102ac57600080fd5b806301ffc9a7146101d257806306fdde0314610207578063081812fc14610229575b600080fd5b3480156101de57600080fd5b506101f26101ed3660046116eb565b61053e565b60405190151581526020015b60405180910390f35b34801561021357600080fd5b5061021c610590565b6040516101fe91906118c7565b34801561023557600080fd5b5061024961024436600461176e565b610622565b6040516001600160a01b0390911681526020016101fe565b61027461026f3660046116c1565b610666565b005b34801561028257600080fd5b50600154600054035b6040519081526020016101fe565b6102746102a73660046115cd565b610706565b3480156102b857600080fd5b5061028b600d5481565b3480156102ce57600080fd5b50610274610897565b6102746102e53660046115cd565b610932565b3480156102f657600080fd5b50610274610305366004611725565b610952565b34801561031657600080fd5b5061024961032536600461176e565b610971565b34801561033657600080fd5b5061028b61034536600461157f565b61097c565b34801561035657600080fd5b506102746109cb565b34801561036b57600080fd5b506008546001600160a01b0316610249565b34801561038957600080fd5b5061027461039836600461176e565b6109df565b3480156103a957600080fd5b506102746103b836600461176e565b6109ec565b3480156103c957600080fd5b5061021c6109f9565b3480156103de57600080fd5b5061028b600a5481565b6102746103f636600461176e565b610a08565b34801561040757600080fd5b50610274610416366004611685565b610dbc565b34801561042757600080fd5b5061028b600c5481565b61027461043f366004611609565b610e28565b34801561045057600080fd5b5061021c61045f36600461176e565b610e72565b34801561047057600080fd5b50600f546101f29060ff1681565b34801561048a57600080fd5b50610274610f13565b34801561049f57600080fd5b5061028b600e5481565b3480156104b557600080fd5b5061028b60105481565b3480156104cb57600080fd5b506101f26104da36600461159a565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b34801561051457600080fd5b5061027461052336600461157f565b610f2f565b34801561053457600080fd5b5061028b600b5481565b60006301ffc9a760e01b6001600160e01b03198316148061056f57506380ac58cd60e01b6001600160e01b03198316145b8061058a5750635b5e139f60e01b6001600160e01b03198316145b92915050565b60606002805461059f90611968565b80601f01602080910402602001604051908101604052809291908181526020018280546105cb90611968565b80156106185780601f106105ed57610100808354040283529160200191610618565b820191906000526020600020905b8154815290600101906020018083116105fb57829003601f168201915b5050505050905090565b600061062d82610fa5565b61064a576040516333d1c03960e21b815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b600061067182610971565b9050336001600160a01b038216146106aa5761068d81336104da565b6106aa576040516367d9dca160e11b815260040160405180910390fd5b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b600061071182610fcc565b9050836001600160a01b0316816001600160a01b0316146107445760405162a1148160e81b815260040160405180910390fd5b60008281526006602052604090208054338082146001600160a01b038816909114176107915761077486336104da565b61079157604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b0385166107b857604051633a954ecd60e21b815260040160405180910390fd5b80156107c357600082555b6001600160a01b038681166000908152600560205260408082208054600019019055918716808252919020805460010190554260a01b17600160e11b17600085815260046020526040902055600160e11b831661084e576001840160008181526004602052604090205461084c57600054811461084c5760008181526004602052604090208490555b505b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050505050565b61089f611034565b604051600090339047908381818185875af1925050503d80600081146108e1576040519150601f19603f3d011682016040523d82523d6000602084013e6108e6565b606091505b505090508061092f5760405162461bcd60e51b815260206004820152601060248201526f2a3930b739b332b9103330b4b632b21760811b60448201526064015b60405180910390fd5b50565b61094d83838360405180602001604052806000815250610e28565b505050565b61095a611034565b805161096d906009906020840190611454565b5050565b600061058a82610fcc565b60006001600160a01b0382166109a5576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b031660009081526005602052604090205467ffffffffffffffff1690565b6109d3611034565b6109dd600061108e565b565b6109e7611034565b600a55565b6109f4611034565b600d55565b60606003805461059f90611968565b600a54600d54600090610a1c9060016118da565b83601054610a2a91906118da565b108015610a475750600c5433600090815260116020526040902054105b90508015610c7457600f5460ff16610a985760405162461bcd60e51b8152602060048201526014602482015273135a5b9d081a5cc81b9bdd081b1a5d99481e595d60621b6044820152606401610926565b600e5483610aa96001546000540390565b610ab391906118da565b1115610aeb5760405162461bcd60e51b81526020600482015260076024820152664e6f206d6f726560c81b6044820152606401610926565b600b54831115610b335760405162461bcd60e51b815260206004820152601360248201527226b0bc103832b9102a2c103932b0b1b432b21760691b6044820152606401610926565b33600090815260116020526040902054600c54610b509190611925565b8310610c135733600090815260116020526040902054600c548391610b7491611925565b610b7e9190611906565b610b888385611906565b610b929190611925565b341015610be15760405162461bcd60e51b815260206004820181905260248201527f506c656173652073656e64207468652065786163742045544820616d6f756e746044820152606401610926565b600c5433600090815260116020526040812082905560108054909190610c089084906118da565b90915550610db29050565b33600090815260116020526040902054600c54610c309190611925565b831015610c6f573360009081526011602052604081208054859290610c569084906118da565b925050819055508260106000828254610c0891906118da565b610db2565b600f5460ff16610cbd5760405162461bcd60e51b8152602060048201526014602482015273135a5b9d081a5cc81b9bdd081b1a5d99481e595d60621b6044820152606401610926565b610cc78284611906565b341015610d165760405162461bcd60e51b815260206004820181905260248201527f506c656173652073656e64207468652065786163742045544820616d6f756e746044820152606401610926565b600e5483610d276001546000540390565b610d3191906118da565b1115610d6a5760405162461bcd60e51b815260206004820152600860248201526714dbdb19081bdd5d60c21b6044820152606401610926565b600b54831115610db25760405162461bcd60e51b815260206004820152601360248201527226b0bc103832b9102a2c103932b0b1b432b21760691b6044820152606401610926565b61094d33846110e0565b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b610e33848484610706565b6001600160a01b0383163b15610e6c57610e4f848484846110fa565b610e6c576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b6060610e7d82610fa5565b610ee15760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b6064820152608401610926565b6009610eec836111f2565b604051602001610efd9291906117cf565b6040516020818303038152906040529050919050565b610f1b611034565b600f805460ff19811660ff90911615179055565b610f37611034565b6001600160a01b038116610f9c5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610926565b61092f8161108e565b600080548210801561058a575050600090815260046020526040902054600160e01b161590565b60008160005481101561101b57600081815260046020526040902054600160e01b8116611019575b80611012575060001901600081815260046020526040902054610ff4565b9392505050565b505b604051636f96cda160e11b815260040160405180910390fd5b6008546001600160a01b031633146109dd5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610926565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b61096d8282604051806020016040528060008152506112f0565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a029061112f90339089908890889060040161188a565b602060405180830381600087803b15801561114957600080fd5b505af1925050508015611179575060408051601f3d908101601f1916820190925261117691810190611708565b60015b6111d4573d8080156111a7576040519150601f19603f3d011682016040523d82523d6000602084013e6111ac565b606091505b5080516111cc576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490505b949350505050565b6060816112165750506040805180820190915260018152600360fc1b602082015290565b8160005b8115611240578061122a816119a3565b91506112399050600a836118f2565b915061121a565b60008167ffffffffffffffff81111561125b5761125b611a14565b6040519080825280601f01601f191660200182016040528015611285576020820181803683370190505b5090505b84156111ea5761129a600183611925565b91506112a7600a866119be565b6112b29060306118da565b60f81b8183815181106112c7576112c76119fe565b60200101906001600160f81b031916908160001a9053506112e9600a866118f2565b9450611289565b6112fa838361135d565b6001600160a01b0383163b1561094d576000548281035b61132460008683806001019450866110fa565b611341576040516368d2bf6b60e11b815260040160405180910390fd5b81811061131157816000541461135657600080fd5b5050505050565b6000548161137e5760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b03831660008181526005602090815260408083208054680100000000000000018802019055848352600490915281206001851460e11b4260a01b178317905582840190839083907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8180a4600183015b81811461142d57808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a46001016113f5565b508161144b57604051622e076360e81b815260040160405180910390fd5b60005550505050565b82805461146090611968565b90600052602060002090601f01602090048101928261148257600085556114c8565b82601f1061149b57805160ff19168380011785556114c8565b828001600101855582156114c8579182015b828111156114c85782518255916020019190600101906114ad565b506114d49291506114d8565b5090565b5b808211156114d457600081556001016114d9565b600067ffffffffffffffff8084111561150857611508611a14565b604051601f8501601f19908116603f0116810190828211818310171561153057611530611a14565b8160405280935085815286868601111561154957600080fd5b858560208301376000602087830101525050509392505050565b80356001600160a01b038116811461157a57600080fd5b919050565b60006020828403121561159157600080fd5b61101282611563565b600080604083850312156115ad57600080fd5b6115b683611563565b91506115c460208401611563565b90509250929050565b6000806000606084860312156115e257600080fd5b6115eb84611563565b92506115f960208501611563565b9150604084013590509250925092565b6000806000806080858703121561161f57600080fd5b61162885611563565b935061163660208601611563565b925060408501359150606085013567ffffffffffffffff81111561165957600080fd5b8501601f8101871361166a57600080fd5b611679878235602084016114ed565b91505092959194509250565b6000806040838503121561169857600080fd5b6116a183611563565b9150602083013580151581146116b657600080fd5b809150509250929050565b600080604083850312156116d457600080fd5b6116dd83611563565b946020939093013593505050565b6000602082840312156116fd57600080fd5b813561101281611a2a565b60006020828403121561171a57600080fd5b815161101281611a2a565b60006020828403121561173757600080fd5b813567ffffffffffffffff81111561174e57600080fd5b8201601f8101841361175f57600080fd5b6111ea848235602084016114ed565b60006020828403121561178057600080fd5b5035919050565b6000815180845261179f81602086016020860161193c565b601f01601f19169290920160200192915050565b600081516117c581856020860161193c565b9290920192915050565b600080845481600182811c9150808316806117eb57607f831692505b602080841082141561180b57634e487b7160e01b86526022600452602486fd5b81801561181f57600181146118305761185d565b60ff1986168952848901965061185d565b60008b81526020902060005b868110156118555781548b82015290850190830161183c565b505084890196505b50505050505061188161187082866117b3565b64173539b7b760d91b815260050190565b95945050505050565b6001600160a01b03858116825284166020820152604081018390526080606082018190526000906118bd90830184611787565b9695505050505050565b6020815260006110126020830184611787565b600082198211156118ed576118ed6119d2565b500190565b600082611901576119016119e8565b500490565b6000816000190483118215151615611920576119206119d2565b500290565b600082821015611937576119376119d2565b500390565b60005b8381101561195757818101518382015260200161193f565b83811115610e6c5750506000910152565b600181811c9082168061197c57607f821691505b6020821081141561199d57634e487b7160e01b600052602260045260246000fd5b50919050565b60006000198214156119b7576119b76119d2565b5060010190565b6000826119cd576119cd6119e8565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160e01b03198116811461092f57600080fdfea2646970667358221220e2d871a56fe29b6e325a1eca5014d222ae63ae0491dbf1e531797e07059454fe64736f6c63430008070033
Deployed Bytecode Sourcemap
74893:2883:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;41767:639;;;;;;;;;;-1:-1:-1;41767:639:0;;;;;:::i;:::-;;:::i;:::-;;;6995:14:1;;6988:22;6970:41;;6958:2;6943:18;41767:639:0;;;;;;;;42669:100;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;49160:218::-;;;;;;;;;;-1:-1:-1;49160:218:0;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;6293:32:1;;;6275:51;;6263:2;6248:18;49160:218:0;6129:203:1;48593:408:0;;;;;;:::i;:::-;;:::i;:::-;;38420:323;;;;;;;;;;-1:-1:-1;38694:12:0;;38481:7;38678:13;:28;38420:323;;;10650:25:1;;;10638:2;10623:18;38420:323:0;10504:177:1;52799:2825:0;;;;;;:::i;:::-;;:::i;75133:30::-;;;;;;;;;;;;;;;;77561:206;;;;;;;;;;;;;:::i;55720:193::-;;;;;;:::i;:::-;;:::i;77168:88::-;;;;;;;;;;-1:-1:-1;77168:88:0;;;;;:::i;:::-;;:::i;44062:152::-;;;;;;;;;;-1:-1:-1;44062:152:0;;;;;:::i;:::-;;:::i;39604:233::-;;;;;;;;;;-1:-1:-1;39604:233:0;;;;;:::i;:::-;;:::i;20049:103::-;;;;;;;;;;;;;:::i;19401:87::-;;;;;;;;;;-1:-1:-1;19474:6:0;;-1:-1:-1;;;;;19474:6:0;19401:87;;77367:92;;;;;;;;;;-1:-1:-1;77367:92:0;;;;;:::i;:::-;;:::i;77264:95::-;;;;;;;;;;-1:-1:-1;77264:95:0;;;;;:::i;:::-;;:::i;42845:104::-;;;;;;;;;;;;;:::i;75009:34::-;;;;;;;;;;;;;;;;75413:1430;;;;;;:::i;:::-;;:::i;49718:234::-;;;;;;;;;;-1:-1:-1;49718:234:0;;;;;:::i;:::-;;:::i;75089:35::-;;;;;;;;;;;;;;;;56511:407;;;;;;:::i;:::-;;:::i;76851:309::-;;;;;;;;;;-1:-1:-1;76851:309:0;;;;;:::i;:::-;;:::i;75211:30::-;;;;;;;;;;-1:-1:-1;75211:30:0;;;;;;;;77467:86;;;;;;;;;;;;;:::i;75172:30::-;;;;;;;;;;;;;;;;75254:33;;;;;;;;;;;;;;;;50109:164;;;;;;;;;;-1:-1:-1;50109:164:0;;;;;:::i;:::-;-1:-1:-1;;;;;50230:25:0;;;50206:4;50230:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;50109:164;20307:201;;;;;;;;;;-1:-1:-1;20307:201:0;;;;;:::i;:::-;;:::i;75052:28::-;;;;;;;;;;;;;;;;41767:639;41852:4;-1:-1:-1;;;;;;;;;42176:25:0;;;;:102;;-1:-1:-1;;;;;;;;;;42253:25:0;;;42176:102;:179;;;-1:-1:-1;;;;;;;;;;42330:25:0;;;42176:179;42156:199;41767:639;-1:-1:-1;;41767:639:0:o;42669:100::-;42723:13;42756:5;42749:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;42669:100;:::o;49160:218::-;49236:7;49261:16;49269:7;49261;:16::i;:::-;49256:64;;49286:34;;-1:-1:-1;;;49286:34:0;;;;;;;;;;;49256:64;-1:-1:-1;49340:24:0;;;;:15;:24;;;;;:30;-1:-1:-1;;;;;49340:30:0;;49160:218::o;48593:408::-;48682:13;48698:16;48706:7;48698;:16::i;:::-;48682:32;-1:-1:-1;72926:10:0;-1:-1:-1;;;;;48731:28:0;;;48727:175;;48779:44;48796:5;72926:10;50109:164;:::i;48779:44::-;48774:128;;48851:35;;-1:-1:-1;;;48851:35:0;;;;;;;;;;;48774:128;48914:24;;;;:15;:24;;;;;;:35;;-1:-1:-1;;;;;;48914:35:0;-1:-1:-1;;;;;48914:35:0;;;;;;;;;48965:28;;48914:24;;48965:28;;;;;;;48671:330;48593:408;;:::o;52799:2825::-;52941:27;52971;52990:7;52971:18;:27::i;:::-;52941:57;;53056:4;-1:-1:-1;;;;;53015:45:0;53031:19;-1:-1:-1;;;;;53015:45:0;;53011:86;;53069:28;;-1:-1:-1;;;53069:28:0;;;;;;;;;;;53011:86;53111:27;51907:24;;;:15;:24;;;;;52135:26;;72926:10;51532:30;;;-1:-1:-1;;;;;51225:28:0;;51510:20;;;51507:56;53297:180;;53390:43;53407:4;72926:10;50109:164;:::i;53390:43::-;53385:92;;53442:35;;-1:-1:-1;;;53442:35:0;;;;;;;;;;;53385:92;-1:-1:-1;;;;;53494:16:0;;53490:52;;53519:23;;-1:-1:-1;;;53519:23:0;;;;;;;;;;;53490:52;53691:15;53688:160;;;53831:1;53810:19;53803:30;53688:160;-1:-1:-1;;;;;54228:24:0;;;;;;;:18;:24;;;;;;54226:26;;-1:-1:-1;;54226:26:0;;;54297:22;;;;;;;;;54295:24;;-1:-1:-1;54295:24:0;;;47451:11;47426:23;47422:41;47409:63;-1:-1:-1;;;47409:63:0;54590:26;;;;:17;:26;;;;;:175;-1:-1:-1;;;54885:47:0;;54881:627;;54990:1;54980:11;;54958:19;55113:30;;;:17;:30;;;;;;55109:384;;55251:13;;55236:11;:28;55232:242;;55398:30;;;;:17;:30;;;;;:52;;;55232:242;54939:569;54881:627;55555:7;55551:2;-1:-1:-1;;;;;55536:27:0;55545:4;-1:-1:-1;;;;;55536:27:0;;;;;;;;;;;52930:2694;;;52799:2825;;;:::o;77561:206::-;19287:13;:11;:13::i;:::-;77630:82:::1;::::0;77612:12:::1;::::0;77638:10:::1;::::0;77676:21:::1;::::0;77612:12;77630:82;77612:12;77630:82;77676:21;77638:10;77630:82:::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;77611:101;;;77731:7;77723:36;;;::::0;-1:-1:-1;;;77723:36:0;;9677:2:1;77723:36:0::1;::::0;::::1;9659:21:1::0;9716:2;9696:18;;;9689:30;-1:-1:-1;;;9735:18:1;;;9728:46;9791:18;;77723:36:0::1;;;;;;;;;77600:167;77561:206::o:0;55720:193::-;55866:39;55883:4;55889:2;55893:7;55866:39;;;;;;;;;;;;:16;:39::i;:::-;55720:193;;;:::o;77168:88::-;19287:13;:11;:13::i;:::-;77235;;::::1;::::0;:7:::1;::::0;:13:::1;::::0;::::1;::::0;::::1;:::i;:::-;;77168:88:::0;:::o;44062:152::-;44134:7;44177:27;44196:7;44177:18;:27::i;39604:233::-;39676:7;-1:-1:-1;;;;;39700:19:0;;39696:60;;39728:28;;-1:-1:-1;;;39728:28:0;;;;;;;;;;;39696:60;-1:-1:-1;;;;;;39774:25:0;;;;;:18;:25;;;;;;33763:13;39774:55;;39604:233::o;20049:103::-;19287:13;:11;:13::i;:::-;20114:30:::1;20141:1;20114:18;:30::i;:::-;20049:103::o:0;77367:92::-;19287:13;:11;:13::i;:::-;77434:5:::1;:17:::0;77367:92::o;77264:95::-;19287:13;:11;:13::i;:::-;77333:9:::1;:18:::0;77264:95::o;42845:104::-;42901:13;42934:7;42927:14;;;;;:::i;75413:1430::-;75485:5;;75543:9;;75470:12;;75543:13;;75555:1;75543:13;:::i;:::-;75535:5;75517:15;;:23;;;;:::i;:::-;:39;75516:108;;;;-1:-1:-1;75607:16:0;;75593:10;75575:29;;;;:17;:29;;;;;;:48;75516:108;75501:124;;75642:6;75638:1157;;;75674:11;;;;75666:44;;;;-1:-1:-1;;;75666:44:0;;7448:2:1;75666:44:0;;;7430:21:1;7487:2;7467:18;;;7460:30;-1:-1:-1;;;7506:18:1;;;7499:50;7566:18;;75666:44:0;7246:344:1;75666:44:0;75758:9;;75749:5;75733:13;38694:12;;38481:7;38678:13;:28;;38420:323;75733:13;:21;;;;:::i;:::-;:34;;75725:54;;;;-1:-1:-1;;;75725:54:0;;7797:2:1;75725:54:0;;;7779:21:1;7836:1;7816:18;;;7809:29;-1:-1:-1;;;7854:18:1;;;7847:37;7901:18;;75725:54:0;7595:330:1;75725:54:0;75811:8;;75802:5;:17;;75794:49;;;;-1:-1:-1;;;75794:49:0;;10358:2:1;75794:49:0;;;10340:21:1;10397:2;10377:18;;;10370:30;-1:-1:-1;;;10416:18:1;;;10409:49;10475:18;;75794:49:0;10156:343:1;75794:49:0;75908:10;75890:29;;;;:17;:29;;;;;;75871:16;;:48;;75890:29;75871:48;:::i;:::-;75861:5;:59;75858:638;;76028:10;76010:29;;;;:17;:29;;;;;;75991:16;;76043:4;;75991:48;;;:::i;:::-;75990:57;;;;:::i;:::-;75973:12;75981:4;75973:5;:12;:::i;:::-;75972:76;;;;:::i;:::-;75959:9;:89;;75951:134;;;;-1:-1:-1;;;75951:134:0;;8539:2:1;75951:134:0;;;8521:21:1;;;8558:18;;;8551:30;8617:34;8597:18;;;8590:62;8669:18;;75951:134:0;8337:356:1;75951:134:0;76133:16;;76119:10;76101:29;;;;:17;:29;;;;;:48;;;76165:15;:35;;:15;;76101:29;76165:35;;76133:16;;76165:35;:::i;:::-;;;;-1:-1:-1;75638:1157:0;;-1:-1:-1;75638:1157:0;75858:638;76284:10;76266:29;;;;:17;:29;;;;;;76247:16;;:48;;76266:29;76247:48;:::i;:::-;76238:5;:58;76235:261;;;76420:10;76402:29;;;;:17;:29;;;;;:38;;76435:5;;76402:29;:38;;76435:5;;76402:38;:::i;:::-;;;;;;;;76475:5;76456:15;;:24;;;;;;;:::i;76235:261::-;75638:1157;;;76540:11;;;;76532:44;;;;-1:-1:-1;;;76532:44:0;;7448:2:1;76532:44:0;;;7430:21:1;7487:2;7467:18;;;7460:30;-1:-1:-1;;;7506:18:1;;;7499:50;7566:18;;76532:44:0;7246:344:1;76532:44:0;76608:12;76616:4;76608:5;:12;:::i;:::-;76595:9;:25;;76587:70;;;;-1:-1:-1;;;76587:70:0;;8539:2:1;76587:70:0;;;8521:21:1;;;8558:18;;;8551:30;8617:34;8597:18;;;8590:62;8669:18;;76587:70:0;8337:356:1;76587:70:0;76701:9;;76692:5;76676:13;38694:12;;38481:7;38678:13;:28;;38420:323;76676:13;:21;;;;:::i;:::-;:34;;76668:55;;;;-1:-1:-1;;;76668:55:0;;10022:2:1;76668:55:0;;;10004:21:1;10061:1;10041:18;;;10034:29;-1:-1:-1;;;10079:18:1;;;10072:38;10127:18;;76668:55:0;9820:331:1;76668:55:0;76751:8;;76742:5;:17;;76734:49;;;;-1:-1:-1;;;76734:49:0;;10358:2:1;76734:49:0;;;10340:21:1;10397:2;10377:18;;;10370:30;-1:-1:-1;;;10416:18:1;;;10409:49;10475:18;;76734:49:0;10156:343:1;76734:49:0;76807:28;76817:10;76829:5;76807:9;:28::i;49718:234::-;72926:10;49813:39;;;;:18;:39;;;;;;;;-1:-1:-1;;;;;49813:49:0;;;;;;;;;;;;:60;;-1:-1:-1;;49813:60:0;;;;;;;;;;49889:55;;6970:41:1;;;49813:49:0;;72926:10;49889:55;;6943:18:1;49889:55:0;;;;;;;49718:234;;:::o;56511:407::-;56686:31;56699:4;56705:2;56709:7;56686:12;:31::i;:::-;-1:-1:-1;;;;;56732:14:0;;;:19;56728:183;;56771:56;56802:4;56808:2;56812:7;56821:5;56771:30;:56::i;:::-;56766:145;;56855:40;;-1:-1:-1;;;56855:40:0;;;;;;;;;;;56766:145;56511:407;;;;:::o;76851:309::-;76933:13;76981:16;76989:7;76981;:16::i;:::-;76959:113;;;;-1:-1:-1;;;76959:113:0;;9261:2:1;76959:113:0;;;9243:21:1;9300:2;9280:18;;;9273:30;9339:34;9319:18;;;9312:62;-1:-1:-1;;;9390:18:1;;;9383:45;9445:19;;76959:113:0;9059:411:1;76959:113:0;77114:7;77123:18;:7;:16;:18::i;:::-;77097:54;;;;;;;;;:::i;:::-;;;;;;;;;;;;;77083:69;;76851:309;;;:::o;77467:86::-;19287:13;:11;:13::i;:::-;77534:11:::1;::::0;;-1:-1:-1;;77519:26:0;::::1;77534:11;::::0;;::::1;77533:12;77519:26;::::0;;77467:86::o;20307:201::-;19287:13;:11;:13::i;:::-;-1:-1:-1;;;;;20396:22:0;::::1;20388:73;;;::::0;-1:-1:-1;;;20388:73:0;;8132:2:1;20388:73:0::1;::::0;::::1;8114:21:1::0;8171:2;8151:18;;;8144:30;8210:34;8190:18;;;8183:62;-1:-1:-1;;;8261:18:1;;;8254:36;8307:19;;20388:73:0::1;7930:402:1::0;20388:73:0::1;20472:28;20491:8;20472:18;:28::i;50531:282::-:0;50596:4;50686:13;;50676:7;:23;50633:153;;;;-1:-1:-1;;50737:26:0;;;;:17;:26;;;;;;-1:-1:-1;;;50737:44:0;:49;;50531:282::o;45217:1275::-;45284:7;45319;45421:13;;45414:4;:20;45410:1015;;;45459:14;45476:23;;;:17;:23;;;;;;-1:-1:-1;;;45565:24:0;;45561:845;;46230:113;46237:11;46230:113;;-1:-1:-1;;;46308:6:0;46290:25;;;;:17;:25;;;;;;46230:113;;;46376:6;45217:1275;-1:-1:-1;;;45217:1275:0:o;45561:845::-;45436:989;45410:1015;46453:31;;-1:-1:-1;;;46453:31:0;;;;;;;;;;;19566:132;19474:6;;-1:-1:-1;;;;;19474:6:0;72926:10;19630:23;19622:68;;;;-1:-1:-1;;;19622:68:0;;8900:2:1;19622:68:0;;;8882:21:1;;;8919:18;;;8912:30;8978:34;8958:18;;;8951:62;9030:18;;19622:68:0;8698:356:1;20668:191:0;20761:6;;;-1:-1:-1;;;;;20778:17:0;;;-1:-1:-1;;;;;;20778:17:0;;;;;;;20811:40;;20761:6;;;20778:17;20761:6;;20811:40;;20742:16;;20811:40;20731:128;20668:191;:::o;66671:112::-;66748:27;66758:2;66762:8;66748:27;;;;;;;;;;;;:9;:27::i;59002:716::-;59186:88;;-1:-1:-1;;;59186:88:0;;59165:4;;-1:-1:-1;;;;;59186:45:0;;;;;:88;;72926:10;;59253:4;;59259:7;;59268:5;;59186:88;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;59186:88:0;;;;;;;;-1:-1:-1;;59186:88:0;;;;;;;;;;;;:::i;:::-;;;59182:529;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;59469:13:0;;59465:235;;59515:40;;-1:-1:-1;;;59515:40:0;;;;;;;;;;;59465:235;59658:6;59652:13;59643:6;59639:2;59635:15;59628:38;59182:529;-1:-1:-1;;;;;;59345:64:0;-1:-1:-1;;;59345:64:0;;-1:-1:-1;59182:529:0;59002:716;;;;;;:::o;21296:723::-;21352:13;21573:10;21569:53;;-1:-1:-1;;21600:10:0;;;;;;;;;;;;-1:-1:-1;;;21600:10:0;;;;;21296:723::o;21569:53::-;21647:5;21632:12;21688:78;21695:9;;21688:78;;21721:8;;;;:::i;:::-;;-1:-1:-1;21744:10:0;;-1:-1:-1;21752:2:0;21744:10;;:::i;:::-;;;21688:78;;;21776:19;21808:6;21798:17;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;21798:17:0;;21776:39;;21826:154;21833:10;;21826:154;;21860:11;21870:1;21860:11;;:::i;:::-;;-1:-1:-1;21929:10:0;21937:2;21929:5;:10;:::i;:::-;21916:24;;:2;:24;:::i;:::-;21903:39;;21886:6;21893;21886:14;;;;;;;;:::i;:::-;;;;:56;-1:-1:-1;;;;;21886:56:0;;;;;;;;-1:-1:-1;21957:11:0;21966:2;21957:11;;:::i;:::-;;;21826:154;;65898:689;66029:19;66035:2;66039:8;66029:5;:19::i;:::-;-1:-1:-1;;;;;66090:14:0;;;:19;66086:483;;66130:11;66144:13;66192:14;;;66225:233;66256:62;66295:1;66299:2;66303:7;;;;;;66312:5;66256:30;:62::i;:::-;66251:167;;66354:40;;-1:-1:-1;;;66354:40:0;;;;;;;;;;;66251:167;66453:3;66445:5;:11;66225:233;;66540:3;66523:13;;:20;66519:34;;66545:8;;;66519:34;66111:458;;65898:689;;;:::o;60180:2966::-;60253:20;60276:13;60304;60300:44;;60326:18;;-1:-1:-1;;;60326:18:0;;;;;;;;;;;60300:44;-1:-1:-1;;;;;60832:22:0;;;;;;:18;:22;;;;33901:2;60832:22;;;:71;;60870:32;60858:45;;60832:71;;;61146:31;;;:17;:31;;;;;-1:-1:-1;47882:15:0;;47856:24;47852:46;47451:11;47426:23;47422:41;47419:52;47409:63;;61146:173;;61381:23;;;;61146:31;;60832:22;;62146:25;60832:22;;61999:335;62660:1;62646:12;62642:20;62600:346;62701:3;62692:7;62689:16;62600:346;;62919:7;62909:8;62906:1;62879:25;62876:1;62873;62868:59;62754:1;62741:15;62600:346;;;-1:-1:-1;62979:13:0;62975:45;;63001:19;;-1:-1:-1;;;63001:19:0;;;;;;;;;;;62975:45;63037:13;:19;-1:-1:-1;55720:193:0;;;:::o;-1:-1:-1:-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;14:631:1;78:5;108:18;149:2;141:6;138:14;135:40;;;155:18;;:::i;:::-;230:2;224:9;198:2;284:15;;-1:-1:-1;;280:24:1;;;306:2;276:33;272:42;260:55;;;330:18;;;350:22;;;327:46;324:72;;;376:18;;:::i;:::-;416:10;412:2;405:22;445:6;436:15;;475:6;467;460:22;515:3;506:6;501:3;497:16;494:25;491:45;;;532:1;529;522:12;491:45;582:6;577:3;570:4;562:6;558:17;545:44;637:1;630:4;621:6;613;609:19;605:30;598:41;;;;14:631;;;;;:::o;650:173::-;718:20;;-1:-1:-1;;;;;767:31:1;;757:42;;747:70;;813:1;810;803:12;747:70;650:173;;;:::o;828:186::-;887:6;940:2;928:9;919:7;915:23;911:32;908:52;;;956:1;953;946:12;908:52;979:29;998:9;979:29;:::i;1019:260::-;1087:6;1095;1148:2;1136:9;1127:7;1123:23;1119:32;1116:52;;;1164:1;1161;1154:12;1116:52;1187:29;1206:9;1187:29;:::i;:::-;1177:39;;1235:38;1269:2;1258:9;1254:18;1235:38;:::i;:::-;1225:48;;1019:260;;;;;:::o;1284:328::-;1361:6;1369;1377;1430:2;1418:9;1409:7;1405:23;1401:32;1398:52;;;1446:1;1443;1436:12;1398:52;1469:29;1488:9;1469:29;:::i;:::-;1459:39;;1517:38;1551:2;1540:9;1536:18;1517:38;:::i;:::-;1507:48;;1602:2;1591:9;1587:18;1574:32;1564:42;;1284:328;;;;;:::o;1617:666::-;1712:6;1720;1728;1736;1789:3;1777:9;1768:7;1764:23;1760:33;1757:53;;;1806:1;1803;1796:12;1757:53;1829:29;1848:9;1829:29;:::i;:::-;1819:39;;1877:38;1911:2;1900:9;1896:18;1877:38;:::i;:::-;1867:48;;1962:2;1951:9;1947:18;1934:32;1924:42;;2017:2;2006:9;2002:18;1989:32;2044:18;2036:6;2033:30;2030:50;;;2076:1;2073;2066:12;2030:50;2099:22;;2152:4;2144:13;;2140:27;-1:-1:-1;2130:55:1;;2181:1;2178;2171:12;2130:55;2204:73;2269:7;2264:2;2251:16;2246:2;2242;2238:11;2204:73;:::i;:::-;2194:83;;;1617:666;;;;;;;:::o;2288:347::-;2353:6;2361;2414:2;2402:9;2393:7;2389:23;2385:32;2382:52;;;2430:1;2427;2420:12;2382:52;2453:29;2472:9;2453:29;:::i;:::-;2443:39;;2532:2;2521:9;2517:18;2504:32;2579:5;2572:13;2565:21;2558:5;2555:32;2545:60;;2601:1;2598;2591:12;2545:60;2624:5;2614:15;;;2288:347;;;;;:::o;2640:254::-;2708:6;2716;2769:2;2757:9;2748:7;2744:23;2740:32;2737:52;;;2785:1;2782;2775:12;2737:52;2808:29;2827:9;2808:29;:::i;:::-;2798:39;2884:2;2869:18;;;;2856:32;;-1:-1:-1;;;2640:254:1:o;2899:245::-;2957:6;3010:2;2998:9;2989:7;2985:23;2981:32;2978:52;;;3026:1;3023;3016:12;2978:52;3065:9;3052:23;3084:30;3108:5;3084:30;:::i;3149:249::-;3218:6;3271:2;3259:9;3250:7;3246:23;3242:32;3239:52;;;3287:1;3284;3277:12;3239:52;3319:9;3313:16;3338:30;3362:5;3338:30;:::i;3403:450::-;3472:6;3525:2;3513:9;3504:7;3500:23;3496:32;3493:52;;;3541:1;3538;3531:12;3493:52;3581:9;3568:23;3614:18;3606:6;3603:30;3600:50;;;3646:1;3643;3636:12;3600:50;3669:22;;3722:4;3714:13;;3710:27;-1:-1:-1;3700:55:1;;3751:1;3748;3741:12;3700:55;3774:73;3839:7;3834:2;3821:16;3816:2;3812;3808:11;3774:73;:::i;3858:180::-;3917:6;3970:2;3958:9;3949:7;3945:23;3941:32;3938:52;;;3986:1;3983;3976:12;3938:52;-1:-1:-1;4009:23:1;;3858:180;-1:-1:-1;3858:180:1:o;4043:257::-;4084:3;4122:5;4116:12;4149:6;4144:3;4137:19;4165:63;4221:6;4214:4;4209:3;4205:14;4198:4;4191:5;4187:16;4165:63;:::i;:::-;4282:2;4261:15;-1:-1:-1;;4257:29:1;4248:39;;;;4289:4;4244:50;;4043:257;-1:-1:-1;;4043:257:1:o;4305:185::-;4347:3;4385:5;4379:12;4400:52;4445:6;4440:3;4433:4;4426:5;4422:16;4400:52;:::i;:::-;4468:16;;;;;4305:185;-1:-1:-1;;4305:185:1:o;4613:1301::-;4890:3;4919:1;4952:6;4946:13;4982:3;5004:1;5032:9;5028:2;5024:18;5014:28;;5092:2;5081:9;5077:18;5114;5104:61;;5158:4;5150:6;5146:17;5136:27;;5104:61;5184:2;5232;5224:6;5221:14;5201:18;5198:38;5195:165;;;-1:-1:-1;;;5259:33:1;;5315:4;5312:1;5305:15;5345:4;5266:3;5333:17;5195:165;5376:18;5403:104;;;;5521:1;5516:320;;;;5369:467;;5403:104;-1:-1:-1;;5436:24:1;;5424:37;;5481:16;;;;-1:-1:-1;5403:104:1;;5516:320;10759:1;10752:14;;;10796:4;10783:18;;5611:1;5625:165;5639:6;5636:1;5633:13;5625:165;;;5717:14;;5704:11;;;5697:35;5760:16;;;;5654:10;;5625:165;;;5629:3;;5819:6;5814:3;5810:16;5803:23;;5369:467;;;;;;;5852:56;5877:30;5903:3;5895:6;5877:30;:::i;:::-;-1:-1:-1;;;4555:20:1;;4600:1;4591:11;;4495:113;5852:56;5845:63;4613:1301;-1:-1:-1;;;;;4613:1301:1:o;6337:488::-;-1:-1:-1;;;;;6606:15:1;;;6588:34;;6658:15;;6653:2;6638:18;;6631:43;6705:2;6690:18;;6683:34;;;6753:3;6748:2;6733:18;;6726:31;;;6531:4;;6774:45;;6799:19;;6791:6;6774:45;:::i;:::-;6766:53;6337:488;-1:-1:-1;;;;;;6337:488:1:o;7022:219::-;7171:2;7160:9;7153:21;7134:4;7191:44;7231:2;7220:9;7216:18;7208:6;7191:44;:::i;10812:128::-;10852:3;10883:1;10879:6;10876:1;10873:13;10870:39;;;10889:18;;:::i;:::-;-1:-1:-1;10925:9:1;;10812:128::o;10945:120::-;10985:1;11011;11001:35;;11016:18;;:::i;:::-;-1:-1:-1;11050:9:1;;10945:120::o;11070:168::-;11110:7;11176:1;11172;11168:6;11164:14;11161:1;11158:21;11153:1;11146:9;11139:17;11135:45;11132:71;;;11183:18;;:::i;:::-;-1:-1:-1;11223:9:1;;11070:168::o;11243:125::-;11283:4;11311:1;11308;11305:8;11302:34;;;11316:18;;:::i;:::-;-1:-1:-1;11353:9:1;;11243:125::o;11373:258::-;11445:1;11455:113;11469:6;11466:1;11463:13;11455:113;;;11545:11;;;11539:18;11526:11;;;11519:39;11491:2;11484:10;11455:113;;;11586:6;11583:1;11580:13;11577:48;;;-1:-1:-1;;11621:1:1;11603:16;;11596:27;11373:258::o;11636:380::-;11715:1;11711:12;;;;11758;;;11779:61;;11833:4;11825:6;11821:17;11811:27;;11779:61;11886:2;11878:6;11875:14;11855:18;11852:38;11849:161;;;11932:10;11927:3;11923:20;11920:1;11913:31;11967:4;11964:1;11957:15;11995:4;11992:1;11985:15;11849:161;;11636:380;;;:::o;12021:135::-;12060:3;-1:-1:-1;;12081:17:1;;12078:43;;;12101:18;;:::i;:::-;-1:-1:-1;12148:1:1;12137:13;;12021:135::o;12161:112::-;12193:1;12219;12209:35;;12224:18;;:::i;:::-;-1:-1:-1;12258:9:1;;12161:112::o;12278:127::-;12339:10;12334:3;12330:20;12327:1;12320:31;12370:4;12367:1;12360:15;12394:4;12391:1;12384:15;12410:127;12471:10;12466:3;12462:20;12459:1;12452:31;12502:4;12499:1;12492:15;12526:4;12523:1;12516:15;12542:127;12603:10;12598:3;12594:20;12591:1;12584:31;12634:4;12631:1;12624:15;12658:4;12655:1;12648:15;12674:127;12735:10;12730:3;12726:20;12723:1;12716:31;12766:4;12763:1;12756:15;12790:4;12787:1;12780:15;12806:131;-1:-1:-1;;;;;;12880:32:1;;12870:43;;12860:71;;12927:1;12924;12917:12
Swarm Source
ipfs://e2d871a56fe29b6e325a1eca5014d222ae63ae0491dbf1e531797e07059454fe
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.