Feature Tip: Add private address tag to any address under My Name Tag !
ERC-721
Overview
Max Total Supply
0 yFamily 2021
Holders
28
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
1 yFamily 2021Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
YearnFamily2021
Compiler Version
v0.8.11+commit.d7f03943
Optimization Enabled:
No with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT pragma solidity ^0.8.2; import "@openzeppelin/contracts/token/ERC721/ERC721.sol"; import "@openzeppelin/contracts/token/ERC721/extensions/ERC721URIStorage.sol"; import "@openzeppelin/contracts/utils/Counters.sol"; interface BloomFilter { function falsePositive(uint256 _bitmap, uint8 _hashCount, bytes32 _item) external pure returns(bool _probablyPresent); } contract YearnFamily2021 is ERC721, ERC721URIStorage { using Counters for Counters.Counter; Counters.Counter private _tokenIdCounter; address bloomFilterAddress = 0x9De80828ff54E961A41c3B31ca6e8eCEaDC8aEF4; uint256 bitmap = 134436144755219026776492379402457459703345255634037614050399006494398939524; uint8 constant printLimitPerAddress = 3; mapping(bytes32 => bool) public codeClaimed; mapping(address => uint8) public numberOfPrintsByAddress; mapping(address => bool) public addressClaimed; constructor() ERC721("Yearn Family #1", "yFamily 2021") {} function _safeMintAndIncrement(address to) internal { uint256 tokenId = _tokenIdCounter.current(); _tokenIdCounter.increment(); _safeMint(to, tokenId); } function claim(bytes32 code) public { bool alreadyClaimed = codeClaimed[code]; bool invalidEntry = !BloomFilter(bloomFilterAddress).falsePositive(bitmap, 1, code); if (alreadyClaimed) { revert("Already claimed"); } if (invalidEntry) { revert("Invalid entry"); } address printerAddress = msg.sender; _safeMintAndIncrement(printerAddress); addressClaimed[printerAddress] = true; codeClaimed[code] = true; } function print(address toAddress) public { address printerAddress = msg.sender; uint8 _numberOfPrintsByAddress = numberOfPrintsByAddress[printerAddress]; bool addressHasNotClaimed = !addressClaimed[printerAddress]; bool addressIsOutOfPrints = _numberOfPrintsByAddress >= printLimitPerAddress; if (addressHasNotClaimed) { revert("Only claimers can print"); } if (addressIsOutOfPrints) { revert("Address has already printed all available prints"); } numberOfPrintsByAddress[printerAddress] = _numberOfPrintsByAddress + 1; _safeMintAndIncrement(toAddress); } function printMultiple(address[] memory toAddresses) public { for (uint8 printCount = 0; printCount < toAddresses.length; printCount++ ) { address toAddress = toAddresses[printCount]; print(toAddress); } } function _burn(uint256 tokenId) internal override(ERC721, ERC721URIStorage) { super._burn(tokenId); } function tokenURI(uint256 tokenId) public view override(ERC721, ERC721URIStorage) returns (string memory) { return "data:application/json;base64,eyJuYW1lIjoiWWVhcm4gRmFtaWx5IFBvcnRyYWl0IiwiZGVzY3JpcHRpb24iOiJ3aXRoIGxvdmUgPDMzIiwiaW1hZ2UiOiJodHRwczovL2dhdGV3YXkuaXBmcy5pby9pcGZzL1FtWFBLNFhpM1JaU2tucVVKY2Y1OWl5RHg1Y0F4cWljOWN6ODNWWFM3OGF3dFIifQ=="; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Counters.sol) pragma solidity ^0.8.0; /** * @title Counters * @author Matt Condon (@shrugs) * @dev Provides counters that can only be incremented, decremented or reset. This can be used e.g. to track the number * of elements in a mapping, issuing ERC721 ids, or counting request ids. * * Include with `using Counters for Counters.Counter;` */ library Counters { struct Counter { // This variable should never be directly accessed by users of the library: interactions must be restricted to // the library's function. As of Solidity v0.5.2, this cannot be enforced, though there is a proposal to add // this feature: see https://github.com/ethereum/solidity/issues/4637 uint256 _value; // default: 0 } function current(Counter storage counter) internal view returns (uint256) { return counter._value; } function increment(Counter storage counter) internal { unchecked { counter._value += 1; } } function decrement(Counter storage counter) internal { uint256 value = counter._value; require(value > 0, "Counter: decrement overflow"); unchecked { counter._value = value - 1; } } function reset(Counter storage counter) internal { counter._value = 0; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/ERC721URIStorage.sol) pragma solidity ^0.8.0; import "../ERC721.sol"; /** * @dev ERC721 token with storage based token URI management. */ abstract contract ERC721URIStorage is ERC721 { using Strings for uint256; // Optional mapping for token URIs mapping(uint256 => string) private _tokenURIs; /** * @dev See {IERC721Metadata-tokenURI}. */ function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { require(_exists(tokenId), "ERC721URIStorage: URI query for nonexistent token"); string memory _tokenURI = _tokenURIs[tokenId]; string memory base = _baseURI(); // If there is no base URI, return the token URI. if (bytes(base).length == 0) { return _tokenURI; } // If both are set, concatenate the baseURI and tokenURI (via abi.encodePacked). if (bytes(_tokenURI).length > 0) { return string(abi.encodePacked(base, _tokenURI)); } return super.tokenURI(tokenId); } /** * @dev Sets `_tokenURI` as the tokenURI of `tokenId`. * * Requirements: * * - `tokenId` must exist. */ function _setTokenURI(uint256 tokenId, string memory _tokenURI) internal virtual { require(_exists(tokenId), "ERC721URIStorage: URI set of nonexistent token"); _tokenURIs[tokenId] = _tokenURI; } /** * @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 override { super._burn(tokenId); if (bytes(_tokenURIs[tokenId]).length != 0) { delete _tokenURIs[tokenId]; } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC721/ERC721.sol) pragma solidity ^0.8.0; import "./IERC721.sol"; import "./IERC721Receiver.sol"; import "./extensions/IERC721Metadata.sol"; import "../../utils/Address.sol"; import "../../utils/Context.sol"; import "../../utils/Strings.sol"; import "../../utils/introspection/ERC165.sol"; /** * @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: balance query for the zero address"); 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: owner query for nonexistent token"); 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) { require(_exists(tokenId), "ERC721Metadata: URI query for nonexistent token"); string memory baseURI = _baseURI(); return bytes(baseURI).length > 0 ? string(abi.encodePacked(baseURI, tokenId.toString())) : ""; } /** * @dev Base URI for computing {tokenURI}. If set, the resulting URI for each * token will be the concatenation of the `baseURI` and the `tokenId`. Empty * by default, can be overriden in child contracts. */ function _baseURI() internal view virtual returns (string memory) { return ""; } /** * @dev See {IERC721-approve}. */ function approve(address to, uint256 tokenId) public 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 owner nor approved for all" ); _approve(to, tokenId); } /** * @dev See {IERC721-getApproved}. */ function getApproved(uint256 tokenId) public view virtual override returns (address) { require(_exists(tokenId), "ERC721: approved query for nonexistent token"); 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: transfer caller is not 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: transfer caller is not 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) { require(_exists(tokenId), "ERC721: operator query for nonexistent token"); address owner = ERC721.ownerOf(tokenId); return (spender == owner || getApproved(tokenId) == spender || isApprovedForAll(owner, 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); } /** * @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); } /** * @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 of token that is not own"); 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); } /** * @dev Approve `to` to operate on `tokenId` * * Emits a {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 a {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 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 { 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 {} }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol) pragma solidity ^0.8.0; import "./IERC165.sol"; /** * @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; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Strings.sol) pragma solidity ^0.8.0; /** * @dev String operations. */ library Strings { bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef"; /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function toString(uint256 value) internal pure returns (string memory) { // Inspired by OraclizeAPI's implementation - MIT licence // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol if (value == 0) { return "0"; } uint256 temp = value; uint256 digits; while (temp != 0) { digits++; temp /= 10; } bytes memory buffer = new bytes(digits); while (value != 0) { digits -= 1; buffer[digits] = bytes1(uint8(48 + uint256(value % 10))); value /= 10; } return string(buffer); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { if (value == 0) { return "0x00"; } uint256 temp = value; uint256 length = 0; while (temp != 0) { length++; temp >>= 8; } return toHexString(value, length); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length. */ function toHexString(uint256 value, uint256 length) internal pure returns (string memory) { bytes memory buffer = new bytes(2 * length + 2); buffer[0] = "0"; buffer[1] = "x"; for (uint256 i = 2 * length + 1; i > 1; --i) { buffer[i] = _HEX_SYMBOLS[value & 0xf]; value >>= 4; } require(value == 0, "Strings: hex length insufficient"); return string(buffer); } }
// SPDX-License-Identifier: MIT // 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; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Address.sol) pragma solidity ^0.8.0; /** * @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 * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize, which returns 0 for contracts in // construction, since the code is only stored at the end of the // constructor execution. uint256 size; assembly { size := extcodesize(account) } return size > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); (bool success, ) = recipient.call{value: amount}(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain `call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCall(target, data, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value ) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value, string memory errorMessage ) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); require(isContract(target), "Address: call to non-contract"); (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall( address target, bytes memory data, string memory errorMessage ) internal view returns (bytes memory) { require(isContract(target), "Address: static call to non-contract"); (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { require(isContract(target), "Address: delegate call to non-contract"); (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason using the provided one. * * _Available since v4.3._ */ function verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) internal pure returns (bytes memory) { if (success) { return returndata; } else { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/IERC721Metadata.sol) pragma solidity ^0.8.0; import "../IERC721.sol"; /** * @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); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC721/IERC721Receiver.sol) pragma solidity ^0.8.0; /** * @title ERC721 token receiver interface * @dev Interface for any contract that wants to support safeTransfers * from ERC721 asset contracts. */ interface IERC721Receiver { /** * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom} * by `operator` from `from`, this function is called. * * It must return its Solidity selector to confirm the token transfer. * If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted. * * The selector can be obtained in Solidity with `IERC721.onERC721Received.selector`. */ function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC721/IERC721.sol) pragma solidity ^0.8.0; import "../../utils/introspection/IERC165.sol"; /** * @dev Required interface of an ERC721 compliant contract. */ interface IERC721 is IERC165 { /** * @dev Emitted when `tokenId` token is transferred from `from` to `to`. */ event Transfer(address indexed from, address indexed to, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token. */ event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets. */ event ApprovalForAll(address indexed owner, address indexed operator, bool approved); /** * @dev Returns the number of tokens in ``owner``'s account. */ function balanceOf(address owner) external view returns (uint256 balance); /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) external view returns (address owner); /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be have been allowed to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Transfers `tokenId` token from `from` to `to`. * * WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) external; /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool _approved) external; /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll} */ function isApprovedForAll(address owner, address operator) external view returns (bool); /** * @dev Safely transfers `tokenId` token from `from` to `to`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes calldata data ) external; }
// SPDX-License-Identifier: MIT // 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); }
{ "optimizer": { "enabled": false, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"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":"","type":"address"}],"name":"addressClaimed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"code","type":"bytes32"}],"name":"claim","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"name":"codeClaimed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"numberOfPrintsByAddress","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"toAddress","type":"address"}],"name":"print","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"toAddresses","type":"address[]"}],"name":"printMultiple","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"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":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
6080604052739de80828ff54e961a41c3b31ca6e8eceadc8aef4600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055507e4c1691c000800002040000090010502041c0402142088020401064240101846009553480156200008957600080fd5b506040518060400160405280600f81526020017f596561726e2046616d696c7920233100000000000000000000000000000000008152506040518060400160405280600c81526020017f7946616d696c792032303231000000000000000000000000000000000000000081525081600090805190602001906200010e92919062000130565b5080600190805190602001906200012792919062000130565b50505062000245565b8280546200013e906200020f565b90600052602060002090601f016020900481019282620001625760008555620001ae565b82601f106200017d57805160ff1916838001178555620001ae565b82800160010185558215620001ae579182015b82811115620001ad57825182559160200191906001019062000190565b5b509050620001bd9190620001c1565b5090565b5b80821115620001dc576000816000905550600101620001c2565b5090565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806200022857607f821691505b602082108114156200023f576200023e620001e0565b5b50919050565b612e7080620002556000396000f3fe608060405234801561001057600080fd5b50600436106101215760003560e01c8063772dc32f116100ad578063b88d4fde11610071578063b88d4fde1461032a578063bd66528a14610346578063c87b56dd14610362578063d2242da614610392578063e985e9c5146103c257610121565b8063772dc32f146102745780638dd41d0f146102a457806395d89b41146102d4578063a0ef9a15146102f2578063a22cb4651461030e57610121565b806323b872dd116100f457806323b872dd146101c057806324d427a9146101dc57806342842e0e146101f85780636352211e1461021457806370a082311461024457610121565b806301ffc9a71461012657806306fdde0314610156578063081812fc14610174578063095ea7b3146101a4575b600080fd5b610140600480360381019061013b9190611a2b565b6103f2565b60405161014d9190611a73565b60405180910390f35b61015e6104d4565b60405161016b9190611b27565b60405180910390f35b61018e60048036038101906101899190611b7f565b610566565b60405161019b9190611bed565b60405180910390f35b6101be60048036038101906101b99190611c34565b6105eb565b005b6101da60048036038101906101d59190611c74565b610703565b005b6101f660048036038101906101f19190611cc7565b610763565b005b610212600480360381019061020d9190611c74565b610910565b005b61022e60048036038101906102299190611b7f565b610930565b60405161023b9190611bed565b60405180910390f35b61025e60048036038101906102599190611cc7565b6109e2565b60405161026b9190611d03565b60405180910390f35b61028e60048036038101906102899190611cc7565b610a9a565b60405161029b9190611a73565b60405180910390f35b6102be60048036038101906102b99190611d54565b610aba565b6040516102cb9190611a73565b60405180910390f35b6102dc610ada565b6040516102e99190611b27565b60405180910390f35b61030c60048036038101906103079190611ec9565b610b6c565b005b61032860048036038101906103239190611f3e565b610bbe565b005b610344600480360381019061033f9190612033565b610bd4565b005b610360600480360381019061035b9190611d54565b610c36565b005b61037c60048036038101906103779190611b7f565b610e1d565b6040516103899190611b27565b60405180910390f35b6103ac60048036038101906103a79190611cc7565b610e40565b6040516103b991906120d2565b60405180910390f35b6103dc60048036038101906103d791906120ed565b610e60565b6040516103e99190611a73565b60405180910390f35b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806104bd57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806104cd57506104cc82610ef4565b5b9050919050565b6060600080546104e39061215c565b80601f016020809104026020016040519081016040528092919081815260200182805461050f9061215c565b801561055c5780601f106105315761010080835404028352916020019161055c565b820191906000526020600020905b81548152906001019060200180831161053f57829003601f168201915b5050505050905090565b600061057182610f5e565b6105b0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016105a790612200565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b60006105f682610930565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610667576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161065e90612292565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610686610fca565b73ffffffffffffffffffffffffffffffffffffffff1614806106b557506106b4816106af610fca565b610e60565b5b6106f4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016106eb90612324565b60405180910390fd5b6106fe8383610fd2565b505050565b61071461070e610fca565b8261108b565b610753576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161074a906123b6565b60405180910390fd5b61075e838383611169565b505050565b60003390506000600b60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1690506000600c60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff161590506000600360ff168360ff1610159050811561085b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161085290612422565b60405180910390fd5b801561089c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610893906124b4565b60405180910390fd5b6001836108a99190612503565b600b60008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908360ff160217905550610909856113c5565b5050505050565b61092b83838360405180602001604052806000815250610bd4565b505050565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156109d9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109d0906125ac565b60405180910390fd5b80915050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415610a53576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a4a9061263e565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b600c6020528060005260406000206000915054906101000a900460ff1681565b600a6020528060005260406000206000915054906101000a900460ff1681565b606060018054610ae99061215c565b80601f0160208091040260200160405190810160405280929190818152602001828054610b159061215c565b8015610b625780601f10610b3757610100808354040283529160200191610b62565b820191906000526020600020905b815481529060010190602001808311610b4557829003601f168201915b5050505050905090565b60005b81518160ff161015610bba576000828260ff1681518110610b9357610b9261265e565b5b60200260200101519050610ba681610763565b508080610bb29061268d565b915050610b6f565b5050565b610bd0610bc9610fca565b83836113eb565b5050565b610be5610bdf610fca565b8361108b565b610c24576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c1b906123b6565b60405180910390fd5b610c3084848484611558565b50505050565b6000600a600083815260200190815260200160002060009054906101000a900460ff1690506000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166312540bc76009546001866040518463ffffffff1660e01b8152600401610cbf9392919061270b565b602060405180830381865afa158015610cdc573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d009190612757565b1590508115610d44576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d3b906127d0565b60405180910390fd5b8015610d85576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d7c9061283c565b60405180910390fd5b6000339050610d93816113c5565b6001600c60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055506001600a600086815260200190815260200160002060006101000a81548160ff02191690831515021790555050505050565b606060405180610120016040528060e58152602001612d5660e591399050919050565b600b6020528060005260406000206000915054906101000a900460ff1681565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff1661104583610930565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600061109682610f5e565b6110d5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110cc906128ce565b60405180910390fd5b60006110e083610930565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16148061114f57508373ffffffffffffffffffffffffffffffffffffffff1661113784610566565b73ffffffffffffffffffffffffffffffffffffffff16145b80611160575061115f8185610e60565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff1661118982610930565b73ffffffffffffffffffffffffffffffffffffffff16146111df576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111d690612960565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561124f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611246906129f2565b60405180910390fd5b61125a8383836115b4565b611265600082610fd2565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546112b59190612a12565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461130c9190612a46565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b60006113d160076115b9565b90506113dd60076115c7565b6113e782826115dd565b5050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141561145a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161145190612ae8565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c318360405161154b9190611a73565b60405180910390a3505050565b611563848484611169565b61156f848484846115fb565b6115ae576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115a590612b7a565b60405180910390fd5b50505050565b505050565b600081600001549050919050565b6001816000016000828254019250508190555050565b6115f7828260405180602001604052806000815250611783565b5050565b600061161c8473ffffffffffffffffffffffffffffffffffffffff166117de565b15611776578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02611645610fca565b8786866040518563ffffffff1660e01b81526004016116679493929190612bef565b6020604051808303816000875af19250505080156116a357506040513d601f19601f820116820180604052508101906116a09190612c50565b60015b611726573d80600081146116d3576040519150601f19603f3d011682016040523d82523d6000602084013e6116d8565b606091505b5060008151141561171e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161171590612b7a565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161491505061177b565b600190505b949350505050565b61178d83836117f1565b61179a60008484846115fb565b6117d9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117d090612b7a565b60405180910390fd5b505050565b600080823b905060008111915050919050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611861576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161185890612cc9565b60405180910390fd5b61186a81610f5e565b156118aa576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118a190612d35565b60405180910390fd5b6118b6600083836115b4565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546119069190612a46565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b611a08816119d3565b8114611a1357600080fd5b50565b600081359050611a25816119ff565b92915050565b600060208284031215611a4157611a406119c9565b5b6000611a4f84828501611a16565b91505092915050565b60008115159050919050565b611a6d81611a58565b82525050565b6000602082019050611a886000830184611a64565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b83811015611ac8578082015181840152602081019050611aad565b83811115611ad7576000848401525b50505050565b6000601f19601f8301169050919050565b6000611af982611a8e565b611b038185611a99565b9350611b13818560208601611aaa565b611b1c81611add565b840191505092915050565b60006020820190508181036000830152611b418184611aee565b905092915050565b6000819050919050565b611b5c81611b49565b8114611b6757600080fd5b50565b600081359050611b7981611b53565b92915050565b600060208284031215611b9557611b946119c9565b5b6000611ba384828501611b6a565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000611bd782611bac565b9050919050565b611be781611bcc565b82525050565b6000602082019050611c026000830184611bde565b92915050565b611c1181611bcc565b8114611c1c57600080fd5b50565b600081359050611c2e81611c08565b92915050565b60008060408385031215611c4b57611c4a6119c9565b5b6000611c5985828601611c1f565b9250506020611c6a85828601611b6a565b9150509250929050565b600080600060608486031215611c8d57611c8c6119c9565b5b6000611c9b86828701611c1f565b9350506020611cac86828701611c1f565b9250506040611cbd86828701611b6a565b9150509250925092565b600060208284031215611cdd57611cdc6119c9565b5b6000611ceb84828501611c1f565b91505092915050565b611cfd81611b49565b82525050565b6000602082019050611d186000830184611cf4565b92915050565b6000819050919050565b611d3181611d1e565b8114611d3c57600080fd5b50565b600081359050611d4e81611d28565b92915050565b600060208284031215611d6a57611d696119c9565b5b6000611d7884828501611d3f565b91505092915050565b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b611dbe82611add565b810181811067ffffffffffffffff82111715611ddd57611ddc611d86565b5b80604052505050565b6000611df06119bf565b9050611dfc8282611db5565b919050565b600067ffffffffffffffff821115611e1c57611e1b611d86565b5b602082029050602081019050919050565b600080fd5b6000611e45611e4084611e01565b611de6565b90508083825260208201905060208402830185811115611e6857611e67611e2d565b5b835b81811015611e915780611e7d8882611c1f565b845260208401935050602081019050611e6a565b5050509392505050565b600082601f830112611eb057611eaf611d81565b5b8135611ec0848260208601611e32565b91505092915050565b600060208284031215611edf57611ede6119c9565b5b600082013567ffffffffffffffff811115611efd57611efc6119ce565b5b611f0984828501611e9b565b91505092915050565b611f1b81611a58565b8114611f2657600080fd5b50565b600081359050611f3881611f12565b92915050565b60008060408385031215611f5557611f546119c9565b5b6000611f6385828601611c1f565b9250506020611f7485828601611f29565b9150509250929050565b600080fd5b600067ffffffffffffffff821115611f9e57611f9d611d86565b5b611fa782611add565b9050602081019050919050565b82818337600083830152505050565b6000611fd6611fd184611f83565b611de6565b905082815260208101848484011115611ff257611ff1611f7e565b5b611ffd848285611fb4565b509392505050565b600082601f83011261201a57612019611d81565b5b813561202a848260208601611fc3565b91505092915050565b6000806000806080858703121561204d5761204c6119c9565b5b600061205b87828801611c1f565b945050602061206c87828801611c1f565b935050604061207d87828801611b6a565b925050606085013567ffffffffffffffff81111561209e5761209d6119ce565b5b6120aa87828801612005565b91505092959194509250565b600060ff82169050919050565b6120cc816120b6565b82525050565b60006020820190506120e760008301846120c3565b92915050565b60008060408385031215612104576121036119c9565b5b600061211285828601611c1f565b925050602061212385828601611c1f565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168061217457607f821691505b602082108114156121885761218761212d565b5b50919050565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b60006121ea602c83611a99565b91506121f58261218e565b604082019050919050565b60006020820190508181036000830152612219816121dd565b9050919050565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b600061227c602183611a99565b915061228782612220565b604082019050919050565b600060208201905081810360008301526122ab8161226f565b9050919050565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b600061230e603883611a99565b9150612319826122b2565b604082019050919050565b6000602082019050818103600083015261233d81612301565b9050919050565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b60006123a0603183611a99565b91506123ab82612344565b604082019050919050565b600060208201905081810360008301526123cf81612393565b9050919050565b7f4f6e6c7920636c61696d6572732063616e207072696e74000000000000000000600082015250565b600061240c601783611a99565b9150612417826123d6565b602082019050919050565b6000602082019050818103600083015261243b816123ff565b9050919050565b7f416464726573732068617320616c7265616479207072696e74656420616c6c2060008201527f617661696c61626c65207072696e747300000000000000000000000000000000602082015250565b600061249e603083611a99565b91506124a982612442565b604082019050919050565b600060208201905081810360008301526124cd81612491565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600061250e826120b6565b9150612519836120b6565b92508260ff0382111561252f5761252e6124d4565b5b828201905092915050565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b6000612596602983611a99565b91506125a18261253a565b604082019050919050565b600060208201905081810360008301526125c581612589565b9050919050565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b6000612628602a83611a99565b9150612633826125cc565b604082019050919050565b600060208201905081810360008301526126578161261b565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6000612698826120b6565b915060ff8214156126ac576126ab6124d4565b5b600182019050919050565b6000819050919050565b6000819050919050565b60006126e66126e16126dc846126b7565b6126c1565b6120b6565b9050919050565b6126f6816126cb565b82525050565b61270581611d1e565b82525050565b60006060820190506127206000830186611cf4565b61272d60208301856126ed565b61273a60408301846126fc565b949350505050565b60008151905061275181611f12565b92915050565b60006020828403121561276d5761276c6119c9565b5b600061277b84828501612742565b91505092915050565b7f416c726561647920636c61696d65640000000000000000000000000000000000600082015250565b60006127ba600f83611a99565b91506127c582612784565b602082019050919050565b600060208201905081810360008301526127e9816127ad565b9050919050565b7f496e76616c696420656e74727900000000000000000000000000000000000000600082015250565b6000612826600d83611a99565b9150612831826127f0565b602082019050919050565b6000602082019050818103600083015261285581612819565b9050919050565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b60006128b8602c83611a99565b91506128c38261285c565b604082019050919050565b600060208201905081810360008301526128e7816128ab565b9050919050565b7f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008201527f73206e6f74206f776e0000000000000000000000000000000000000000000000602082015250565b600061294a602983611a99565b9150612955826128ee565b604082019050919050565b600060208201905081810360008301526129798161293d565b9050919050565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b60006129dc602483611a99565b91506129e782612980565b604082019050919050565b60006020820190508181036000830152612a0b816129cf565b9050919050565b6000612a1d82611b49565b9150612a2883611b49565b925082821015612a3b57612a3a6124d4565b5b828203905092915050565b6000612a5182611b49565b9150612a5c83611b49565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115612a9157612a906124d4565b5b828201905092915050565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b6000612ad2601983611a99565b9150612add82612a9c565b602082019050919050565b60006020820190508181036000830152612b0181612ac5565b9050919050565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b6000612b64603283611a99565b9150612b6f82612b08565b604082019050919050565b60006020820190508181036000830152612b9381612b57565b9050919050565b600081519050919050565b600082825260208201905092915050565b6000612bc182612b9a565b612bcb8185612ba5565b9350612bdb818560208601611aaa565b612be481611add565b840191505092915050565b6000608082019050612c046000830187611bde565b612c116020830186611bde565b612c1e6040830185611cf4565b8181036060830152612c308184612bb6565b905095945050505050565b600081519050612c4a816119ff565b92915050565b600060208284031215612c6657612c656119c9565b5b6000612c7484828501612c3b565b91505092915050565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b6000612cb3602083611a99565b9150612cbe82612c7d565b602082019050919050565b60006020820190508181036000830152612ce281612ca6565b9050919050565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b6000612d1f601c83611a99565b9150612d2a82612ce9565b602082019050919050565b60006020820190508181036000830152612d4e81612d12565b905091905056fe646174613a6170706c69636174696f6e2f6a736f6e3b6261736536342c65794a755957316c496a6f6957575668636d3467526d46746157783549464276636e527959576c30496977695a47567a59334a7063485270623234694f694a336158526f49477876646d556750444d7a49697769615731685a3255694f694a6f64485277637a6f764c3264686447563359586b756158426d637935706279397063475a7a4c3146745746424c4e4668704d314a61553274756356564b593259314f576c35524867315930463463576c6a4f574e364f444e5757464d334f4746336446496966513d3da26469706673582212201fa6ca284041ccea8ac5b4c201e5a395913f70cf6409916f8bbbd575a551e2ec64736f6c634300080b0033
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106101215760003560e01c8063772dc32f116100ad578063b88d4fde11610071578063b88d4fde1461032a578063bd66528a14610346578063c87b56dd14610362578063d2242da614610392578063e985e9c5146103c257610121565b8063772dc32f146102745780638dd41d0f146102a457806395d89b41146102d4578063a0ef9a15146102f2578063a22cb4651461030e57610121565b806323b872dd116100f457806323b872dd146101c057806324d427a9146101dc57806342842e0e146101f85780636352211e1461021457806370a082311461024457610121565b806301ffc9a71461012657806306fdde0314610156578063081812fc14610174578063095ea7b3146101a4575b600080fd5b610140600480360381019061013b9190611a2b565b6103f2565b60405161014d9190611a73565b60405180910390f35b61015e6104d4565b60405161016b9190611b27565b60405180910390f35b61018e60048036038101906101899190611b7f565b610566565b60405161019b9190611bed565b60405180910390f35b6101be60048036038101906101b99190611c34565b6105eb565b005b6101da60048036038101906101d59190611c74565b610703565b005b6101f660048036038101906101f19190611cc7565b610763565b005b610212600480360381019061020d9190611c74565b610910565b005b61022e60048036038101906102299190611b7f565b610930565b60405161023b9190611bed565b60405180910390f35b61025e60048036038101906102599190611cc7565b6109e2565b60405161026b9190611d03565b60405180910390f35b61028e60048036038101906102899190611cc7565b610a9a565b60405161029b9190611a73565b60405180910390f35b6102be60048036038101906102b99190611d54565b610aba565b6040516102cb9190611a73565b60405180910390f35b6102dc610ada565b6040516102e99190611b27565b60405180910390f35b61030c60048036038101906103079190611ec9565b610b6c565b005b61032860048036038101906103239190611f3e565b610bbe565b005b610344600480360381019061033f9190612033565b610bd4565b005b610360600480360381019061035b9190611d54565b610c36565b005b61037c60048036038101906103779190611b7f565b610e1d565b6040516103899190611b27565b60405180910390f35b6103ac60048036038101906103a79190611cc7565b610e40565b6040516103b991906120d2565b60405180910390f35b6103dc60048036038101906103d791906120ed565b610e60565b6040516103e99190611a73565b60405180910390f35b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806104bd57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806104cd57506104cc82610ef4565b5b9050919050565b6060600080546104e39061215c565b80601f016020809104026020016040519081016040528092919081815260200182805461050f9061215c565b801561055c5780601f106105315761010080835404028352916020019161055c565b820191906000526020600020905b81548152906001019060200180831161053f57829003601f168201915b5050505050905090565b600061057182610f5e565b6105b0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016105a790612200565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b60006105f682610930565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610667576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161065e90612292565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610686610fca565b73ffffffffffffffffffffffffffffffffffffffff1614806106b557506106b4816106af610fca565b610e60565b5b6106f4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016106eb90612324565b60405180910390fd5b6106fe8383610fd2565b505050565b61071461070e610fca565b8261108b565b610753576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161074a906123b6565b60405180910390fd5b61075e838383611169565b505050565b60003390506000600b60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1690506000600c60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff161590506000600360ff168360ff1610159050811561085b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161085290612422565b60405180910390fd5b801561089c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610893906124b4565b60405180910390fd5b6001836108a99190612503565b600b60008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908360ff160217905550610909856113c5565b5050505050565b61092b83838360405180602001604052806000815250610bd4565b505050565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156109d9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109d0906125ac565b60405180910390fd5b80915050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415610a53576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a4a9061263e565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b600c6020528060005260406000206000915054906101000a900460ff1681565b600a6020528060005260406000206000915054906101000a900460ff1681565b606060018054610ae99061215c565b80601f0160208091040260200160405190810160405280929190818152602001828054610b159061215c565b8015610b625780601f10610b3757610100808354040283529160200191610b62565b820191906000526020600020905b815481529060010190602001808311610b4557829003601f168201915b5050505050905090565b60005b81518160ff161015610bba576000828260ff1681518110610b9357610b9261265e565b5b60200260200101519050610ba681610763565b508080610bb29061268d565b915050610b6f565b5050565b610bd0610bc9610fca565b83836113eb565b5050565b610be5610bdf610fca565b8361108b565b610c24576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c1b906123b6565b60405180910390fd5b610c3084848484611558565b50505050565b6000600a600083815260200190815260200160002060009054906101000a900460ff1690506000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166312540bc76009546001866040518463ffffffff1660e01b8152600401610cbf9392919061270b565b602060405180830381865afa158015610cdc573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d009190612757565b1590508115610d44576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d3b906127d0565b60405180910390fd5b8015610d85576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d7c9061283c565b60405180910390fd5b6000339050610d93816113c5565b6001600c60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055506001600a600086815260200190815260200160002060006101000a81548160ff02191690831515021790555050505050565b606060405180610120016040528060e58152602001612d5660e591399050919050565b600b6020528060005260406000206000915054906101000a900460ff1681565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff1661104583610930565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600061109682610f5e565b6110d5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110cc906128ce565b60405180910390fd5b60006110e083610930565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16148061114f57508373ffffffffffffffffffffffffffffffffffffffff1661113784610566565b73ffffffffffffffffffffffffffffffffffffffff16145b80611160575061115f8185610e60565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff1661118982610930565b73ffffffffffffffffffffffffffffffffffffffff16146111df576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111d690612960565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561124f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611246906129f2565b60405180910390fd5b61125a8383836115b4565b611265600082610fd2565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546112b59190612a12565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461130c9190612a46565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b60006113d160076115b9565b90506113dd60076115c7565b6113e782826115dd565b5050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141561145a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161145190612ae8565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c318360405161154b9190611a73565b60405180910390a3505050565b611563848484611169565b61156f848484846115fb565b6115ae576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115a590612b7a565b60405180910390fd5b50505050565b505050565b600081600001549050919050565b6001816000016000828254019250508190555050565b6115f7828260405180602001604052806000815250611783565b5050565b600061161c8473ffffffffffffffffffffffffffffffffffffffff166117de565b15611776578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02611645610fca565b8786866040518563ffffffff1660e01b81526004016116679493929190612bef565b6020604051808303816000875af19250505080156116a357506040513d601f19601f820116820180604052508101906116a09190612c50565b60015b611726573d80600081146116d3576040519150601f19603f3d011682016040523d82523d6000602084013e6116d8565b606091505b5060008151141561171e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161171590612b7a565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161491505061177b565b600190505b949350505050565b61178d83836117f1565b61179a60008484846115fb565b6117d9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117d090612b7a565b60405180910390fd5b505050565b600080823b905060008111915050919050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611861576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161185890612cc9565b60405180910390fd5b61186a81610f5e565b156118aa576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118a190612d35565b60405180910390fd5b6118b6600083836115b4565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546119069190612a46565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b611a08816119d3565b8114611a1357600080fd5b50565b600081359050611a25816119ff565b92915050565b600060208284031215611a4157611a406119c9565b5b6000611a4f84828501611a16565b91505092915050565b60008115159050919050565b611a6d81611a58565b82525050565b6000602082019050611a886000830184611a64565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b83811015611ac8578082015181840152602081019050611aad565b83811115611ad7576000848401525b50505050565b6000601f19601f8301169050919050565b6000611af982611a8e565b611b038185611a99565b9350611b13818560208601611aaa565b611b1c81611add565b840191505092915050565b60006020820190508181036000830152611b418184611aee565b905092915050565b6000819050919050565b611b5c81611b49565b8114611b6757600080fd5b50565b600081359050611b7981611b53565b92915050565b600060208284031215611b9557611b946119c9565b5b6000611ba384828501611b6a565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000611bd782611bac565b9050919050565b611be781611bcc565b82525050565b6000602082019050611c026000830184611bde565b92915050565b611c1181611bcc565b8114611c1c57600080fd5b50565b600081359050611c2e81611c08565b92915050565b60008060408385031215611c4b57611c4a6119c9565b5b6000611c5985828601611c1f565b9250506020611c6a85828601611b6a565b9150509250929050565b600080600060608486031215611c8d57611c8c6119c9565b5b6000611c9b86828701611c1f565b9350506020611cac86828701611c1f565b9250506040611cbd86828701611b6a565b9150509250925092565b600060208284031215611cdd57611cdc6119c9565b5b6000611ceb84828501611c1f565b91505092915050565b611cfd81611b49565b82525050565b6000602082019050611d186000830184611cf4565b92915050565b6000819050919050565b611d3181611d1e565b8114611d3c57600080fd5b50565b600081359050611d4e81611d28565b92915050565b600060208284031215611d6a57611d696119c9565b5b6000611d7884828501611d3f565b91505092915050565b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b611dbe82611add565b810181811067ffffffffffffffff82111715611ddd57611ddc611d86565b5b80604052505050565b6000611df06119bf565b9050611dfc8282611db5565b919050565b600067ffffffffffffffff821115611e1c57611e1b611d86565b5b602082029050602081019050919050565b600080fd5b6000611e45611e4084611e01565b611de6565b90508083825260208201905060208402830185811115611e6857611e67611e2d565b5b835b81811015611e915780611e7d8882611c1f565b845260208401935050602081019050611e6a565b5050509392505050565b600082601f830112611eb057611eaf611d81565b5b8135611ec0848260208601611e32565b91505092915050565b600060208284031215611edf57611ede6119c9565b5b600082013567ffffffffffffffff811115611efd57611efc6119ce565b5b611f0984828501611e9b565b91505092915050565b611f1b81611a58565b8114611f2657600080fd5b50565b600081359050611f3881611f12565b92915050565b60008060408385031215611f5557611f546119c9565b5b6000611f6385828601611c1f565b9250506020611f7485828601611f29565b9150509250929050565b600080fd5b600067ffffffffffffffff821115611f9e57611f9d611d86565b5b611fa782611add565b9050602081019050919050565b82818337600083830152505050565b6000611fd6611fd184611f83565b611de6565b905082815260208101848484011115611ff257611ff1611f7e565b5b611ffd848285611fb4565b509392505050565b600082601f83011261201a57612019611d81565b5b813561202a848260208601611fc3565b91505092915050565b6000806000806080858703121561204d5761204c6119c9565b5b600061205b87828801611c1f565b945050602061206c87828801611c1f565b935050604061207d87828801611b6a565b925050606085013567ffffffffffffffff81111561209e5761209d6119ce565b5b6120aa87828801612005565b91505092959194509250565b600060ff82169050919050565b6120cc816120b6565b82525050565b60006020820190506120e760008301846120c3565b92915050565b60008060408385031215612104576121036119c9565b5b600061211285828601611c1f565b925050602061212385828601611c1f565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168061217457607f821691505b602082108114156121885761218761212d565b5b50919050565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b60006121ea602c83611a99565b91506121f58261218e565b604082019050919050565b60006020820190508181036000830152612219816121dd565b9050919050565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b600061227c602183611a99565b915061228782612220565b604082019050919050565b600060208201905081810360008301526122ab8161226f565b9050919050565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b600061230e603883611a99565b9150612319826122b2565b604082019050919050565b6000602082019050818103600083015261233d81612301565b9050919050565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b60006123a0603183611a99565b91506123ab82612344565b604082019050919050565b600060208201905081810360008301526123cf81612393565b9050919050565b7f4f6e6c7920636c61696d6572732063616e207072696e74000000000000000000600082015250565b600061240c601783611a99565b9150612417826123d6565b602082019050919050565b6000602082019050818103600083015261243b816123ff565b9050919050565b7f416464726573732068617320616c7265616479207072696e74656420616c6c2060008201527f617661696c61626c65207072696e747300000000000000000000000000000000602082015250565b600061249e603083611a99565b91506124a982612442565b604082019050919050565b600060208201905081810360008301526124cd81612491565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600061250e826120b6565b9150612519836120b6565b92508260ff0382111561252f5761252e6124d4565b5b828201905092915050565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b6000612596602983611a99565b91506125a18261253a565b604082019050919050565b600060208201905081810360008301526125c581612589565b9050919050565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b6000612628602a83611a99565b9150612633826125cc565b604082019050919050565b600060208201905081810360008301526126578161261b565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6000612698826120b6565b915060ff8214156126ac576126ab6124d4565b5b600182019050919050565b6000819050919050565b6000819050919050565b60006126e66126e16126dc846126b7565b6126c1565b6120b6565b9050919050565b6126f6816126cb565b82525050565b61270581611d1e565b82525050565b60006060820190506127206000830186611cf4565b61272d60208301856126ed565b61273a60408301846126fc565b949350505050565b60008151905061275181611f12565b92915050565b60006020828403121561276d5761276c6119c9565b5b600061277b84828501612742565b91505092915050565b7f416c726561647920636c61696d65640000000000000000000000000000000000600082015250565b60006127ba600f83611a99565b91506127c582612784565b602082019050919050565b600060208201905081810360008301526127e9816127ad565b9050919050565b7f496e76616c696420656e74727900000000000000000000000000000000000000600082015250565b6000612826600d83611a99565b9150612831826127f0565b602082019050919050565b6000602082019050818103600083015261285581612819565b9050919050565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b60006128b8602c83611a99565b91506128c38261285c565b604082019050919050565b600060208201905081810360008301526128e7816128ab565b9050919050565b7f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008201527f73206e6f74206f776e0000000000000000000000000000000000000000000000602082015250565b600061294a602983611a99565b9150612955826128ee565b604082019050919050565b600060208201905081810360008301526129798161293d565b9050919050565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b60006129dc602483611a99565b91506129e782612980565b604082019050919050565b60006020820190508181036000830152612a0b816129cf565b9050919050565b6000612a1d82611b49565b9150612a2883611b49565b925082821015612a3b57612a3a6124d4565b5b828203905092915050565b6000612a5182611b49565b9150612a5c83611b49565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115612a9157612a906124d4565b5b828201905092915050565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b6000612ad2601983611a99565b9150612add82612a9c565b602082019050919050565b60006020820190508181036000830152612b0181612ac5565b9050919050565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b6000612b64603283611a99565b9150612b6f82612b08565b604082019050919050565b60006020820190508181036000830152612b9381612b57565b9050919050565b600081519050919050565b600082825260208201905092915050565b6000612bc182612b9a565b612bcb8185612ba5565b9350612bdb818560208601611aaa565b612be481611add565b840191505092915050565b6000608082019050612c046000830187611bde565b612c116020830186611bde565b612c1e6040830185611cf4565b8181036060830152612c308184612bb6565b905095945050505050565b600081519050612c4a816119ff565b92915050565b600060208284031215612c6657612c656119c9565b5b6000612c7484828501612c3b565b91505092915050565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b6000612cb3602083611a99565b9150612cbe82612c7d565b602082019050919050565b60006020820190508181036000830152612ce281612ca6565b9050919050565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b6000612d1f601c83611a99565b9150612d2a82612ce9565b602082019050919050565b60006020820190508181036000830152612d4e81612d12565b905091905056fe646174613a6170706c69636174696f6e2f6a736f6e3b6261736536342c65794a755957316c496a6f6957575668636d3467526d46746157783549464276636e527959576c30496977695a47567a59334a7063485270623234694f694a336158526f49477876646d556750444d7a49697769615731685a3255694f694a6f64485277637a6f764c3264686447563359586b756158426d637935706279397063475a7a4c3146745746424c4e4668704d314a61553274756356564b593259314f576c35524867315930463463576c6a4f574e364f444e5757464d334f4746336446496966513d3da26469706673582212201fa6ca284041ccea8ac5b4c201e5a395913f70cf6409916f8bbbd575a551e2ec64736f6c634300080b0033
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.