Feature Tip: Add private address tag to any address under My Name Tag !
ERC-721
Overview
Max Total Supply
1,618 chr0m4
Holders
570
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
1 chr0m4Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
chr0m4s
Compiler Version
v0.8.17+commit.8df45f5f
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2022-12-05 */ // SPDX-License-Identifier: MIT /*** * * * . .-. . . . . , . .-. * | : : | | | .'| / .'| ( ) * .-.|--. .--.| |.--.--.'--|-.--. |.-. . . | /-. | >-< * ( | | | : ;| | | | `--. | )| | | ( ) | ( ) * `-'' `-' `-' ' ' `- ' `--' '`-' `--| '---'o`-' '---'`-' * ; * `-' */ // File: @openzeppelin/contracts/security/ReentrancyGuard.sol // OpenZeppelin Contracts v4.4.1 (security/ReentrancyGuard.sol) pragma solidity ^0.8.0; /** * @dev Contract module that helps prevent reentrant calls to a function. * * Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier * available, which can be applied to functions to make sure there are no nested * (reentrant) calls to them. * * Note that because there is a single `nonReentrant` guard, functions marked as * `nonReentrant` may not call one another. This can be worked around by making * those functions `private`, and then adding `external` `nonReentrant` entry * points to them. * * TIP: If you would like to learn more about reentrancy and alternative ways * to protect against it, check out our blog post * https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul]. */ abstract contract ReentrancyGuard { // Booleans are more expensive than uint256 or any type that takes up a full // word because each write operation emits an extra SLOAD to first read the // slot's contents, replace the bits taken up by the boolean, and then write // back. This is the compiler's defense against contract upgrades and // pointer aliasing, and it cannot be disabled. // The values being non-zero value makes deployment a bit more expensive, // but in exchange the refund on every call to nonReentrant will be lower in // amount. Since refunds are capped to a percentage of the total // transaction's gas, it is best to keep them low in cases like this one, to // increase the likelihood of the full refund coming into effect. uint256 private constant _NOT_ENTERED = 1; uint256 private constant _ENTERED = 2; uint256 private _status; constructor() { _status = _NOT_ENTERED; } /** * @dev Prevents a contract from calling itself, directly or indirectly. * Calling a `nonReentrant` function from another `nonReentrant` * function is not supported. It is possible to prevent this from happening * by making the `nonReentrant` function external, and making it call a * `private` function that does the actual work. */ modifier nonReentrant() { // On the first call to nonReentrant, _notEntered will be true require(_status != _ENTERED, "ReentrancyGuard: reentrant call"); // Any calls to nonReentrant after this point will fail _status = _ENTERED; _; // By storing the original value once again, a refund is triggered (see // https://eips.ethereum.org/EIPS/eip-2200) _status = _NOT_ENTERED; } } // 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: @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/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/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/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/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/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: 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/blockchainrocks.sol pragma solidity ^0.8.0; /*** * * * . .-. . . . . , . .-. * | : : | | | .'| / .'| ( ) * .-.|--. .--.| |.--.--.'--|-.--. |.-. . . | /-. | >-< * ( | | | : ;| | | | `--. | )| | | ( ) | ( ) * `-'' `-' `-' ' ' `- ' `--' '`-' `--| '---'o`-' '---'`-' * ; * `-' */ contract chr0m4s is ERC721A, Ownable, ReentrancyGuard { using Address for address; using Strings for uint; string public baseTokenURI = "ipfs://bafybeiheyqdbjmhjp5lqh7s7sx7bsezbqqxfmyvlbtw333cvfamogeqrn4/"; uint256 public maxSupply = 1618; uint256 public MAX_MINTS_PER_TX = 4; uint256 public PUBLIC_SALE_PRICE = 0.0025 ether; uint256 public NUM_FREE_MINTS = 500; uint256 public MAX_FREE_PER_WALLET = 1; uint256 public freeAlreadyMinted = 0; bool public isPublicSaleActive = false; constructor() ERC721A("chr0m4s by 1.618", "chr0m4") { } function mint(uint256 numberOfTokens) external payable { require(isPublicSaleActive, "1.618"); require(totalSupply() + numberOfTokens < maxSupply + 1, "1.618"); if(freeAlreadyMinted + numberOfTokens > NUM_FREE_MINTS){ require( (PUBLIC_SALE_PRICE * numberOfTokens) <= msg.value, "1.618" ); } else { if (balanceOf(msg.sender) + numberOfTokens > MAX_FREE_PER_WALLET) { require( (PUBLIC_SALE_PRICE * numberOfTokens) <= msg.value, "1.618" ); require( numberOfTokens <= MAX_MINTS_PER_TX, "1.618" ); } else { require( numberOfTokens <= MAX_FREE_PER_WALLET, "1.618" ); freeAlreadyMinted += numberOfTokens; } } _safeMint(msg.sender, numberOfTokens); } function setBaseURI(string memory baseURI) public onlyOwner { baseTokenURI = baseURI; } function treasuryMint(uint quantity) public onlyOwner { require( quantity > 0, "1.618" ); require( totalSupply() + quantity <= maxSupply, "1.618" ); _safeMint(msg.sender, quantity); } function withdraw() public onlyOwner nonReentrant { Address.sendValue(payable(msg.sender), address(this).balance); } function _baseURI() internal view virtual override returns (string memory) { return baseTokenURI; } function setIsPublicSaleActive(bool _isPublicSaleActive) external onlyOwner { isPublicSaleActive = _isPublicSaleActive; } function setNumFreeMints(uint256 _numfreemints) external onlyOwner { NUM_FREE_MINTS = _numfreemints; } function setSalePrice(uint256 _price) external onlyOwner { PUBLIC_SALE_PRICE = _price; } function setMaxLimitPerTransaction(uint256 _limit) external onlyOwner { MAX_MINTS_PER_TX = _limit; } function setFreeLimitPerWallet(uint256 _limit) external onlyOwner { MAX_FREE_PER_WALLET = _limit; } }
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":[],"name":"MAX_FREE_PER_WALLET","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_MINTS_PER_TX","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"NUM_FREE_MINTS","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PUBLIC_SALE_PRICE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseTokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"freeAlreadyMinted","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":"isPublicSaleActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"numberOfTokens","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"baseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_limit","type":"uint256"}],"name":"setFreeLimitPerWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_isPublicSaleActive","type":"bool"}],"name":"setIsPublicSaleActive","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_limit","type":"uint256"}],"name":"setMaxLimitPerTransaction","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_numfreemints","type":"uint256"}],"name":"setNumFreeMints","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_price","type":"uint256"}],"name":"setSalePrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"quantity","type":"uint256"}],"name":"treasuryMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
610100604052604360808181529062001c2160a039600a90620000239082620001de565b50610652600b556004600c556608e1bc9bf04000600d556101f4600e556001600f5560006010556011805460ff191690553480156200006157600080fd5b506040518060400160405280601081526020016f0c6d0e460da68e640c4f240625c6c62760831b8152506040518060400160405280600681526020016518da1c8c1b4d60d21b8152508160029081620000bb9190620001de565b506003620000ca8282620001de565b50506000805550620000dc33620000e7565b6001600955620002aa565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b634e487b7160e01b600052604160045260246000fd5b600181811c908216806200016457607f821691505b6020821081036200018557634e487b7160e01b600052602260045260246000fd5b50919050565b601f821115620001d957600081815260208120601f850160051c81016020861015620001b45750805b601f850160051c820191505b81811015620001d557828155600101620001c0565b5050505b505050565b81516001600160401b03811115620001fa57620001fa62000139565b62000212816200020b84546200014f565b846200018b565b602080601f8311600181146200024a5760008415620002315750858301515b600019600386901b1c1916600185901b178555620001d5565b600085815260208120601f198616915b828110156200027b578886015182559484019460019091019084016200025a565b50858210156200029a5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b61196780620002ba6000396000f3fe6080604052600436106101f95760003560e01c8063715018a61161010d578063b88d4fde116100a0578063d5abeb011161006f578063d5abeb0114610539578063dffe56b21461054f578063e985e9c514610565578063efdc778814610585578063f2fde38b146105a557600080fd5b8063b88d4fde146104db578063c6a91b42146104ee578063c87b56dd14610504578063d547cfb71461052457600080fd5b806398710d1e116100dc57806398710d1e146104725780639e9fcffc14610488578063a0712d68146104a8578063a22cb465146104bb57600080fd5b8063715018a6146104145780638da5cb5b1461042957806395d89b4114610447578063982d669e1461045c57600080fd5b80631e84c413116101905780633ccfd60b1161015f5780633ccfd60b1461038c57806342842e0e146103a157806355f804b3146103b45780636352211e146103d457806370a08231146103f457600080fd5b80631e84c4131461031f578063202f298a1461033957806323b872dd1461035957806328cad13d1461036c57600080fd5b8063095ea7b3116101cc578063095ea7b3146102b15780630a00ae83146102c657806318160ddd146102e65780631919fed7146102ff57600080fd5b806301ffc9a7146101fe57806306fdde031461023357806307e89ec014610255578063081812fc14610279575b600080fd5b34801561020a57600080fd5b5061021e6102193660046113fa565b6105c5565b60405190151581526020015b60405180910390f35b34801561023f57600080fd5b50610248610617565b60405161022a9190611467565b34801561026157600080fd5b5061026b600d5481565b60405190815260200161022a565b34801561028557600080fd5b5061029961029436600461147a565b6106a9565b6040516001600160a01b03909116815260200161022a565b6102c46102bf3660046114af565b6106ed565b005b3480156102d257600080fd5b506102c46102e136600461147a565b61078d565b3480156102f257600080fd5b506001546000540361026b565b34801561030b57600080fd5b506102c461031a36600461147a565b61079a565b34801561032b57600080fd5b5060115461021e9060ff1681565b34801561034557600080fd5b506102c461035436600461147a565b6107a7565b6102c46103673660046114d9565b6107b4565b34801561037857600080fd5b506102c4610387366004611525565b61094d565b34801561039857600080fd5b506102c4610968565b6102c46103af3660046114d9565b6109dd565b3480156103c057600080fd5b506102c46103cf3660046115cc565b6109fd565b3480156103e057600080fd5b506102996103ef36600461147a565b610a15565b34801561040057600080fd5b5061026b61040f366004611615565b610a20565b34801561042057600080fd5b506102c4610a6f565b34801561043557600080fd5b506008546001600160a01b0316610299565b34801561045357600080fd5b50610248610a83565b34801561046857600080fd5b5061026b600e5481565b34801561047e57600080fd5b5061026b600f5481565b34801561049457600080fd5b506102c46104a336600461147a565b610a92565b6102c46104b636600461147a565b610a9f565b3480156104c757600080fd5b506102c46104d6366004611630565b610c00565b6102c46104e9366004611663565b610c6c565b3480156104fa57600080fd5b5061026b600c5481565b34801561051057600080fd5b5061024861051f36600461147a565b610cb6565b34801561053057600080fd5b50610248610d3a565b34801561054557600080fd5b5061026b600b5481565b34801561055b57600080fd5b5061026b60105481565b34801561057157600080fd5b5061021e6105803660046116df565b610dc8565b34801561059157600080fd5b506102c46105a036600461147a565b610df6565b3480156105b157600080fd5b506102c46105c0366004611615565b610e57565b60006301ffc9a760e01b6001600160e01b0319831614806105f657506380ac58cd60e01b6001600160e01b03198316145b806106115750635b5e139f60e01b6001600160e01b03198316145b92915050565b60606002805461062690611709565b80601f016020809104026020016040519081016040528092919081815260200182805461065290611709565b801561069f5780601f106106745761010080835404028352916020019161069f565b820191906000526020600020905b81548152906001019060200180831161068257829003601f168201915b5050505050905090565b60006106b482610ecd565b6106d1576040516333d1c03960e21b815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b60006106f882610a15565b9050336001600160a01b03821614610731576107148133610dc8565b610731576040516367d9dca160e11b815260040160405180910390fd5b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b610795610ef4565b600e55565b6107a2610ef4565b600d55565b6107af610ef4565b600f55565b60006107bf82610f4e565b9050836001600160a01b0316816001600160a01b0316146107f25760405162a1148160e81b815260040160405180910390fd5b60008281526006602052604090208054338082146001600160a01b0388169091141761083f576108228633610dc8565b61083f57604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b03851661086657604051633a954ecd60e21b815260040160405180910390fd5b801561087157600082555b6001600160a01b038681166000908152600560205260408082208054600019019055918716808252919020805460010190554260a01b17600160e11b17600085815260046020526040812091909155600160e11b84169003610903576001840160008181526004602052604081205490036109015760005481146109015760008181526004602052604090208490555b505b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45b505050505050565b610955610ef4565b6011805460ff1916911515919091179055565b610970610ef4565b6002600954036109c75760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0060448201526064015b60405180910390fd5b60026009556109d63347610fb5565b6001600955565b6109f883838360405180602001604052806000815250610c6c565b505050565b610a05610ef4565b600a610a118282611789565b5050565b600061061182610f4e565b60006001600160a01b038216610a49576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b031660009081526005602052604090205467ffffffffffffffff1690565b610a77610ef4565b610a8160006110ce565b565b60606003805461062690611709565b610a9a610ef4565b600c55565b60115460ff16610ac15760405162461bcd60e51b81526004016109be90611849565b600b54610acf90600161187e565b81610add6001546000540390565b610ae7919061187e565b10610b045760405162461bcd60e51b81526004016109be90611849565b600e5481601054610b15919061187e565b1115610b4d573481600d54610b2a9190611891565b1115610b485760405162461bcd60e51b81526004016109be90611849565b610bf3565b600f5481610b5a33610a20565b610b64919061187e565b1115610bb9573481600d54610b799190611891565b1115610b975760405162461bcd60e51b81526004016109be90611849565b600c54811115610b485760405162461bcd60e51b81526004016109be90611849565b600f54811115610bdb5760405162461bcd60e51b81526004016109be90611849565b8060106000828254610bed919061187e565b90915550505b610bfd3382611120565b50565b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b610c778484846107b4565b6001600160a01b0383163b15610cb057610c938484848461113a565b610cb0576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b6060610cc182610ecd565b610cde57604051630a14c4b560e41b815260040160405180910390fd5b6000610ce8611226565b90508051600003610d085760405180602001604052806000815250610d33565b80610d1284611235565b604051602001610d239291906118a8565b6040516020818303038152906040525b9392505050565b600a8054610d4790611709565b80601f0160208091040260200160405190810160405280929190818152602001828054610d7390611709565b8015610dc05780601f10610d9557610100808354040283529160200191610dc0565b820191906000526020600020905b815481529060010190602001808311610da357829003601f168201915b505050505081565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b610dfe610ef4565b60008111610e1e5760405162461bcd60e51b81526004016109be90611849565b600b5481610e2f6001546000540390565b610e39919061187e565b1115610bf35760405162461bcd60e51b81526004016109be90611849565b610e5f610ef4565b6001600160a01b038116610ec45760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016109be565b610bfd816110ce565b6000805482108015610611575050600090815260046020526040902054600160e01b161590565b6008546001600160a01b03163314610a815760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016109be565b600081600054811015610f9c5760008181526004602052604081205490600160e01b82169003610f9a575b80600003610d33575060001901600081815260046020526040902054610f79565b505b604051636f96cda160e11b815260040160405180910390fd5b804710156110055760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a20696e73756666696369656e742062616c616e636500000060448201526064016109be565b6000826001600160a01b03168260405160006040518083038185875af1925050503d8060008114611052576040519150601f19603f3d011682016040523d82523d6000602084013e611057565b606091505b50509050806109f85760405162461bcd60e51b815260206004820152603a60248201527f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260448201527f6563697069656e74206d6179206861766520726576657274656400000000000060648201526084016109be565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b610a11828260405180602001604052806000815250611279565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a029061116f9033908990889088906004016118d7565b6020604051808303816000875af19250505080156111aa575060408051601f3d908101601f191682019092526111a791810190611914565b60015b611208573d8080156111d8576040519150601f19603f3d011682016040523d82523d6000602084013e6111dd565b606091505b508051600003611200576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490505b949350505050565b6060600a805461062690611709565b606060a06040510180604052602081039150506000815280825b600183039250600a81066030018353600a90048061124f5750819003601f19909101908152919050565b61128383836112e6565b6001600160a01b0383163b156109f8576000548281035b6112ad600086838060010194508661113a565b6112ca576040516368d2bf6b60e11b815260040160405180910390fd5b81811061129a5781600054146112df57600080fd5b5050505050565b600080549082900361130b5760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b03831660008181526005602090815260408083208054680100000000000000018802019055848352600490915281206001851460e11b4260a01b178317905582840190839083907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8180a4600183015b8181146113ba57808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4600101611382565b50816000036113db57604051622e076360e81b815260040160405180910390fd5b60005550505050565b6001600160e01b031981168114610bfd57600080fd5b60006020828403121561140c57600080fd5b8135610d33816113e4565b60005b8381101561143257818101518382015260200161141a565b50506000910152565b60008151808452611453816020860160208601611417565b601f01601f19169290920160200192915050565b602081526000610d33602083018461143b565b60006020828403121561148c57600080fd5b5035919050565b80356001600160a01b03811681146114aa57600080fd5b919050565b600080604083850312156114c257600080fd5b6114cb83611493565b946020939093013593505050565b6000806000606084860312156114ee57600080fd5b6114f784611493565b925061150560208501611493565b9150604084013590509250925092565b803580151581146114aa57600080fd5b60006020828403121561153757600080fd5b610d3382611515565b634e487b7160e01b600052604160045260246000fd5b600067ffffffffffffffff8084111561157157611571611540565b604051601f8501601f19908116603f0116810190828211818310171561159957611599611540565b816040528093508581528686860111156115b257600080fd5b858560208301376000602087830101525050509392505050565b6000602082840312156115de57600080fd5b813567ffffffffffffffff8111156115f557600080fd5b8201601f8101841361160657600080fd5b61121e84823560208401611556565b60006020828403121561162757600080fd5b610d3382611493565b6000806040838503121561164357600080fd5b61164c83611493565b915061165a60208401611515565b90509250929050565b6000806000806080858703121561167957600080fd5b61168285611493565b935061169060208601611493565b925060408501359150606085013567ffffffffffffffff8111156116b357600080fd5b8501601f810187136116c457600080fd5b6116d387823560208401611556565b91505092959194509250565b600080604083850312156116f257600080fd5b6116fb83611493565b915061165a60208401611493565b600181811c9082168061171d57607f821691505b60208210810361173d57634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156109f857600081815260208120601f850160051c8101602086101561176a5750805b601f850160051c820191505b8181101561094557828155600101611776565b815167ffffffffffffffff8111156117a3576117a3611540565b6117b7816117b18454611709565b84611743565b602080601f8311600181146117ec57600084156117d45750858301515b600019600386901b1c1916600185901b178555610945565b600085815260208120601f198616915b8281101561181b578886015182559484019460019091019084016117fc565b50858210156118395787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b6020808252600590820152640625c6c62760db1b604082015260600190565b634e487b7160e01b600052601160045260246000fd5b8082018082111561061157610611611868565b808202811582820484141761061157610611611868565b600083516118ba818460208801611417565b8351908301906118ce818360208801611417565b01949350505050565b6001600160a01b038581168252841660208201526040810183905260806060820181905260009061190a9083018461143b565b9695505050505050565b60006020828403121561192657600080fd5b8151610d33816113e456fea26469706673582212207a4ef3da3397a6b774273d5e6a8e8d8730de83691f0bdca440f3ee7499620e8f64736f6c63430008110033697066733a2f2f626166796265696865797164626a6d686a70356c71683773377378376273657a62717178666d79766c627477333333637666616d6f676571726e342f
Deployed Bytecode
0x6080604052600436106101f95760003560e01c8063715018a61161010d578063b88d4fde116100a0578063d5abeb011161006f578063d5abeb0114610539578063dffe56b21461054f578063e985e9c514610565578063efdc778814610585578063f2fde38b146105a557600080fd5b8063b88d4fde146104db578063c6a91b42146104ee578063c87b56dd14610504578063d547cfb71461052457600080fd5b806398710d1e116100dc57806398710d1e146104725780639e9fcffc14610488578063a0712d68146104a8578063a22cb465146104bb57600080fd5b8063715018a6146104145780638da5cb5b1461042957806395d89b4114610447578063982d669e1461045c57600080fd5b80631e84c413116101905780633ccfd60b1161015f5780633ccfd60b1461038c57806342842e0e146103a157806355f804b3146103b45780636352211e146103d457806370a08231146103f457600080fd5b80631e84c4131461031f578063202f298a1461033957806323b872dd1461035957806328cad13d1461036c57600080fd5b8063095ea7b3116101cc578063095ea7b3146102b15780630a00ae83146102c657806318160ddd146102e65780631919fed7146102ff57600080fd5b806301ffc9a7146101fe57806306fdde031461023357806307e89ec014610255578063081812fc14610279575b600080fd5b34801561020a57600080fd5b5061021e6102193660046113fa565b6105c5565b60405190151581526020015b60405180910390f35b34801561023f57600080fd5b50610248610617565b60405161022a9190611467565b34801561026157600080fd5b5061026b600d5481565b60405190815260200161022a565b34801561028557600080fd5b5061029961029436600461147a565b6106a9565b6040516001600160a01b03909116815260200161022a565b6102c46102bf3660046114af565b6106ed565b005b3480156102d257600080fd5b506102c46102e136600461147a565b61078d565b3480156102f257600080fd5b506001546000540361026b565b34801561030b57600080fd5b506102c461031a36600461147a565b61079a565b34801561032b57600080fd5b5060115461021e9060ff1681565b34801561034557600080fd5b506102c461035436600461147a565b6107a7565b6102c46103673660046114d9565b6107b4565b34801561037857600080fd5b506102c4610387366004611525565b61094d565b34801561039857600080fd5b506102c4610968565b6102c46103af3660046114d9565b6109dd565b3480156103c057600080fd5b506102c46103cf3660046115cc565b6109fd565b3480156103e057600080fd5b506102996103ef36600461147a565b610a15565b34801561040057600080fd5b5061026b61040f366004611615565b610a20565b34801561042057600080fd5b506102c4610a6f565b34801561043557600080fd5b506008546001600160a01b0316610299565b34801561045357600080fd5b50610248610a83565b34801561046857600080fd5b5061026b600e5481565b34801561047e57600080fd5b5061026b600f5481565b34801561049457600080fd5b506102c46104a336600461147a565b610a92565b6102c46104b636600461147a565b610a9f565b3480156104c757600080fd5b506102c46104d6366004611630565b610c00565b6102c46104e9366004611663565b610c6c565b3480156104fa57600080fd5b5061026b600c5481565b34801561051057600080fd5b5061024861051f36600461147a565b610cb6565b34801561053057600080fd5b50610248610d3a565b34801561054557600080fd5b5061026b600b5481565b34801561055b57600080fd5b5061026b60105481565b34801561057157600080fd5b5061021e6105803660046116df565b610dc8565b34801561059157600080fd5b506102c46105a036600461147a565b610df6565b3480156105b157600080fd5b506102c46105c0366004611615565b610e57565b60006301ffc9a760e01b6001600160e01b0319831614806105f657506380ac58cd60e01b6001600160e01b03198316145b806106115750635b5e139f60e01b6001600160e01b03198316145b92915050565b60606002805461062690611709565b80601f016020809104026020016040519081016040528092919081815260200182805461065290611709565b801561069f5780601f106106745761010080835404028352916020019161069f565b820191906000526020600020905b81548152906001019060200180831161068257829003601f168201915b5050505050905090565b60006106b482610ecd565b6106d1576040516333d1c03960e21b815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b60006106f882610a15565b9050336001600160a01b03821614610731576107148133610dc8565b610731576040516367d9dca160e11b815260040160405180910390fd5b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b610795610ef4565b600e55565b6107a2610ef4565b600d55565b6107af610ef4565b600f55565b60006107bf82610f4e565b9050836001600160a01b0316816001600160a01b0316146107f25760405162a1148160e81b815260040160405180910390fd5b60008281526006602052604090208054338082146001600160a01b0388169091141761083f576108228633610dc8565b61083f57604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b03851661086657604051633a954ecd60e21b815260040160405180910390fd5b801561087157600082555b6001600160a01b038681166000908152600560205260408082208054600019019055918716808252919020805460010190554260a01b17600160e11b17600085815260046020526040812091909155600160e11b84169003610903576001840160008181526004602052604081205490036109015760005481146109015760008181526004602052604090208490555b505b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45b505050505050565b610955610ef4565b6011805460ff1916911515919091179055565b610970610ef4565b6002600954036109c75760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0060448201526064015b60405180910390fd5b60026009556109d63347610fb5565b6001600955565b6109f883838360405180602001604052806000815250610c6c565b505050565b610a05610ef4565b600a610a118282611789565b5050565b600061061182610f4e565b60006001600160a01b038216610a49576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b031660009081526005602052604090205467ffffffffffffffff1690565b610a77610ef4565b610a8160006110ce565b565b60606003805461062690611709565b610a9a610ef4565b600c55565b60115460ff16610ac15760405162461bcd60e51b81526004016109be90611849565b600b54610acf90600161187e565b81610add6001546000540390565b610ae7919061187e565b10610b045760405162461bcd60e51b81526004016109be90611849565b600e5481601054610b15919061187e565b1115610b4d573481600d54610b2a9190611891565b1115610b485760405162461bcd60e51b81526004016109be90611849565b610bf3565b600f5481610b5a33610a20565b610b64919061187e565b1115610bb9573481600d54610b799190611891565b1115610b975760405162461bcd60e51b81526004016109be90611849565b600c54811115610b485760405162461bcd60e51b81526004016109be90611849565b600f54811115610bdb5760405162461bcd60e51b81526004016109be90611849565b8060106000828254610bed919061187e565b90915550505b610bfd3382611120565b50565b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b610c778484846107b4565b6001600160a01b0383163b15610cb057610c938484848461113a565b610cb0576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b6060610cc182610ecd565b610cde57604051630a14c4b560e41b815260040160405180910390fd5b6000610ce8611226565b90508051600003610d085760405180602001604052806000815250610d33565b80610d1284611235565b604051602001610d239291906118a8565b6040516020818303038152906040525b9392505050565b600a8054610d4790611709565b80601f0160208091040260200160405190810160405280929190818152602001828054610d7390611709565b8015610dc05780601f10610d9557610100808354040283529160200191610dc0565b820191906000526020600020905b815481529060010190602001808311610da357829003601f168201915b505050505081565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b610dfe610ef4565b60008111610e1e5760405162461bcd60e51b81526004016109be90611849565b600b5481610e2f6001546000540390565b610e39919061187e565b1115610bf35760405162461bcd60e51b81526004016109be90611849565b610e5f610ef4565b6001600160a01b038116610ec45760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016109be565b610bfd816110ce565b6000805482108015610611575050600090815260046020526040902054600160e01b161590565b6008546001600160a01b03163314610a815760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016109be565b600081600054811015610f9c5760008181526004602052604081205490600160e01b82169003610f9a575b80600003610d33575060001901600081815260046020526040902054610f79565b505b604051636f96cda160e11b815260040160405180910390fd5b804710156110055760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a20696e73756666696369656e742062616c616e636500000060448201526064016109be565b6000826001600160a01b03168260405160006040518083038185875af1925050503d8060008114611052576040519150601f19603f3d011682016040523d82523d6000602084013e611057565b606091505b50509050806109f85760405162461bcd60e51b815260206004820152603a60248201527f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260448201527f6563697069656e74206d6179206861766520726576657274656400000000000060648201526084016109be565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b610a11828260405180602001604052806000815250611279565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a029061116f9033908990889088906004016118d7565b6020604051808303816000875af19250505080156111aa575060408051601f3d908101601f191682019092526111a791810190611914565b60015b611208573d8080156111d8576040519150601f19603f3d011682016040523d82523d6000602084013e6111dd565b606091505b508051600003611200576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490505b949350505050565b6060600a805461062690611709565b606060a06040510180604052602081039150506000815280825b600183039250600a81066030018353600a90048061124f5750819003601f19909101908152919050565b61128383836112e6565b6001600160a01b0383163b156109f8576000548281035b6112ad600086838060010194508661113a565b6112ca576040516368d2bf6b60e11b815260040160405180910390fd5b81811061129a5781600054146112df57600080fd5b5050505050565b600080549082900361130b5760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b03831660008181526005602090815260408083208054680100000000000000018802019055848352600490915281206001851460e11b4260a01b178317905582840190839083907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8180a4600183015b8181146113ba57808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4600101611382565b50816000036113db57604051622e076360e81b815260040160405180910390fd5b60005550505050565b6001600160e01b031981168114610bfd57600080fd5b60006020828403121561140c57600080fd5b8135610d33816113e4565b60005b8381101561143257818101518382015260200161141a565b50506000910152565b60008151808452611453816020860160208601611417565b601f01601f19169290920160200192915050565b602081526000610d33602083018461143b565b60006020828403121561148c57600080fd5b5035919050565b80356001600160a01b03811681146114aa57600080fd5b919050565b600080604083850312156114c257600080fd5b6114cb83611493565b946020939093013593505050565b6000806000606084860312156114ee57600080fd5b6114f784611493565b925061150560208501611493565b9150604084013590509250925092565b803580151581146114aa57600080fd5b60006020828403121561153757600080fd5b610d3382611515565b634e487b7160e01b600052604160045260246000fd5b600067ffffffffffffffff8084111561157157611571611540565b604051601f8501601f19908116603f0116810190828211818310171561159957611599611540565b816040528093508581528686860111156115b257600080fd5b858560208301376000602087830101525050509392505050565b6000602082840312156115de57600080fd5b813567ffffffffffffffff8111156115f557600080fd5b8201601f8101841361160657600080fd5b61121e84823560208401611556565b60006020828403121561162757600080fd5b610d3382611493565b6000806040838503121561164357600080fd5b61164c83611493565b915061165a60208401611515565b90509250929050565b6000806000806080858703121561167957600080fd5b61168285611493565b935061169060208601611493565b925060408501359150606085013567ffffffffffffffff8111156116b357600080fd5b8501601f810187136116c457600080fd5b6116d387823560208401611556565b91505092959194509250565b600080604083850312156116f257600080fd5b6116fb83611493565b915061165a60208401611493565b600181811c9082168061171d57607f821691505b60208210810361173d57634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156109f857600081815260208120601f850160051c8101602086101561176a5750805b601f850160051c820191505b8181101561094557828155600101611776565b815167ffffffffffffffff8111156117a3576117a3611540565b6117b7816117b18454611709565b84611743565b602080601f8311600181146117ec57600084156117d45750858301515b600019600386901b1c1916600185901b178555610945565b600085815260208120601f198616915b8281101561181b578886015182559484019460019091019084016117fc565b50858210156118395787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b6020808252600590820152640625c6c62760db1b604082015260600190565b634e487b7160e01b600052601160045260246000fd5b8082018082111561061157610611611868565b808202811582820484141761061157610611611868565b600083516118ba818460208801611417565b8351908301906118ce818360208801611417565b01949350505050565b6001600160a01b038581168252841660208201526040810183905260806060820181905260009061190a9083018461143b565b9695505050505050565b60006020828403121561192657600080fd5b8151610d33816113e456fea26469706673582212207a4ef3da3397a6b774273d5e6a8e8d8730de83691f0bdca440f3ee7499620e8f64736f6c63430008110033
Deployed Bytecode Sourcemap
79019:2864:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;45212:639;;;;;;;;;;-1:-1:-1;45212:639:0;;;;;:::i;:::-;;:::i;:::-;;;565:14:1;;558:22;540:41;;528:2;513:18;45212:639:0;;;;;;;;46114:100;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;79322:48::-;;;;;;;;;;;;;;;;;;;1494:25:1;;;1482:2;1467:18;79322:48:0;1348:177:1;52605:218:0;;;;;;;;;;-1:-1:-1;52605:218:0;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;1879:32:1;;;1861:51;;1849:2;1834:18;52605:218:0;1715:203:1;52038:408:0;;;;;;:::i;:::-;;:::i;:::-;;81365:129;;;;;;;;;;-1:-1:-1;81365:129:0;;;;;:::i;:::-;;:::i;41865:323::-;;;;;;;;;;-1:-1:-1;42139:12:0;;41926:7;42123:13;:28;41865:323;;81500:115;;;;;;;;;;-1:-1:-1;81500:115:0;;;;;:::i;:::-;;:::i;79501:38::-;;;;;;;;;;-1:-1:-1;79501:38:0;;;;;;;;81754:126;;;;;;;;;;-1:-1:-1;81754:126:0;;;;;:::i;:::-;;:::i;56244:2825::-;;;;;;:::i;:::-;;:::i;81211:148::-;;;;;;;;;;-1:-1:-1;81211:148:0;;;;;:::i;:::-;;:::i;80922:142::-;;;;;;;;;;;;;:::i;59165:193::-;;;;;;:::i;:::-;;:::i;80550:108::-;;;;;;;;;;-1:-1:-1;80550:108:0;;;;;:::i;:::-;;:::i;47507:152::-;;;;;;;;;;-1:-1:-1;47507:152:0;;;;;:::i;:::-;;:::i;43049:233::-;;;;;;;;;;-1:-1:-1;43049:233:0;;;;;:::i;:::-;;:::i;8751:103::-;;;;;;;;;;;;;:::i;8103:87::-;;;;;;;;;;-1:-1:-1;8176:6:0;;-1:-1:-1;;;;;8176:6:0;8103:87;;46290:104;;;;;;;;;;;;;:::i;79375:36::-;;;;;;;;;;;;;;;;79416:39;;;;;;;;;;;;;;;;81621:127;;;;;;;;;;-1:-1:-1;81621:127:0;;;;;:::i;:::-;;:::i;79618:926::-;;;;;;:::i;:::-;;:::i;53163:234::-;;;;;;;;;;-1:-1:-1;53163:234:0;;;;;:::i;:::-;;:::i;59956:407::-;;;;;;:::i;:::-;;:::i;79281:36::-;;;;;;;;;;;;;;;;46500:318;;;;;;;;;;-1:-1:-1;46500:318:0;;;;;:::i;:::-;;:::i;79139:100::-;;;;;;;;;;;;;:::i;79244:32::-;;;;;;;;;;;;;;;;79460:36;;;;;;;;;;;;;;;;53554:164;;;;;;;;;;-1:-1:-1;53554:164:0;;;;;:::i;:::-;;:::i;80664:252::-;;;;;;;;;;-1:-1:-1;80664:252:0;;;;;:::i;:::-;;:::i;9009:201::-;;;;;;;;;;-1:-1:-1;9009:201:0;;;;;:::i;:::-;;:::i;45212:639::-;45297:4;-1:-1:-1;;;;;;;;;45621:25:0;;;;:102;;-1:-1:-1;;;;;;;;;;45698:25:0;;;45621:102;:179;;;-1:-1:-1;;;;;;;;;;45775:25:0;;;45621:179;45601:199;45212:639;-1:-1:-1;;45212:639:0:o;46114:100::-;46168:13;46201:5;46194:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;46114:100;:::o;52605:218::-;52681:7;52706:16;52714:7;52706;:16::i;:::-;52701:64;;52731:34;;-1:-1:-1;;;52731:34:0;;;;;;;;;;;52701:64;-1:-1:-1;52785:24:0;;;;:15;:24;;;;;:30;-1:-1:-1;;;;;52785:30:0;;52605:218::o;52038:408::-;52127:13;52143:16;52151:7;52143;:16::i;:::-;52127:32;-1:-1:-1;76371:10:0;-1:-1:-1;;;;;52176:28:0;;;52172:175;;52224:44;52241:5;76371:10;53554:164;:::i;52224:44::-;52219:128;;52296:35;;-1:-1:-1;;;52296:35:0;;;;;;;;;;;52219:128;52359:24;;;;:15;:24;;;;;;:35;;-1:-1:-1;;;;;;52359:35:0;-1:-1:-1;;;;;52359:35:0;;;;;;;;;52410:28;;52359:24;;52410:28;;;;;;;52116:330;52038:408;;:::o;81365:129::-;7989:13;:11;:13::i;:::-;81458:14:::1;:30:::0;81365:129::o;81500:115::-;7989:13;:11;:13::i;:::-;81583:17:::1;:26:::0;81500:115::o;81754:126::-;7989:13;:11;:13::i;:::-;81846:19:::1;:28:::0;81754:126::o;56244:2825::-;56386:27;56416;56435:7;56416:18;:27::i;:::-;56386:57;;56501:4;-1:-1:-1;;;;;56460:45:0;56476:19;-1:-1:-1;;;;;56460:45:0;;56456:86;;56514:28;;-1:-1:-1;;;56514:28:0;;;;;;;;;;;56456:86;56556:27;55352:24;;;:15;:24;;;;;55580:26;;76371:10;54977:30;;;-1:-1:-1;;;;;54670:28:0;;54955:20;;;54952:56;56742:180;;56835:43;56852:4;76371:10;53554:164;:::i;56835:43::-;56830:92;;56887:35;;-1:-1:-1;;;56887:35:0;;;;;;;;;;;56830:92;-1:-1:-1;;;;;56939:16:0;;56935:52;;56964:23;;-1:-1:-1;;;56964:23:0;;;;;;;;;;;56935:52;57136:15;57133:160;;;57276:1;57255:19;57248:30;57133:160;-1:-1:-1;;;;;57673:24:0;;;;;;;:18;:24;;;;;;57671:26;;-1:-1:-1;;57671:26:0;;;57742:22;;;;;;;;;57740:24;;-1:-1:-1;57740:24:0;;;50896:11;50871:23;50867:41;50854:63;-1:-1:-1;;;50854:63:0;58035:26;;;;:17;:26;;;;;:175;;;;-1:-1:-1;;;58330:47:0;;:52;;58326:627;;58435:1;58425:11;;58403:19;58558:30;;;:17;:30;;;;;;:35;;58554:384;;58696:13;;58681:11;:28;58677:242;;58843:30;;;;:17;:30;;;;;:52;;;58677:242;58384:569;58326:627;59000:7;58996:2;-1:-1:-1;;;;;58981:27:0;58990:4;-1:-1:-1;;;;;58981:27:0;;;;;;;;;;;59019:42;56375:2694;;;56244:2825;;;:::o;81211:148::-;7989:13;:11;:13::i;:::-;81313:18:::1;:40:::0;;-1:-1:-1;;81313:40:0::1;::::0;::::1;;::::0;;;::::1;::::0;;81211:148::o;80922:142::-;7989:13;:11;:13::i;:::-;2531:1:::1;3129:7;;:19:::0;3121:63:::1;;;::::0;-1:-1:-1;;;3121:63:0;;6242:2:1;3121:63:0::1;::::0;::::1;6224:21:1::0;6281:2;6261:18;;;6254:30;6320:33;6300:18;;;6293:61;6371:18;;3121:63:0::1;;;;;;;;;2531:1;3262:7;:18:::0;80997:61:::2;81023:10;81036:21;80997:17;:61::i;:::-;2487:1:::1;3441:7;:22:::0;80922:142::o;59165:193::-;59311:39;59328:4;59334:2;59338:7;59311:39;;;;;;;;;;;;:16;:39::i;:::-;59165:193;;;:::o;80550:108::-;7989:13;:11;:13::i;:::-;80630:12:::1;:22;80645:7:::0;80630:12;:22:::1;:::i;:::-;;80550:108:::0;:::o;47507:152::-;47579:7;47622:27;47641:7;47622:18;:27::i;43049:233::-;43121:7;-1:-1:-1;;;;;43145:19:0;;43141:60;;43173:28;;-1:-1:-1;;;43173:28:0;;;;;;;;;;;43141:60;-1:-1:-1;;;;;;43219:25:0;;;;;:18;:25;;;;;;37208:13;43219:55;;43049:233::o;8751:103::-;7989:13;:11;:13::i;:::-;8816:30:::1;8843:1;8816:18;:30::i;:::-;8751:103::o:0;46290:104::-;46346:13;46379:7;46372:14;;;;;:::i;81621:127::-;7989:13;:11;:13::i;:::-;81717:16:::1;:25:::0;81621:127::o;79618:926::-;79705:18;;;;79697:36;;;;-1:-1:-1;;;79697:36:0;;;;;;;:::i;:::-;79781:9;;:13;;79793:1;79781:13;:::i;:::-;79764:14;79748:13;42139:12;;41926:7;42123:13;:28;;41865:323;79748:13;:30;;;;:::i;:::-;:46;79740:64;;;;-1:-1:-1;;;79740:64:0;;;;;;;:::i;:::-;79853:14;;79836;79816:17;;:34;;;;:::i;:::-;:51;79813:682;;;79941:9;79922:14;79902:17;;:34;;;;:::i;:::-;79901:49;;79879:104;;;;-1:-1:-1;;;79879:104:0;;;;;;;:::i;:::-;79813:682;;;80053:19;;80036:14;80012:21;80022:10;80012:9;:21::i;:::-;:38;;;;:::i;:::-;:60;80008:480;;;80147:9;80128:14;80108:17;;:34;;;;:::i;:::-;80107:49;;80085:104;;;;-1:-1:-1;;;80085:104:0;;;;;;;:::i;:::-;80240:16;;80222:14;:34;;80200:89;;;;-1:-1:-1;;;80200:89:0;;;;;;;:::i;80008:480::-;80366:19;;80348:14;:37;;80322:104;;;;-1:-1:-1;;;80322:104:0;;;;;;;:::i;:::-;80462:14;80441:17;;:35;;;;;;;:::i;:::-;;;;-1:-1:-1;;80008:480:0;80501:37;80511:10;80523:14;80501:9;:37::i;:::-;79618:926;:::o;53163:234::-;76371:10;53258:39;;;;:18;:39;;;;;;;;-1:-1:-1;;;;;53258:49:0;;;;;;;;;;;;:60;;-1:-1:-1;;53258:60:0;;;;;;;;;;53334:55;;540:41:1;;;53258:49:0;;76371:10;53334:55;;513:18:1;53334:55:0;;;;;;;53163:234;;:::o;59956:407::-;60131:31;60144:4;60150:2;60154:7;60131:12;:31::i;:::-;-1:-1:-1;;;;;60177:14:0;;;:19;60173:183;;60216:56;60247:4;60253:2;60257:7;60266:5;60216:30;:56::i;:::-;60211:145;;60300:40;;-1:-1:-1;;;60300:40:0;;;;;;;;;;;60211:145;59956:407;;;;:::o;46500:318::-;46573:13;46604:16;46612:7;46604;:16::i;:::-;46599:59;;46629:29;;-1:-1:-1;;;46629:29:0;;;;;;;;;;;46599:59;46671:21;46695:10;:8;:10::i;:::-;46671:34;;46729:7;46723:21;46748:1;46723:26;:87;;;;;;;;;;;;;;;;;46776:7;46785:18;46795:7;46785:9;:18::i;:::-;46759:45;;;;;;;;;:::i;:::-;;;;;;;;;;;;;46723:87;46716:94;46500:318;-1:-1:-1;;;46500:318:0:o;79139:100::-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;53554:164::-;-1:-1:-1;;;;;53675:25:0;;;53651:4;53675:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;53554:164::o;80664:252::-;7989:13;:11;:13::i;:::-;80765:1:::1;80754:8;:12;80738:51;;;;-1:-1:-1::0;;;80738:51:0::1;;;;;;;:::i;:::-;80840:9;;80828:8;80812:13;42139:12:::0;;41926:7;42123:13;:28;;41865:323;80812:13:::1;:24;;;;:::i;:::-;:37;;80796:76;;;;-1:-1:-1::0;;;80796:76:0::1;;;;;;;:::i;9009:201::-:0;7989:13;:11;:13::i;:::-;-1:-1:-1;;;;;9098:22:0;::::1;9090:73;;;::::0;-1:-1:-1;;;9090:73:0;;10075:2:1;9090:73:0::1;::::0;::::1;10057:21:1::0;10114:2;10094:18;;;10087:30;10153:34;10133:18;;;10126:62;-1:-1:-1;;;10204:18:1;;;10197:36;10250:19;;9090:73:0::1;9873:402:1::0;9090:73:0::1;9174:28;9193:8;9174:18;:28::i;53976:282::-:0;54041:4;54131:13;;54121:7;:23;54078:153;;;;-1:-1:-1;;54182:26:0;;;;:17;:26;;;;;;-1:-1:-1;;;54182:44:0;:49;;53976:282::o;8268:132::-;8176:6;;-1:-1:-1;;;;;8176:6:0;76371:10;8332:23;8324:68;;;;-1:-1:-1;;;8324:68:0;;10482:2:1;8324:68:0;;;10464:21:1;;;10501:18;;;10494:30;10560:34;10540:18;;;10533:62;10612:18;;8324:68:0;10280:356:1;48662:1275:0;48729:7;48764;48866:13;;48859:4;:20;48855:1015;;;48904:14;48921:23;;;:17;:23;;;;;;;-1:-1:-1;;;49010:24:0;;:29;;49006:845;;49675:113;49682:6;49692:1;49682:11;49675:113;;-1:-1:-1;;;49753:6:0;49735:25;;;;:17;:25;;;;;;49675:113;;49006:845;48881:989;48855:1015;49898:31;;-1:-1:-1;;;49898:31:0;;;;;;;;;;;12062:317;12177:6;12152:21;:31;;12144:73;;;;-1:-1:-1;;;12144:73:0;;10843:2:1;12144:73:0;;;10825:21:1;10882:2;10862:18;;;10855:30;10921:31;10901:18;;;10894:59;10970:18;;12144:73:0;10641:353:1;12144:73:0;12231:12;12249:9;-1:-1:-1;;;;;12249:14:0;12271:6;12249:33;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;12230:52;;;12301:7;12293:78;;;;-1:-1:-1;;;12293:78:0;;11411:2:1;12293:78:0;;;11393:21:1;11450:2;11430:18;;;11423:30;11489:34;11469:18;;;11462:62;11560:28;11540:18;;;11533:56;11606:19;;12293:78:0;11209:422:1;9370:191:0;9463:6;;;-1:-1:-1;;;;;9480:17:0;;;-1:-1:-1;;;;;;9480:17:0;;;;;;;9513:40;;9463:6;;;9480:17;9463:6;;9513:40;;9444:16;;9513:40;9433:128;9370:191;:::o;70116:112::-;70193:27;70203:2;70207:8;70193:27;;;;;;;;;;;;:9;:27::i;62447:716::-;62631:88;;-1:-1:-1;;;62631:88:0;;62610:4;;-1:-1:-1;;;;;62631:45:0;;;;;:88;;76371:10;;62698:4;;62704:7;;62713:5;;62631:88;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;-1:-1:-1;62631:88:0;;;;;;;;-1:-1:-1;;62631:88:0;;;;;;;;;;;;:::i;:::-;;;62627:529;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;62914:6;:13;62931:1;62914:18;62910:235;;62960:40;;-1:-1:-1;;;62960:40:0;;;;;;;;;;;62910:235;63103:6;63097:13;63088:6;63084:2;63080:15;63073:38;62627:529;-1:-1:-1;;;;;;62790:64:0;-1:-1:-1;;;62790:64:0;;-1:-1:-1;62627:529:0;62447:716;;;;;;:::o;81070:135::-;81155:13;81187:12;81180:19;;;;;:::i;76491:1745::-;76556:17;76990:4;76983;76977:11;76973:22;77082:1;77076:4;77069:15;77157:4;77154:1;77150:12;77143:19;;;77239:1;77234:3;77227:14;77343:3;77582:5;77564:428;77630:1;77625:3;77621:11;77614:18;;77801:2;77795:4;77791:13;77787:2;77783:22;77778:3;77770:36;77895:2;77885:13;;77952:25;77564:428;77952:25;-1:-1:-1;78022:13:0;;;-1:-1:-1;;78137:14:0;;;78199:19;;;78137:14;76491:1745;-1:-1:-1;76491:1745:0:o;69343:689::-;69474:19;69480:2;69484:8;69474:5;:19::i;:::-;-1:-1:-1;;;;;69535:14:0;;;:19;69531:483;;69575:11;69589:13;69637:14;;;69670:233;69701:62;69740:1;69744:2;69748:7;;;;;;69757:5;69701:30;:62::i;:::-;69696:167;;69799:40;;-1:-1:-1;;;69799:40:0;;;;;;;;;;;69696:167;69898:3;69890:5;:11;69670:233;;69985:3;69968:13;;:20;69964:34;;69990:8;;;69964:34;69556:458;;69343:689;;;:::o;63625:2966::-;63698:20;63721:13;;;63749;;;63745:44;;63771:18;;-1:-1:-1;;;63771:18:0;;;;;;;;;;;63745:44;-1:-1:-1;;;;;64277:22:0;;;;;;:18;:22;;;;37346:2;64277:22;;;:71;;64315:32;64303:45;;64277:71;;;64591:31;;;:17;:31;;;;;-1:-1:-1;51327:15:0;;51301:24;51297:46;50896:11;50871:23;50867:41;50864:52;50854:63;;64591:173;;64826:23;;;;64591:31;;64277:22;;65591:25;64277:22;;65444:335;66105:1;66091:12;66087:20;66045:346;66146:3;66137:7;66134:16;66045:346;;66364:7;66354:8;66351:1;66324:25;66321:1;66318;66313:59;66199:1;66186:15;66045:346;;;66049:77;66424:8;66436:1;66424:13;66420:45;;66446:19;;-1:-1:-1;;;66446:19:0;;;;;;;;;;;66420:45;66482:13;:19;-1:-1:-1;59165:193:0;;;:::o;14:131:1:-;-1:-1:-1;;;;;;88:32:1;;78:43;;68:71;;135:1;132;125:12;150:245;208:6;261:2;249:9;240:7;236:23;232:32;229:52;;;277:1;274;267:12;229:52;316:9;303:23;335:30;359:5;335:30;:::i;592:250::-;677:1;687:113;701:6;698:1;695:13;687:113;;;777:11;;;771:18;758:11;;;751:39;723:2;716:10;687:113;;;-1:-1:-1;;834:1:1;816:16;;809:27;592:250::o;847:271::-;889:3;927:5;921:12;954:6;949:3;942:19;970:76;1039:6;1032:4;1027:3;1023:14;1016:4;1009:5;1005:16;970:76;:::i;:::-;1100:2;1079:15;-1:-1:-1;;1075:29:1;1066:39;;;;1107:4;1062:50;;847:271;-1:-1:-1;;847:271:1:o;1123:220::-;1272:2;1261:9;1254:21;1235:4;1292:45;1333:2;1322:9;1318:18;1310:6;1292:45;:::i;1530:180::-;1589:6;1642:2;1630:9;1621:7;1617:23;1613:32;1610:52;;;1658:1;1655;1648:12;1610:52;-1:-1:-1;1681:23:1;;1530:180;-1:-1:-1;1530:180:1:o;1923:173::-;1991:20;;-1:-1:-1;;;;;2040:31:1;;2030:42;;2020:70;;2086:1;2083;2076:12;2020:70;1923:173;;;:::o;2101:254::-;2169:6;2177;2230:2;2218:9;2209:7;2205:23;2201:32;2198:52;;;2246:1;2243;2236:12;2198:52;2269:29;2288:9;2269:29;:::i;:::-;2259:39;2345:2;2330:18;;;;2317:32;;-1:-1:-1;;;2101:254:1:o;2360:328::-;2437:6;2445;2453;2506:2;2494:9;2485:7;2481:23;2477:32;2474:52;;;2522:1;2519;2512:12;2474:52;2545:29;2564:9;2545:29;:::i;:::-;2535:39;;2593:38;2627:2;2616:9;2612:18;2593:38;:::i;:::-;2583:48;;2678:2;2667:9;2663:18;2650:32;2640:42;;2360:328;;;;;:::o;2693:160::-;2758:20;;2814:13;;2807:21;2797:32;;2787:60;;2843:1;2840;2833:12;2858:180;2914:6;2967:2;2955:9;2946:7;2942:23;2938:32;2935:52;;;2983:1;2980;2973:12;2935:52;3006:26;3022:9;3006:26;:::i;3043:127::-;3104:10;3099:3;3095:20;3092:1;3085:31;3135:4;3132:1;3125:15;3159:4;3156:1;3149:15;3175:632;3240:5;3270:18;3311:2;3303:6;3300:14;3297:40;;;3317:18;;:::i;:::-;3392:2;3386:9;3360:2;3446:15;;-1:-1:-1;;3442:24:1;;;3468:2;3438:33;3434:42;3422:55;;;3492:18;;;3512:22;;;3489:46;3486:72;;;3538:18;;:::i;:::-;3578:10;3574:2;3567:22;3607:6;3598:15;;3637:6;3629;3622:22;3677:3;3668:6;3663:3;3659:16;3656:25;3653:45;;;3694:1;3691;3684:12;3653:45;3744:6;3739:3;3732:4;3724:6;3720:17;3707:44;3799:1;3792:4;3783:6;3775;3771:19;3767:30;3760:41;;;;3175:632;;;;;:::o;3812:451::-;3881:6;3934:2;3922:9;3913:7;3909:23;3905:32;3902:52;;;3950:1;3947;3940:12;3902:52;3990:9;3977:23;4023:18;4015:6;4012:30;4009:50;;;4055:1;4052;4045:12;4009:50;4078:22;;4131:4;4123:13;;4119:27;-1:-1:-1;4109:55:1;;4160:1;4157;4150:12;4109:55;4183:74;4249:7;4244:2;4231:16;4226:2;4222;4218:11;4183:74;:::i;4268:186::-;4327:6;4380:2;4368:9;4359:7;4355:23;4351:32;4348:52;;;4396:1;4393;4386:12;4348:52;4419:29;4438:9;4419:29;:::i;4459:254::-;4524:6;4532;4585:2;4573:9;4564:7;4560:23;4556:32;4553:52;;;4601:1;4598;4591:12;4553:52;4624:29;4643:9;4624:29;:::i;:::-;4614:39;;4672:35;4703:2;4692:9;4688:18;4672:35;:::i;:::-;4662:45;;4459:254;;;;;:::o;4718:667::-;4813:6;4821;4829;4837;4890:3;4878:9;4869:7;4865:23;4861:33;4858:53;;;4907:1;4904;4897:12;4858:53;4930:29;4949:9;4930:29;:::i;:::-;4920:39;;4978:38;5012:2;5001:9;4997:18;4978:38;:::i;:::-;4968:48;;5063:2;5052:9;5048:18;5035:32;5025:42;;5118:2;5107:9;5103:18;5090:32;5145:18;5137:6;5134:30;5131:50;;;5177:1;5174;5167:12;5131:50;5200:22;;5253:4;5245:13;;5241:27;-1:-1:-1;5231:55:1;;5282:1;5279;5272:12;5231:55;5305:74;5371:7;5366:2;5353:16;5348:2;5344;5340:11;5305:74;:::i;:::-;5295:84;;;4718:667;;;;;;;:::o;5390:260::-;5458:6;5466;5519:2;5507:9;5498:7;5494:23;5490:32;5487:52;;;5535:1;5532;5525:12;5487:52;5558:29;5577:9;5558:29;:::i;:::-;5548:39;;5606:38;5640:2;5629:9;5625:18;5606:38;:::i;5655:380::-;5734:1;5730:12;;;;5777;;;5798:61;;5852:4;5844:6;5840:17;5830:27;;5798:61;5905:2;5897:6;5894:14;5874:18;5871:38;5868:161;;5951:10;5946:3;5942:20;5939:1;5932:31;5986:4;5983:1;5976:15;6014:4;6011:1;6004:15;5868:161;;5655:380;;;:::o;6526:545::-;6628:2;6623:3;6620:11;6617:448;;;6664:1;6689:5;6685:2;6678:17;6734:4;6730:2;6720:19;6804:2;6792:10;6788:19;6785:1;6781:27;6775:4;6771:38;6840:4;6828:10;6825:20;6822:47;;;-1:-1:-1;6863:4:1;6822:47;6918:2;6913:3;6909:12;6906:1;6902:20;6896:4;6892:31;6882:41;;6973:82;6991:2;6984:5;6981:13;6973:82;;;7036:17;;;7017:1;7006:13;6973:82;;7247:1352;7373:3;7367:10;7400:18;7392:6;7389:30;7386:56;;;7422:18;;:::i;:::-;7451:97;7541:6;7501:38;7533:4;7527:11;7501:38;:::i;:::-;7495:4;7451:97;:::i;:::-;7603:4;;7667:2;7656:14;;7684:1;7679:663;;;;8386:1;8403:6;8400:89;;;-1:-1:-1;8455:19:1;;;8449:26;8400:89;-1:-1:-1;;7204:1:1;7200:11;;;7196:24;7192:29;7182:40;7228:1;7224:11;;;7179:57;8502:81;;7649:944;;7679:663;6473:1;6466:14;;;6510:4;6497:18;;-1:-1:-1;;7715:20:1;;;7833:236;7847:7;7844:1;7841:14;7833:236;;;7936:19;;;7930:26;7915:42;;8028:27;;;;7996:1;7984:14;;;;7863:19;;7833:236;;;7837:3;8097:6;8088:7;8085:19;8082:201;;;8158:19;;;8152:26;-1:-1:-1;;8241:1:1;8237:14;;;8253:3;8233:24;8229:37;8225:42;8210:58;8195:74;;8082:201;-1:-1:-1;;;;;8329:1:1;8313:14;;;8309:22;8296:36;;-1:-1:-1;7247:1352:1:o;8604:328::-;8806:2;8788:21;;;8845:1;8825:18;;;8818:29;-1:-1:-1;;;8878:2:1;8863:18;;8856:35;8923:2;8908:18;;8604:328::o;8937:127::-;8998:10;8993:3;8989:20;8986:1;8979:31;9029:4;9026:1;9019:15;9053:4;9050:1;9043:15;9069:125;9134:9;;;9155:10;;;9152:36;;;9168:18;;:::i;9199:168::-;9272:9;;;9303;;9320:15;;;9314:22;;9300:37;9290:71;;9341:18;;:::i;9372:496::-;9551:3;9589:6;9583:13;9605:66;9664:6;9659:3;9652:4;9644:6;9640:17;9605:66;:::i;:::-;9734:13;;9693:16;;;;9756:70;9734:13;9693:16;9803:4;9791:17;;9756:70;:::i;:::-;9842:20;;9372:496;-1:-1:-1;;;;9372:496:1:o;11636:489::-;-1:-1:-1;;;;;11905:15:1;;;11887:34;;11957:15;;11952:2;11937:18;;11930:43;12004:2;11989:18;;11982:34;;;12052:3;12047:2;12032:18;;12025:31;;;11830:4;;12073:46;;12099:19;;12091:6;12073:46;:::i;:::-;12065:54;11636:489;-1:-1:-1;;;;;;11636:489:1:o;12130:249::-;12199:6;12252:2;12240:9;12231:7;12227:23;12223:32;12220:52;;;12268:1;12265;12258:12;12220:52;12300:9;12294:16;12319:30;12343:5;12319:30;:::i
Swarm Source
ipfs://7a4ef3da3397a6b774273d5e6a8e8d8730de83691f0bdca440f3ee7499620e8f
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.