Feature Tip: Add private address tag to any address under My Name Tag !
ERC-721
Overview
Max Total Supply
6,666 HN
Holders
84
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
9 HNLoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
HoodyNightmare
Compiler Version
v0.8.7+commit.e28d00a7
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2022-10-14 */ // SPDX-License-Identifier: MIT // File: @openzeppelin/contracts/utils/Strings.sol // OpenZeppelin Contracts v4.4.1 (utils/Strings.sol) pragma solidity ^0.8.0; /** * @dev String operations. */ library Strings { bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef"; /** * @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); } } // 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/utils/Address.sol // OpenZeppelin Contracts (last updated v4.5.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 assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } } // File: @openzeppelin/contracts/token/ERC721/IERC721Receiver.sol // OpenZeppelin Contracts v4.4.1 (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 `IERC721.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 v4.4.1 (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`, 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 ) 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 Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @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 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); /** * @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; } // 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: contracts/new.sol pragma solidity ^0.8.4; error ApprovalCallerNotOwnerNorApproved(); error ApprovalQueryForNonexistentToken(); error ApproveToCaller(); error ApprovalToCurrentOwner(); error BalanceQueryForZeroAddress(); error MintToZeroAddress(); error MintZeroQuantity(); error OwnerQueryForNonexistentToken(); error TransferCallerNotOwnerNorApproved(); error TransferFromIncorrectOwner(); error TransferToNonERC721ReceiverImplementer(); error TransferToZeroAddress(); error URIQueryForNonexistentToken(); /** * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including * the Metadata extension. Built to optimize for lower gas during batch mints. * * Assumes serials are sequentially minted starting at _startTokenId() (defaults to 0, e.g. 0, 1, 2, 3..). * * Assumes that an owner cannot have more than 2**64 - 1 (max value of uint64) of supply. * * Assumes that the maximum token id cannot exceed 2**256 - 1 (max value of uint256). */ contract ERC721A is Context, ERC165, IERC721, IERC721Metadata { using Address for address; using Strings for uint256; // Compiler will pack this into a single 256bit word. struct TokenOwnership { // The address of the owner. address addr; // Keeps track of the start time of ownership with minimal overhead for tokenomics. uint64 startTimestamp; // Whether the token has been burned. bool burned; } // Compiler will pack this into a single 256bit word. struct AddressData { // Realistically, 2**64-1 is more than enough. uint64 balance; // Keeps track of mint count with minimal overhead for tokenomics. uint64 numberMinted; // Keeps track of burn count with minimal overhead for tokenomics. uint64 numberBurned; // For miscellaneous variable(s) pertaining to the address // (e.g. number of whitelist mint slots used). // If there are multiple variables, please pack them into a uint64. uint64 aux; } // The tokenId of the next token to be minted. uint256 internal _currentIndex; // The number of tokens burned. uint256 internal _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 _ownershipOf implementation for details. mapping(uint256 => TokenOwnership) internal _ownerships; // Mapping owner address to address data mapping(address => AddressData) private _addressData; // Mapping from token ID to approved address mapping(uint256 => address) private _tokenApprovals; // Mapping from owner to operator approvals mapping(address => mapping(address => bool)) private _operatorApprovals; constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; _currentIndex = _startTokenId(); } /** * To change the starting tokenId, please override this function. */ function _startTokenId() internal view virtual returns (uint256) { return 1; } /** * @dev Burned tokens are calculated here, use _totalMinted() if you want to count just minted tokens. */ function totalSupply() public view returns (uint256) { // Counter underflow is impossible as _burnCounter cannot be incremented // more than _currentIndex - _startTokenId() times unchecked { return _currentIndex - _burnCounter - _startTokenId(); } } /** * Returns the total amount of tokens minted in the contract. */ function _totalMinted() internal view returns (uint256) { // Counter underflow is impossible as _currentIndex does not decrement, // and it is initialized to _startTokenId() unchecked { return _currentIndex - _startTokenId(); } } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) { return interfaceId == type(IERC721).interfaceId || interfaceId == type(IERC721Metadata).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC721-balanceOf}. */ function balanceOf(address owner) public view override returns (uint256) { if (owner == address(0)) revert BalanceQueryForZeroAddress(); return uint256(_addressData[owner].balance); } /** * Returns the number of tokens minted by `owner`. */ function _numberMinted(address owner) internal view returns (uint256) { return uint256(_addressData[owner].numberMinted); } /** * Returns the number of tokens burned by or on behalf of `owner`. */ function _numberBurned(address owner) internal view returns (uint256) { return uint256(_addressData[owner].numberBurned); } /** * Returns the auxillary data for `owner`. (e.g. number of whitelist mint slots used). */ function _getAux(address owner) internal view returns (uint64) { return _addressData[owner].aux; } /** * Sets the auxillary 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 { _addressData[owner].aux = aux; } /** * Gas spent here starts off proportional to the maximum mint batch size. * It gradually moves to O(1) as tokens get transferred around in the collection over time. */ function _ownershipOf(uint256 tokenId) internal view returns (TokenOwnership memory) { uint256 curr = tokenId; unchecked { if (_startTokenId() <= curr && curr < _currentIndex) { TokenOwnership memory ownership = _ownerships[curr]; if (!ownership.burned) { if (ownership.addr != address(0)) { return ownership; } // Invariant: // There will always be an ownership that has an address and is not burned // before an ownership that does not have an address and is not burned. // Hence, curr will not underflow. while (true) { curr--; ownership = _ownerships[curr]; if (ownership.addr != address(0)) { return ownership; } } } } } revert OwnerQueryForNonexistentToken(); } /** * @dev See {IERC721-ownerOf}. */ function ownerOf(uint256 tokenId) public view override returns (address) { return _ownershipOf(tokenId).addr; } /** * @dev See {IERC721Metadata-name}. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev See {IERC721Metadata-symbol}. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev See {IERC721Metadata-tokenURI}. */ 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, tokenId.toString())) : ''; } /** * @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, can be overriden in child contracts. */ function _baseURI() internal view virtual returns (string memory) { return ''; } /** * @dev See {IERC721-approve}. */ function approve(address to, uint256 tokenId) public override { address owner = ERC721A.ownerOf(tokenId); if (to == owner) revert ApprovalToCurrentOwner(); if (_msgSender() != owner && !isApprovedForAll(owner, _msgSender())) { revert ApprovalCallerNotOwnerNorApproved(); } _approve(to, tokenId, owner); } /** * @dev See {IERC721-getApproved}. */ function getApproved(uint256 tokenId) public view override returns (address) { if (!_exists(tokenId)) revert ApprovalQueryForNonexistentToken(); return _tokenApprovals[tokenId]; } /** * @dev See {IERC721-setApprovalForAll}. */ function setApprovalForAll(address operator, bool approved) public virtual override { if (operator == _msgSender()) revert ApproveToCaller(); _operatorApprovals[_msgSender()][operator] = approved; emit ApprovalForAll(_msgSender(), operator, approved); } /** * @dev See {IERC721-isApprovedForAll}. */ function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) { return _operatorApprovals[owner][operator]; } /** * @dev See {IERC721-transferFrom}. */ function transferFrom( address from, address to, uint256 tokenId ) public virtual override { _transfer(from, to, tokenId); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId ) public virtual override { safeTransferFrom(from, to, tokenId, ''); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes memory _data ) public virtual override { _transfer(from, to, tokenId); if (to.isContract() && !_checkContractOnERC721Received(from, to, tokenId, _data)) { revert TransferToNonERC721ReceiverImplementer(); } } /** * @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 (`_mint`), */ function _exists(uint256 tokenId) internal view returns (bool) { return _startTokenId() <= tokenId && tokenId < _currentIndex && !_ownerships[tokenId].burned; } function _safeMint(address to, uint256 quantity) internal { _safeMint(to, 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. * * Emits a {Transfer} event. */ function _safeMint( address to, uint256 quantity, bytes memory _data ) internal { _mint(to, quantity, _data, true); } /** * @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. */ function _mint( address to, uint256 quantity, bytes memory _data, bool safe ) internal { uint256 startTokenId = _currentIndex; if (to == address(0)) revert MintToZeroAddress(); if (quantity == 0) revert MintZeroQuantity(); _beforeTokenTransfers(address(0), to, startTokenId, quantity); // Overflows are incredibly unrealistic. // balance or numberMinted overflow if current value of either + quantity > 1.8e19 (2**64) - 1 // updatedIndex overflows if _currentIndex + quantity > 1.2e77 (2**256) - 1 unchecked { _addressData[to].balance += uint64(quantity); _addressData[to].numberMinted += uint64(quantity); _ownerships[startTokenId].addr = to; _ownerships[startTokenId].startTimestamp = uint64(block.timestamp); uint256 updatedIndex = startTokenId; uint256 end = updatedIndex + quantity; if (safe && to.isContract()) { do { emit Transfer(address(0), to, updatedIndex); if (!_checkContractOnERC721Received(address(0), to, updatedIndex++, _data)) { revert TransferToNonERC721ReceiverImplementer(); } } while (updatedIndex != end); // Reentrancy protection if (_currentIndex != startTokenId) revert(); } else { do { emit Transfer(address(0), to, updatedIndex++); } while (updatedIndex != end); } _currentIndex = updatedIndex; } _afterTokenTransfers(address(0), to, startTokenId, quantity); } /** * @dev Transfers `tokenId` from `from` to `to`. * * Requirements: * * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * * Emits a {Transfer} event. */ function _transfer( address from, address to, uint256 tokenId ) private { TokenOwnership memory prevOwnership = _ownershipOf(tokenId); if (prevOwnership.addr != from) revert TransferFromIncorrectOwner(); bool isApprovedOrOwner = (_msgSender() == from || isApprovedForAll(from, _msgSender()) || getApproved(tokenId) == _msgSender()); if (!isApprovedOrOwner) revert TransferCallerNotOwnerNorApproved(); if (to == address(0)) revert TransferToZeroAddress(); _beforeTokenTransfers(from, to, tokenId, 1); // Clear approvals from the previous owner _approve(address(0), tokenId, from); // 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 { _addressData[from].balance -= 1; _addressData[to].balance += 1; TokenOwnership storage currSlot = _ownerships[tokenId]; currSlot.addr = to; currSlot.startTimestamp = uint64(block.timestamp); // If the ownership slot of tokenId+1 is not explicitly set, that means the transfer initiator owns it. // Set the slot of tokenId+1 explicitly in storage to maintain correctness for ownerOf(tokenId+1) calls. uint256 nextTokenId = tokenId + 1; TokenOwnership storage nextSlot = _ownerships[nextTokenId]; if (nextSlot.addr == address(0)) { // This will suffice for checking _exists(nextTokenId), // as a burned slot cannot contain the zero address. if (nextTokenId != _currentIndex) { nextSlot.addr = from; nextSlot.startTimestamp = prevOwnership.startTimestamp; } } } emit Transfer(from, to, tokenId); _afterTokenTransfers(from, to, tokenId, 1); } /** * @dev This is 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 { TokenOwnership memory prevOwnership = _ownershipOf(tokenId); address from = prevOwnership.addr; if (approvalCheck) { bool isApprovedOrOwner = (_msgSender() == from || isApprovedForAll(from, _msgSender()) || getApproved(tokenId) == _msgSender()); if (!isApprovedOrOwner) revert TransferCallerNotOwnerNorApproved(); } _beforeTokenTransfers(from, address(0), tokenId, 1); // Clear approvals from the previous owner _approve(address(0), tokenId, from); // 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 { AddressData storage addressData = _addressData[from]; addressData.balance -= 1; addressData.numberBurned += 1; // Keep track of who burned the token, and the timestamp of burning. TokenOwnership storage currSlot = _ownerships[tokenId]; currSlot.addr = from; currSlot.startTimestamp = uint64(block.timestamp); currSlot.burned = true; // If the ownership slot of tokenId+1 is not explicitly set, that means the burn initiator owns it. // Set the slot of tokenId+1 explicitly in storage to maintain correctness for ownerOf(tokenId+1) calls. uint256 nextTokenId = tokenId + 1; TokenOwnership storage nextSlot = _ownerships[nextTokenId]; if (nextSlot.addr == address(0)) { // This will suffice for checking _exists(nextTokenId), // as a burned slot cannot contain the zero address. if (nextTokenId != _currentIndex) { nextSlot.addr = from; nextSlot.startTimestamp = prevOwnership.startTimestamp; } } } emit Transfer(from, address(0), tokenId); _afterTokenTransfers(from, address(0), tokenId, 1); // Overflow not possible, as _burnCounter cannot be exceed _currentIndex times. unchecked { _burnCounter++; } } /** * @dev Approve `to` to operate on `tokenId` * * Emits a {Approval} event. */ function _approve( address to, uint256 tokenId, address owner ) private { _tokenApprovals[tokenId] = to; emit Approval(owner, to, tokenId); } /** * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target contract. * * @param from address representing the previous owner of the given token ID * @param to target address that will receive the tokens * @param tokenId uint256 ID of the token to be transferred * @param _data bytes optional data to send along with the call * @return bool whether the call correctly returned the expected magic value */ function _checkContractOnERC721Received( address from, address to, uint256 tokenId, bytes memory _data ) private returns (bool) { try IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, _data) returns (bytes4 retval) { return retval == IERC721Receiver(to).onERC721Received.selector; } catch (bytes memory reason) { if (reason.length == 0) { revert TransferToNonERC721ReceiverImplementer(); } else { assembly { revert(add(32, reason), mload(reason)) } } } } /** * @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 {} } pragma solidity ^0.8.0; /** * @dev These functions deal with verification of Merkle Trees proofs. * * The proofs can be generated using the JavaScript library * https://github.com/miguelmota/merkletreejs[merkletreejs]. * Note: the hashing algorithm should be keccak256 and pair sorting should be enabled. * * See `test/utils/cryptography/MerkleProof.test.js` for some examples. */ library MerkleProof { /** * @dev Returns true if a `leaf` can be proved to be a part of a Merkle tree * defined by `root`. For this, a `proof` must be provided, containing * sibling hashes on the branch from the leaf to the root of the tree. Each * pair of leaves and each pair of pre-images are assumed to be sorted. */ function verify( bytes32[] memory proof, bytes32 root, bytes32 leaf ) internal pure returns (bool) { return processProof(proof, leaf) == root; } /** * @dev Returns the rebuilt hash obtained by traversing a Merklee tree up * from `leaf` using `proof`. A `proof` is valid if and only if the rebuilt * hash matches the root of the tree. When processing the proof, the pairs * of leafs & pre-images are assumed to be sorted. * * _Available since v4.4._ */ function processProof(bytes32[] memory proof, bytes32 leaf) internal pure returns (bytes32) { bytes32 computedHash = leaf; for (uint256 i = 0; i < proof.length; i++) { bytes32 proofElement = proof[i]; if (computedHash <= proofElement) { // Hash(current computed hash + current element of the proof) computedHash = _efficientHash(computedHash, proofElement); } else { // Hash(current element of the proof + current computed hash) computedHash = _efficientHash(proofElement, computedHash); } } return computedHash; } function _efficientHash(bytes32 a, bytes32 b) private pure returns (bytes32 value) { assembly { mstore(0x00, a) mstore(0x20, b) value := keccak256(0x00, 0x40) } } } 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 Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { 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); } } pragma solidity ^0.8.7; contract HoodyNightmare is ERC721A, Ownable { using Strings for uint256; string private uriPrefix = "ipfs://QmaWo8wYPuc56ZM3Q4HLFd8L88ZBU15rfU51tcxKpRAtAs/" ; string private uriSuffix = ".json"; uint16 public constant maxSupply = 6666; constructor() ERC721A("Hoody Nightmare", "HN") { } function Reserve(uint16 _mintAmount, address _receiver) external onlyOwner { uint16 totalSupply = uint16(totalSupply()); require(totalSupply + _mintAmount <= maxSupply, "Exceeds max supply."); require(_mintAmount < 1001 , "Exceeds max limit at a time"); _safeMint(_receiver , _mintAmount); delete _mintAmount; delete _receiver; delete totalSupply; } function tokenURI(uint256 _tokenId) public view virtual override returns (string memory) { require( _exists(_tokenId), "ERC721Metadata: URI query for nonexistent token" ); string memory currentBaseURI = _baseURI(); return bytes(currentBaseURI).length > 0 ? string(abi.encodePacked(currentBaseURI, _tokenId.toString() ,uriSuffix)) : ""; } function setUriPrefix(string memory _uriPrefix) external onlyOwner { uriPrefix = _uriPrefix; } function _baseURI() internal view override returns (string memory) { return uriPrefix; } }
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":"ApprovalToCurrentOwner","type":"error"},{"inputs":[],"name":"ApproveToCaller","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[],"name":"OwnerQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"TransferCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"TransferFromIncorrectOwner","type":"error"},{"inputs":[],"name":"TransferToNonERC721ReceiverImplementer","type":"error"},{"inputs":[],"name":"TransferToZeroAddress","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":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"uint16","name":"_mintAmount","type":"uint16"},{"internalType":"address","name":"_receiver","type":"address"}],"name":"Reserve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxSupply","outputs":[{"internalType":"uint16","name":"","type":"uint16"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","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":"nonpayable","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":"_uriPrefix","type":"string"}],"name":"setUriPrefix","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":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
60e06040526036608081815290620019b260a0398051620000299160099160209091019062000143565b5060408051808201909152600580825264173539b7b760d91b60209092019182526200005891600a9162000143565b503480156200006657600080fd5b506040518060400160405280600f81526020016e486f6f6479204e696768746d61726560881b81525060405180604001604052806002815260200161242760f11b8152508160029080519060200190620000c292919062000143565b508051620000d890600390602084019062000143565b5050600160005550620000eb33620000f1565b62000226565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b8280546200015190620001e9565b90600052602060002090601f016020900481019282620001755760008555620001c0565b82601f106200019057805160ff1916838001178555620001c0565b82800160010185558215620001c0579182015b82811115620001c0578251825591602001919060010190620001a3565b50620001ce929150620001d2565b5090565b5b80821115620001ce5760008155600101620001d3565b600181811c90821680620001fe57607f821691505b602082108114156200022057634e487b7160e01b600052602260045260246000fd5b50919050565b61177c80620002366000396000f3fe608060405234801561001057600080fd5b506004361061012c5760003560e01c8063715018a6116100ad578063b88d4fde11610071578063b88d4fde1461026e578063c87b56dd14610281578063d5abeb0114610294578063e985e9c5146102b0578063f2fde38b146102ec57600080fd5b8063715018a6146102275780637ec4a6591461022f5780638da5cb5b1461024257806395d89b4114610253578063a22cb4651461025b57600080fd5b806323b872dd116100f457806323b872dd146101c85780632f6f98e1146101db57806342842e0e146101ee5780636352211e1461020157806370a082311461021457600080fd5b806301ffc9a71461013157806306fdde0314610159578063081812fc1461016e578063095ea7b31461019957806318160ddd146101ae575b600080fd5b61014461013f3660046113a3565b6102ff565b60405190151581526020015b60405180910390f35b610161610351565b6040516101509190611591565b61018161017c36600461144b565b6103e3565b6040516001600160a01b039091168152602001610150565b6101ac6101a7366004611379565b610427565b005b60015460005403600019015b604051908152602001610150565b6101ac6101d6366004611285565b6104b5565b6101ac6101e9366004611426565b6104c0565b6101ac6101fc366004611285565b6105c2565b61018161020f36600461144b565b6105dd565b6101ba610222366004611237565b6105ef565b6101ac61063e565b6101ac61023d3660046113dd565b610674565b6008546001600160a01b0316610181565b6101616106b5565b6101ac61026936600461133d565b6106c4565b6101ac61027c3660046112c1565b61075a565b61016161028f36600461144b565b6107ab565b61029d611a0a81565b60405161ffff9091168152602001610150565b6101446102be366004611252565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b6101ac6102fa366004611237565b610879565b60006001600160e01b031982166380ac58cd60e01b148061033057506001600160e01b03198216635b5e139f60e01b145b8061034b57506301ffc9a760e01b6001600160e01b03198316145b92915050565b6060600280546103609061166e565b80601f016020809104026020016040519081016040528092919081815260200182805461038c9061166e565b80156103d95780601f106103ae576101008083540402835291602001916103d9565b820191906000526020600020905b8154815290600101906020018083116103bc57829003601f168201915b5050505050905090565b60006103ee82610914565b61040b576040516333d1c03960e21b815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b6000610432826105dd565b9050806001600160a01b0316836001600160a01b031614156104675760405163250fdee360e21b815260040160405180910390fd5b336001600160a01b03821614801590610487575061048581336102be565b155b156104a5576040516367d9dca160e11b815260040160405180910390fd5b6104b083838361094d565b505050565b6104b08383836109a9565b6008546001600160a01b031633146104f35760405162461bcd60e51b81526004016104ea906115a4565b60405180910390fd5b60006105086001546000546000199190030190565b9050611a0a61051784836115d9565b61ffff16111561055f5760405162461bcd60e51b815260206004820152601360248201527222bc31b2b2b2399036b0bc1039bab838363c9760691b60448201526064016104ea565b6103e98361ffff16106105b45760405162461bcd60e51b815260206004820152601b60248201527f45786365656473206d6178206c696d697420617420612074696d65000000000060448201526064016104ea565b6104b0828461ffff16610b99565b6104b08383836040518060200160405280600081525061075a565b60006105e882610bb3565b5192915050565b60006001600160a01b038216610618576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b031660009081526005602052604090205467ffffffffffffffff1690565b6008546001600160a01b031633146106685760405162461bcd60e51b81526004016104ea906115a4565b6106726000610cdc565b565b6008546001600160a01b0316331461069e5760405162461bcd60e51b81526004016104ea906115a4565b80516106b190600990602084019061110c565b5050565b6060600380546103609061166e565b6001600160a01b0382163314156106ee5760405163b06307db60e01b815260040160405180910390fd5b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b6107658484846109a9565b6001600160a01b0383163b15158015610787575061078584848484610d2e565b155b156107a5576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b60606107b682610914565b61081a5760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b60648201526084016104ea565b6000610824610e26565b905060008151116108445760405180602001604052806000815250610872565b8061084e84610e35565b600a60405160200161086293929190611490565b6040516020818303038152906040525b9392505050565b6008546001600160a01b031633146108a35760405162461bcd60e51b81526004016104ea906115a4565b6001600160a01b0381166109085760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016104ea565b61091181610cdc565b50565b600081600111158015610928575060005482105b801561034b575050600090815260046020526040902054600160e01b900460ff161590565b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b60006109b482610bb3565b9050836001600160a01b031681600001516001600160a01b0316146109eb5760405162a1148160e81b815260040160405180910390fd5b6000336001600160a01b0386161480610a095750610a0985336102be565b80610a24575033610a19846103e3565b6001600160a01b0316145b905080610a4457604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b038416610a6b57604051633a954ecd60e21b815260040160405180910390fd5b610a776000848761094d565b6001600160a01b038581166000908152600560209081526040808320805467ffffffffffffffff1980821667ffffffffffffffff92831660001901831617909255898616808652838620805493841693831660019081018416949094179055898652600490945282852080546001600160e01b031916909417600160a01b42909216919091021783558701808452922080549193909116610b4d576000548214610b4d578054602086015167ffffffffffffffff16600160a01b026001600160e01b03199091166001600160a01b038a16171781555b50505082846001600160a01b0316866001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45b5050505050565b6106b1828260405180602001604052806000815250610f33565b60408051606081018252600080825260208201819052918101919091528180600111158015610be3575060005481105b15610cc357600081815260046020908152604091829020825160608101845290546001600160a01b0381168252600160a01b810467ffffffffffffffff1692820192909252600160e01b90910460ff16151591810182905290610cc15780516001600160a01b031615610c57579392505050565b5060001901600081815260046020908152604091829020825160608101845290546001600160a01b038116808352600160a01b820467ffffffffffffffff1693830193909352600160e01b900460ff1615159281019290925215610cbc579392505050565b610c57565b505b604051636f96cda160e11b815260040160405180910390fd5b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a0290610d63903390899088908890600401611554565b602060405180830381600087803b158015610d7d57600080fd5b505af1925050508015610dad575060408051601f3d908101601f19168201909252610daa918101906113c0565b60015b610e08573d808015610ddb576040519150601f19603f3d011682016040523d82523d6000602084013e610de0565b606091505b508051610e00576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490505b949350505050565b6060600980546103609061166e565b606081610e595750506040805180820190915260018152600360fc1b602082015290565b8160005b8115610e835780610e6d816116a9565b9150610e7c9050600a83611617565b9150610e5d565b60008167ffffffffffffffff811115610e9e57610e9e61171a565b6040519080825280601f01601f191660200182016040528015610ec8576020820181803683370190505b5090505b8415610e1e57610edd60018361162b565b9150610eea600a866116c4565b610ef59060306115ff565b60f81b818381518110610f0a57610f0a611704565b60200101906001600160f81b031916908160001a905350610f2c600a86611617565b9450610ecc565b6104b083838360016000546001600160a01b038516610f6457604051622e076360e81b815260040160405180910390fd5b83610f825760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b038516600081815260056020908152604080832080546fffffffffffffffffffffffffffffffff19811667ffffffffffffffff8083168c0181169182176801000000000000000067ffffffffffffffff1990941690921783900481168c01811690920217909155858452600490925290912080546001600160e01b031916909217600160a01b42909216919091021790558080850183801561103457506001600160a01b0387163b15155b156110bd575b60405182906001600160a01b038916906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a46110856000888480600101955088610d2e565b6110a2576040516368d2bf6b60e11b815260040160405180910390fd5b8082141561103a5782600054146110b857600080fd5b611103565b5b6040516001830192906001600160a01b038916906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a4808214156110be575b50600055610b92565b8280546111189061166e565b90600052602060002090601f01602090048101928261113a5760008555611180565b82601f1061115357805160ff1916838001178555611180565b82800160010185558215611180579182015b82811115611180578251825591602001919060010190611165565b5061118c929150611190565b5090565b5b8082111561118c5760008155600101611191565b600067ffffffffffffffff808411156111c0576111c061171a565b604051601f8501601f19908116603f011681019082821181831017156111e8576111e861171a565b8160405280935085815286868601111561120157600080fd5b858560208301376000602087830101525050509392505050565b80356001600160a01b038116811461123257600080fd5b919050565b60006020828403121561124957600080fd5b6108728261121b565b6000806040838503121561126557600080fd5b61126e8361121b565b915061127c6020840161121b565b90509250929050565b60008060006060848603121561129a57600080fd5b6112a38461121b565b92506112b16020850161121b565b9150604084013590509250925092565b600080600080608085870312156112d757600080fd5b6112e08561121b565b93506112ee6020860161121b565b925060408501359150606085013567ffffffffffffffff81111561131157600080fd5b8501601f8101871361132257600080fd5b611331878235602084016111a5565b91505092959194509250565b6000806040838503121561135057600080fd5b6113598361121b565b91506020830135801515811461136e57600080fd5b809150509250929050565b6000806040838503121561138c57600080fd5b6113958361121b565b946020939093013593505050565b6000602082840312156113b557600080fd5b813561087281611730565b6000602082840312156113d257600080fd5b815161087281611730565b6000602082840312156113ef57600080fd5b813567ffffffffffffffff81111561140657600080fd5b8201601f8101841361141757600080fd5b610e1e848235602084016111a5565b6000806040838503121561143957600080fd5b823561ffff8116811461126e57600080fd5b60006020828403121561145d57600080fd5b5035919050565b6000815180845261147c816020860160208601611642565b601f01601f19169290920160200192915050565b6000845160206114a38285838a01611642565b8551918401916114b68184848a01611642565b8554920191600090600181811c90808316806114d357607f831692505b8583108114156114f157634e487b7160e01b85526022600452602485fd5b808015611505576001811461151657611543565b60ff19851688528388019550611543565b60008b81526020902060005b8581101561153b5781548a820152908401908801611522565b505083880195505b50939b9a5050505050505050505050565b6001600160a01b038581168252841660208201526040810183905260806060820181905260009061158790830184611464565b9695505050505050565b6020815260006108726020830184611464565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b600061ffff8083168185168083038211156115f6576115f66116d8565b01949350505050565b60008219821115611612576116126116d8565b500190565b600082611626576116266116ee565b500490565b60008282101561163d5761163d6116d8565b500390565b60005b8381101561165d578181015183820152602001611645565b838111156107a55750506000910152565b600181811c9082168061168257607f821691505b602082108114156116a357634e487b7160e01b600052602260045260246000fd5b50919050565b60006000198214156116bd576116bd6116d8565b5060010190565b6000826116d3576116d36116ee565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160e01b03198116811461091157600080fdfea26469706673582212206c8fa73a4f49374a8c98f212095ce29c3026a3c94ddc19b9ab9d5b09f59ee5ab64736f6c63430008070033697066733a2f2f516d61576f38775950756335365a4d335134484c4664384c38385a4255313572665535317463784b7052417441732f
Deployed Bytecode
0x608060405234801561001057600080fd5b506004361061012c5760003560e01c8063715018a6116100ad578063b88d4fde11610071578063b88d4fde1461026e578063c87b56dd14610281578063d5abeb0114610294578063e985e9c5146102b0578063f2fde38b146102ec57600080fd5b8063715018a6146102275780637ec4a6591461022f5780638da5cb5b1461024257806395d89b4114610253578063a22cb4651461025b57600080fd5b806323b872dd116100f457806323b872dd146101c85780632f6f98e1146101db57806342842e0e146101ee5780636352211e1461020157806370a082311461021457600080fd5b806301ffc9a71461013157806306fdde0314610159578063081812fc1461016e578063095ea7b31461019957806318160ddd146101ae575b600080fd5b61014461013f3660046113a3565b6102ff565b60405190151581526020015b60405180910390f35b610161610351565b6040516101509190611591565b61018161017c36600461144b565b6103e3565b6040516001600160a01b039091168152602001610150565b6101ac6101a7366004611379565b610427565b005b60015460005403600019015b604051908152602001610150565b6101ac6101d6366004611285565b6104b5565b6101ac6101e9366004611426565b6104c0565b6101ac6101fc366004611285565b6105c2565b61018161020f36600461144b565b6105dd565b6101ba610222366004611237565b6105ef565b6101ac61063e565b6101ac61023d3660046113dd565b610674565b6008546001600160a01b0316610181565b6101616106b5565b6101ac61026936600461133d565b6106c4565b6101ac61027c3660046112c1565b61075a565b61016161028f36600461144b565b6107ab565b61029d611a0a81565b60405161ffff9091168152602001610150565b6101446102be366004611252565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b6101ac6102fa366004611237565b610879565b60006001600160e01b031982166380ac58cd60e01b148061033057506001600160e01b03198216635b5e139f60e01b145b8061034b57506301ffc9a760e01b6001600160e01b03198316145b92915050565b6060600280546103609061166e565b80601f016020809104026020016040519081016040528092919081815260200182805461038c9061166e565b80156103d95780601f106103ae576101008083540402835291602001916103d9565b820191906000526020600020905b8154815290600101906020018083116103bc57829003601f168201915b5050505050905090565b60006103ee82610914565b61040b576040516333d1c03960e21b815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b6000610432826105dd565b9050806001600160a01b0316836001600160a01b031614156104675760405163250fdee360e21b815260040160405180910390fd5b336001600160a01b03821614801590610487575061048581336102be565b155b156104a5576040516367d9dca160e11b815260040160405180910390fd5b6104b083838361094d565b505050565b6104b08383836109a9565b6008546001600160a01b031633146104f35760405162461bcd60e51b81526004016104ea906115a4565b60405180910390fd5b60006105086001546000546000199190030190565b9050611a0a61051784836115d9565b61ffff16111561055f5760405162461bcd60e51b815260206004820152601360248201527222bc31b2b2b2399036b0bc1039bab838363c9760691b60448201526064016104ea565b6103e98361ffff16106105b45760405162461bcd60e51b815260206004820152601b60248201527f45786365656473206d6178206c696d697420617420612074696d65000000000060448201526064016104ea565b6104b0828461ffff16610b99565b6104b08383836040518060200160405280600081525061075a565b60006105e882610bb3565b5192915050565b60006001600160a01b038216610618576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b031660009081526005602052604090205467ffffffffffffffff1690565b6008546001600160a01b031633146106685760405162461bcd60e51b81526004016104ea906115a4565b6106726000610cdc565b565b6008546001600160a01b0316331461069e5760405162461bcd60e51b81526004016104ea906115a4565b80516106b190600990602084019061110c565b5050565b6060600380546103609061166e565b6001600160a01b0382163314156106ee5760405163b06307db60e01b815260040160405180910390fd5b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b6107658484846109a9565b6001600160a01b0383163b15158015610787575061078584848484610d2e565b155b156107a5576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b60606107b682610914565b61081a5760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b60648201526084016104ea565b6000610824610e26565b905060008151116108445760405180602001604052806000815250610872565b8061084e84610e35565b600a60405160200161086293929190611490565b6040516020818303038152906040525b9392505050565b6008546001600160a01b031633146108a35760405162461bcd60e51b81526004016104ea906115a4565b6001600160a01b0381166109085760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016104ea565b61091181610cdc565b50565b600081600111158015610928575060005482105b801561034b575050600090815260046020526040902054600160e01b900460ff161590565b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b60006109b482610bb3565b9050836001600160a01b031681600001516001600160a01b0316146109eb5760405162a1148160e81b815260040160405180910390fd5b6000336001600160a01b0386161480610a095750610a0985336102be565b80610a24575033610a19846103e3565b6001600160a01b0316145b905080610a4457604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b038416610a6b57604051633a954ecd60e21b815260040160405180910390fd5b610a776000848761094d565b6001600160a01b038581166000908152600560209081526040808320805467ffffffffffffffff1980821667ffffffffffffffff92831660001901831617909255898616808652838620805493841693831660019081018416949094179055898652600490945282852080546001600160e01b031916909417600160a01b42909216919091021783558701808452922080549193909116610b4d576000548214610b4d578054602086015167ffffffffffffffff16600160a01b026001600160e01b03199091166001600160a01b038a16171781555b50505082846001600160a01b0316866001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45b5050505050565b6106b1828260405180602001604052806000815250610f33565b60408051606081018252600080825260208201819052918101919091528180600111158015610be3575060005481105b15610cc357600081815260046020908152604091829020825160608101845290546001600160a01b0381168252600160a01b810467ffffffffffffffff1692820192909252600160e01b90910460ff16151591810182905290610cc15780516001600160a01b031615610c57579392505050565b5060001901600081815260046020908152604091829020825160608101845290546001600160a01b038116808352600160a01b820467ffffffffffffffff1693830193909352600160e01b900460ff1615159281019290925215610cbc579392505050565b610c57565b505b604051636f96cda160e11b815260040160405180910390fd5b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a0290610d63903390899088908890600401611554565b602060405180830381600087803b158015610d7d57600080fd5b505af1925050508015610dad575060408051601f3d908101601f19168201909252610daa918101906113c0565b60015b610e08573d808015610ddb576040519150601f19603f3d011682016040523d82523d6000602084013e610de0565b606091505b508051610e00576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490505b949350505050565b6060600980546103609061166e565b606081610e595750506040805180820190915260018152600360fc1b602082015290565b8160005b8115610e835780610e6d816116a9565b9150610e7c9050600a83611617565b9150610e5d565b60008167ffffffffffffffff811115610e9e57610e9e61171a565b6040519080825280601f01601f191660200182016040528015610ec8576020820181803683370190505b5090505b8415610e1e57610edd60018361162b565b9150610eea600a866116c4565b610ef59060306115ff565b60f81b818381518110610f0a57610f0a611704565b60200101906001600160f81b031916908160001a905350610f2c600a86611617565b9450610ecc565b6104b083838360016000546001600160a01b038516610f6457604051622e076360e81b815260040160405180910390fd5b83610f825760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b038516600081815260056020908152604080832080546fffffffffffffffffffffffffffffffff19811667ffffffffffffffff8083168c0181169182176801000000000000000067ffffffffffffffff1990941690921783900481168c01811690920217909155858452600490925290912080546001600160e01b031916909217600160a01b42909216919091021790558080850183801561103457506001600160a01b0387163b15155b156110bd575b60405182906001600160a01b038916906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a46110856000888480600101955088610d2e565b6110a2576040516368d2bf6b60e11b815260040160405180910390fd5b8082141561103a5782600054146110b857600080fd5b611103565b5b6040516001830192906001600160a01b038916906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a4808214156110be575b50600055610b92565b8280546111189061166e565b90600052602060002090601f01602090048101928261113a5760008555611180565b82601f1061115357805160ff1916838001178555611180565b82800160010185558215611180579182015b82811115611180578251825591602001919060010190611165565b5061118c929150611190565b5090565b5b8082111561118c5760008155600101611191565b600067ffffffffffffffff808411156111c0576111c061171a565b604051601f8501601f19908116603f011681019082821181831017156111e8576111e861171a565b8160405280935085815286868601111561120157600080fd5b858560208301376000602087830101525050509392505050565b80356001600160a01b038116811461123257600080fd5b919050565b60006020828403121561124957600080fd5b6108728261121b565b6000806040838503121561126557600080fd5b61126e8361121b565b915061127c6020840161121b565b90509250929050565b60008060006060848603121561129a57600080fd5b6112a38461121b565b92506112b16020850161121b565b9150604084013590509250925092565b600080600080608085870312156112d757600080fd5b6112e08561121b565b93506112ee6020860161121b565b925060408501359150606085013567ffffffffffffffff81111561131157600080fd5b8501601f8101871361132257600080fd5b611331878235602084016111a5565b91505092959194509250565b6000806040838503121561135057600080fd5b6113598361121b565b91506020830135801515811461136e57600080fd5b809150509250929050565b6000806040838503121561138c57600080fd5b6113958361121b565b946020939093013593505050565b6000602082840312156113b557600080fd5b813561087281611730565b6000602082840312156113d257600080fd5b815161087281611730565b6000602082840312156113ef57600080fd5b813567ffffffffffffffff81111561140657600080fd5b8201601f8101841361141757600080fd5b610e1e848235602084016111a5565b6000806040838503121561143957600080fd5b823561ffff8116811461126e57600080fd5b60006020828403121561145d57600080fd5b5035919050565b6000815180845261147c816020860160208601611642565b601f01601f19169290920160200192915050565b6000845160206114a38285838a01611642565b8551918401916114b68184848a01611642565b8554920191600090600181811c90808316806114d357607f831692505b8583108114156114f157634e487b7160e01b85526022600452602485fd5b808015611505576001811461151657611543565b60ff19851688528388019550611543565b60008b81526020902060005b8581101561153b5781548a820152908401908801611522565b505083880195505b50939b9a5050505050505050505050565b6001600160a01b038581168252841660208201526040810183905260806060820181905260009061158790830184611464565b9695505050505050565b6020815260006108726020830184611464565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b600061ffff8083168185168083038211156115f6576115f66116d8565b01949350505050565b60008219821115611612576116126116d8565b500190565b600082611626576116266116ee565b500490565b60008282101561163d5761163d6116d8565b500390565b60005b8381101561165d578181015183820152602001611645565b838111156107a55750506000910152565b600181811c9082168061168257607f821691505b602082108114156116a357634e487b7160e01b600052602260045260246000fd5b50919050565b60006000198214156116bd576116bd6116d8565b5060010190565b6000826116d3576116d36116ee565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160e01b03198116811461091157600080fdfea26469706673582212206c8fa73a4f49374a8c98f212095ce29c3026a3c94ddc19b9ab9d5b09f59ee5ab64736f6c63430008070033
Deployed Bytecode Sourcemap
46341:1387:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;24441:305;;;;;;:::i;:::-;;:::i;:::-;;;7054:14:1;;7047:22;7029:41;;7017:2;7002:18;24441:305:0;;;;;;;;27554:100;;;:::i;:::-;;;;;;;:::i;29057:204::-;;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;6352:32:1;;;6334:51;;6322:2;6307:18;29057:204:0;6188:203:1;28620:371:0;;;;;;:::i;:::-;;:::i;:::-;;23690:303;23547:1;23944:12;23734:7;23928:13;:28;-1:-1:-1;;23928:46:0;23690:303;;;9532:25:1;;;9520:2;9505:18;23690:303:0;9386:177:1;29922:170:0;;;;;;:::i;:::-;;:::i;46661:392::-;;;;;;:::i;:::-;;:::i;30163:185::-;;;;;;:::i;:::-;;:::i;27362:125::-;;;;;;:::i;:::-;;:::i;24810:206::-;;;;;;:::i;:::-;;:::i;45487:103::-;;;:::i;47511:102::-;;;;;;:::i;:::-;;:::i;44835:87::-;44908:6;;-1:-1:-1;;;;;44908:6:0;44835:87;;27723:104;;;:::i;29333:287::-;;;;;;:::i;:::-;;:::i;30419:369::-;;;;;;:::i;:::-;;:::i;47070:430::-;;;;;;:::i;:::-;;:::i;46556:39::-;;46591:4;46556:39;;;;;9367:6:1;9355:19;;;9337:38;;9325:2;9310:18;46556:39:0;9193:188:1;29691:164:0;;;;;;:::i;:::-;-1:-1:-1;;;;;29812:25:0;;;29788:4;29812:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;29691:164;45745:201;;;;;;:::i;:::-;;:::i;24441:305::-;24543:4;-1:-1:-1;;;;;;24580:40:0;;-1:-1:-1;;;24580:40:0;;:105;;-1:-1:-1;;;;;;;24637:48:0;;-1:-1:-1;;;24637:48:0;24580:105;:158;;;-1:-1:-1;;;;;;;;;;14475:40:0;;;24702:36;24560:178;24441:305;-1:-1:-1;;24441:305:0:o;27554:100::-;27608:13;27641:5;27634:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;27554:100;:::o;29057:204::-;29125:7;29150:16;29158:7;29150;:16::i;:::-;29145:64;;29175:34;;-1:-1:-1;;;29175:34:0;;;;;;;;;;;29145:64;-1:-1:-1;29229:24:0;;;;:15;:24;;;;;;-1:-1:-1;;;;;29229:24:0;;29057:204::o;28620:371::-;28693:13;28709:24;28725:7;28709:15;:24::i;:::-;28693:40;;28754:5;-1:-1:-1;;;;;28748:11:0;:2;-1:-1:-1;;;;;28748:11:0;;28744:48;;;28768:24;;-1:-1:-1;;;28768:24:0;;;;;;;;;;;28744:48;2916:10;-1:-1:-1;;;;;28809:21:0;;;;;;:63;;-1:-1:-1;28835:37:0;28852:5;2916:10;29691:164;:::i;28835:37::-;28834:38;28809:63;28805:138;;;28896:35;;-1:-1:-1;;;28896:35:0;;;;;;;;;;;28805:138;28955:28;28964:2;28968:7;28977:5;28955:8;:28::i;:::-;28682:309;28620:371;;:::o;29922:170::-;30056:28;30066:4;30072:2;30076:7;30056:9;:28::i;46661:392::-;44908:6;;-1:-1:-1;;;;;44908:6:0;2916:10;45055:23;45047:69;;;;-1:-1:-1;;;45047:69:0;;;;;;;:::i;:::-;;;;;;;;;46744:18:::1;46772:13;23547:1:::0;23944:12;23734:7;23928:13;-1:-1:-1;;23928:28:0;;;:46;;23690:303;46772:13:::1;46744:42:::0;-1:-1:-1;46591:4:0::1;46801:25;46815:11:::0;46744:42;46801:25:::1;:::i;:::-;:38;;;;46793:70;;;::::0;-1:-1:-1;;;46793:70:0;;9047:2:1;46793:70:0::1;::::0;::::1;9029:21:1::0;9086:2;9066:18;;;9059:30;-1:-1:-1;;;9105:18:1;;;9098:49;9164:18;;46793:70:0::1;8845:343:1::0;46793:70:0::1;46892:4;46878:11;:18;;;46870:59;;;::::0;-1:-1:-1;;;46870:59:0;;8275:2:1;46870:59:0::1;::::0;::::1;8257:21:1::0;8314:2;8294:18;;;8287:30;8353:29;8333:18;;;8326:57;8400:18;;46870:59:0::1;8073:351:1::0;46870:59:0::1;46937:34;46947:9;46959:11;46937:34;;:9;:34::i;30163:185::-:0;30301:39;30318:4;30324:2;30328:7;30301:39;;;;;;;;;;;;:16;:39::i;27362:125::-;27426:7;27453:21;27466:7;27453:12;:21::i;:::-;:26;;27362:125;-1:-1:-1;;27362:125:0:o;24810:206::-;24874:7;-1:-1:-1;;;;;24898:19:0;;24894:60;;24926:28;;-1:-1:-1;;;24926:28:0;;;;;;;;;;;24894:60;-1:-1:-1;;;;;;24980:19:0;;;;;:12;:19;;;;;:27;;;;24810:206::o;45487:103::-;44908:6;;-1:-1:-1;;;;;44908:6:0;2916:10;45055:23;45047:69;;;;-1:-1:-1;;;45047:69:0;;;;;;;:::i;:::-;45552:30:::1;45579:1;45552:18;:30::i;:::-;45487:103::o:0;47511:102::-;44908:6;;-1:-1:-1;;;;;44908:6:0;2916:10;45055:23;45047:69;;;;-1:-1:-1;;;45047:69:0;;;;;;;:::i;:::-;47585:22;;::::1;::::0;:9:::1;::::0;:22:::1;::::0;::::1;::::0;::::1;:::i;:::-;;47511:102:::0;:::o;27723:104::-;27779:13;27812:7;27805:14;;;;;:::i;29333:287::-;-1:-1:-1;;;;;29432:24:0;;2916:10;29432:24;29428:54;;;29465:17;;-1:-1:-1;;;29465:17:0;;;;;;;;;;;29428:54;2916:10;29495:32;;;;:18;:32;;;;;;;;-1:-1:-1;;;;;29495:42:0;;;;;;;;;;;;:53;;-1:-1:-1;;29495:53:0;;;;;;;;;;29564:48;;7029:41:1;;;29495:42:0;;2916:10;29564:48;;7002:18:1;29564:48:0;;;;;;;29333:287;;:::o;30419:369::-;30586:28;30596:4;30602:2;30606:7;30586:9;:28::i;:::-;-1:-1:-1;;;;;30629:13:0;;4578:19;:23;;30629:76;;;;;30649:56;30680:4;30686:2;30690:7;30699:5;30649:30;:56::i;:::-;30648:57;30629:76;30625:156;;;30729:40;;-1:-1:-1;;;30729:40:0;;;;;;;;;;;30625:156;30419:369;;;;:::o;47070:430::-;47169:13;47210:17;47218:8;47210:7;:17::i;:::-;47194:98;;;;-1:-1:-1;;;47194:98:0;;8631:2:1;47194:98:0;;;8613:21:1;8670:2;8650:18;;;8643:30;8709:34;8689:18;;;8682:62;-1:-1:-1;;;8760:18:1;;;8753:45;8815:19;;47194:98:0;8429:411:1;47194:98:0;47309:28;47340:10;:8;:10::i;:::-;47309:41;;47395:1;47370:14;47364:28;:32;:130;;;;;;;;;;;;;;;;;47432:14;47448:19;:8;:17;:19::i;:::-;47469:9;47415:64;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;47364:130;47357:137;47070:430;-1:-1:-1;;;47070:430:0:o;45745:201::-;44908:6;;-1:-1:-1;;;;;44908:6:0;2916:10;45055:23;45047:69;;;;-1:-1:-1;;;45047:69:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;45834:22:0;::::1;45826:73;;;::::0;-1:-1:-1;;;45826:73:0;;7507:2:1;45826:73:0::1;::::0;::::1;7489:21:1::0;7546:2;7526:18;;;7519:30;7585:34;7565:18;;;7558:62;-1:-1:-1;;;7636:18:1;;;7629:36;7682:19;;45826:73:0::1;7305:402:1::0;45826:73:0::1;45910:28;45929:8;45910:18;:28::i;:::-;45745:201:::0;:::o;31043:187::-;31100:4;31143:7;23547:1;31124:26;;:53;;;;;31164:13;;31154:7;:23;31124:53;:98;;;;-1:-1:-1;;31195:20:0;;;;:11;:20;;;;;:27;-1:-1:-1;;;31195:27:0;;;;31194:28;;31043:187::o;39213:196::-;39328:24;;;;:15;:24;;;;;;:29;;-1:-1:-1;;;;;;39328:29:0;-1:-1:-1;;;;;39328:29:0;;;;;;;;;39373:28;;39328:24;;39373:28;;;;;;;39213:196;;;:::o;34156:2130::-;34271:35;34309:21;34322:7;34309:12;:21::i;:::-;34271:59;;34369:4;-1:-1:-1;;;;;34347:26:0;:13;:18;;;-1:-1:-1;;;;;34347:26:0;;34343:67;;34382:28;;-1:-1:-1;;;34382:28:0;;;;;;;;;;;34343:67;34423:22;2916:10;-1:-1:-1;;;;;34449:20:0;;;;:73;;-1:-1:-1;34486:36:0;34503:4;2916:10;29691:164;:::i;34486:36::-;34449:126;;;-1:-1:-1;2916:10:0;34539:20;34551:7;34539:11;:20::i;:::-;-1:-1:-1;;;;;34539:36:0;;34449:126;34423:153;;34594:17;34589:66;;34620:35;;-1:-1:-1;;;34620:35:0;;;;;;;;;;;34589:66;-1:-1:-1;;;;;34670:16:0;;34666:52;;34695:23;;-1:-1:-1;;;34695:23:0;;;;;;;;;;;34666:52;34839:35;34856:1;34860:7;34869:4;34839:8;:35::i;:::-;-1:-1:-1;;;;;35170:18:0;;;;;;;:12;:18;;;;;;;;:31;;-1:-1:-1;;35170:31:0;;;;;;;-1:-1:-1;;35170:31:0;;;;;;;35216:16;;;;;;;;;:29;;;;;;;;-1:-1:-1;35216:29:0;;;;;;;;;;;35296:20;;;:11;:20;;;;;;35331:18;;-1:-1:-1;;;;;;35364:49:0;;;;-1:-1:-1;;;35397:15:0;35364:49;;;;;;;;;;35687:11;;35747:24;;;;;35790:13;;35296:20;;35747:24;;35790:13;35786:384;;36000:13;;35985:11;:28;35981:174;;36038:20;;36107:28;;;;36081:54;;-1:-1:-1;;;36081:54:0;-1:-1:-1;;;;;;36081:54:0;;;-1:-1:-1;;;;;36038:20:0;;36081:54;;;;35981:174;35145:1036;;;36217:7;36213:2;-1:-1:-1;;;;;36198:27:0;36207:4;-1:-1:-1;;;;;36198:27:0;;;;;;;;;;;36236:42;34260:2026;;34156:2130;;;:::o;31238:104::-;31307:27;31317:2;31321:8;31307:27;;;;;;;;;;;;:9;:27::i;26191:1109::-;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;26302:7:0;;23547:1;26351:23;;:47;;;;;26385:13;;26378:4;:20;26351:47;26347:886;;;26419:31;26453:17;;;:11;:17;;;;;;;;;26419:51;;;;;;;;;-1:-1:-1;;;;;26419:51:0;;;;-1:-1:-1;;;26419:51:0;;;;;;;;;;;-1:-1:-1;;;26419:51:0;;;;;;;;;;;;;;26489:729;;26539:14;;-1:-1:-1;;;;;26539:28:0;;26535:101;;26603:9;26191:1109;-1:-1:-1;;;26191:1109:0:o;26535:101::-;-1:-1:-1;;;26978:6:0;27023:17;;;;:11;:17;;;;;;;;;27011:29;;;;;;;;;-1:-1:-1;;;;;27011:29:0;;;;;-1:-1:-1;;;27011:29:0;;;;;;;;;;;-1:-1:-1;;;27011:29:0;;;;;;;;;;;;;27071:28;27067:109;;27139:9;26191:1109;-1:-1:-1;;;26191:1109:0:o;27067:109::-;26938:261;;;26400:833;26347:886;27261:31;;-1:-1:-1;;;27261:31:0;;;;;;;;;;;46106:191;46199:6;;;-1:-1:-1;;;;;46216:17:0;;;-1:-1:-1;;;;;;46216:17:0;;;;;;;46249:40;;46199:6;;;46216:17;46199:6;;46249:40;;46180:16;;46249:40;46169:128;46106:191;:::o;39901:667::-;40085:72;;-1:-1:-1;;;40085:72:0;;40064:4;;-1:-1:-1;;;;;40085:36:0;;;;;:72;;2916:10;;40136:4;;40142:7;;40151:5;;40085:72;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;40085:72:0;;;;;;;;-1:-1:-1;;40085:72:0;;;;;;;;;;;;:::i;:::-;;;40081:480;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;40319:13:0;;40315:235;;40365:40;;-1:-1:-1;;;40365:40:0;;;;;;;;;;;40315:235;40508:6;40502:13;40493:6;40489:2;40485:15;40478:38;40081:480;-1:-1:-1;;;;;;40204:55:0;-1:-1:-1;;;40204:55:0;;-1:-1:-1;40081:480:0;39901:667;;;;;;:::o;47628:97::-;47681:13;47710:9;47703:16;;;;;:::i;398:723::-;454:13;675:10;671:53;;-1:-1:-1;;702:10:0;;;;;;;;;;;;-1:-1:-1;;;702:10:0;;;;;398:723::o;671:53::-;749:5;734:12;790:78;797:9;;790:78;;823:8;;;;:::i;:::-;;-1:-1:-1;846:10:0;;-1:-1:-1;854:2:0;846:10;;:::i;:::-;;;790:78;;;878:19;910:6;900:17;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;900:17:0;;878:39;;928:154;935:10;;928:154;;962:11;972:1;962:11;;:::i;:::-;;-1:-1:-1;1031:10:0;1039:2;1031:5;:10;:::i;:::-;1018:24;;:2;:24;:::i;:::-;1005:39;;988:6;995;988:14;;;;;;;;:::i;:::-;;;;:56;-1:-1:-1;;;;;988:56:0;;;;;;;;-1:-1:-1;1059:11:0;1068:2;1059:11;;:::i;:::-;;;928:154;;31705:163;31828:32;31834:2;31838:8;31848:5;31855:4;32266:20;32289:13;-1:-1:-1;;;;;32317:16:0;;32313:48;;32342:19;;-1:-1:-1;;;32342:19:0;;;;;;;;;;;32313:48;32376:13;32372:44;;32398:18;;-1:-1:-1;;;32398:18:0;;;;;;;;;;;32372:44;-1:-1:-1;;;;;32767:16:0;;;;;;:12;:16;;;;;;;;:44;;-1:-1:-1;;32826:49:0;;32767:44;;;;;;;;32826:49;;;;-1:-1:-1;;32767:44:0;;;;;;32826:49;;;;;;;;;;;;;;;;32892:25;;;:11;:25;;;;;;:35;;-1:-1:-1;;;;;;32942:66:0;;;;-1:-1:-1;;;32992:15:0;32942:66;;;;;;;;;;32892:25;33089:23;;;33133:4;:23;;;;-1:-1:-1;;;;;;33141:13:0;;4578:19;:23;;33141:15;33129:641;;;33177:314;33208:38;;33233:12;;-1:-1:-1;;;;;33208:38:0;;;33225:1;;33208:38;;33225:1;;33208:38;33274:69;33313:1;33317:2;33321:14;;;;;;33337:5;33274:30;:69::i;:::-;33269:174;;33379:40;;-1:-1:-1;;;33379:40:0;;;;;;;;;;;33269:174;33486:3;33470:12;:19;;33177:314;;33572:12;33555:13;;:29;33551:43;;33586:8;;;33551:43;33129:641;;;33635:120;33666:40;;33691:14;;;;;-1:-1:-1;;;;;33666:40:0;;;33683:1;;33666:40;;33683:1;;33666:40;33750:3;33734:12;:19;;33635:120;;33129:641;-1:-1:-1;33784:13:0;:28;33834:60;30419:369;-1:-1:-1;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;14:631:1;78:5;108:18;149:2;141:6;138:14;135:40;;;155:18;;:::i;:::-;230:2;224:9;198:2;284:15;;-1:-1:-1;;280:24:1;;;306:2;276:33;272:42;260:55;;;330:18;;;350:22;;;327:46;324:72;;;376:18;;:::i;:::-;416:10;412:2;405:22;445:6;436:15;;475:6;467;460:22;515:3;506:6;501:3;497:16;494:25;491:45;;;532:1;529;522:12;491:45;582:6;577:3;570:4;562:6;558:17;545:44;637:1;630:4;621:6;613;609:19;605:30;598:41;;;;14:631;;;;;:::o;650:173::-;718:20;;-1:-1:-1;;;;;767:31:1;;757:42;;747:70;;813:1;810;803:12;747:70;650:173;;;:::o;828:186::-;887:6;940:2;928:9;919:7;915:23;911:32;908:52;;;956:1;953;946:12;908:52;979:29;998:9;979:29;:::i;1019:260::-;1087:6;1095;1148:2;1136:9;1127:7;1123:23;1119:32;1116:52;;;1164:1;1161;1154:12;1116:52;1187:29;1206:9;1187:29;:::i;:::-;1177:39;;1235:38;1269:2;1258:9;1254:18;1235:38;:::i;:::-;1225:48;;1019:260;;;;;:::o;1284:328::-;1361:6;1369;1377;1430:2;1418:9;1409:7;1405:23;1401:32;1398:52;;;1446:1;1443;1436:12;1398:52;1469:29;1488:9;1469:29;:::i;:::-;1459:39;;1517:38;1551:2;1540:9;1536:18;1517:38;:::i;:::-;1507:48;;1602:2;1591:9;1587:18;1574:32;1564:42;;1284:328;;;;;:::o;1617:666::-;1712:6;1720;1728;1736;1789:3;1777:9;1768:7;1764:23;1760:33;1757:53;;;1806:1;1803;1796:12;1757:53;1829:29;1848:9;1829:29;:::i;:::-;1819:39;;1877:38;1911:2;1900:9;1896:18;1877:38;:::i;:::-;1867:48;;1962:2;1951:9;1947:18;1934:32;1924:42;;2017:2;2006:9;2002:18;1989:32;2044:18;2036:6;2033:30;2030:50;;;2076:1;2073;2066:12;2030:50;2099:22;;2152:4;2144:13;;2140:27;-1:-1:-1;2130:55:1;;2181:1;2178;2171:12;2130:55;2204:73;2269:7;2264:2;2251:16;2246:2;2242;2238:11;2204:73;:::i;:::-;2194:83;;;1617:666;;;;;;;:::o;2288:347::-;2353:6;2361;2414:2;2402:9;2393:7;2389:23;2385:32;2382:52;;;2430:1;2427;2420:12;2382:52;2453:29;2472:9;2453:29;:::i;:::-;2443:39;;2532:2;2521:9;2517:18;2504:32;2579:5;2572:13;2565:21;2558:5;2555:32;2545:60;;2601:1;2598;2591:12;2545:60;2624:5;2614:15;;;2288:347;;;;;:::o;2640:254::-;2708:6;2716;2769:2;2757:9;2748:7;2744:23;2740:32;2737:52;;;2785:1;2782;2775:12;2737:52;2808:29;2827:9;2808:29;:::i;:::-;2798:39;2884:2;2869:18;;;;2856:32;;-1:-1:-1;;;2640:254:1:o;2899:245::-;2957:6;3010:2;2998:9;2989:7;2985:23;2981:32;2978:52;;;3026:1;3023;3016:12;2978:52;3065:9;3052:23;3084:30;3108:5;3084:30;:::i;3149:249::-;3218:6;3271:2;3259:9;3250:7;3246:23;3242:32;3239:52;;;3287:1;3284;3277:12;3239:52;3319:9;3313:16;3338:30;3362:5;3338:30;:::i;3403:450::-;3472:6;3525:2;3513:9;3504:7;3500:23;3496:32;3493:52;;;3541:1;3538;3531:12;3493:52;3581:9;3568:23;3614:18;3606:6;3603:30;3600:50;;;3646:1;3643;3636:12;3600:50;3669:22;;3722:4;3714:13;;3710:27;-1:-1:-1;3700:55:1;;3751:1;3748;3741:12;3700:55;3774:73;3839:7;3834:2;3821:16;3816:2;3812;3808:11;3774:73;:::i;3858:346::-;3925:6;3933;3986:2;3974:9;3965:7;3961:23;3957:32;3954:52;;;4002:1;3999;3992:12;3954:52;4041:9;4028:23;4091:6;4084:5;4080:18;4073:5;4070:29;4060:57;;4113:1;4110;4103:12;4209:180;4268:6;4321:2;4309:9;4300:7;4296:23;4292:32;4289:52;;;4337:1;4334;4327:12;4289:52;-1:-1:-1;4360:23:1;;4209:180;-1:-1:-1;4209:180:1:o;4394:257::-;4435:3;4473:5;4467:12;4500:6;4495:3;4488:19;4516:63;4572:6;4565:4;4560:3;4556:14;4549:4;4542:5;4538:16;4516:63;:::i;:::-;4633:2;4612:15;-1:-1:-1;;4608:29:1;4599:39;;;;4640:4;4595:50;;4394:257;-1:-1:-1;;4394:257:1:o;4656:1527::-;4880:3;4918:6;4912:13;4944:4;4957:51;5001:6;4996:3;4991:2;4983:6;4979:15;4957:51;:::i;:::-;5071:13;;5030:16;;;;5093:55;5071:13;5030:16;5115:15;;;5093:55;:::i;:::-;5237:13;;5170:20;;;5210:1;;5297;5319:18;;;;5372;;;;5399:93;;5477:4;5467:8;5463:19;5451:31;;5399:93;5540:2;5530:8;5527:16;5507:18;5504:40;5501:167;;;-1:-1:-1;;;5567:33:1;;5623:4;5620:1;5613:15;5653:4;5574:3;5641:17;5501:167;5684:18;5711:110;;;;5835:1;5830:328;;;;5677:481;;5711:110;-1:-1:-1;;5746:24:1;;5732:39;;5791:20;;;;-1:-1:-1;5711:110:1;;5830:328;9641:1;9634:14;;;9678:4;9665:18;;5925:1;5939:169;5953:8;5950:1;5947:15;5939:169;;;6035:14;;6020:13;;;6013:37;6078:16;;;;5970:10;;5939:169;;;5943:3;;6139:8;6132:5;6128:20;6121:27;;5677:481;-1:-1:-1;6174:3:1;;4656:1527;-1:-1:-1;;;;;;;;;;;4656:1527:1:o;6396:488::-;-1:-1:-1;;;;;6665:15:1;;;6647:34;;6717:15;;6712:2;6697:18;;6690:43;6764:2;6749:18;;6742:34;;;6812:3;6807:2;6792:18;;6785:31;;;6590:4;;6833:45;;6858:19;;6850:6;6833:45;:::i;:::-;6825:53;6396:488;-1:-1:-1;;;;;;6396:488:1:o;7081:219::-;7230:2;7219:9;7212:21;7193:4;7250:44;7290:2;7279:9;7275:18;7267:6;7250:44;:::i;7712:356::-;7914:2;7896:21;;;7933:18;;;7926:30;7992:34;7987:2;7972:18;;7965:62;8059:2;8044:18;;7712:356::o;9694:224::-;9733:3;9761:6;9794:2;9791:1;9787:10;9824:2;9821:1;9817:10;9855:3;9851:2;9847:12;9842:3;9839:21;9836:47;;;9863:18;;:::i;:::-;9899:13;;9694:224;-1:-1:-1;;;;9694:224:1:o;9923:128::-;9963:3;9994:1;9990:6;9987:1;9984:13;9981:39;;;10000:18;;:::i;:::-;-1:-1:-1;10036:9:1;;9923:128::o;10056:120::-;10096:1;10122;10112:35;;10127:18;;:::i;:::-;-1:-1:-1;10161:9:1;;10056:120::o;10181:125::-;10221:4;10249:1;10246;10243:8;10240:34;;;10254:18;;:::i;:::-;-1:-1:-1;10291:9:1;;10181:125::o;10311:258::-;10383:1;10393:113;10407:6;10404:1;10401:13;10393:113;;;10483:11;;;10477:18;10464:11;;;10457:39;10429:2;10422:10;10393:113;;;10524:6;10521:1;10518:13;10515:48;;;-1:-1:-1;;10559:1:1;10541:16;;10534:27;10311:258::o;10574:380::-;10653:1;10649:12;;;;10696;;;10717:61;;10771:4;10763:6;10759:17;10749:27;;10717:61;10824:2;10816:6;10813:14;10793:18;10790:38;10787:161;;;10870:10;10865:3;10861:20;10858:1;10851:31;10905:4;10902:1;10895:15;10933:4;10930:1;10923:15;10787:161;;10574:380;;;:::o;10959:135::-;10998:3;-1:-1:-1;;11019:17:1;;11016:43;;;11039:18;;:::i;:::-;-1:-1:-1;11086:1:1;11075:13;;10959:135::o;11099:112::-;11131:1;11157;11147:35;;11162:18;;:::i;:::-;-1:-1:-1;11196:9:1;;11099:112::o;11216:127::-;11277:10;11272:3;11268:20;11265:1;11258:31;11308:4;11305:1;11298:15;11332:4;11329:1;11322:15;11348:127;11409:10;11404:3;11400:20;11397:1;11390:31;11440:4;11437:1;11430:15;11464:4;11461:1;11454:15;11480:127;11541:10;11536:3;11532:20;11529:1;11522:31;11572:4;11569:1;11562:15;11596:4;11593:1;11586:15;11612:127;11673:10;11668:3;11664:20;11661:1;11654:31;11704:4;11701:1;11694:15;11728:4;11725:1;11718:15;11744:131;-1:-1:-1;;;;;;11818:32:1;;11808:43;;11798:71;;11865:1;11862;11855:12
Swarm Source
ipfs://6c8fa73a4f49374a8c98f212095ce29c3026a3c94ddc19b9ab9d5b09f59ee5ab
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.