ERC-721
Overview
Max Total Supply
426 FUNNY
Holders
115
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
1 FUNNYLoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
FunnyRabbits
Compiler Version
v0.8.7+commit.e28d00a7
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2022-10-31 */ // 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/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: @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/token/ERC721/ERC721.sol // OpenZeppelin Contracts (last updated v4.7.0) (token/ERC721/ERC721.sol) pragma solidity ^0.8.0; /** * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including * the Metadata extension, but not including the Enumerable extension, which is available separately as * {ERC721Enumerable}. */ contract ERC721 is Context, ERC165, IERC721, IERC721Metadata { using Address for address; using Strings for uint256; // Token name string private _name; // Token symbol string private _symbol; // Mapping from token ID to owner address mapping(uint256 => address) private _owners; // Mapping owner address to token count mapping(address => uint256) private _balances; // 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; /** * @dev Initializes the contract by setting a `name` and a `symbol` to the token collection. */ constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; } /** * @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 virtual override returns (uint256) { require(owner != address(0), "ERC721: address zero is not a valid owner"); return _balances[owner]; } /** * @dev See {IERC721-ownerOf}. */ function ownerOf(uint256 tokenId) public view virtual override returns (address) { address owner = _owners[tokenId]; require(owner != address(0), "ERC721: invalid token ID"); return owner; } /** * @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) { _requireMinted(tokenId); 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 overridden in child contracts. */ function _baseURI() internal view virtual returns (string memory) { return ""; } /** * @dev See {IERC721-approve}. */ function approve(address to, uint256 tokenId) public virtual override { address owner = ERC721.ownerOf(tokenId); require(to != owner, "ERC721: approval to current owner"); require( _msgSender() == owner || isApprovedForAll(owner, _msgSender()), "ERC721: approve caller is not token owner nor approved for all" ); _approve(to, tokenId); } /** * @dev See {IERC721-getApproved}. */ function getApproved(uint256 tokenId) public view virtual override returns (address) { _requireMinted(tokenId); return _tokenApprovals[tokenId]; } /** * @dev See {IERC721-setApprovalForAll}. */ function setApprovalForAll(address operator, bool approved) public virtual override { _setApprovalForAll(_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 { //solhint-disable-next-line max-line-length require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: caller is not token owner nor approved"); _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 { require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: caller is not token owner nor approved"); _safeTransfer(from, to, tokenId, data); } /** * @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. * * `data` is additional data, it has no specified format and it is sent in call to `to`. * * This internal function is equivalent to {safeTransferFrom}, and can be used to e.g. * implement alternative mechanisms to perform token transfer, such as signature-based. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeTransfer( address from, address to, uint256 tokenId, bytes memory data ) internal virtual { _transfer(from, to, tokenId); require(_checkOnERC721Received(from, to, tokenId, data), "ERC721: transfer to non ERC721Receiver implementer"); } /** * @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`), * and stop existing when they are burned (`_burn`). */ function _exists(uint256 tokenId) internal view virtual returns (bool) { return _owners[tokenId] != address(0); } /** * @dev Returns whether `spender` is allowed to manage `tokenId`. * * Requirements: * * - `tokenId` must exist. */ function _isApprovedOrOwner(address spender, uint256 tokenId) internal view virtual returns (bool) { address owner = ERC721.ownerOf(tokenId); return (spender == owner || isApprovedForAll(owner, spender) || getApproved(tokenId) == spender); } /** * @dev Safely mints `tokenId` and transfers it to `to`. * * Requirements: * * - `tokenId` must not exist. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeMint(address to, uint256 tokenId) internal virtual { _safeMint(to, tokenId, ""); } /** * @dev Same as {xref-ERC721-_safeMint-address-uint256-}[`_safeMint`], with an additional `data` parameter which is * forwarded in {IERC721Receiver-onERC721Received} to contract recipients. */ function _safeMint( address to, uint256 tokenId, bytes memory data ) internal virtual { _mint(to, tokenId); require( _checkOnERC721Received(address(0), to, tokenId, data), "ERC721: transfer to non ERC721Receiver implementer" ); } /** * @dev Mints `tokenId` and transfers it to `to`. * * WARNING: Usage of this method is discouraged, use {_safeMint} whenever possible * * Requirements: * * - `tokenId` must not exist. * - `to` cannot be the zero address. * * Emits a {Transfer} event. */ function _mint(address to, uint256 tokenId) internal virtual { require(to != address(0), "ERC721: mint to the zero address"); require(!_exists(tokenId), "ERC721: token already minted"); _beforeTokenTransfer(address(0), to, tokenId); _balances[to] += 1; _owners[tokenId] = to; emit Transfer(address(0), to, tokenId); _afterTokenTransfer(address(0), to, tokenId); } /** * @dev Destroys `tokenId`. * The approval is cleared when the token is burned. * * Requirements: * * - `tokenId` must exist. * * Emits a {Transfer} event. */ function _burn(uint256 tokenId) internal virtual { address owner = ERC721.ownerOf(tokenId); _beforeTokenTransfer(owner, address(0), tokenId); // Clear approvals _approve(address(0), tokenId); _balances[owner] -= 1; delete _owners[tokenId]; emit Transfer(owner, address(0), tokenId); _afterTokenTransfer(owner, address(0), tokenId); } /** * @dev Transfers `tokenId` from `from` to `to`. * As opposed to {transferFrom}, this imposes no restrictions on msg.sender. * * 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 ) internal virtual { require(ERC721.ownerOf(tokenId) == from, "ERC721: transfer from incorrect owner"); require(to != address(0), "ERC721: transfer to the zero address"); _beforeTokenTransfer(from, to, tokenId); // Clear approvals from the previous owner _approve(address(0), tokenId); _balances[from] -= 1; _balances[to] += 1; _owners[tokenId] = to; emit Transfer(from, to, tokenId); _afterTokenTransfer(from, to, tokenId); } /** * @dev Approve `to` to operate on `tokenId` * * Emits an {Approval} event. */ function _approve(address to, uint256 tokenId) internal virtual { _tokenApprovals[tokenId] = to; emit Approval(ERC721.ownerOf(tokenId), to, tokenId); } /** * @dev Approve `operator` to operate on all of `owner` tokens * * Emits an {ApprovalForAll} event. */ function _setApprovalForAll( address owner, address operator, bool approved ) internal virtual { require(owner != operator, "ERC721: approve to caller"); _operatorApprovals[owner][operator] = approved; emit ApprovalForAll(owner, operator, approved); } /** * @dev Reverts if the `tokenId` has not been minted yet. */ function _requireMinted(uint256 tokenId) internal view virtual { require(_exists(tokenId), "ERC721: invalid token ID"); } /** * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target address. * The call is not executed if the target address is not a 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 _checkOnERC721Received( address from, address to, uint256 tokenId, bytes memory data ) private returns (bool) { if (to.isContract()) { try IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, data) returns (bytes4 retval) { return retval == IERC721Receiver.onERC721Received.selector; } catch (bytes memory reason) { if (reason.length == 0) { revert("ERC721: transfer to non ERC721Receiver implementer"); } else { /// @solidity memory-safe-assembly assembly { revert(add(32, reason), mload(reason)) } } } } else { return true; } } /** * @dev Hook that is called before any token transfer. This includes minting * and burning. * * 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, ``from``'s `tokenId` will be burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer( address from, address to, uint256 tokenId ) internal virtual {} /** * @dev Hook that is called after any transfer of tokens. This includes * minting and burning. * * Calling conditions: * * - when `from` and `to` are both non-zero. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _afterTokenTransfer( address from, address to, uint256 tokenId ) internal virtual {} } // File: @openzeppelin/contracts/access/Ownable.sol // OpenZeppelin Contracts (last updated v4.7.0) (access/Ownable.sol) pragma solidity ^0.8.0; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _transferOwnership(_msgSender()); } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { _checkOwner(); _; } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if the sender is not the owner. */ function _checkOwner() internal view virtual { require(owner() == _msgSender(), "Ownable: caller is not the owner"); } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } } // File: erc721a/contracts/IERC721A.sol // ERC721A Contracts v4.2.3 // Creator: Chiru Labs pragma solidity ^0.8.4; /** * @dev Interface of ERC721A. */ interface IERC721A { /** * The caller must own the token or be an approved operator. */ error ApprovalCallerNotOwnerNorApproved(); /** * The token does not exist. */ error ApprovalQueryForNonexistentToken(); /** * Cannot query the balance for the zero address. */ error BalanceQueryForZeroAddress(); /** * Cannot mint to the zero address. */ error MintToZeroAddress(); /** * The quantity of tokens minted must be more than zero. */ error MintZeroQuantity(); /** * The token does not exist. */ error OwnerQueryForNonexistentToken(); /** * The caller must own the token or be an approved operator. */ error TransferCallerNotOwnerNorApproved(); /** * The token must be owned by `from`. */ error TransferFromIncorrectOwner(); /** * Cannot safely transfer to a contract that does not implement the * ERC721Receiver interface. */ error TransferToNonERC721ReceiverImplementer(); /** * Cannot transfer to the zero address. */ error TransferToZeroAddress(); /** * The token does not exist. */ error URIQueryForNonexistentToken(); /** * The `quantity` minted with ERC2309 exceeds the safety limit. */ error MintERC2309QuantityExceedsLimit(); /** * The `extraData` cannot be set on an unintialized ownership slot. */ error OwnershipNotInitializedForExtraData(); // ============================================================= // STRUCTS // ============================================================= struct TokenOwnership { // The address of the owner. address addr; // Stores the start time of ownership with minimal overhead for tokenomics. uint64 startTimestamp; // Whether the token has been burned. bool burned; // Arbitrary data similar to `startTimestamp` that can be set via {_extraData}. uint24 extraData; } // ============================================================= // TOKEN COUNTERS // ============================================================= /** * @dev Returns the total number of tokens in existence. * Burned tokens will reduce the count. * To get the total number of tokens minted, please see {_totalMinted}. */ function totalSupply() external view returns (uint256); // ============================================================= // IERC165 // ============================================================= /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * [EIP section](https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified) * to learn more about how these ids are created. * * This function call must use less than 30000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); // ============================================================= // IERC721 // ============================================================= /** * @dev Emitted when `tokenId` token is transferred from `from` to `to`. */ event Transfer(address indexed from, address indexed to, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token. */ event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables or disables * (`approved`) `operator` to manage all of its assets. */ event ApprovalForAll(address indexed owner, address indexed operator, bool approved); /** * @dev Returns the number of tokens in `owner`'s account. */ function balanceOf(address owner) external view returns (uint256 balance); /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) external view returns (address owner); /** * @dev Safely transfers `tokenId` token from `from` to `to`, * checking first that contract recipients are aware of the ERC721 protocol * to prevent tokens from being forever locked. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be have been allowed to move * this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement * {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes calldata data ) external payable; /** * @dev Equivalent to `safeTransferFrom(from, to, tokenId, '')`. */ function safeTransferFrom( address from, address to, uint256 tokenId ) external payable; /** * @dev Transfers `tokenId` from `from` to `to`. * * WARNING: Usage of this method is discouraged, use {safeTransferFrom} * whenever possible. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token * by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 tokenId ) external payable; /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the * zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) external payable; /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} * for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool _approved) external; /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll}. */ function isApprovedForAll(address owner, address operator) external view returns (bool); // ============================================================= // IERC721Metadata // ============================================================= /** * @dev Returns the token collection name. */ function name() external view returns (string memory); /** * @dev Returns the token collection symbol. */ function symbol() external view returns (string memory); /** * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token. */ function tokenURI(uint256 tokenId) external view returns (string memory); // ============================================================= // IERC2309 // ============================================================= /** * @dev Emitted when tokens in `fromTokenId` to `toTokenId` * (inclusive) is transferred from `from` to `to`, as defined in the * [ERC2309](https://eips.ethereum.org/EIPS/eip-2309) standard. * * See {_mintERC2309} for more details. */ event ConsecutiveTransfer(uint256 indexed fromTokenId, uint256 toTokenId, address indexed from, address indexed to); } // File: erc721a/contracts/ERC721A.sol // ERC721A Contracts v4.2.3 // Creator: Chiru Labs pragma solidity ^0.8.4; /** * @dev Interface of ERC721 token receiver. */ interface ERC721A__IERC721Receiver { function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); } /** * @title ERC721A * * @dev Implementation of the [ERC721](https://eips.ethereum.org/EIPS/eip-721) * Non-Fungible Token Standard, including the Metadata extension. * Optimized for lower gas during batch mints. * * Token IDs are minted in sequential order (e.g. 0, 1, 2, 3, ...) * starting from `_startTokenId()`. * * Assumptions: * * - An owner cannot have more than 2**64 - 1 (max value of uint64) of supply. * - The maximum token ID cannot exceed 2**256 - 1 (max value of uint256). */ contract ERC721A is IERC721A { // Bypass for a `--via-ir` bug (https://github.com/chiru-labs/ERC721A/pull/364). struct TokenApprovalRef { address value; } // ============================================================= // CONSTANTS // ============================================================= // Mask of an entry in packed address data. uint256 private constant _BITMASK_ADDRESS_DATA_ENTRY = (1 << 64) - 1; // The bit position of `numberMinted` in packed address data. uint256 private constant _BITPOS_NUMBER_MINTED = 64; // The bit position of `numberBurned` in packed address data. uint256 private constant _BITPOS_NUMBER_BURNED = 128; // The bit position of `aux` in packed address data. uint256 private constant _BITPOS_AUX = 192; // Mask of all 256 bits in packed address data except the 64 bits for `aux`. uint256 private constant _BITMASK_AUX_COMPLEMENT = (1 << 192) - 1; // The bit position of `startTimestamp` in packed ownership. uint256 private constant _BITPOS_START_TIMESTAMP = 160; // The bit mask of the `burned` bit in packed ownership. uint256 private constant _BITMASK_BURNED = 1 << 224; // The bit position of the `nextInitialized` bit in packed ownership. uint256 private constant _BITPOS_NEXT_INITIALIZED = 225; // The bit mask of the `nextInitialized` bit in packed ownership. uint256 private constant _BITMASK_NEXT_INITIALIZED = 1 << 225; // The bit position of `extraData` in packed ownership. uint256 private constant _BITPOS_EXTRA_DATA = 232; // Mask of all 256 bits in a packed ownership except the 24 bits for `extraData`. uint256 private constant _BITMASK_EXTRA_DATA_COMPLEMENT = (1 << 232) - 1; // The mask of the lower 160 bits for addresses. uint256 private constant _BITMASK_ADDRESS = (1 << 160) - 1; // The maximum `quantity` that can be minted with {_mintERC2309}. // This limit is to prevent overflows on the address data entries. // For a limit of 5000, a total of 3.689e15 calls to {_mintERC2309} // is required to cause an overflow, which is unrealistic. uint256 private constant _MAX_MINT_ERC2309_QUANTITY_LIMIT = 5000; // The `Transfer` event signature is given by: // `keccak256(bytes("Transfer(address,address,uint256)"))`. bytes32 private constant _TRANSFER_EVENT_SIGNATURE = 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef; // ============================================================= // STORAGE // ============================================================= // The next token ID to be minted. uint256 private _currentIndex; // The number of tokens burned. uint256 private _burnCounter; // Token name string private _name; // Token symbol string private _symbol; // Mapping from token ID to ownership details // An empty struct value does not necessarily mean the token is unowned. // See {_packedOwnershipOf} implementation for details. // // Bits Layout: // - [0..159] `addr` // - [160..223] `startTimestamp` // - [224] `burned` // - [225] `nextInitialized` // - [232..255] `extraData` mapping(uint256 => uint256) private _packedOwnerships; // Mapping owner address to address data. // // Bits Layout: // - [0..63] `balance` // - [64..127] `numberMinted` // - [128..191] `numberBurned` // - [192..255] `aux` mapping(address => uint256) private _packedAddressData; // Mapping from token ID to approved address. mapping(uint256 => TokenApprovalRef) private _tokenApprovals; // Mapping from owner to operator approvals mapping(address => mapping(address => bool)) private _operatorApprovals; // ============================================================= // CONSTRUCTOR // ============================================================= constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; _currentIndex = _startTokenId(); } // ============================================================= // TOKEN COUNTING OPERATIONS // ============================================================= /** * @dev Returns the starting token ID. * To change the starting token ID, please override this function. */ function _startTokenId() internal view virtual returns (uint256) { return 0; } /** * @dev Returns the next token ID to be minted. */ function _nextTokenId() internal view virtual returns (uint256) { return _currentIndex; } /** * @dev Returns the total number of tokens in existence. * Burned tokens will reduce the count. * To get the total number of tokens minted, please see {_totalMinted}. */ function totalSupply() public view virtual override returns (uint256) { // Counter underflow is impossible as _burnCounter cannot be incremented // more than `_currentIndex - _startTokenId()` times. unchecked { return _currentIndex - _burnCounter - _startTokenId(); } } /** * @dev Returns the total amount of tokens minted in the contract. */ function _totalMinted() internal view virtual returns (uint256) { // Counter underflow is impossible as `_currentIndex` does not decrement, // and it is initialized to `_startTokenId()`. unchecked { return _currentIndex - _startTokenId(); } } /** * @dev Returns the total number of tokens burned. */ function _totalBurned() internal view virtual returns (uint256) { return _burnCounter; } // ============================================================= // ADDRESS DATA OPERATIONS // ============================================================= /** * @dev Returns the number of tokens in `owner`'s account. */ function balanceOf(address owner) public view virtual override returns (uint256) { if (owner == address(0)) revert BalanceQueryForZeroAddress(); return _packedAddressData[owner] & _BITMASK_ADDRESS_DATA_ENTRY; } /** * Returns the number of tokens minted by `owner`. */ function _numberMinted(address owner) internal view returns (uint256) { return (_packedAddressData[owner] >> _BITPOS_NUMBER_MINTED) & _BITMASK_ADDRESS_DATA_ENTRY; } /** * Returns the number of tokens burned by or on behalf of `owner`. */ function _numberBurned(address owner) internal view returns (uint256) { return (_packedAddressData[owner] >> _BITPOS_NUMBER_BURNED) & _BITMASK_ADDRESS_DATA_ENTRY; } /** * Returns the auxiliary data for `owner`. (e.g. number of whitelist mint slots used). */ function _getAux(address owner) internal view returns (uint64) { return uint64(_packedAddressData[owner] >> _BITPOS_AUX); } /** * Sets the auxiliary data for `owner`. (e.g. number of whitelist mint slots used). * If there are multiple variables, please pack them into a uint64. */ function _setAux(address owner, uint64 aux) internal virtual { uint256 packed = _packedAddressData[owner]; uint256 auxCasted; // Cast `aux` with assembly to avoid redundant masking. assembly { auxCasted := aux } packed = (packed & _BITMASK_AUX_COMPLEMENT) | (auxCasted << _BITPOS_AUX); _packedAddressData[owner] = packed; } // ============================================================= // IERC165 // ============================================================= /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * [EIP section](https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified) * to learn more about how these ids are created. * * This function call must use less than 30000 gas. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { // The interface IDs are constants representing the first 4 bytes // of the XOR of all function selectors in the interface. // See: [ERC165](https://eips.ethereum.org/EIPS/eip-165) // (e.g. `bytes4(i.functionA.selector ^ i.functionB.selector ^ ...)`) return interfaceId == 0x01ffc9a7 || // ERC165 interface ID for ERC165. interfaceId == 0x80ac58cd || // ERC165 interface ID for ERC721. interfaceId == 0x5b5e139f; // ERC165 interface ID for ERC721Metadata. } // ============================================================= // IERC721Metadata // ============================================================= /** * @dev Returns the token collection name. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev Returns the token collection symbol. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token. */ function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { if (!_exists(tokenId)) revert URIQueryForNonexistentToken(); string memory baseURI = _baseURI(); return bytes(baseURI).length != 0 ? string(abi.encodePacked(baseURI, _toString(tokenId))) : ''; } /** * @dev Base URI for computing {tokenURI}. If set, the resulting URI for each * token will be the concatenation of the `baseURI` and the `tokenId`. Empty * by default, it can be overridden in child contracts. */ function _baseURI() internal view virtual returns (string memory) { return ''; } // ============================================================= // OWNERSHIPS OPERATIONS // ============================================================= /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) public view virtual override returns (address) { return address(uint160(_packedOwnershipOf(tokenId))); } /** * @dev Gas spent here starts off proportional to the maximum mint batch size. * It gradually moves to O(1) as tokens get transferred around over time. */ function _ownershipOf(uint256 tokenId) internal view virtual returns (TokenOwnership memory) { return _unpackedOwnership(_packedOwnershipOf(tokenId)); } /** * @dev Returns the unpacked `TokenOwnership` struct at `index`. */ function _ownershipAt(uint256 index) internal view virtual returns (TokenOwnership memory) { return _unpackedOwnership(_packedOwnerships[index]); } /** * @dev Initializes the ownership slot minted at `index` for efficiency purposes. */ function _initializeOwnershipAt(uint256 index) internal virtual { if (_packedOwnerships[index] == 0) { _packedOwnerships[index] = _packedOwnershipOf(index); } } /** * Returns the packed ownership data of `tokenId`. */ function _packedOwnershipOf(uint256 tokenId) private view returns (uint256) { uint256 curr = tokenId; unchecked { if (_startTokenId() <= curr) if (curr < _currentIndex) { uint256 packed = _packedOwnerships[curr]; // If not burned. if (packed & _BITMASK_BURNED == 0) { // Invariant: // There will always be an initialized ownership slot // (i.e. `ownership.addr != address(0) && ownership.burned == false`) // before an unintialized ownership slot // (i.e. `ownership.addr == address(0) && ownership.burned == false`) // Hence, `curr` will not underflow. // // We can directly compare the packed value. // If the address is zero, packed will be zero. while (packed == 0) { packed = _packedOwnerships[--curr]; } return packed; } } } revert OwnerQueryForNonexistentToken(); } /** * @dev Returns the unpacked `TokenOwnership` struct from `packed`. */ function _unpackedOwnership(uint256 packed) private pure returns (TokenOwnership memory ownership) { ownership.addr = address(uint160(packed)); ownership.startTimestamp = uint64(packed >> _BITPOS_START_TIMESTAMP); ownership.burned = packed & _BITMASK_BURNED != 0; ownership.extraData = uint24(packed >> _BITPOS_EXTRA_DATA); } /** * @dev Packs ownership data into a single uint256. */ function _packOwnershipData(address owner, uint256 flags) private view returns (uint256 result) { assembly { // Mask `owner` to the lower 160 bits, in case the upper bits somehow aren't clean. owner := and(owner, _BITMASK_ADDRESS) // `owner | (block.timestamp << _BITPOS_START_TIMESTAMP) | flags`. result := or(owner, or(shl(_BITPOS_START_TIMESTAMP, timestamp()), flags)) } } /** * @dev Returns the `nextInitialized` flag set if `quantity` equals 1. */ function _nextInitializedFlag(uint256 quantity) private pure returns (uint256 result) { // For branchless setting of the `nextInitialized` flag. assembly { // `(quantity == 1) << _BITPOS_NEXT_INITIALIZED`. result := shl(_BITPOS_NEXT_INITIALIZED, eq(quantity, 1)) } } // ============================================================= // APPROVAL OPERATIONS // ============================================================= /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the * zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) public payable virtual override { address owner = ownerOf(tokenId); if (_msgSenderERC721A() != owner) if (!isApprovedForAll(owner, _msgSenderERC721A())) { revert ApprovalCallerNotOwnerNorApproved(); } _tokenApprovals[tokenId].value = to; emit Approval(owner, to, tokenId); } /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) public view virtual override returns (address) { if (!_exists(tokenId)) revert ApprovalQueryForNonexistentToken(); return _tokenApprovals[tokenId].value; } /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} * for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool approved) public virtual override { _operatorApprovals[_msgSenderERC721A()][operator] = approved; emit ApprovalForAll(_msgSenderERC721A(), operator, approved); } /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll}. */ function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) { return _operatorApprovals[owner][operator]; } /** * @dev Returns whether `tokenId` exists. * * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}. * * Tokens start existing when they are minted. See {_mint}. */ function _exists(uint256 tokenId) internal view virtual returns (bool) { return _startTokenId() <= tokenId && tokenId < _currentIndex && // If within bounds, _packedOwnerships[tokenId] & _BITMASK_BURNED == 0; // and not burned. } /** * @dev Returns whether `msgSender` is equal to `approvedAddress` or `owner`. */ function _isSenderApprovedOrOwner( address approvedAddress, address owner, address msgSender ) private pure returns (bool result) { assembly { // Mask `owner` to the lower 160 bits, in case the upper bits somehow aren't clean. owner := and(owner, _BITMASK_ADDRESS) // Mask `msgSender` to the lower 160 bits, in case the upper bits somehow aren't clean. msgSender := and(msgSender, _BITMASK_ADDRESS) // `msgSender == owner || msgSender == approvedAddress`. result := or(eq(msgSender, owner), eq(msgSender, approvedAddress)) } } /** * @dev Returns the storage slot and value for the approved address of `tokenId`. */ function _getApprovedSlotAndAddress(uint256 tokenId) private view returns (uint256 approvedAddressSlot, address approvedAddress) { TokenApprovalRef storage tokenApproval = _tokenApprovals[tokenId]; // The following is equivalent to `approvedAddress = _tokenApprovals[tokenId].value`. assembly { approvedAddressSlot := tokenApproval.slot approvedAddress := sload(approvedAddressSlot) } } // ============================================================= // TRANSFER OPERATIONS // ============================================================= /** * @dev Transfers `tokenId` from `from` to `to`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token * by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 tokenId ) public payable virtual override { uint256 prevOwnershipPacked = _packedOwnershipOf(tokenId); if (address(uint160(prevOwnershipPacked)) != from) revert TransferFromIncorrectOwner(); (uint256 approvedAddressSlot, address approvedAddress) = _getApprovedSlotAndAddress(tokenId); // The nested ifs save around 20+ gas over a compound boolean condition. if (!_isSenderApprovedOrOwner(approvedAddress, from, _msgSenderERC721A())) if (!isApprovedForAll(from, _msgSenderERC721A())) revert TransferCallerNotOwnerNorApproved(); if (to == address(0)) revert TransferToZeroAddress(); _beforeTokenTransfers(from, to, tokenId, 1); // Clear approvals from the previous owner. assembly { if approvedAddress { // This is equivalent to `delete _tokenApprovals[tokenId]`. sstore(approvedAddressSlot, 0) } } // Underflow of the sender's balance is impossible because we check for // ownership above and the recipient's balance can't realistically overflow. // Counter overflow is incredibly unrealistic as `tokenId` would have to be 2**256. unchecked { // We can directly increment and decrement the balances. --_packedAddressData[from]; // Updates: `balance -= 1`. ++_packedAddressData[to]; // Updates: `balance += 1`. // Updates: // - `address` to the next owner. // - `startTimestamp` to the timestamp of transfering. // - `burned` to `false`. // - `nextInitialized` to `true`. _packedOwnerships[tokenId] = _packOwnershipData( to, _BITMASK_NEXT_INITIALIZED | _nextExtraData(from, to, prevOwnershipPacked) ); // If the next slot may not have been initialized (i.e. `nextInitialized == false`) . if (prevOwnershipPacked & _BITMASK_NEXT_INITIALIZED == 0) { uint256 nextTokenId = tokenId + 1; // If the next slot's address is zero and not burned (i.e. packed value is zero). if (_packedOwnerships[nextTokenId] == 0) { // If the next slot is within bounds. if (nextTokenId != _currentIndex) { // Initialize the next slot to maintain correctness for `ownerOf(tokenId + 1)`. _packedOwnerships[nextTokenId] = prevOwnershipPacked; } } } } emit Transfer(from, to, tokenId); _afterTokenTransfers(from, to, tokenId, 1); } /** * @dev Equivalent to `safeTransferFrom(from, to, tokenId, '')`. */ function safeTransferFrom( address from, address to, uint256 tokenId ) public payable virtual override { safeTransferFrom(from, to, tokenId, ''); } /** * @dev Safely transfers `tokenId` token from `from` to `to`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be approved to move this token * by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement * {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes memory _data ) public payable virtual override { transferFrom(from, to, tokenId); if (to.code.length != 0) if (!_checkContractOnERC721Received(from, to, tokenId, _data)) { revert TransferToNonERC721ReceiverImplementer(); } } /** * @dev Hook that is called before a set of serially-ordered token IDs * are about to be transferred. This includes minting. * And also called before burning one token. * * `startTokenId` - the first token ID to be transferred. * `quantity` - the amount to be transferred. * * Calling conditions: * * - When `from` and `to` are both non-zero, `from`'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, `tokenId` will be burned by `from`. * - `from` and `to` are never both zero. */ function _beforeTokenTransfers( address from, address to, uint256 startTokenId, uint256 quantity ) internal virtual {} /** * @dev Hook that is called after a set of serially-ordered token IDs * have been transferred. This includes minting. * And also called after one token has been burned. * * `startTokenId` - the first token ID to be transferred. * `quantity` - the amount to be transferred. * * Calling conditions: * * - When `from` and `to` are both non-zero, `from`'s `tokenId` has been * transferred to `to`. * - When `from` is zero, `tokenId` has been minted for `to`. * - When `to` is zero, `tokenId` has been burned by `from`. * - `from` and `to` are never both zero. */ function _afterTokenTransfers( address from, address to, uint256 startTokenId, uint256 quantity ) internal virtual {} /** * @dev Private function to invoke {IERC721Receiver-onERC721Received} on a target contract. * * `from` - Previous owner of the given token ID. * `to` - Target address that will receive the token. * `tokenId` - Token ID to be transferred. * `_data` - Optional data to send along with the call. * * Returns whether the call correctly returned the expected magic value. */ function _checkContractOnERC721Received( address from, address to, uint256 tokenId, bytes memory _data ) private returns (bool) { try ERC721A__IERC721Receiver(to).onERC721Received(_msgSenderERC721A(), from, tokenId, _data) returns ( bytes4 retval ) { return retval == ERC721A__IERC721Receiver(to).onERC721Received.selector; } catch (bytes memory reason) { if (reason.length == 0) { revert TransferToNonERC721ReceiverImplementer(); } else { assembly { revert(add(32, reason), mload(reason)) } } } } // ============================================================= // MINT OPERATIONS // ============================================================= /** * @dev Mints `quantity` tokens and transfers them to `to`. * * Requirements: * * - `to` cannot be the zero address. * - `quantity` must be greater than 0. * * Emits a {Transfer} event for each mint. */ function _mint(address to, uint256 quantity) internal virtual { uint256 startTokenId = _currentIndex; if (quantity == 0) revert MintZeroQuantity(); _beforeTokenTransfers(address(0), to, startTokenId, quantity); // Overflows are incredibly unrealistic. // `balance` and `numberMinted` have a maximum limit of 2**64. // `tokenId` has a maximum limit of 2**256. unchecked { // Updates: // - `balance += quantity`. // - `numberMinted += quantity`. // // We can directly add to the `balance` and `numberMinted`. _packedAddressData[to] += quantity * ((1 << _BITPOS_NUMBER_MINTED) | 1); // Updates: // - `address` to the owner. // - `startTimestamp` to the timestamp of minting. // - `burned` to `false`. // - `nextInitialized` to `quantity == 1`. _packedOwnerships[startTokenId] = _packOwnershipData( to, _nextInitializedFlag(quantity) | _nextExtraData(address(0), to, 0) ); uint256 toMasked; uint256 end = startTokenId + quantity; // Use assembly to loop and emit the `Transfer` event for gas savings. // The duplicated `log4` removes an extra check and reduces stack juggling. // The assembly, together with the surrounding Solidity code, have been // delicately arranged to nudge the compiler into producing optimized opcodes. assembly { // Mask `to` to the lower 160 bits, in case the upper bits somehow aren't clean. toMasked := and(to, _BITMASK_ADDRESS) // Emit the `Transfer` event. log4( 0, // Start of data (0, since no data). 0, // End of data (0, since no data). _TRANSFER_EVENT_SIGNATURE, // Signature. 0, // `address(0)`. toMasked, // `to`. startTokenId // `tokenId`. ) // The `iszero(eq(,))` check ensures that large values of `quantity` // that overflows uint256 will make the loop run out of gas. // The compiler will optimize the `iszero` away for performance. for { let tokenId := add(startTokenId, 1) } iszero(eq(tokenId, end)) { tokenId := add(tokenId, 1) } { // Emit the `Transfer` event. Similar to above. log4(0, 0, _TRANSFER_EVENT_SIGNATURE, 0, toMasked, tokenId) } } if (toMasked == 0) revert MintToZeroAddress(); _currentIndex = end; } _afterTokenTransfers(address(0), to, startTokenId, quantity); } /** * @dev Mints `quantity` tokens and transfers them to `to`. * * This function is intended for efficient minting only during contract creation. * * It emits only one {ConsecutiveTransfer} as defined in * [ERC2309](https://eips.ethereum.org/EIPS/eip-2309), * instead of a sequence of {Transfer} event(s). * * Calling this function outside of contract creation WILL make your contract * non-compliant with the ERC721 standard. * For full ERC721 compliance, substituting ERC721 {Transfer} event(s) with the ERC2309 * {ConsecutiveTransfer} event is only permissible during contract creation. * * Requirements: * * - `to` cannot be the zero address. * - `quantity` must be greater than 0. * * Emits a {ConsecutiveTransfer} event. */ function _mintERC2309(address to, uint256 quantity) internal virtual { uint256 startTokenId = _currentIndex; if (to == address(0)) revert MintToZeroAddress(); if (quantity == 0) revert MintZeroQuantity(); if (quantity > _MAX_MINT_ERC2309_QUANTITY_LIMIT) revert MintERC2309QuantityExceedsLimit(); _beforeTokenTransfers(address(0), to, startTokenId, quantity); // Overflows are unrealistic due to the above check for `quantity` to be below the limit. unchecked { // Updates: // - `balance += quantity`. // - `numberMinted += quantity`. // // We can directly add to the `balance` and `numberMinted`. _packedAddressData[to] += quantity * ((1 << _BITPOS_NUMBER_MINTED) | 1); // Updates: // - `address` to the owner. // - `startTimestamp` to the timestamp of minting. // - `burned` to `false`. // - `nextInitialized` to `quantity == 1`. _packedOwnerships[startTokenId] = _packOwnershipData( to, _nextInitializedFlag(quantity) | _nextExtraData(address(0), to, 0) ); emit ConsecutiveTransfer(startTokenId, startTokenId + quantity - 1, address(0), to); _currentIndex = startTokenId + quantity; } _afterTokenTransfers(address(0), to, startTokenId, quantity); } /** * @dev Safely mints `quantity` tokens and transfers them to `to`. * * Requirements: * * - If `to` refers to a smart contract, it must implement * {IERC721Receiver-onERC721Received}, which is called for each safe transfer. * - `quantity` must be greater than 0. * * See {_mint}. * * Emits a {Transfer} event for each mint. */ function _safeMint( address to, uint256 quantity, bytes memory _data ) internal virtual { _mint(to, quantity); unchecked { if (to.code.length != 0) { uint256 end = _currentIndex; uint256 index = end - quantity; do { if (!_checkContractOnERC721Received(address(0), to, index++, _data)) { revert TransferToNonERC721ReceiverImplementer(); } } while (index < end); // Reentrancy protection. if (_currentIndex != end) revert(); } } } /** * @dev Equivalent to `_safeMint(to, quantity, '')`. */ function _safeMint(address to, uint256 quantity) internal virtual { _safeMint(to, quantity, ''); } // ============================================================= // BURN OPERATIONS // ============================================================= /** * @dev Equivalent to `_burn(tokenId, false)`. */ function _burn(uint256 tokenId) internal virtual { _burn(tokenId, false); } /** * @dev Destroys `tokenId`. * The approval is cleared when the token is burned. * * Requirements: * * - `tokenId` must exist. * * Emits a {Transfer} event. */ function _burn(uint256 tokenId, bool approvalCheck) internal virtual { uint256 prevOwnershipPacked = _packedOwnershipOf(tokenId); address from = address(uint160(prevOwnershipPacked)); (uint256 approvedAddressSlot, address approvedAddress) = _getApprovedSlotAndAddress(tokenId); if (approvalCheck) { // The nested ifs save around 20+ gas over a compound boolean condition. if (!_isSenderApprovedOrOwner(approvedAddress, from, _msgSenderERC721A())) if (!isApprovedForAll(from, _msgSenderERC721A())) revert TransferCallerNotOwnerNorApproved(); } _beforeTokenTransfers(from, address(0), tokenId, 1); // Clear approvals from the previous owner. assembly { if approvedAddress { // This is equivalent to `delete _tokenApprovals[tokenId]`. sstore(approvedAddressSlot, 0) } } // Underflow of the sender's balance is impossible because we check for // ownership above and the recipient's balance can't realistically overflow. // Counter overflow is incredibly unrealistic as `tokenId` would have to be 2**256. unchecked { // Updates: // - `balance -= 1`. // - `numberBurned += 1`. // // We can directly decrement the balance, and increment the number burned. // This is equivalent to `packed -= 1; packed += 1 << _BITPOS_NUMBER_BURNED;`. _packedAddressData[from] += (1 << _BITPOS_NUMBER_BURNED) - 1; // Updates: // - `address` to the last owner. // - `startTimestamp` to the timestamp of burning. // - `burned` to `true`. // - `nextInitialized` to `true`. _packedOwnerships[tokenId] = _packOwnershipData( from, (_BITMASK_BURNED | _BITMASK_NEXT_INITIALIZED) | _nextExtraData(from, address(0), prevOwnershipPacked) ); // If the next slot may not have been initialized (i.e. `nextInitialized == false`) . if (prevOwnershipPacked & _BITMASK_NEXT_INITIALIZED == 0) { uint256 nextTokenId = tokenId + 1; // If the next slot's address is zero and not burned (i.e. packed value is zero). if (_packedOwnerships[nextTokenId] == 0) { // If the next slot is within bounds. if (nextTokenId != _currentIndex) { // Initialize the next slot to maintain correctness for `ownerOf(tokenId + 1)`. _packedOwnerships[nextTokenId] = prevOwnershipPacked; } } } } emit Transfer(from, address(0), tokenId); _afterTokenTransfers(from, address(0), tokenId, 1); // Overflow not possible, as _burnCounter cannot be exceed _currentIndex times. unchecked { _burnCounter++; } } // ============================================================= // EXTRA DATA OPERATIONS // ============================================================= /** * @dev Directly sets the extra data for the ownership data `index`. */ function _setExtraDataAt(uint256 index, uint24 extraData) internal virtual { uint256 packed = _packedOwnerships[index]; if (packed == 0) revert OwnershipNotInitializedForExtraData(); uint256 extraDataCasted; // Cast `extraData` with assembly to avoid redundant masking. assembly { extraDataCasted := extraData } packed = (packed & _BITMASK_EXTRA_DATA_COMPLEMENT) | (extraDataCasted << _BITPOS_EXTRA_DATA); _packedOwnerships[index] = packed; } /** * @dev Called during each token transfer to set the 24bit `extraData` field. * Intended to be overridden by the cosumer contract. * * `previousExtraData` - the value of `extraData` before transfer. * * Calling conditions: * * - When `from` and `to` are both non-zero, `from`'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, `tokenId` will be burned by `from`. * - `from` and `to` are never both zero. */ function _extraData( address from, address to, uint24 previousExtraData ) internal view virtual returns (uint24) {} /** * @dev Returns the next extra data for the packed ownership data. * The returned result is shifted into position. */ function _nextExtraData( address from, address to, uint256 prevOwnershipPacked ) private view returns (uint256) { uint24 extraData = uint24(prevOwnershipPacked >> _BITPOS_EXTRA_DATA); return uint256(_extraData(from, to, extraData)) << _BITPOS_EXTRA_DATA; } // ============================================================= // OTHER OPERATIONS // ============================================================= /** * @dev Returns the message sender (defaults to `msg.sender`). * * If you are writing GSN compatible contracts, you need to override this function. */ function _msgSenderERC721A() internal view virtual returns (address) { return msg.sender; } /** * @dev Converts a uint256 to its ASCII string decimal representation. */ function _toString(uint256 value) internal pure virtual returns (string memory str) { assembly { // The maximum value of a uint256 contains 78 digits (1 byte per digit), but // we allocate 0xa0 bytes to keep the free memory pointer 32-byte word aligned. // We will need 1 word for the trailing zeros padding, 1 word for the length, // and 3 words for a maximum of 78 digits. Total: 5 * 0x20 = 0xa0. let m := add(mload(0x40), 0xa0) // Update the free memory pointer to allocate. mstore(0x40, m) // Assign the `str` to the end. str := sub(m, 0x20) // Zeroize the slot after the string. mstore(str, 0) // Cache the end of the memory to calculate the length later. let end := str // We write the string from rightmost digit to leftmost digit. // The following is essentially a do-while loop that also handles the zero case. // prettier-ignore for { let temp := value } 1 {} { str := sub(str, 1) // Write the character to the pointer. // The ASCII index of the '0' character is 48. mstore8(str, add(48, mod(temp, 10))) // Keep dividing `temp` until zero. temp := div(temp, 10) // prettier-ignore if iszero(temp) { break } } let length := sub(end, str) // Move the pointer 32 bytes leftwards to make room for the length. str := sub(str, 0x20) // Store the length. mstore(str, length) } } } // File: contracts/FunnyRabbits.sol pragma solidity >=0.7.0 <0.9.0; contract FunnyRabbits is ERC721A, Ownable { using Strings for uint256; string private baseURI = "ipfs://QmbqcgLTBJHaRVUviFVeyHT5hSXCLvc1vp2JEMcDXutNt5"; uint256 public constant maxSupply = 10000; uint256 public constant mintQuantity = 1; bool public mintIsActive; address private _manager; mapping(address => uint256) private amountMinted; constructor() ERC721A("Funny Rabbits", "FUNNY") { mintIsActive = false; _mint(msg.sender, 1); } modifier onlyOwnerOrManager() { require( owner() == _msgSender() || _manager == _msgSender(), "Caller is not the owner or manager" ); _; } modifier eligibleToMint() { require(mintIsActive, "The contract has not started minting."); require( totalSupply() + mintQuantity <= maxSupply, "All tokens have been minted." ); _; } function mint() public eligibleToMint { amountMinted[msg.sender] += mintQuantity; _mint(msg.sender, mintQuantity); } function ownerMint(uint256 _quantity) public onlyOwner { _mint(msg.sender, _quantity); } function flipMintState() external onlyOwnerOrManager { mintIsActive = !mintIsActive; } function setManager(address manager) external onlyOwnerOrManager { _manager = manager; } function withdraw() public onlyOwner { (bool os, ) = payable(owner()).call{ value: address(this).balance }(""); require(os); } function setBaseURI(string memory _newBaseURI) public onlyOwner { baseURI = _newBaseURI; } function _baseURI() internal view virtual override returns (string memory) { return baseURI; } function getHtml() public pure returns (string memory) { return '<!DOCTYPE html> <head> <script src="https://cdnjs.cloudflare.com/ajax/libs/p5.js/1.4.0/p5.js"></script> <script>let yoff=0;function setup(){createCanvas(1800,1800)}function draw(){background(51),translate(width/2,height/2),stroke(255),fill(255,50),strokeWeight(1);let d=PI/200,b=0;beginShape();for(let a=0;a<=TWO_PI;a+=d){let e=noise(b,yoff),c=sin(2*a)*map(e,0,1,50,300),f=c*cos(a),g=c*sin(a);a<PI?b+=.05:b-=.05,vertex(f,g)}endShape(),yoff+=.01} </script> </head> <body> </body> </html>'; } function tokenURI(uint256 _tokenId) public view virtual override returns (string memory) { require( _exists(_tokenId), "ERC721Metadata: URI query for nonexistent token" ); return baseURI; } function _startTokenId() internal pure override(ERC721A) returns (uint256 startId) { return 1; } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ApprovalCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"ApprovalQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[],"name":"MintERC2309QuantityExceedsLimit","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[],"name":"OwnerQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"OwnershipNotInitializedForExtraData","type":"error"},{"inputs":[],"name":"TransferCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"TransferFromIncorrectOwner","type":"error"},{"inputs":[],"name":"TransferToNonERC721ReceiverImplementer","type":"error"},{"inputs":[],"name":"TransferToZeroAddress","type":"error"},{"inputs":[],"name":"URIQueryForNonexistentToken","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"fromTokenId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"toTokenId","type":"uint256"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"}],"name":"ConsecutiveTransfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"flipMintState","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getHtml","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"pure","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":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"mint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"mintIsActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"mintQuantity","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_quantity","type":"uint256"}],"name":"ownerMint","outputs":[],"stateMutability":"nonpayable","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":"_newBaseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"manager","type":"address"}],"name":"setManager","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
6080604052604051806060016040528060358152602001620030596035913960099080519060200190620000359291906200048e565b503480156200004357600080fd5b506040518060400160405280600d81526020017f46756e6e792052616262697473000000000000000000000000000000000000008152506040518060400160405280600581526020017f46554e4e590000000000000000000000000000000000000000000000000000008152508160029080519060200190620000c89291906200048e565b508060039080519060200190620000e19291906200048e565b50620000f26200014e60201b60201c565b60008190555050506200011a6200010e6200015760201b60201c565b6200015f60201b60201c565b6000600a60006101000a81548160ff021916908315150217905550620001483360016200022560201b60201c565b620005a3565b60006001905090565b600033905090565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600080549050600082141562000267576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6200027c60008483856200040e60201b60201c565b600160406001901b178202600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825401925050819055506200030b83620002ed60008660006200041460201b60201c565b620002fe856200044460201b60201c565b176200045460201b60201c565b6004600083815260200190815260200160002081905550600080838301905073ffffffffffffffffffffffffffffffffffffffff85169150828260007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4600183015b818114620003ae57808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a460018101905062000371565b506000821415620003eb576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8060008190555050506200040960008483856200047f60201b60201c565b505050565b50505050565b60008060e883901c905060e8620004338686846200048560201b60201c565b62ffffff16901b9150509392505050565b60006001821460e11b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff83169250814260a01b178317905092915050565b50505050565b60009392505050565b8280546200049c906200053e565b90600052602060002090601f016020900481019282620004c057600085556200050c565b82601f10620004db57805160ff19168380011785556200050c565b828001600101855582156200050c579182015b828111156200050b578251825591602001919060010190620004ee565b5b5090506200051b91906200051f565b5090565b5b808211156200053a57600081600090555060010162000520565b5090565b600060028204905060018216806200055757607f821691505b602082108114156200056e576200056d62000574565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b612aa680620005b36000396000f3fe60806040526004361061019c5760003560e01c80636352211e116100ec578063c87b56dd1161008a578063e985e9c511610064578063e985e9c514610546578063f19e75d414610583578063f1f6c092146105ac578063f2fde38b146105d75761019c565b8063c87b56dd146104b5578063d0ebdbe7146104f2578063d5abeb011461051b5761019c565b80638da5cb5b116100c65780638da5cb5b1461041a57806395d89b4114610445578063a22cb46514610470578063b88d4fde146104995761019c565b80636352211e1461038957806370a08231146103c6578063715018a6146104035761019c565b806323b872dd116101595780634338cd5f116101335780634338cd5f146102f3578063471a42941461031e57806355f804b31461034957806359c74f29146103725761019c565b806323b872dd146102a45780633ccfd60b146102c057806342842e0e146102d75761019c565b806301ffc9a7146101a157806306fdde03146101de578063081812fc14610209578063095ea7b3146102465780631249c58b1461026257806318160ddd14610279575b600080fd5b3480156101ad57600080fd5b506101c860048036038101906101c39190611fba565b610600565b6040516101d5919061229a565b60405180910390f35b3480156101ea57600080fd5b506101f3610692565b60405161020091906122b5565b60405180910390f35b34801561021557600080fd5b50610230600480360381019061022b919061205d565b610724565b60405161023d9190612233565b60405180910390f35b610260600480360381019061025b9190611f7a565b6107a3565b005b34801561026e57600080fd5b506102776108e7565b005b34801561028557600080fd5b5061028e6109f2565b60405161029b9190612397565b60405180910390f35b6102be60048036038101906102b99190611e64565b610a09565b005b3480156102cc57600080fd5b506102d5610d2e565b005b6102f160048036038101906102ec9190611e64565b610db6565b005b3480156102ff57600080fd5b50610308610dd6565b6040516103159190612397565b60405180910390f35b34801561032a57600080fd5b50610333610ddb565b604051610340919061229a565b60405180910390f35b34801561035557600080fd5b50610370600480360381019061036b9190612014565b610dee565b005b34801561037e57600080fd5b50610387610e10565b005b34801561039557600080fd5b506103b060048036038101906103ab919061205d565b610f17565b6040516103bd9190612233565b60405180910390f35b3480156103d257600080fd5b506103ed60048036038101906103e89190611df7565b610f29565b6040516103fa9190612397565b60405180910390f35b34801561040f57600080fd5b50610418610fe2565b005b34801561042657600080fd5b5061042f610ff6565b60405161043c9190612233565b60405180910390f35b34801561045157600080fd5b5061045a611020565b60405161046791906122b5565b60405180910390f35b34801561047c57600080fd5b5061049760048036038101906104929190611f3a565b6110b2565b005b6104b360048036038101906104ae9190611eb7565b6111bd565b005b3480156104c157600080fd5b506104dc60048036038101906104d7919061205d565b611230565b6040516104e991906122b5565b60405180910390f35b3480156104fe57600080fd5b5061051960048036038101906105149190611df7565b61130c565b005b34801561052757600080fd5b5061053061142b565b60405161053d9190612397565b60405180910390f35b34801561055257600080fd5b5061056d60048036038101906105689190611e24565b611431565b60405161057a919061229a565b60405180910390f35b34801561058f57600080fd5b506105aa60048036038101906105a5919061205d565b6114c5565b005b3480156105b857600080fd5b506105c16114da565b6040516105ce91906122b5565b60405180910390f35b3480156105e357600080fd5b506105fe60048036038101906105f99190611df7565b6114fd565b005b60006301ffc9a760e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061065b57506380ac58cd60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b8061068b5750635b5e139f60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b9050919050565b6060600280546106a190612588565b80601f01602080910402602001604051908101604052809291908181526020018280546106cd90612588565b801561071a5780601f106106ef5761010080835404028352916020019161071a565b820191906000526020600020905b8154815290600101906020018083116106fd57829003601f168201915b5050505050905090565b600061072f82611581565b610765576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6006600083815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b60006107ae82610f17565b90508073ffffffffffffffffffffffffffffffffffffffff166107cf6115e0565b73ffffffffffffffffffffffffffffffffffffffff1614610832576107fb816107f66115e0565b611431565b610831576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b826006600084815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b600a60009054906101000a900460ff16610936576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161092d90612377565b60405180910390fd5b61271060016109436109f2565b61094d919061247c565b111561098e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610985906122f7565b60405180910390fd5b6001600b60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546109de919061247c565b925050819055506109f03360016115e8565b565b60006109fc6117a5565b6001546000540303905090565b6000610a14826117ae565b90508373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610a7b576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600080610a878461187c565b91509150610a9d8187610a986115e0565b6118a3565b610ae957610ab286610aad6115e0565b611431565b610ae8576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161415610b50576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610b5d86868660016118e7565b8015610b6857600082555b600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600081546001900391905081905550600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000815460010191905081905550610c3685610c128888876118ed565b7c020000000000000000000000000000000000000000000000000000000017611915565b600460008681526020019081526020016000208190555060007c020000000000000000000000000000000000000000000000000000000084161415610cbe576000600185019050600060046000838152602001908152602001600020541415610cbc576000548114610cbb578360046000838152602001908152602001600020819055505b5b505b838573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4610d268686866001611940565b505050505050565b610d36611946565b6000610d40610ff6565b73ffffffffffffffffffffffffffffffffffffffff1647604051610d639061221e565b60006040518083038185875af1925050503d8060008114610da0576040519150601f19603f3d011682016040523d82523d6000602084013e610da5565b606091505b5050905080610db357600080fd5b50565b610dd1838383604051806020016040528060008152506111bd565b505050565b600181565b600a60009054906101000a900460ff1681565b610df6611946565b8060099080519060200190610e0c929190611c0b565b5050565b610e186119c4565b73ffffffffffffffffffffffffffffffffffffffff16610e36610ff6565b73ffffffffffffffffffffffffffffffffffffffff161480610eac5750610e5b6119c4565b73ffffffffffffffffffffffffffffffffffffffff16600a60019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16145b610eeb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ee290612317565b60405180910390fd5b600a60009054906101000a900460ff1615600a60006101000a81548160ff021916908315150217905550565b6000610f22826117ae565b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415610f91576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b67ffffffffffffffff600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054169050919050565b610fea611946565b610ff460006119cc565b565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60606003805461102f90612588565b80601f016020809104026020016040519081016040528092919081815260200182805461105b90612588565b80156110a85780601f1061107d576101008083540402835291602001916110a8565b820191906000526020600020905b81548152906001019060200180831161108b57829003601f168201915b5050505050905090565b80600760006110bf6115e0565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff1661116c6115e0565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516111b1919061229a565b60405180910390a35050565b6111c8848484610a09565b60008373ffffffffffffffffffffffffffffffffffffffff163b1461122a576111f384848484611a92565b611229576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b50505050565b606061123b82611581565b61127a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161127190612357565b60405180910390fd5b6009805461128790612588565b80601f01602080910402602001604051908101604052809291908181526020018280546112b390612588565b80156113005780601f106112d557610100808354040283529160200191611300565b820191906000526020600020905b8154815290600101906020018083116112e357829003601f168201915b50505050509050919050565b6113146119c4565b73ffffffffffffffffffffffffffffffffffffffff16611332610ff6565b73ffffffffffffffffffffffffffffffffffffffff1614806113a857506113576119c4565b73ffffffffffffffffffffffffffffffffffffffff16600a60019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16145b6113e7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113de90612317565b60405180910390fd5b80600a60016101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b61271081565b6000600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6114cd611946565b6114d733826115e8565b50565b60606040518061022001604052806101e6815260200161288b6101e69139905090565b611505611946565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611575576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161156c906122d7565b60405180910390fd5b61157e816119cc565b50565b60008161158c6117a5565b1115801561159b575060005482105b80156115d9575060007c0100000000000000000000000000000000000000000000000000000000600460008581526020019081526020016000205416145b9050919050565b600033905090565b6000805490506000821415611629576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b61163660008483856118e7565b600160406001901b178202600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825401925050819055506116ad8361169e60008660006118ed565b6116a785611bf2565b17611915565b6004600083815260200190815260200160002081905550600080838301905073ffffffffffffffffffffffffffffffffffffffff85169150828260007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4600183015b81811461174e57808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4600181019050611713565b50600082141561178a576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8060008190555050506117a06000848385611940565b505050565b60006001905090565b600080829050806117bd6117a5565b11611845576000548110156118445760006004600083815260200190815260200160002054905060007c010000000000000000000000000000000000000000000000000000000082161415611842575b600081141561183857600460008360019003935083815260200190815260200160002054905061180d565b8092505050611877565b505b5b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b60008060006006600085815260200190815260200160002090508092508254915050915091565b600073ffffffffffffffffffffffffffffffffffffffff8316925073ffffffffffffffffffffffffffffffffffffffff821691508382148383141790509392505050565b50505050565b60008060e883901c905060e8611904868684611c02565b62ffffff16901b9150509392505050565b600073ffffffffffffffffffffffffffffffffffffffff83169250814260a01b178317905092915050565b50505050565b61194e6119c4565b73ffffffffffffffffffffffffffffffffffffffff1661196c610ff6565b73ffffffffffffffffffffffffffffffffffffffff16146119c2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119b990612337565b60405180910390fd5b565b600033905090565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a02611ab86115e0565b8786866040518563ffffffff1660e01b8152600401611ada949392919061224e565b602060405180830381600087803b158015611af457600080fd5b505af1925050508015611b2557506040513d601f19601f82011682018060405250810190611b229190611fe7565b60015b611b9f573d8060008114611b55576040519150601f19603f3d011682016040523d82523d6000602084013e611b5a565b606091505b50600081511415611b97576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b60006001821460e11b9050919050565b60009392505050565b828054611c1790612588565b90600052602060002090601f016020900481019282611c395760008555611c80565b82601f10611c5257805160ff1916838001178555611c80565b82800160010185558215611c80579182015b82811115611c7f578251825591602001919060010190611c64565b5b509050611c8d9190611c91565b5090565b5b80821115611caa576000816000905550600101611c92565b5090565b6000611cc1611cbc846123d7565b6123b2565b905082815260208101848484011115611cdd57611cdc61267d565b5b611ce8848285612546565b509392505050565b6000611d03611cfe84612408565b6123b2565b905082815260208101848484011115611d1f57611d1e61267d565b5b611d2a848285612546565b509392505050565b600081359050611d418161282e565b92915050565b600081359050611d5681612845565b92915050565b600081359050611d6b8161285c565b92915050565b600081519050611d808161285c565b92915050565b600082601f830112611d9b57611d9a612678565b5b8135611dab848260208601611cae565b91505092915050565b600082601f830112611dc957611dc8612678565b5b8135611dd9848260208601611cf0565b91505092915050565b600081359050611df181612873565b92915050565b600060208284031215611e0d57611e0c612687565b5b6000611e1b84828501611d32565b91505092915050565b60008060408385031215611e3b57611e3a612687565b5b6000611e4985828601611d32565b9250506020611e5a85828601611d32565b9150509250929050565b600080600060608486031215611e7d57611e7c612687565b5b6000611e8b86828701611d32565b9350506020611e9c86828701611d32565b9250506040611ead86828701611de2565b9150509250925092565b60008060008060808587031215611ed157611ed0612687565b5b6000611edf87828801611d32565b9450506020611ef087828801611d32565b9350506040611f0187828801611de2565b925050606085013567ffffffffffffffff811115611f2257611f21612682565b5b611f2e87828801611d86565b91505092959194509250565b60008060408385031215611f5157611f50612687565b5b6000611f5f85828601611d32565b9250506020611f7085828601611d47565b9150509250929050565b60008060408385031215611f9157611f90612687565b5b6000611f9f85828601611d32565b9250506020611fb085828601611de2565b9150509250929050565b600060208284031215611fd057611fcf612687565b5b6000611fde84828501611d5c565b91505092915050565b600060208284031215611ffd57611ffc612687565b5b600061200b84828501611d71565b91505092915050565b60006020828403121561202a57612029612687565b5b600082013567ffffffffffffffff81111561204857612047612682565b5b61205484828501611db4565b91505092915050565b60006020828403121561207357612072612687565b5b600061208184828501611de2565b91505092915050565b612093816124d2565b82525050565b6120a2816124e4565b82525050565b60006120b382612439565b6120bd818561244f565b93506120cd818560208601612555565b6120d68161268c565b840191505092915050565b60006120ec82612444565b6120f6818561246b565b9350612106818560208601612555565b61210f8161268c565b840191505092915050565b600061212760268361246b565b91506121328261269d565b604082019050919050565b600061214a601c8361246b565b9150612155826126ec565b602082019050919050565b600061216d60228361246b565b915061217882612715565b604082019050919050565b600061219060208361246b565b915061219b82612764565b602082019050919050565b60006121b3602f8361246b565b91506121be8261278d565b604082019050919050565b60006121d6600083612460565b91506121e1826127dc565b600082019050919050565b60006121f960258361246b565b9150612204826127df565b604082019050919050565b6122188161253c565b82525050565b6000612229826121c9565b9150819050919050565b6000602082019050612248600083018461208a565b92915050565b6000608082019050612263600083018761208a565b612270602083018661208a565b61227d604083018561220f565b818103606083015261228f81846120a8565b905095945050505050565b60006020820190506122af6000830184612099565b92915050565b600060208201905081810360008301526122cf81846120e1565b905092915050565b600060208201905081810360008301526122f08161211a565b9050919050565b600060208201905081810360008301526123108161213d565b9050919050565b6000602082019050818103600083015261233081612160565b9050919050565b6000602082019050818103600083015261235081612183565b9050919050565b60006020820190508181036000830152612370816121a6565b9050919050565b60006020820190508181036000830152612390816121ec565b9050919050565b60006020820190506123ac600083018461220f565b92915050565b60006123bc6123cd565b90506123c882826125ba565b919050565b6000604051905090565b600067ffffffffffffffff8211156123f2576123f1612649565b5b6123fb8261268c565b9050602081019050919050565b600067ffffffffffffffff82111561242357612422612649565b5b61242c8261268c565b9050602081019050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600081905092915050565b600082825260208201905092915050565b60006124878261253c565b91506124928361253c565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156124c7576124c66125eb565b5b828201905092915050565b60006124dd8261251c565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b60005b83811015612573578082015181840152602081019050612558565b83811115612582576000848401525b50505050565b600060028204905060018216806125a057607f821691505b602082108114156125b4576125b361261a565b5b50919050565b6125c38261268c565b810181811067ffffffffffffffff821117156125e2576125e1612649565b5b80604052505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f416c6c20746f6b656e732068617665206265656e206d696e7465642e00000000600082015250565b7f43616c6c6572206973206e6f7420746865206f776e6572206f72206d616e616760008201527f6572000000000000000000000000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b50565b7f54686520636f6e747261637420686173206e6f742073746172746564206d696e60008201527f74696e672e000000000000000000000000000000000000000000000000000000602082015250565b612837816124d2565b811461284257600080fd5b50565b61284e816124e4565b811461285957600080fd5b50565b612865816124f0565b811461287057600080fd5b50565b61287c8161253c565b811461288757600080fd5b5056fe3c21444f43545950452068746d6c3e203c686561643e203c736372697074207372633d2268747470733a2f2f63646e6a732e636c6f7564666c6172652e636f6d2f616a61782f6c6962732f70352e6a732f312e342e302f70352e6a73223e3c2f7363726970743e203c7363726970743e6c657420796f66663d303b66756e6374696f6e20736574757028297b63726561746543616e76617328313830302c31383030297d66756e6374696f6e206472617728297b6261636b67726f756e64283531292c7472616e736c6174652877696474682f322c6865696768742f32292c7374726f6b6528323535292c66696c6c283235352c3530292c7374726f6b655765696768742831293b6c657420643d50492f3230302c623d303b626567696e536861706528293b666f72286c657420613d303b613c3d54574f5f50493b612b3d64297b6c657420653d6e6f69736528622c796f6666292c633d73696e28322a61292a6d617028652c302c312c35302c333030292c663d632a636f732861292c673d632a73696e2861293b613c50493f622b3d2e30353a622d3d2e30352c76657274657828662c67297d656e64536861706528292c796f66662b3d2e30317d203c2f7363726970743e203c2f686561643e203c626f64793e203c2f626f64793e203c2f68746d6c3ea2646970667358221220232f1a6021e162b9d4aa1ade9ba2c370be07298db8100e2eee60104f14c9e95464736f6c63430008070033697066733a2f2f516d627163674c54424a4861525655766946566579485435685358434c7663317670324a454d63445875744e7435
Deployed Bytecode
0x60806040526004361061019c5760003560e01c80636352211e116100ec578063c87b56dd1161008a578063e985e9c511610064578063e985e9c514610546578063f19e75d414610583578063f1f6c092146105ac578063f2fde38b146105d75761019c565b8063c87b56dd146104b5578063d0ebdbe7146104f2578063d5abeb011461051b5761019c565b80638da5cb5b116100c65780638da5cb5b1461041a57806395d89b4114610445578063a22cb46514610470578063b88d4fde146104995761019c565b80636352211e1461038957806370a08231146103c6578063715018a6146104035761019c565b806323b872dd116101595780634338cd5f116101335780634338cd5f146102f3578063471a42941461031e57806355f804b31461034957806359c74f29146103725761019c565b806323b872dd146102a45780633ccfd60b146102c057806342842e0e146102d75761019c565b806301ffc9a7146101a157806306fdde03146101de578063081812fc14610209578063095ea7b3146102465780631249c58b1461026257806318160ddd14610279575b600080fd5b3480156101ad57600080fd5b506101c860048036038101906101c39190611fba565b610600565b6040516101d5919061229a565b60405180910390f35b3480156101ea57600080fd5b506101f3610692565b60405161020091906122b5565b60405180910390f35b34801561021557600080fd5b50610230600480360381019061022b919061205d565b610724565b60405161023d9190612233565b60405180910390f35b610260600480360381019061025b9190611f7a565b6107a3565b005b34801561026e57600080fd5b506102776108e7565b005b34801561028557600080fd5b5061028e6109f2565b60405161029b9190612397565b60405180910390f35b6102be60048036038101906102b99190611e64565b610a09565b005b3480156102cc57600080fd5b506102d5610d2e565b005b6102f160048036038101906102ec9190611e64565b610db6565b005b3480156102ff57600080fd5b50610308610dd6565b6040516103159190612397565b60405180910390f35b34801561032a57600080fd5b50610333610ddb565b604051610340919061229a565b60405180910390f35b34801561035557600080fd5b50610370600480360381019061036b9190612014565b610dee565b005b34801561037e57600080fd5b50610387610e10565b005b34801561039557600080fd5b506103b060048036038101906103ab919061205d565b610f17565b6040516103bd9190612233565b60405180910390f35b3480156103d257600080fd5b506103ed60048036038101906103e89190611df7565b610f29565b6040516103fa9190612397565b60405180910390f35b34801561040f57600080fd5b50610418610fe2565b005b34801561042657600080fd5b5061042f610ff6565b60405161043c9190612233565b60405180910390f35b34801561045157600080fd5b5061045a611020565b60405161046791906122b5565b60405180910390f35b34801561047c57600080fd5b5061049760048036038101906104929190611f3a565b6110b2565b005b6104b360048036038101906104ae9190611eb7565b6111bd565b005b3480156104c157600080fd5b506104dc60048036038101906104d7919061205d565b611230565b6040516104e991906122b5565b60405180910390f35b3480156104fe57600080fd5b5061051960048036038101906105149190611df7565b61130c565b005b34801561052757600080fd5b5061053061142b565b60405161053d9190612397565b60405180910390f35b34801561055257600080fd5b5061056d60048036038101906105689190611e24565b611431565b60405161057a919061229a565b60405180910390f35b34801561058f57600080fd5b506105aa60048036038101906105a5919061205d565b6114c5565b005b3480156105b857600080fd5b506105c16114da565b6040516105ce91906122b5565b60405180910390f35b3480156105e357600080fd5b506105fe60048036038101906105f99190611df7565b6114fd565b005b60006301ffc9a760e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061065b57506380ac58cd60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b8061068b5750635b5e139f60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b9050919050565b6060600280546106a190612588565b80601f01602080910402602001604051908101604052809291908181526020018280546106cd90612588565b801561071a5780601f106106ef5761010080835404028352916020019161071a565b820191906000526020600020905b8154815290600101906020018083116106fd57829003601f168201915b5050505050905090565b600061072f82611581565b610765576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6006600083815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b60006107ae82610f17565b90508073ffffffffffffffffffffffffffffffffffffffff166107cf6115e0565b73ffffffffffffffffffffffffffffffffffffffff1614610832576107fb816107f66115e0565b611431565b610831576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b826006600084815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b600a60009054906101000a900460ff16610936576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161092d90612377565b60405180910390fd5b61271060016109436109f2565b61094d919061247c565b111561098e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610985906122f7565b60405180910390fd5b6001600b60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546109de919061247c565b925050819055506109f03360016115e8565b565b60006109fc6117a5565b6001546000540303905090565b6000610a14826117ae565b90508373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610a7b576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600080610a878461187c565b91509150610a9d8187610a986115e0565b6118a3565b610ae957610ab286610aad6115e0565b611431565b610ae8576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161415610b50576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610b5d86868660016118e7565b8015610b6857600082555b600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600081546001900391905081905550600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000815460010191905081905550610c3685610c128888876118ed565b7c020000000000000000000000000000000000000000000000000000000017611915565b600460008681526020019081526020016000208190555060007c020000000000000000000000000000000000000000000000000000000084161415610cbe576000600185019050600060046000838152602001908152602001600020541415610cbc576000548114610cbb578360046000838152602001908152602001600020819055505b5b505b838573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4610d268686866001611940565b505050505050565b610d36611946565b6000610d40610ff6565b73ffffffffffffffffffffffffffffffffffffffff1647604051610d639061221e565b60006040518083038185875af1925050503d8060008114610da0576040519150601f19603f3d011682016040523d82523d6000602084013e610da5565b606091505b5050905080610db357600080fd5b50565b610dd1838383604051806020016040528060008152506111bd565b505050565b600181565b600a60009054906101000a900460ff1681565b610df6611946565b8060099080519060200190610e0c929190611c0b565b5050565b610e186119c4565b73ffffffffffffffffffffffffffffffffffffffff16610e36610ff6565b73ffffffffffffffffffffffffffffffffffffffff161480610eac5750610e5b6119c4565b73ffffffffffffffffffffffffffffffffffffffff16600a60019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16145b610eeb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ee290612317565b60405180910390fd5b600a60009054906101000a900460ff1615600a60006101000a81548160ff021916908315150217905550565b6000610f22826117ae565b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415610f91576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b67ffffffffffffffff600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054169050919050565b610fea611946565b610ff460006119cc565b565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60606003805461102f90612588565b80601f016020809104026020016040519081016040528092919081815260200182805461105b90612588565b80156110a85780601f1061107d576101008083540402835291602001916110a8565b820191906000526020600020905b81548152906001019060200180831161108b57829003601f168201915b5050505050905090565b80600760006110bf6115e0565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff1661116c6115e0565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516111b1919061229a565b60405180910390a35050565b6111c8848484610a09565b60008373ffffffffffffffffffffffffffffffffffffffff163b1461122a576111f384848484611a92565b611229576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b50505050565b606061123b82611581565b61127a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161127190612357565b60405180910390fd5b6009805461128790612588565b80601f01602080910402602001604051908101604052809291908181526020018280546112b390612588565b80156113005780601f106112d557610100808354040283529160200191611300565b820191906000526020600020905b8154815290600101906020018083116112e357829003601f168201915b50505050509050919050565b6113146119c4565b73ffffffffffffffffffffffffffffffffffffffff16611332610ff6565b73ffffffffffffffffffffffffffffffffffffffff1614806113a857506113576119c4565b73ffffffffffffffffffffffffffffffffffffffff16600a60019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16145b6113e7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113de90612317565b60405180910390fd5b80600a60016101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b61271081565b6000600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6114cd611946565b6114d733826115e8565b50565b60606040518061022001604052806101e6815260200161288b6101e69139905090565b611505611946565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611575576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161156c906122d7565b60405180910390fd5b61157e816119cc565b50565b60008161158c6117a5565b1115801561159b575060005482105b80156115d9575060007c0100000000000000000000000000000000000000000000000000000000600460008581526020019081526020016000205416145b9050919050565b600033905090565b6000805490506000821415611629576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b61163660008483856118e7565b600160406001901b178202600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825401925050819055506116ad8361169e60008660006118ed565b6116a785611bf2565b17611915565b6004600083815260200190815260200160002081905550600080838301905073ffffffffffffffffffffffffffffffffffffffff85169150828260007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4600183015b81811461174e57808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4600181019050611713565b50600082141561178a576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8060008190555050506117a06000848385611940565b505050565b60006001905090565b600080829050806117bd6117a5565b11611845576000548110156118445760006004600083815260200190815260200160002054905060007c010000000000000000000000000000000000000000000000000000000082161415611842575b600081141561183857600460008360019003935083815260200190815260200160002054905061180d565b8092505050611877565b505b5b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b60008060006006600085815260200190815260200160002090508092508254915050915091565b600073ffffffffffffffffffffffffffffffffffffffff8316925073ffffffffffffffffffffffffffffffffffffffff821691508382148383141790509392505050565b50505050565b60008060e883901c905060e8611904868684611c02565b62ffffff16901b9150509392505050565b600073ffffffffffffffffffffffffffffffffffffffff83169250814260a01b178317905092915050565b50505050565b61194e6119c4565b73ffffffffffffffffffffffffffffffffffffffff1661196c610ff6565b73ffffffffffffffffffffffffffffffffffffffff16146119c2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119b990612337565b60405180910390fd5b565b600033905090565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a02611ab86115e0565b8786866040518563ffffffff1660e01b8152600401611ada949392919061224e565b602060405180830381600087803b158015611af457600080fd5b505af1925050508015611b2557506040513d601f19601f82011682018060405250810190611b229190611fe7565b60015b611b9f573d8060008114611b55576040519150601f19603f3d011682016040523d82523d6000602084013e611b5a565b606091505b50600081511415611b97576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b60006001821460e11b9050919050565b60009392505050565b828054611c1790612588565b90600052602060002090601f016020900481019282611c395760008555611c80565b82601f10611c5257805160ff1916838001178555611c80565b82800160010185558215611c80579182015b82811115611c7f578251825591602001919060010190611c64565b5b509050611c8d9190611c91565b5090565b5b80821115611caa576000816000905550600101611c92565b5090565b6000611cc1611cbc846123d7565b6123b2565b905082815260208101848484011115611cdd57611cdc61267d565b5b611ce8848285612546565b509392505050565b6000611d03611cfe84612408565b6123b2565b905082815260208101848484011115611d1f57611d1e61267d565b5b611d2a848285612546565b509392505050565b600081359050611d418161282e565b92915050565b600081359050611d5681612845565b92915050565b600081359050611d6b8161285c565b92915050565b600081519050611d808161285c565b92915050565b600082601f830112611d9b57611d9a612678565b5b8135611dab848260208601611cae565b91505092915050565b600082601f830112611dc957611dc8612678565b5b8135611dd9848260208601611cf0565b91505092915050565b600081359050611df181612873565b92915050565b600060208284031215611e0d57611e0c612687565b5b6000611e1b84828501611d32565b91505092915050565b60008060408385031215611e3b57611e3a612687565b5b6000611e4985828601611d32565b9250506020611e5a85828601611d32565b9150509250929050565b600080600060608486031215611e7d57611e7c612687565b5b6000611e8b86828701611d32565b9350506020611e9c86828701611d32565b9250506040611ead86828701611de2565b9150509250925092565b60008060008060808587031215611ed157611ed0612687565b5b6000611edf87828801611d32565b9450506020611ef087828801611d32565b9350506040611f0187828801611de2565b925050606085013567ffffffffffffffff811115611f2257611f21612682565b5b611f2e87828801611d86565b91505092959194509250565b60008060408385031215611f5157611f50612687565b5b6000611f5f85828601611d32565b9250506020611f7085828601611d47565b9150509250929050565b60008060408385031215611f9157611f90612687565b5b6000611f9f85828601611d32565b9250506020611fb085828601611de2565b9150509250929050565b600060208284031215611fd057611fcf612687565b5b6000611fde84828501611d5c565b91505092915050565b600060208284031215611ffd57611ffc612687565b5b600061200b84828501611d71565b91505092915050565b60006020828403121561202a57612029612687565b5b600082013567ffffffffffffffff81111561204857612047612682565b5b61205484828501611db4565b91505092915050565b60006020828403121561207357612072612687565b5b600061208184828501611de2565b91505092915050565b612093816124d2565b82525050565b6120a2816124e4565b82525050565b60006120b382612439565b6120bd818561244f565b93506120cd818560208601612555565b6120d68161268c565b840191505092915050565b60006120ec82612444565b6120f6818561246b565b9350612106818560208601612555565b61210f8161268c565b840191505092915050565b600061212760268361246b565b91506121328261269d565b604082019050919050565b600061214a601c8361246b565b9150612155826126ec565b602082019050919050565b600061216d60228361246b565b915061217882612715565b604082019050919050565b600061219060208361246b565b915061219b82612764565b602082019050919050565b60006121b3602f8361246b565b91506121be8261278d565b604082019050919050565b60006121d6600083612460565b91506121e1826127dc565b600082019050919050565b60006121f960258361246b565b9150612204826127df565b604082019050919050565b6122188161253c565b82525050565b6000612229826121c9565b9150819050919050565b6000602082019050612248600083018461208a565b92915050565b6000608082019050612263600083018761208a565b612270602083018661208a565b61227d604083018561220f565b818103606083015261228f81846120a8565b905095945050505050565b60006020820190506122af6000830184612099565b92915050565b600060208201905081810360008301526122cf81846120e1565b905092915050565b600060208201905081810360008301526122f08161211a565b9050919050565b600060208201905081810360008301526123108161213d565b9050919050565b6000602082019050818103600083015261233081612160565b9050919050565b6000602082019050818103600083015261235081612183565b9050919050565b60006020820190508181036000830152612370816121a6565b9050919050565b60006020820190508181036000830152612390816121ec565b9050919050565b60006020820190506123ac600083018461220f565b92915050565b60006123bc6123cd565b90506123c882826125ba565b919050565b6000604051905090565b600067ffffffffffffffff8211156123f2576123f1612649565b5b6123fb8261268c565b9050602081019050919050565b600067ffffffffffffffff82111561242357612422612649565b5b61242c8261268c565b9050602081019050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600081905092915050565b600082825260208201905092915050565b60006124878261253c565b91506124928361253c565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156124c7576124c66125eb565b5b828201905092915050565b60006124dd8261251c565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b60005b83811015612573578082015181840152602081019050612558565b83811115612582576000848401525b50505050565b600060028204905060018216806125a057607f821691505b602082108114156125b4576125b361261a565b5b50919050565b6125c38261268c565b810181811067ffffffffffffffff821117156125e2576125e1612649565b5b80604052505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f416c6c20746f6b656e732068617665206265656e206d696e7465642e00000000600082015250565b7f43616c6c6572206973206e6f7420746865206f776e6572206f72206d616e616760008201527f6572000000000000000000000000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b50565b7f54686520636f6e747261637420686173206e6f742073746172746564206d696e60008201527f74696e672e000000000000000000000000000000000000000000000000000000602082015250565b612837816124d2565b811461284257600080fd5b50565b61284e816124e4565b811461285957600080fd5b50565b612865816124f0565b811461287057600080fd5b50565b61287c8161253c565b811461288757600080fd5b5056fe3c21444f43545950452068746d6c3e203c686561643e203c736372697074207372633d2268747470733a2f2f63646e6a732e636c6f7564666c6172652e636f6d2f616a61782f6c6962732f70352e6a732f312e342e302f70352e6a73223e3c2f7363726970743e203c7363726970743e6c657420796f66663d303b66756e6374696f6e20736574757028297b63726561746543616e76617328313830302c31383030297d66756e6374696f6e206472617728297b6261636b67726f756e64283531292c7472616e736c6174652877696474682f322c6865696768742f32292c7374726f6b6528323535292c66696c6c283235352c3530292c7374726f6b655765696768742831293b6c657420643d50492f3230302c623d303b626567696e536861706528293b666f72286c657420613d303b613c3d54574f5f50493b612b3d64297b6c657420653d6e6f69736528622c796f6666292c633d73696e28322a61292a6d617028652c302c312c35302c333030292c663d632a636f732861292c673d632a73696e2861293b613c50493f622b3d2e30353a622d3d2e30352c76657274657828662c67297d656e64536861706528292c796f66662b3d2e30317d203c2f7363726970743e203c2f686561643e203c626f64793e203c2f626f64793e203c2f68746d6c3ea2646970667358221220232f1a6021e162b9d4aa1ade9ba2c370be07298db8100e2eee60104f14c9e95464736f6c63430008070033
Deployed Bytecode Sourcemap
89438:2646:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;56323:639;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;57225:100;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;63716:218;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;63149:408;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;90325:129;;;;;;;;;;;;;:::i;:::-;;52976:323;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;67355:2825;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;90764:139;;;;;;;;;;;;;:::i;:::-;;70276:193;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;89648:40;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;89695:24;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;90909:98;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;90562:94;;;;;;;;;;;;;:::i;:::-;;58618:152;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;54160:233;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;37102:103;;;;;;;;;;;;;:::i;:::-;;36454:87;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;57401:104;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;64274:234;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;71067:407;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;91697:251;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;90662:96;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;89602:41;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;64665:164;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;90460:96;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;91121:570;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;37360:201;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;56323:639;56408:4;56747:10;56732:25;;:11;:25;;;;:102;;;;56824:10;56809:25;;:11;:25;;;;56732:102;:179;;;;56901:10;56886:25;;:11;:25;;;;56732:179;56712:199;;56323:639;;;:::o;57225:100::-;57279:13;57312:5;57305:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;57225:100;:::o;63716:218::-;63792:7;63817:16;63825:7;63817;:16::i;:::-;63812:64;;63842:34;;;;;;;;;;;;;;63812:64;63896:15;:24;63912:7;63896:24;;;;;;;;;;;:30;;;;;;;;;;;;63889:37;;63716:218;;;:::o;63149:408::-;63238:13;63254:16;63262:7;63254;:16::i;:::-;63238:32;;63310:5;63287:28;;:19;:17;:19::i;:::-;:28;;;63283:175;;63335:44;63352:5;63359:19;:17;:19::i;:::-;63335:16;:44::i;:::-;63330:128;;63407:35;;;;;;;;;;;;;;63330:128;63283:175;63503:2;63470:15;:24;63486:7;63470:24;;;;;;;;;;;:30;;;:35;;;;;;;;;;;;;;;;;;63541:7;63537:2;63521:28;;63530:5;63521:28;;;;;;;;;;;;63227:330;63149:408;;:::o;90325:129::-;90141:12;;;;;;;;;;;90133:62;;;;;;;;;;;;:::i;:::-;;;;;;;;;89638:5;89687:1;90218:13;:11;:13::i;:::-;:28;;;;:::i;:::-;:41;;90202:103;;;;;;;;;;;;:::i;:::-;;;;;;;;;89687:1:::1;90370:12;:24;90383:10;90370:24;;;;;;;;;;;;;;;;:40;;;;;;;:::i;:::-;;;;;;;;90417:31;90423:10;89687:1;90417:5;:31::i;:::-;90325:129::o:0;52976:323::-;53037:7;53265:15;:13;:15::i;:::-;53250:12;;53234:13;;:28;:46;53227:53;;52976:323;:::o;67355:2825::-;67497:27;67527;67546:7;67527:18;:27::i;:::-;67497:57;;67612:4;67571:45;;67587:19;67571:45;;;67567:86;;67625:28;;;;;;;;;;;;;;67567:86;67667:27;67696:23;67723:35;67750:7;67723:26;:35::i;:::-;67666:92;;;;67858:68;67883:15;67900:4;67906:19;:17;:19::i;:::-;67858:24;:68::i;:::-;67853:180;;67946:43;67963:4;67969:19;:17;:19::i;:::-;67946:16;:43::i;:::-;67941:92;;67998:35;;;;;;;;;;;;;;67941:92;67853:180;68064:1;68050:16;;:2;:16;;;68046:52;;;68075:23;;;;;;;;;;;;;;68046:52;68111:43;68133:4;68139:2;68143:7;68152:1;68111:21;:43::i;:::-;68247:15;68244:160;;;68387:1;68366:19;68359:30;68244:160;68784:18;:24;68803:4;68784:24;;;;;;;;;;;;;;;;68782:26;;;;;;;;;;;;68853:18;:22;68872:2;68853:22;;;;;;;;;;;;;;;;68851:24;;;;;;;;;;;69175:146;69212:2;69261:45;69276:4;69282:2;69286:19;69261:14;:45::i;:::-;49375:8;69233:73;69175:18;:146::i;:::-;69146:17;:26;69164:7;69146:26;;;;;;;;;;;:175;;;;69492:1;49375:8;69441:19;:47;:52;69437:627;;;69514:19;69546:1;69536:7;:11;69514:33;;69703:1;69669:17;:30;69687:11;69669:30;;;;;;;;;;;;:35;69665:384;;;69807:13;;69792:11;:28;69788:242;;69987:19;69954:17;:30;69972:11;69954:30;;;;;;;;;;;:52;;;;69788:242;69665:384;69495:569;69437:627;70111:7;70107:2;70092:27;;70101:4;70092:27;;;;;;;;;;;;70130:42;70151:4;70157:2;70161:7;70170:1;70130:20;:42::i;:::-;67486:2694;;;67355:2825;;;:::o;90764:139::-;36340:13;:11;:13::i;:::-;90809:7:::1;90830;:5;:7::i;:::-;90822:21;;90852;90822:57;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;90808:71;;;90894:2;90886:11;;;::::0;::::1;;90801:102;90764:139::o:0;70276:193::-;70422:39;70439:4;70445:2;70449:7;70422:39;;;;;;;;;;;;:16;:39::i;:::-;70276:193;;;:::o;89648:40::-;89687:1;89648:40;:::o;89695:24::-;;;;;;;;;;;;;:::o;90909:98::-;36340:13;:11;:13::i;:::-;90990:11:::1;90980:7;:21;;;;;;;;;;;;:::i;:::-;;90909:98:::0;:::o;90562:94::-;89988:12;:10;:12::i;:::-;89977:23;;:7;:5;:7::i;:::-;:23;;;:51;;;;90016:12;:10;:12::i;:::-;90004:24;;:8;;;;;;;;;;;:24;;;89977:51;89961:119;;;;;;;;;;;;:::i;:::-;;;;;;;;;90638:12:::1;;;;;;;;;;;90637:13;90622:12;;:28;;;;;;;;;;;;;;;;;;90562:94::o:0;58618:152::-;58690:7;58733:27;58752:7;58733:18;:27::i;:::-;58710:52;;58618:152;;;:::o;54160:233::-;54232:7;54273:1;54256:19;;:5;:19;;;54252:60;;;54284:28;;;;;;;;;;;;;;54252:60;48319:13;54330:18;:25;54349:5;54330:25;;;;;;;;;;;;;;;;:55;54323:62;;54160:233;;;:::o;37102:103::-;36340:13;:11;:13::i;:::-;37167:30:::1;37194:1;37167:18;:30::i;:::-;37102:103::o:0;36454:87::-;36500:7;36527:6;;;;;;;;;;;36520:13;;36454:87;:::o;57401:104::-;57457:13;57490:7;57483:14;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;57401:104;:::o;64274:234::-;64421:8;64369:18;:39;64388:19;:17;:19::i;:::-;64369:39;;;;;;;;;;;;;;;:49;64409:8;64369:49;;;;;;;;;;;;;;;;:60;;;;;;;;;;;;;;;;;;64481:8;64445:55;;64460:19;:17;:19::i;:::-;64445:55;;;64491:8;64445:55;;;;;;:::i;:::-;;;;;;;;64274:234;;:::o;71067:407::-;71242:31;71255:4;71261:2;71265:7;71242:12;:31::i;:::-;71306:1;71288:2;:14;;;:19;71284:183;;71327:56;71358:4;71364:2;71368:7;71377:5;71327:30;:56::i;:::-;71322:145;;71411:40;;;;;;;;;;;;;;71322:145;71284:183;71067:407;;;;:::o;91697:251::-;91796:13;91837:17;91845:8;91837:7;:17::i;:::-;91821:98;;;;;;;;;;;;:::i;:::-;;;;;;;;;91935:7;91928:14;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;91697:251;;;:::o;90662:96::-;89988:12;:10;:12::i;:::-;89977:23;;:7;:5;:7::i;:::-;:23;;;:51;;;;90016:12;:10;:12::i;:::-;90004:24;;:8;;;;;;;;;;;:24;;;89977:51;89961:119;;;;;;;;;;;;:::i;:::-;;;;;;;;;90745:7:::1;90734:8;;:18;;;;;;;;;;;;;;;;;;90662:96:::0;:::o;89602:41::-;89638:5;89602:41;:::o;64665:164::-;64762:4;64786:18;:25;64805:5;64786:25;;;;;;;;;;;;;;;:35;64812:8;64786:35;;;;;;;;;;;;;;;;;;;;;;;;;64779:42;;64665:164;;;;:::o;90460:96::-;36340:13;:11;:13::i;:::-;90522:28:::1;90528:10;90540:9;90522:5;:28::i;:::-;90460:96:::0;:::o;91121:570::-;91161:13;91183:502;;;;;;;;;;;;;;;;;;;91121:570;:::o;37360:201::-;36340:13;:11;:13::i;:::-;37469:1:::1;37449:22;;:8;:22;;;;37441:73;;;;;;;;;;;;:::i;:::-;;;;;;;;;37525:28;37544:8;37525:18;:28::i;:::-;37360:201:::0;:::o;65087:282::-;65152:4;65208:7;65189:15;:13;:15::i;:::-;:26;;:66;;;;;65242:13;;65232:7;:23;65189:66;:153;;;;;65341:1;49095:8;65293:17;:26;65311:7;65293:26;;;;;;;;;;;;:44;:49;65189:153;65169:173;;65087:282;;;:::o;87395:105::-;87455:7;87482:10;87475:17;;87395:105;:::o;74736:2966::-;74809:20;74832:13;;74809:36;;74872:1;74860:8;:13;74856:44;;;74882:18;;;;;;;;;;;;;;74856:44;74913:61;74943:1;74947:2;74951:12;74965:8;74913:21;:61::i;:::-;75457:1;48457:2;75427:1;:26;;75426:32;75414:8;:45;75388:18;:22;75407:2;75388:22;;;;;;;;;;;;;;;;:71;;;;;;;;;;;75736:139;75773:2;75827:33;75850:1;75854:2;75858:1;75827:14;:33::i;:::-;75794:30;75815:8;75794:20;:30::i;:::-;:66;75736:18;:139::i;:::-;75702:17;:31;75720:12;75702:31;;;;;;;;;;;:173;;;;75892:16;75923:11;75952:8;75937:12;:23;75923:37;;76473:16;76469:2;76465:25;76453:37;;76845:12;76805:8;76764:1;76702:25;76643:1;76582;76555:335;77216:1;77202:12;77198:20;77156:346;77257:3;77248:7;77245:16;77156:346;;77475:7;77465:8;77462:1;77435:25;77432:1;77429;77424:59;77310:1;77301:7;77297:15;77286:26;;77156:346;;;77160:77;77547:1;77535:8;:13;77531:45;;;77557:19;;;;;;;;;;;;;;77531:45;77609:3;77593:13;:19;;;;75162:2462;;77634:60;77663:1;77667:2;77671:12;77685:8;77634:20;:60::i;:::-;74798:2904;74736:2966;;:::o;91954:127::-;92040:15;92074:1;92067:8;;91954:127;:::o;59773:1275::-;59840:7;59860:12;59875:7;59860:22;;59943:4;59924:15;:13;:15::i;:::-;:23;59920:1061;;59977:13;;59970:4;:20;59966:1015;;;60015:14;60032:17;:23;60050:4;60032:23;;;;;;;;;;;;60015:40;;60149:1;49095:8;60121:6;:24;:29;60117:845;;;60786:113;60803:1;60793:6;:11;60786:113;;;60846:17;:25;60864:6;;;;;;;60846:25;;;;;;;;;;;;60837:34;;60786:113;;;60932:6;60925:13;;;;;;60117:845;59992:989;59966:1015;59920:1061;61009:31;;;;;;;;;;;;;;59773:1275;;;;:::o;66250:485::-;66352:27;66381:23;66422:38;66463:15;:24;66479:7;66463:24;;;;;;;;;;;66422:65;;66640:18;66617:41;;66697:19;66691:26;66672:45;;66602:126;66250:485;;;:::o;65478:659::-;65627:11;65792:16;65785:5;65781:28;65772:37;;65952:16;65941:9;65937:32;65924:45;;66102:15;66091:9;66088:30;66080:5;66069:9;66066:20;66063:56;66053:66;;65478:659;;;;;:::o;72136:159::-;;;;;:::o;86704:311::-;86839:7;86859:16;49499:3;86885:19;:41;;86859:68;;49499:3;86953:31;86964:4;86970:2;86974:9;86953:10;:31::i;:::-;86945:40;;:62;;86938:69;;;86704:311;;;;;:::o;61596:450::-;61676:14;61844:16;61837:5;61833:28;61824:37;;62021:5;62007:11;61982:23;61978:41;61975:52;61968:5;61965:63;61955:73;;61596:450;;;;:::o;72960:158::-;;;;;:::o;36619:132::-;36694:12;:10;:12::i;:::-;36683:23;;:7;:5;:7::i;:::-;:23;;;36675:68;;;;;;;;;;;;:::i;:::-;;;;;;;;;36619:132::o;20416:98::-;20469:7;20496:10;20489:17;;20416:98;:::o;37721:191::-;37795:16;37814:6;;;;;;;;;;;37795:25;;37840:8;37831:6;;:17;;;;;;;;;;;;;;;;;;37895:8;37864:40;;37885:8;37864:40;;;;;;;;;;;;37784:128;37721:191;:::o;73558:716::-;73721:4;73767:2;73742:45;;;73788:19;:17;:19::i;:::-;73809:4;73815:7;73824:5;73742:88;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;73738:529;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;74042:1;74025:6;:13;:18;74021:235;;;74071:40;;;;;;;;;;;;;;74021:235;74214:6;74208:13;74199:6;74195:2;74191:15;74184:38;73738:529;73911:54;;;73901:64;;;:6;:64;;;;73894:71;;;73558:716;;;;;;:::o;62148:324::-;62218:14;62451:1;62441:8;62438:15;62412:24;62408:46;62398:56;;62148:324;;;:::o;86405:147::-;86542:6;86405:147;;;;;:::o;-1:-1:-1:-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;:::o;7:410:1:-;84:5;109:65;125:48;166:6;125:48;:::i;:::-;109:65;:::i;:::-;100:74;;197:6;190:5;183:21;235:4;228:5;224:16;273:3;264:6;259:3;255:16;252:25;249:112;;;280:79;;:::i;:::-;249:112;370:41;404:6;399:3;394;370:41;:::i;:::-;90:327;7:410;;;;;:::o;423:412::-;501:5;526:66;542:49;584:6;542:49;:::i;:::-;526:66;:::i;:::-;517:75;;615:6;608:5;601:21;653:4;646:5;642:16;691:3;682:6;677:3;673:16;670:25;667:112;;;698:79;;:::i;:::-;667:112;788:41;822:6;817:3;812;788:41;:::i;:::-;507:328;423:412;;;;;:::o;841:139::-;887:5;925:6;912:20;903:29;;941:33;968:5;941:33;:::i;:::-;841:139;;;;:::o;986:133::-;1029:5;1067:6;1054:20;1045:29;;1083:30;1107:5;1083:30;:::i;:::-;986:133;;;;:::o;1125:137::-;1170:5;1208:6;1195:20;1186:29;;1224:32;1250:5;1224:32;:::i;:::-;1125:137;;;;:::o;1268:141::-;1324:5;1355:6;1349:13;1340:22;;1371:32;1397:5;1371:32;:::i;:::-;1268:141;;;;:::o;1428:338::-;1483:5;1532:3;1525:4;1517:6;1513:17;1509:27;1499:122;;1540:79;;:::i;:::-;1499:122;1657:6;1644:20;1682:78;1756:3;1748:6;1741:4;1733:6;1729:17;1682:78;:::i;:::-;1673:87;;1489:277;1428:338;;;;:::o;1786:340::-;1842:5;1891:3;1884:4;1876:6;1872:17;1868:27;1858:122;;1899:79;;:::i;:::-;1858:122;2016:6;2003:20;2041:79;2116:3;2108:6;2101:4;2093:6;2089:17;2041:79;:::i;:::-;2032:88;;1848:278;1786:340;;;;:::o;2132:139::-;2178:5;2216:6;2203:20;2194:29;;2232:33;2259:5;2232:33;:::i;:::-;2132:139;;;;:::o;2277:329::-;2336:6;2385:2;2373:9;2364:7;2360:23;2356:32;2353:119;;;2391:79;;:::i;:::-;2353:119;2511:1;2536:53;2581:7;2572:6;2561:9;2557:22;2536:53;:::i;:::-;2526:63;;2482:117;2277:329;;;;:::o;2612:474::-;2680:6;2688;2737:2;2725:9;2716:7;2712:23;2708:32;2705:119;;;2743:79;;:::i;:::-;2705:119;2863:1;2888:53;2933:7;2924:6;2913:9;2909:22;2888:53;:::i;:::-;2878:63;;2834:117;2990:2;3016:53;3061:7;3052:6;3041:9;3037:22;3016:53;:::i;:::-;3006:63;;2961:118;2612:474;;;;;:::o;3092:619::-;3169:6;3177;3185;3234:2;3222:9;3213:7;3209:23;3205:32;3202:119;;;3240:79;;:::i;:::-;3202:119;3360:1;3385:53;3430:7;3421:6;3410:9;3406:22;3385:53;:::i;:::-;3375:63;;3331:117;3487:2;3513:53;3558:7;3549:6;3538:9;3534:22;3513:53;:::i;:::-;3503:63;;3458:118;3615:2;3641:53;3686:7;3677:6;3666:9;3662:22;3641:53;:::i;:::-;3631:63;;3586:118;3092:619;;;;;:::o;3717:943::-;3812:6;3820;3828;3836;3885:3;3873:9;3864:7;3860:23;3856:33;3853:120;;;3892:79;;:::i;:::-;3853:120;4012:1;4037:53;4082:7;4073:6;4062:9;4058:22;4037:53;:::i;:::-;4027:63;;3983:117;4139:2;4165:53;4210:7;4201:6;4190:9;4186:22;4165:53;:::i;:::-;4155:63;;4110:118;4267:2;4293:53;4338:7;4329:6;4318:9;4314:22;4293:53;:::i;:::-;4283:63;;4238:118;4423:2;4412:9;4408:18;4395:32;4454:18;4446:6;4443:30;4440:117;;;4476:79;;:::i;:::-;4440:117;4581:62;4635:7;4626:6;4615:9;4611:22;4581:62;:::i;:::-;4571:72;;4366:287;3717:943;;;;;;;:::o;4666:468::-;4731:6;4739;4788:2;4776:9;4767:7;4763:23;4759:32;4756:119;;;4794:79;;:::i;:::-;4756:119;4914:1;4939:53;4984:7;4975:6;4964:9;4960:22;4939:53;:::i;:::-;4929:63;;4885:117;5041:2;5067:50;5109:7;5100:6;5089:9;5085:22;5067:50;:::i;:::-;5057:60;;5012:115;4666:468;;;;;:::o;5140:474::-;5208:6;5216;5265:2;5253:9;5244:7;5240:23;5236:32;5233:119;;;5271:79;;:::i;:::-;5233:119;5391:1;5416:53;5461:7;5452:6;5441:9;5437:22;5416:53;:::i;:::-;5406:63;;5362:117;5518:2;5544:53;5589:7;5580:6;5569:9;5565:22;5544:53;:::i;:::-;5534:63;;5489:118;5140:474;;;;;:::o;5620:327::-;5678:6;5727:2;5715:9;5706:7;5702:23;5698:32;5695:119;;;5733:79;;:::i;:::-;5695:119;5853:1;5878:52;5922:7;5913:6;5902:9;5898:22;5878:52;:::i;:::-;5868:62;;5824:116;5620:327;;;;:::o;5953:349::-;6022:6;6071:2;6059:9;6050:7;6046:23;6042:32;6039:119;;;6077:79;;:::i;:::-;6039:119;6197:1;6222:63;6277:7;6268:6;6257:9;6253:22;6222:63;:::i;:::-;6212:73;;6168:127;5953:349;;;;:::o;6308:509::-;6377:6;6426:2;6414:9;6405:7;6401:23;6397:32;6394:119;;;6432:79;;:::i;:::-;6394:119;6580:1;6569:9;6565:17;6552:31;6610:18;6602:6;6599:30;6596:117;;;6632:79;;:::i;:::-;6596:117;6737:63;6792:7;6783:6;6772:9;6768:22;6737:63;:::i;:::-;6727:73;;6523:287;6308:509;;;;:::o;6823:329::-;6882:6;6931:2;6919:9;6910:7;6906:23;6902:32;6899:119;;;6937:79;;:::i;:::-;6899:119;7057:1;7082:53;7127:7;7118:6;7107:9;7103:22;7082:53;:::i;:::-;7072:63;;7028:117;6823:329;;;;:::o;7158:118::-;7245:24;7263:5;7245:24;:::i;:::-;7240:3;7233:37;7158:118;;:::o;7282:109::-;7363:21;7378:5;7363:21;:::i;:::-;7358:3;7351:34;7282:109;;:::o;7397:360::-;7483:3;7511:38;7543:5;7511:38;:::i;:::-;7565:70;7628:6;7623:3;7565:70;:::i;:::-;7558:77;;7644:52;7689:6;7684:3;7677:4;7670:5;7666:16;7644:52;:::i;:::-;7721:29;7743:6;7721:29;:::i;:::-;7716:3;7712:39;7705:46;;7487:270;7397:360;;;;:::o;7763:364::-;7851:3;7879:39;7912:5;7879:39;:::i;:::-;7934:71;7998:6;7993:3;7934:71;:::i;:::-;7927:78;;8014:52;8059:6;8054:3;8047:4;8040:5;8036:16;8014:52;:::i;:::-;8091:29;8113:6;8091:29;:::i;:::-;8086:3;8082:39;8075:46;;7855:272;7763:364;;;;:::o;8133:366::-;8275:3;8296:67;8360:2;8355:3;8296:67;:::i;:::-;8289:74;;8372:93;8461:3;8372:93;:::i;:::-;8490:2;8485:3;8481:12;8474:19;;8133:366;;;:::o;8505:::-;8647:3;8668:67;8732:2;8727:3;8668:67;:::i;:::-;8661:74;;8744:93;8833:3;8744:93;:::i;:::-;8862:2;8857:3;8853:12;8846:19;;8505:366;;;:::o;8877:::-;9019:3;9040:67;9104:2;9099:3;9040:67;:::i;:::-;9033:74;;9116:93;9205:3;9116:93;:::i;:::-;9234:2;9229:3;9225:12;9218:19;;8877:366;;;:::o;9249:::-;9391:3;9412:67;9476:2;9471:3;9412:67;:::i;:::-;9405:74;;9488:93;9577:3;9488:93;:::i;:::-;9606:2;9601:3;9597:12;9590:19;;9249:366;;;:::o;9621:::-;9763:3;9784:67;9848:2;9843:3;9784:67;:::i;:::-;9777:74;;9860:93;9949:3;9860:93;:::i;:::-;9978:2;9973:3;9969:12;9962:19;;9621:366;;;:::o;9993:398::-;10152:3;10173:83;10254:1;10249:3;10173:83;:::i;:::-;10166:90;;10265:93;10354:3;10265:93;:::i;:::-;10383:1;10378:3;10374:11;10367:18;;9993:398;;;:::o;10397:366::-;10539:3;10560:67;10624:2;10619:3;10560:67;:::i;:::-;10553:74;;10636:93;10725:3;10636:93;:::i;:::-;10754:2;10749:3;10745:12;10738:19;;10397:366;;;:::o;10769:118::-;10856:24;10874:5;10856:24;:::i;:::-;10851:3;10844:37;10769:118;;:::o;10893:379::-;11077:3;11099:147;11242:3;11099:147;:::i;:::-;11092:154;;11263:3;11256:10;;10893:379;;;:::o;11278:222::-;11371:4;11409:2;11398:9;11394:18;11386:26;;11422:71;11490:1;11479:9;11475:17;11466:6;11422:71;:::i;:::-;11278:222;;;;:::o;11506:640::-;11701:4;11739:3;11728:9;11724:19;11716:27;;11753:71;11821:1;11810:9;11806:17;11797:6;11753:71;:::i;:::-;11834:72;11902:2;11891:9;11887:18;11878:6;11834:72;:::i;:::-;11916;11984:2;11973:9;11969:18;11960:6;11916:72;:::i;:::-;12035:9;12029:4;12025:20;12020:2;12009:9;12005:18;11998:48;12063:76;12134:4;12125:6;12063:76;:::i;:::-;12055:84;;11506:640;;;;;;;:::o;12152:210::-;12239:4;12277:2;12266:9;12262:18;12254:26;;12290:65;12352:1;12341:9;12337:17;12328:6;12290:65;:::i;:::-;12152:210;;;;:::o;12368:313::-;12481:4;12519:2;12508:9;12504:18;12496:26;;12568:9;12562:4;12558:20;12554:1;12543:9;12539:17;12532:47;12596:78;12669:4;12660:6;12596:78;:::i;:::-;12588:86;;12368:313;;;;:::o;12687:419::-;12853:4;12891:2;12880:9;12876:18;12868:26;;12940:9;12934:4;12930:20;12926:1;12915:9;12911:17;12904:47;12968:131;13094:4;12968:131;:::i;:::-;12960:139;;12687:419;;;:::o;13112:::-;13278:4;13316:2;13305:9;13301:18;13293:26;;13365:9;13359:4;13355:20;13351:1;13340:9;13336:17;13329:47;13393:131;13519:4;13393:131;:::i;:::-;13385:139;;13112:419;;;:::o;13537:::-;13703:4;13741:2;13730:9;13726:18;13718:26;;13790:9;13784:4;13780:20;13776:1;13765:9;13761:17;13754:47;13818:131;13944:4;13818:131;:::i;:::-;13810:139;;13537:419;;;:::o;13962:::-;14128:4;14166:2;14155:9;14151:18;14143:26;;14215:9;14209:4;14205:20;14201:1;14190:9;14186:17;14179:47;14243:131;14369:4;14243:131;:::i;:::-;14235:139;;13962:419;;;:::o;14387:::-;14553:4;14591:2;14580:9;14576:18;14568:26;;14640:9;14634:4;14630:20;14626:1;14615:9;14611:17;14604:47;14668:131;14794:4;14668:131;:::i;:::-;14660:139;;14387:419;;;:::o;14812:::-;14978:4;15016:2;15005:9;15001:18;14993:26;;15065:9;15059:4;15055:20;15051:1;15040:9;15036:17;15029:47;15093:131;15219:4;15093:131;:::i;:::-;15085:139;;14812:419;;;:::o;15237:222::-;15330:4;15368:2;15357:9;15353:18;15345:26;;15381:71;15449:1;15438:9;15434:17;15425:6;15381:71;:::i;:::-;15237:222;;;;:::o;15465:129::-;15499:6;15526:20;;:::i;:::-;15516:30;;15555:33;15583:4;15575:6;15555:33;:::i;:::-;15465:129;;;:::o;15600:75::-;15633:6;15666:2;15660:9;15650:19;;15600:75;:::o;15681:307::-;15742:4;15832:18;15824:6;15821:30;15818:56;;;15854:18;;:::i;:::-;15818:56;15892:29;15914:6;15892:29;:::i;:::-;15884:37;;15976:4;15970;15966:15;15958:23;;15681:307;;;:::o;15994:308::-;16056:4;16146:18;16138:6;16135:30;16132:56;;;16168:18;;:::i;:::-;16132:56;16206:29;16228:6;16206:29;:::i;:::-;16198:37;;16290:4;16284;16280:15;16272:23;;15994:308;;;:::o;16308:98::-;16359:6;16393:5;16387:12;16377:22;;16308:98;;;:::o;16412:99::-;16464:6;16498:5;16492:12;16482:22;;16412:99;;;:::o;16517:168::-;16600:11;16634:6;16629:3;16622:19;16674:4;16669:3;16665:14;16650:29;;16517:168;;;;:::o;16691:147::-;16792:11;16829:3;16814:18;;16691:147;;;;:::o;16844:169::-;16928:11;16962:6;16957:3;16950:19;17002:4;16997:3;16993:14;16978:29;;16844:169;;;;:::o;17019:305::-;17059:3;17078:20;17096:1;17078:20;:::i;:::-;17073:25;;17112:20;17130:1;17112:20;:::i;:::-;17107:25;;17266:1;17198:66;17194:74;17191:1;17188:81;17185:107;;;17272:18;;:::i;:::-;17185:107;17316:1;17313;17309:9;17302:16;;17019:305;;;;:::o;17330:96::-;17367:7;17396:24;17414:5;17396:24;:::i;:::-;17385:35;;17330:96;;;:::o;17432:90::-;17466:7;17509:5;17502:13;17495:21;17484:32;;17432:90;;;:::o;17528:149::-;17564:7;17604:66;17597:5;17593:78;17582:89;;17528:149;;;:::o;17683:126::-;17720:7;17760:42;17753:5;17749:54;17738:65;;17683:126;;;:::o;17815:77::-;17852:7;17881:5;17870:16;;17815:77;;;:::o;17898:154::-;17982:6;17977:3;17972;17959:30;18044:1;18035:6;18030:3;18026:16;18019:27;17898:154;;;:::o;18058:307::-;18126:1;18136:113;18150:6;18147:1;18144:13;18136:113;;;18235:1;18230:3;18226:11;18220:18;18216:1;18211:3;18207:11;18200:39;18172:2;18169:1;18165:10;18160:15;;18136:113;;;18267:6;18264:1;18261:13;18258:101;;;18347:1;18338:6;18333:3;18329:16;18322:27;18258:101;18107:258;18058:307;;;:::o;18371:320::-;18415:6;18452:1;18446:4;18442:12;18432:22;;18499:1;18493:4;18489:12;18520:18;18510:81;;18576:4;18568:6;18564:17;18554:27;;18510:81;18638:2;18630:6;18627:14;18607:18;18604:38;18601:84;;;18657:18;;:::i;:::-;18601:84;18422:269;18371:320;;;:::o;18697:281::-;18780:27;18802:4;18780:27;:::i;:::-;18772:6;18768:40;18910:6;18898:10;18895:22;18874:18;18862:10;18859:34;18856:62;18853:88;;;18921:18;;:::i;:::-;18853:88;18961:10;18957:2;18950:22;18740:238;18697:281;;:::o;18984:180::-;19032:77;19029:1;19022:88;19129:4;19126:1;19119:15;19153:4;19150:1;19143:15;19170:180;19218:77;19215:1;19208:88;19315:4;19312:1;19305:15;19339:4;19336:1;19329:15;19356:180;19404:77;19401:1;19394:88;19501:4;19498:1;19491:15;19525:4;19522:1;19515:15;19542:117;19651:1;19648;19641:12;19665:117;19774:1;19771;19764:12;19788:117;19897:1;19894;19887:12;19911:117;20020:1;20017;20010:12;20034:102;20075:6;20126:2;20122:7;20117:2;20110:5;20106:14;20102:28;20092:38;;20034:102;;;:::o;20142:225::-;20282:34;20278:1;20270:6;20266:14;20259:58;20351:8;20346:2;20338:6;20334:15;20327:33;20142:225;:::o;20373:178::-;20513:30;20509:1;20501:6;20497:14;20490:54;20373:178;:::o;20557:221::-;20697:34;20693:1;20685:6;20681:14;20674:58;20766:4;20761:2;20753:6;20749:15;20742:29;20557:221;:::o;20784:182::-;20924:34;20920:1;20912:6;20908:14;20901:58;20784:182;:::o;20972:234::-;21112:34;21108:1;21100:6;21096:14;21089:58;21181:17;21176:2;21168:6;21164:15;21157:42;20972:234;:::o;21212:114::-;;:::o;21332:224::-;21472:34;21468:1;21460:6;21456:14;21449:58;21541:7;21536:2;21528:6;21524:15;21517:32;21332:224;:::o;21562:122::-;21635:24;21653:5;21635:24;:::i;:::-;21628:5;21625:35;21615:63;;21674:1;21671;21664:12;21615:63;21562:122;:::o;21690:116::-;21760:21;21775:5;21760:21;:::i;:::-;21753:5;21750:32;21740:60;;21796:1;21793;21786:12;21740:60;21690:116;:::o;21812:120::-;21884:23;21901:5;21884:23;:::i;:::-;21877:5;21874:34;21864:62;;21922:1;21919;21912:12;21864:62;21812:120;:::o;21938:122::-;22011:24;22029:5;22011:24;:::i;:::-;22004:5;22001:35;21991:63;;22050:1;22047;22040:12;21991:63;21938:122;:::o
Swarm Source
ipfs://232f1a6021e162b9d4aa1ade9ba2c370be07298db8100e2eee60104f14c9e954
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.