ERC-721
Overview
Max Total Supply
36 NFT
Holders
14
Total Transfers
-
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Source Code Verified (Exact Match)
Contract Name:
MembersNFT
Compiler Version
v0.8.12+commit.f00d7308
Optimization Enabled:
No with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
//Contract based on https://docs.openzeppelin.com/contracts/3.x/erc721 // SPDX-License-Identifier: MIT pragma solidity ^0.8.12; import "@openzeppelin/contracts/utils/Counters.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/utils/math/SafeMath.sol"; import "@openzeppelin/contracts/utils/Base64.sol"; import "@openzeppelin/contracts/utils/Strings.sol"; import "@openzeppelin/contracts/token/ERC721/extensions/ERC721URIStorage.sol"; import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol"; contract MembersNFT is ERC721, ERC721URIStorage, ERC721Enumerable, Ownable { using Counters for Counters.Counter; using SafeMath for uint256; using Strings for uint256; Counters.Counter private _tokenIds; uint256 mintingPrice = 1000000000000000000; // 1.0 ETH in wei string private imageURI = 'ipfs://bafybeieysjbf7dyfrxsw4lczkplitwds7afplqtitbklrxucibbskqom4m'; string private videoURI = 'ipfs://bafybeicumpdwme3i6rxlgbgkd4umpt7kgbprv5ipdgiddog2gcjfa3cndm'; string private tokenDesc = 'Welcome to Members. A one-of-a-kind experience fusing music, entertainment, fine cuisine, and wellness. This membership gives you access to exclusive benefits and surprises. Expect the unexpected! More infos at www.members.love/membership'; event tokenMintedEvent(address receiver, uint256 tokenId, uint256 maxSupply); constructor() public ERC721("The Membership by Members", "NFT") {} function mintNFT(address recipient) public payable returns (uint256) { require(msg.value >= mintingPrice || msg.sender == owner(), "Not enough ETH sent!"); _tokenIds.increment(); uint256 newItemId = _tokenIds.current(); _mint(recipient, newItemId); _setTokenURI(newItemId, _buildTokenURI(newItemId)); payable(owner()).transfer(msg.value); emit tokenMintedEvent(recipient, newItemId, 0); return newItemId; } function setTokenURI(uint256 tokenId, string calldata newURI) public onlyOwner { _setTokenURI(tokenId, newURI); } function setMintingPrice(uint256 newPrice) public onlyOwner { mintingPrice = newPrice; } function setInitDesc(string calldata newDesc) public onlyOwner { tokenDesc = newDesc; } function setInitImage(string calldata newImageURI) public onlyOwner { imageURI = newImageURI; } function setInitVideo(string calldata newVideoURI) public onlyOwner { videoURI = newVideoURI; } function burn(uint256 tokenId) public onlyOwner { _burn(tokenId); } function getFormattedId(uint256 tokenId) internal returns (string memory) { string memory formatted = tokenId.toString(); if (bytes(formatted).length < 10) { formatted = string.concat('00', formatted); } else if (bytes(formatted).length < 100) { formatted = string.concat('0', formatted); } return formatted; } function _buildTokenURI(uint256 tokenId) internal returns (string memory) { bytes memory dataURI = abi.encodePacked( '{', '"name":"Member ', getFormattedId(tokenId), '",', '"description":"', tokenDesc, '",' '"image":"', imageURI, '",', '"animation_url":"', videoURI, '"' '}' ); return string( abi.encodePacked( "data:application/json;base64,", Base64.encode(dataURI) ) ); } // The following functions are overrides required by Solidity. function _beforeTokenTransfer(address from, address to, uint256 tokenId) internal override(ERC721, ERC721Enumerable) { super._beforeTokenTransfer(from, to, tokenId); } function _burn(uint256 tokenId) internal override(ERC721, ERC721URIStorage) { super._burn(tokenId); } function tokenURI(uint256 tokenId) public view override(ERC721, ERC721URIStorage) returns (string memory) { return super.tokenURI(tokenId); } function supportsInterface(bytes4 interfaceId) public view override(ERC721, ERC721Enumerable) returns (bool) { return super.supportsInterface(interfaceId); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/ERC721Enumerable.sol) pragma solidity ^0.8.0; import "../ERC721.sol"; import "./IERC721Enumerable.sol"; /** * @dev This implements an optional extension of {ERC721} defined in the EIP that adds * enumerability of all the token ids in the contract as well as all token ids owned by each * account. */ abstract contract ERC721Enumerable is ERC721, IERC721Enumerable { // Mapping from owner to list of owned token IDs mapping(address => mapping(uint256 => uint256)) private _ownedTokens; // Mapping from token ID to index of the owner tokens list mapping(uint256 => uint256) private _ownedTokensIndex; // Array with all token ids, used for enumeration uint256[] private _allTokens; // Mapping from token id to position in the allTokens array mapping(uint256 => uint256) private _allTokensIndex; /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(IERC165, ERC721) returns (bool) { return interfaceId == type(IERC721Enumerable).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC721Enumerable-tokenOfOwnerByIndex}. */ function tokenOfOwnerByIndex(address owner, uint256 index) public view virtual override returns (uint256) { require(index < ERC721.balanceOf(owner), "ERC721Enumerable: owner index out of bounds"); return _ownedTokens[owner][index]; } /** * @dev See {IERC721Enumerable-totalSupply}. */ function totalSupply() public view virtual override returns (uint256) { return _allTokens.length; } /** * @dev See {IERC721Enumerable-tokenByIndex}. */ function tokenByIndex(uint256 index) public view virtual override returns (uint256) { require(index < ERC721Enumerable.totalSupply(), "ERC721Enumerable: global index out of bounds"); return _allTokens[index]; } /** * @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` cannot be the zero address. * - `to` cannot be the zero address. * * 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 override { super._beforeTokenTransfer(from, to, tokenId); if (from == address(0)) { _addTokenToAllTokensEnumeration(tokenId); } else if (from != to) { _removeTokenFromOwnerEnumeration(from, tokenId); } if (to == address(0)) { _removeTokenFromAllTokensEnumeration(tokenId); } else if (to != from) { _addTokenToOwnerEnumeration(to, tokenId); } } /** * @dev Private function to add a token to this extension's ownership-tracking data structures. * @param to address representing the new owner of the given token ID * @param tokenId uint256 ID of the token to be added to the tokens list of the given address */ function _addTokenToOwnerEnumeration(address to, uint256 tokenId) private { uint256 length = ERC721.balanceOf(to); _ownedTokens[to][length] = tokenId; _ownedTokensIndex[tokenId] = length; } /** * @dev Private function to add a token to this extension's token tracking data structures. * @param tokenId uint256 ID of the token to be added to the tokens list */ function _addTokenToAllTokensEnumeration(uint256 tokenId) private { _allTokensIndex[tokenId] = _allTokens.length; _allTokens.push(tokenId); } /** * @dev Private function to remove a token from this extension's ownership-tracking data structures. Note that * while the token is not assigned a new owner, the `_ownedTokensIndex` mapping is _not_ updated: this allows for * gas optimizations e.g. when performing a transfer operation (avoiding double writes). * This has O(1) time complexity, but alters the order of the _ownedTokens array. * @param from address representing the previous owner of the given token ID * @param tokenId uint256 ID of the token to be removed from the tokens list of the given address */ function _removeTokenFromOwnerEnumeration(address from, uint256 tokenId) private { // To prevent a gap in from's tokens array, we store the last token in the index of the token to delete, and // then delete the last slot (swap and pop). uint256 lastTokenIndex = ERC721.balanceOf(from) - 1; uint256 tokenIndex = _ownedTokensIndex[tokenId]; // When the token to delete is the last token, the swap operation is unnecessary if (tokenIndex != lastTokenIndex) { uint256 lastTokenId = _ownedTokens[from][lastTokenIndex]; _ownedTokens[from][tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token _ownedTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index } // This also deletes the contents at the last position of the array delete _ownedTokensIndex[tokenId]; delete _ownedTokens[from][lastTokenIndex]; } /** * @dev Private function to remove a token from this extension's token tracking data structures. * This has O(1) time complexity, but alters the order of the _allTokens array. * @param tokenId uint256 ID of the token to be removed from the tokens list */ function _removeTokenFromAllTokensEnumeration(uint256 tokenId) private { // To prevent a gap in the tokens array, we store the last token in the index of the token to delete, and // then delete the last slot (swap and pop). uint256 lastTokenIndex = _allTokens.length - 1; uint256 tokenIndex = _allTokensIndex[tokenId]; // When the token to delete is the last token, the swap operation is unnecessary. However, since this occurs so // rarely (when the last minted token is burnt) that we still do the swap here to avoid the gas cost of adding // an 'if' statement (like in _removeTokenFromOwnerEnumeration) uint256 lastTokenId = _allTokens[lastTokenIndex]; _allTokens[tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token _allTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index // This also deletes the contents at the last position of the array delete _allTokensIndex[tokenId]; _allTokens.pop(); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.0) (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) { _requireMinted(tokenId); 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 See {ERC721-_burn}. This override additionally checks to see if a * token-specific URI was set for the token, and if so, it deletes the token URI from * the storage mapping. */ 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 (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); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.0) (utils/Base64.sol) pragma solidity ^0.8.0; /** * @dev Provides a set of functions to operate with Base64 strings. * * _Available since v4.5._ */ library Base64 { /** * @dev Base64 Encoding/Decoding Table */ string internal constant _TABLE = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"; /** * @dev Converts a `bytes` to its Bytes64 `string` representation. */ function encode(bytes memory data) internal pure returns (string memory) { /** * Inspired by Brecht Devos (Brechtpd) implementation - MIT licence * https://github.com/Brechtpd/base64/blob/e78d9fd951e7b0977ddca77d92dc85183770daf4/base64.sol */ if (data.length == 0) return ""; // Loads the table into memory string memory table = _TABLE; // Encoding takes 3 bytes chunks of binary data from `bytes` data parameter // and split into 4 numbers of 6 bits. // The final Base64 length should be `bytes` data length multiplied by 4/3 rounded up // - `data.length + 2` -> Round up // - `/ 3` -> Number of 3-bytes chunks // - `4 *` -> 4 characters for each chunk string memory result = new string(4 * ((data.length + 2) / 3)); /// @solidity memory-safe-assembly assembly { // Prepare the lookup table (skip the first "length" byte) let tablePtr := add(table, 1) // Prepare result pointer, jump over length let resultPtr := add(result, 32) // Run over the input, 3 bytes at a time for { let dataPtr := data let endPtr := add(data, mload(data)) } lt(dataPtr, endPtr) { } { // Advance 3 bytes dataPtr := add(dataPtr, 3) let input := mload(dataPtr) // To write each character, shift the 3 bytes (18 bits) chunk // 4 times in blocks of 6 bits for each character (18, 12, 6, 0) // and apply logical AND with 0x3F which is the number of // the previous character in the ASCII table prior to the Base64 Table // The result is then added to the table to get the character to write, // and finally write it in the result pointer but with a left shift // of 256 (1 byte) - 8 (1 ASCII char) = 248 bits mstore8(resultPtr, mload(add(tablePtr, and(shr(18, input), 0x3F)))) resultPtr := add(resultPtr, 1) // Advance mstore8(resultPtr, mload(add(tablePtr, and(shr(12, input), 0x3F)))) resultPtr := add(resultPtr, 1) // Advance mstore8(resultPtr, mload(add(tablePtr, and(shr(6, input), 0x3F)))) resultPtr := add(resultPtr, 1) // Advance mstore8(resultPtr, mload(add(tablePtr, and(input, 0x3F)))) resultPtr := add(resultPtr, 1) // Advance } // When data `bytes` is not exactly 3 bytes long // it is padded with `=` characters at the end switch mod(mload(data), 3) case 1 { mstore8(sub(resultPtr, 1), 0x3d) mstore8(sub(resultPtr, 2), 0x3d) } case 2 { mstore8(sub(resultPtr, 1), 0x3d) } } return result; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.6.0) (utils/math/SafeMath.sol) pragma solidity ^0.8.0; // CAUTION // This version of SafeMath should only be used with Solidity 0.8 or later, // because it relies on the compiler's built in overflow checks. /** * @dev Wrappers over Solidity's arithmetic operations. * * NOTE: `SafeMath` is generally not needed starting with Solidity 0.8, since the compiler * now has built in overflow checking. */ library SafeMath { /** * @dev Returns the addition of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { uint256 c = a + b; if (c < a) return (false, 0); return (true, c); } } /** * @dev Returns the subtraction of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b > a) return (false, 0); return (true, a - b); } } /** * @dev Returns the multiplication of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { // Gas optimization: this is cheaper than requiring 'a' not being zero, but the // benefit is lost if 'b' is also tested. // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522 if (a == 0) return (true, 0); uint256 c = a * b; if (c / a != b) return (false, 0); return (true, c); } } /** * @dev Returns the division of two unsigned integers, with a division by zero flag. * * _Available since v3.4._ */ function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b == 0) return (false, 0); return (true, a / b); } } /** * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag. * * _Available since v3.4._ */ function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b == 0) return (false, 0); return (true, a % b); } } /** * @dev Returns the addition of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `+` operator. * * Requirements: * * - Addition cannot overflow. */ function add(uint256 a, uint256 b) internal pure returns (uint256) { return a + b; } /** * @dev Returns the subtraction of two unsigned integers, reverting on * overflow (when the result is negative). * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub(uint256 a, uint256 b) internal pure returns (uint256) { return a - b; } /** * @dev Returns the multiplication of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `*` operator. * * Requirements: * * - Multiplication cannot overflow. */ function mul(uint256 a, uint256 b) internal pure returns (uint256) { return a * b; } /** * @dev Returns the integer division of two unsigned integers, reverting on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. * * Requirements: * * - The divisor cannot be zero. */ function div(uint256 a, uint256 b) internal pure returns (uint256) { return a / b; } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * reverting when dividing by zero. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod(uint256 a, uint256 b) internal pure returns (uint256) { return a % b; } /** * @dev Returns the subtraction of two unsigned integers, reverting with custom message on * overflow (when the result is negative). * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {trySub}. * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { unchecked { require(b <= a, errorMessage); return a - b; } } /** * @dev Returns the integer division of two unsigned integers, reverting with custom message on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. Note: this function uses a * `revert` opcode (which leaves remaining gas untouched) while Solidity * uses an invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function div( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { unchecked { require(b > 0, errorMessage); return a / b; } } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * reverting with custom message when dividing by zero. * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {tryMod}. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { unchecked { require(b > 0, errorMessage); return a % b; } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.0) (access/Ownable.sol) pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @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); } }
// 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 (last updated v4.7.0) (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: 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 {} }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.5.0) (token/ERC721/extensions/IERC721Enumerable.sol) pragma solidity ^0.8.0; import "../IERC721.sol"; /** * @title ERC-721 Non-Fungible Token Standard, optional enumeration extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Enumerable is IERC721 { /** * @dev Returns the total amount of tokens stored by the contract. */ function totalSupply() external view returns (uint256); /** * @dev Returns a token ID owned by `owner` at a given `index` of its token list. * Use along with {balanceOf} to enumerate all of ``owner``'s tokens. */ function tokenOfOwnerByIndex(address owner, uint256 index) external view returns (uint256); /** * @dev Returns a token ID at a given `index` of all the tokens stored by the contract. * Use along with {totalSupply} to enumerate all tokens. */ function tokenByIndex(uint256 index) external view returns (uint256); }
// 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 (last updated v4.7.0) (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`. * * 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); }
// 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 (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); } } } }
// 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 (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); }
// 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":"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"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"receiver","type":"address"},{"indexed":false,"internalType":"uint256","name":"tokenId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"maxSupply","type":"uint256"}],"name":"tokenMintedEvent","type":"event"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"burn","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":[{"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":[{"internalType":"address","name":"recipient","type":"address"}],"name":"mintNFT","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"newDesc","type":"string"}],"name":"setInitDesc","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"newImageURI","type":"string"}],"name":"setInitImage","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"newVideoURI","type":"string"}],"name":"setInitVideo","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newPrice","type":"uint256"}],"name":"setMintingPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"string","name":"newURI","type":"string"}],"name":"setTokenURI","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":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
6080604052670de0b6b3a7640000600d55604051806080016040528060428152602001620046c560429139600e90805190602001906200004192919062000249565b506040518060800160405280604281526020016200470760429139600f90805190602001906200007392919062000249565b5060405180610120016040528060ee8152602001620045d760ee913960109080519060200190620000a692919062000249565b50348015620000b457600080fd5b506040518060400160405280601981526020017f546865204d656d62657273686970206279204d656d62657273000000000000008152506040518060400160405280600381526020017f4e4654000000000000000000000000000000000000000000000000000000000081525081600090805190602001906200013992919062000249565b5080600190805190602001906200015292919062000249565b50505062000175620001696200017b60201b60201c565b6200018360201b60201c565b6200035e565b600033905090565b6000600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600b60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b828054620002579062000328565b90600052602060002090601f0160209004810192826200027b5760008555620002c7565b82601f106200029657805160ff1916838001178555620002c7565b82800160010185558215620002c7579182015b82811115620002c6578251825591602001919060010190620002a9565b5b509050620002d69190620002da565b5090565b5b80821115620002f5576000816000905550600101620002db565b5090565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806200034157607f821691505b60208210811415620003585762000357620002f9565b5b50919050565b614269806200036e6000396000f3fe6080604052600436106101815760003560e01c80634f6ccce7116100d15780638da5cb5b1161008a578063b88d4fde11610064578063b88d4fde14610581578063c87b56dd146105aa578063e985e9c5146105e7578063f2fde38b1461062457610181565b80638da5cb5b1461050257806395d89b411461052d578063a22cb4651461055857610181565b80634f6ccce7146103db57806354ba0f27146104185780636352211e1461044857806370a0823114610485578063715018a6146104c25780638417b47f146104d957610181565b8063162094c41161013e5780632643e252116101185780632643e252146103235780632f745c591461034c57806342842e0e1461038957806342966c68146103b257610181565b8063162094c4146102a657806318160ddd146102cf57806323b872dd146102fa57610181565b806301ffc9a7146101865780630424be5b146101c357806306fdde03146101ec57806307c3e3d514610217578063081812fc14610240578063095ea7b31461027d575b600080fd5b34801561019257600080fd5b506101ad60048036038101906101a89190612a12565b61064d565b6040516101ba9190612a5a565b60405180910390f35b3480156101cf57600080fd5b506101ea60048036038101906101e59190612ada565b61065f565b005b3480156101f857600080fd5b5061020161067d565b60405161020e9190612bc0565b60405180910390f35b34801561022357600080fd5b5061023e60048036038101906102399190612ada565b61070f565b005b34801561024c57600080fd5b5061026760048036038101906102629190612c18565b61072d565b6040516102749190612c86565b60405180910390f35b34801561028957600080fd5b506102a4600480360381019061029f9190612ccd565b610773565b005b3480156102b257600080fd5b506102cd60048036038101906102c89190612d0d565b61088b565b005b3480156102db57600080fd5b506102e46108e6565b6040516102f19190612d7c565b60405180910390f35b34801561030657600080fd5b50610321600480360381019061031c9190612d97565b6108f3565b005b34801561032f57600080fd5b5061034a60048036038101906103459190612ada565b610953565b005b34801561035857600080fd5b50610373600480360381019061036e9190612ccd565b610971565b6040516103809190612d7c565b60405180910390f35b34801561039557600080fd5b506103b060048036038101906103ab9190612d97565b610a16565b005b3480156103be57600080fd5b506103d960048036038101906103d49190612c18565b610a36565b005b3480156103e757600080fd5b5061040260048036038101906103fd9190612c18565b610a4a565b60405161040f9190612d7c565b60405180910390f35b610432600480360381019061042d9190612dea565b610abb565b60405161043f9190612d7c565b60405180910390f35b34801561045457600080fd5b5061046f600480360381019061046a9190612c18565b610c06565b60405161047c9190612c86565b60405180910390f35b34801561049157600080fd5b506104ac60048036038101906104a79190612dea565b610cb8565b6040516104b99190612d7c565b60405180910390f35b3480156104ce57600080fd5b506104d7610d70565b005b3480156104e557600080fd5b5061050060048036038101906104fb9190612c18565b610d84565b005b34801561050e57600080fd5b50610517610d96565b6040516105249190612c86565b60405180910390f35b34801561053957600080fd5b50610542610dc0565b60405161054f9190612bc0565b60405180910390f35b34801561056457600080fd5b5061057f600480360381019061057a9190612e43565b610e52565b005b34801561058d57600080fd5b506105a860048036038101906105a39190612fb3565b610e68565b005b3480156105b657600080fd5b506105d160048036038101906105cc9190612c18565b610eca565b6040516105de9190612bc0565b60405180910390f35b3480156105f357600080fd5b5061060e60048036038101906106099190613036565b610edc565b60405161061b9190612a5a565b60405180910390f35b34801561063057600080fd5b5061064b60048036038101906106469190612dea565b610f70565b005b600061065882610ff4565b9050919050565b61066761106e565b8181600f919061067892919061283d565b505050565b60606000805461068c906130a5565b80601f01602080910402602001604051908101604052809291908181526020018280546106b8906130a5565b80156107055780601f106106da57610100808354040283529160200191610705565b820191906000526020600020905b8154815290600101906020018083116106e857829003601f168201915b5050505050905090565b61071761106e565b81816010919061072892919061283d565b505050565b6000610738826110ec565b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b600061077e82610c06565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156107ef576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107e690613149565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff1661080e611137565b73ffffffffffffffffffffffffffffffffffffffff16148061083d575061083c81610837611137565b610edc565b5b61087c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610873906131db565b60405180910390fd5b610886838361113f565b505050565b61089361106e565b6108e18383838080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f820116905080830192505050505050506111f8565b505050565b6000600980549050905090565b6109046108fe611137565b8261126c565b610943576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161093a9061326d565b60405180910390fd5b61094e838383611301565b505050565b61095b61106e565b8181600e919061096c92919061283d565b505050565b600061097c83610cb8565b82106109bd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109b4906132ff565b60405180910390fd5b600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b610a3183838360405180602001604052806000815250610e68565b505050565b610a3e61106e565b610a4781611568565b50565b6000610a546108e6565b8210610a95576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a8c90613391565b60405180910390fd5b60098281548110610aa957610aa86133b1565b5b90600052602060002001549050919050565b6000600d5434101580610b005750610ad1610d96565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16145b610b3f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b369061342c565b60405180910390fd5b610b49600c611574565b6000610b55600c61158a565b9050610b618382611598565b610b7381610b6e83611772565b6111f8565b610b7b610d96565b73ffffffffffffffffffffffffffffffffffffffff166108fc349081150290604051600060405180830381858888f19350505050158015610bc0573d6000803e3d6000fd5b507f8c80c9d42ab2657e9f978e8b0e898aa41236e027d3637e007deedfd27b0be24c83826000604051610bf593929190613491565b60405180910390a180915050919050565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415610caf576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ca690613514565b60405180910390fd5b80915050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415610d29576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d20906135a6565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b610d7861106e565b610d8260006117d9565b565b610d8c61106e565b80600d8190555050565b6000600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b606060018054610dcf906130a5565b80601f0160208091040260200160405190810160405280929190818152602001828054610dfb906130a5565b8015610e485780601f10610e1d57610100808354040283529160200191610e48565b820191906000526020600020905b815481529060010190602001808311610e2b57829003601f168201915b5050505050905090565b610e64610e5d611137565b838361189f565b5050565b610e79610e73611137565b8361126c565b610eb8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610eaf9061326d565b60405180910390fd5b610ec484848484611a0c565b50505050565b6060610ed582611a68565b9050919050565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b610f7861106e565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415610fe8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fdf90613638565b60405180910390fd5b610ff1816117d9565b50565b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480611067575061106682611b7b565b5b9050919050565b611076611137565b73ffffffffffffffffffffffffffffffffffffffff16611094610d96565b73ffffffffffffffffffffffffffffffffffffffff16146110ea576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110e1906136a4565b60405180910390fd5b565b6110f581611c5d565b611134576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161112b90613514565b60405180910390fd5b50565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff166111b283610c06565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b61120182611c5d565b611240576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161123790613736565b60405180910390fd5b806006600084815260200190815260200160002090805190602001906112679291906128c3565b505050565b60008061127883610c06565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614806112ba57506112b98185610edc565b5b806112f857508373ffffffffffffffffffffffffffffffffffffffff166112e08461072d565b73ffffffffffffffffffffffffffffffffffffffff16145b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff1661132182610c06565b73ffffffffffffffffffffffffffffffffffffffff1614611377576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161136e906137c8565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156113e7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113de9061385a565b60405180910390fd5b6113f2838383611cc9565b6113fd60008261113f565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461144d91906138a9565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546114a491906138dd565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4611563838383611cd9565b505050565b61157181611cde565b50565b6001816000016000828254019250508190555050565b600081600001549050919050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611608576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115ff9061397f565b60405180910390fd5b61161181611c5d565b15611651576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611648906139eb565b60405180910390fd5b61165d60008383611cc9565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546116ad91906138dd565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a461176e60008383611cd9565b5050565b6060600061177f83611d31565b6010600e600f6040516020016117989493929190613cef565b60405160208183030381529060405290506117b281611da8565b6040516020016117c29190613dd1565b604051602081830303815290604052915050919050565b6000600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600b60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141561190e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161190590613e3f565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516119ff9190612a5a565b60405180910390a3505050565b611a17848484611301565b611a2384848484611f0c565b611a62576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a5990613ed1565b60405180910390fd5b50505050565b6060611a73826110ec565b6000600660008481526020019081526020016000208054611a93906130a5565b80601f0160208091040260200160405190810160405280929190818152602001828054611abf906130a5565b8015611b0c5780601f10611ae157610100808354040283529160200191611b0c565b820191906000526020600020905b815481529060010190602001808311611aef57829003601f168201915b505050505090506000611b1d612094565b9050600081511415611b33578192505050611b76565b600082511115611b68578082604051602001611b50929190613ef1565b60405160208183030381529060405292505050611b76565b611b71846120ab565b925050505b919050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480611c4657507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80611c565750611c5582612113565b5b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b611cd483838361217d565b505050565b505050565b611ce781612291565b6000600660008381526020019081526020016000208054611d07906130a5565b905014611d2e57600660008281526020019081526020016000206000611d2d9190612949565b5b50565b60606000611d3e836123ae565b9050600a81511015611d715780604051602001611d5b9190613f3b565b6040516020818303038152906040529050611d9f565b606481511015611d9e5780604051602001611d8c9190613f87565b60405160208183030381529060405290505b5b80915050919050565b6060600082511415611dcb57604051806020016040528060008152509050611f07565b60006040518060600160405280604081526020016141f46040913990506000600360028551611dfa91906138dd565b611e049190613fdc565b6004611e10919061400d565b67ffffffffffffffff811115611e2957611e28612e88565b5b6040519080825280601f01601f191660200182016040528015611e5b5781602001600182028036833780820191505090505b509050600182016020820185865187015b80821015611ec7576003820191508151603f8160121c168501518453600184019350603f81600c1c168501518453600184019350603f8160061c168501518453600184019350603f8116850151845360018401935050611e6c565b5050600386510660018114611ee35760028114611ef657611efe565b603d6001830353603d6002830353611efe565b603d60018303535b50505080925050505b919050565b6000611f2d8473ffffffffffffffffffffffffffffffffffffffff1661250f565b15612087578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02611f56611137565b8786866040518563ffffffff1660e01b8152600401611f7894939291906140bc565b6020604051808303816000875af1925050508015611fb457506040513d601f19601f82011682018060405250810190611fb1919061411d565b60015b612037573d8060008114611fe4576040519150601f19603f3d011682016040523d82523d6000602084013e611fe9565b606091505b5060008151141561202f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161202690613ed1565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161491505061208c565b600190505b949350505050565b606060405180602001604052806000815250905090565b60606120b6826110ec565b60006120c0612094565b905060008151116120e0576040518060200160405280600081525061210b565b806120ea846123ae565b6040516020016120fb929190613ef1565b6040516020818303038152906040525b915050919050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b612188838383612532565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156121cb576121c681612537565b61220a565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614612209576122088382612580565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561224d57612248816126ed565b61228c565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161461228b5761228a82826127be565b5b5b505050565b600061229c82610c06565b90506122aa81600084611cc9565b6122b560008361113f565b6001600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461230591906138a9565b925050819055506002600083815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff021916905581600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46123aa81600084611cd9565b5050565b606060008214156123f6576040518060400160405280600181526020017f3000000000000000000000000000000000000000000000000000000000000000815250905061250a565b600082905060005b600082146124285780806124119061414a565b915050600a826124219190613fdc565b91506123fe565b60008167ffffffffffffffff81111561244457612443612e88565b5b6040519080825280601f01601f1916602001820160405280156124765781602001600182028036833780820191505090505b5090505b600085146125035760018261248f91906138a9565b9150600a8561249e9190614193565b60306124aa91906138dd565b60f81b8183815181106124c0576124bf6133b1565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856124fc9190613fdc565b945061247a565b8093505050505b919050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b505050565b600980549050600a600083815260200190815260200160002081905550600981908060018154018082558091505060019003906000526020600020016000909190919091505550565b6000600161258d84610cb8565b61259791906138a9565b905060006008600084815260200190815260200160002054905081811461267c576000600760008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600760008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816008600083815260200190815260200160002081905550505b6008600084815260200190815260200160002060009055600760008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b6000600160098054905061270191906138a9565b90506000600a6000848152602001908152602001600020549050600060098381548110612731576127306133b1565b5b906000526020600020015490508060098381548110612753576127526133b1565b5b906000526020600020018190555081600a600083815260200190815260200160002081905550600a60008581526020019081526020016000206000905560098054806127a2576127a16141c4565b5b6001900381819060005260206000200160009055905550505050565b60006127c983610cb8565b905081600760008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806008600084815260200190815260200160002081905550505050565b828054612849906130a5565b90600052602060002090601f01602090048101928261286b57600085556128b2565b82601f1061288457803560ff19168380011785556128b2565b828001600101855582156128b2579182015b828111156128b1578235825591602001919060010190612896565b5b5090506128bf9190612989565b5090565b8280546128cf906130a5565b90600052602060002090601f0160209004810192826128f15760008555612938565b82601f1061290a57805160ff1916838001178555612938565b82800160010185558215612938579182015b8281111561293757825182559160200191906001019061291c565b5b5090506129459190612989565b5090565b508054612955906130a5565b6000825580601f106129675750612986565b601f0160209004906000526020600020908101906129859190612989565b5b50565b5b808211156129a257600081600090555060010161298a565b5090565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b6129ef816129ba565b81146129fa57600080fd5b50565b600081359050612a0c816129e6565b92915050565b600060208284031215612a2857612a276129b0565b5b6000612a36848285016129fd565b91505092915050565b60008115159050919050565b612a5481612a3f565b82525050565b6000602082019050612a6f6000830184612a4b565b92915050565b600080fd5b600080fd5b600080fd5b60008083601f840112612a9a57612a99612a75565b5b8235905067ffffffffffffffff811115612ab757612ab6612a7a565b5b602083019150836001820283011115612ad357612ad2612a7f565b5b9250929050565b60008060208385031215612af157612af06129b0565b5b600083013567ffffffffffffffff811115612b0f57612b0e6129b5565b5b612b1b85828601612a84565b92509250509250929050565b600081519050919050565b600082825260208201905092915050565b60005b83811015612b61578082015181840152602081019050612b46565b83811115612b70576000848401525b50505050565b6000601f19601f8301169050919050565b6000612b9282612b27565b612b9c8185612b32565b9350612bac818560208601612b43565b612bb581612b76565b840191505092915050565b60006020820190508181036000830152612bda8184612b87565b905092915050565b6000819050919050565b612bf581612be2565b8114612c0057600080fd5b50565b600081359050612c1281612bec565b92915050565b600060208284031215612c2e57612c2d6129b0565b5b6000612c3c84828501612c03565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000612c7082612c45565b9050919050565b612c8081612c65565b82525050565b6000602082019050612c9b6000830184612c77565b92915050565b612caa81612c65565b8114612cb557600080fd5b50565b600081359050612cc781612ca1565b92915050565b60008060408385031215612ce457612ce36129b0565b5b6000612cf285828601612cb8565b9250506020612d0385828601612c03565b9150509250929050565b600080600060408486031215612d2657612d256129b0565b5b6000612d3486828701612c03565b935050602084013567ffffffffffffffff811115612d5557612d546129b5565b5b612d6186828701612a84565b92509250509250925092565b612d7681612be2565b82525050565b6000602082019050612d916000830184612d6d565b92915050565b600080600060608486031215612db057612daf6129b0565b5b6000612dbe86828701612cb8565b9350506020612dcf86828701612cb8565b9250506040612de086828701612c03565b9150509250925092565b600060208284031215612e0057612dff6129b0565b5b6000612e0e84828501612cb8565b91505092915050565b612e2081612a3f565b8114612e2b57600080fd5b50565b600081359050612e3d81612e17565b92915050565b60008060408385031215612e5a57612e596129b0565b5b6000612e6885828601612cb8565b9250506020612e7985828601612e2e565b9150509250929050565b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b612ec082612b76565b810181811067ffffffffffffffff82111715612edf57612ede612e88565b5b80604052505050565b6000612ef26129a6565b9050612efe8282612eb7565b919050565b600067ffffffffffffffff821115612f1e57612f1d612e88565b5b612f2782612b76565b9050602081019050919050565b82818337600083830152505050565b6000612f56612f5184612f03565b612ee8565b905082815260208101848484011115612f7257612f71612e83565b5b612f7d848285612f34565b509392505050565b600082601f830112612f9a57612f99612a75565b5b8135612faa848260208601612f43565b91505092915050565b60008060008060808587031215612fcd57612fcc6129b0565b5b6000612fdb87828801612cb8565b9450506020612fec87828801612cb8565b9350506040612ffd87828801612c03565b925050606085013567ffffffffffffffff81111561301e5761301d6129b5565b5b61302a87828801612f85565b91505092959194509250565b6000806040838503121561304d5761304c6129b0565b5b600061305b85828601612cb8565b925050602061306c85828601612cb8565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806130bd57607f821691505b602082108114156130d1576130d0613076565b5b50919050565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b6000613133602183612b32565b915061313e826130d7565b604082019050919050565b6000602082019050818103600083015261316281613126565b9050919050565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f7420746f60008201527f6b656e206f776e6572206e6f7220617070726f76656420666f7220616c6c0000602082015250565b60006131c5603e83612b32565b91506131d082613169565b604082019050919050565b600060208201905081810360008301526131f4816131b8565b9050919050565b7f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6560008201527f72206e6f7220617070726f766564000000000000000000000000000000000000602082015250565b6000613257602e83612b32565b9150613262826131fb565b604082019050919050565b600060208201905081810360008301526132868161324a565b9050919050565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b60006132e9602b83612b32565b91506132f48261328d565b604082019050919050565b60006020820190508181036000830152613318816132dc565b9050919050565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b600061337b602c83612b32565b91506133868261331f565b604082019050919050565b600060208201905081810360008301526133aa8161336e565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e6f7420656e6f756768204554482073656e7421000000000000000000000000600082015250565b6000613416601483612b32565b9150613421826133e0565b602082019050919050565b6000602082019050818103600083015261344581613409565b9050919050565b6000819050919050565b6000819050919050565b600061347b6134766134718461344c565b613456565b612be2565b9050919050565b61348b81613460565b82525050565b60006060820190506134a66000830186612c77565b6134b36020830185612d6d565b6134c06040830184613482565b949350505050565b7f4552433732313a20696e76616c696420746f6b656e2049440000000000000000600082015250565b60006134fe601883612b32565b9150613509826134c8565b602082019050919050565b6000602082019050818103600083015261352d816134f1565b9050919050565b7f4552433732313a2061646472657373207a65726f206973206e6f74206120766160008201527f6c6964206f776e65720000000000000000000000000000000000000000000000602082015250565b6000613590602983612b32565b915061359b82613534565b604082019050919050565b600060208201905081810360008301526135bf81613583565b9050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000613622602683612b32565b915061362d826135c6565b604082019050919050565b6000602082019050818103600083015261365181613615565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b600061368e602083612b32565b915061369982613658565b602082019050919050565b600060208201905081810360008301526136bd81613681565b9050919050565b7f45524337323155524953746f726167653a2055524920736574206f66206e6f6e60008201527f6578697374656e7420746f6b656e000000000000000000000000000000000000602082015250565b6000613720602e83612b32565b915061372b826136c4565b604082019050919050565b6000602082019050818103600083015261374f81613713565b9050919050565b7f4552433732313a207472616e736665722066726f6d20696e636f72726563742060008201527f6f776e6572000000000000000000000000000000000000000000000000000000602082015250565b60006137b2602583612b32565b91506137bd82613756565b604082019050919050565b600060208201905081810360008301526137e1816137a5565b9050919050565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b6000613844602483612b32565b915061384f826137e8565b604082019050919050565b6000602082019050818103600083015261387381613837565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60006138b482612be2565b91506138bf83612be2565b9250828210156138d2576138d161387a565b5b828203905092915050565b60006138e882612be2565b91506138f383612be2565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156139285761392761387a565b5b828201905092915050565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b6000613969602083612b32565b915061397482613933565b602082019050919050565b600060208201905081810360008301526139988161395c565b9050919050565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b60006139d5601c83612b32565b91506139e08261399f565b602082019050919050565b60006020820190508181036000830152613a04816139c8565b9050919050565b600081905092915050565b7f7b00000000000000000000000000000000000000000000000000000000000000600082015250565b6000613a4c600183613a0b565b9150613a5782613a16565b600182019050919050565b7f226e616d65223a224d656d626572200000000000000000000000000000000000600082015250565b6000613a98600f83613a0b565b9150613aa382613a62565b600f82019050919050565b6000613ab982612b27565b613ac38185613a0b565b9350613ad3818560208601612b43565b80840191505092915050565b7f222c000000000000000000000000000000000000000000000000000000000000600082015250565b6000613b15600283613a0b565b9150613b2082613adf565b600282019050919050565b7f226465736372697074696f6e223a220000000000000000000000000000000000600082015250565b6000613b61600f83613a0b565b9150613b6c82613b2b565b600f82019050919050565b60008190508160005260206000209050919050565b60008154613b99816130a5565b613ba38186613a0b565b94506001821660008114613bbe5760018114613bcf57613c02565b60ff19831686528186019350613c02565b613bd885613b77565b60005b83811015613bfa57815481890152600182019150602081019050613bdb565b838801955050505b50505092915050565b7f222c22696d616765223a22000000000000000000000000000000000000000000600082015250565b6000613c41600b83613a0b565b9150613c4c82613c0b565b600b82019050919050565b7f22616e696d6174696f6e5f75726c223a22000000000000000000000000000000600082015250565b6000613c8d601183613a0b565b9150613c9882613c57565b601182019050919050565b7f227d000000000000000000000000000000000000000000000000000000000000600082015250565b6000613cd9600283613a0b565b9150613ce482613ca3565b600282019050919050565b6000613cfa82613a3f565b9150613d0582613a8b565b9150613d118287613aae565b9150613d1c82613b08565b9150613d2782613b54565b9150613d338286613b8c565b9150613d3e82613c34565b9150613d4a8285613b8c565b9150613d5582613b08565b9150613d6082613c80565b9150613d6c8284613b8c565b9150613d7782613ccc565b915081905095945050505050565b7f646174613a6170706c69636174696f6e2f6a736f6e3b6261736536342c000000600082015250565b6000613dbb601d83613a0b565b9150613dc682613d85565b601d82019050919050565b6000613ddc82613dae565b9150613de88284613aae565b915081905092915050565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b6000613e29601983612b32565b9150613e3482613df3565b602082019050919050565b60006020820190508181036000830152613e5881613e1c565b9050919050565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b6000613ebb603283612b32565b9150613ec682613e5f565b604082019050919050565b60006020820190508181036000830152613eea81613eae565b9050919050565b6000613efd8285613aae565b9150613f098284613aae565b91508190509392505050565b7f3030000000000000000000000000000000000000000000000000000000000000815250565b6000613f4682613f15565b600282019150613f568284613aae565b915081905092915050565b7f3000000000000000000000000000000000000000000000000000000000000000815250565b6000613f9282613f61565b600182019150613fa28284613aae565b915081905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b6000613fe782612be2565b9150613ff283612be2565b92508261400257614001613fad565b5b828204905092915050565b600061401882612be2565b915061402383612be2565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161561405c5761405b61387a565b5b828202905092915050565b600081519050919050565b600082825260208201905092915050565b600061408e82614067565b6140988185614072565b93506140a8818560208601612b43565b6140b181612b76565b840191505092915050565b60006080820190506140d16000830187612c77565b6140de6020830186612c77565b6140eb6040830185612d6d565b81810360608301526140fd8184614083565b905095945050505050565b600081519050614117816129e6565b92915050565b600060208284031215614133576141326129b0565b5b600061414184828501614108565b91505092915050565b600061415582612be2565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156141885761418761387a565b5b600182019050919050565b600061419e82612be2565b91506141a983612be2565b9250826141b9576141b8613fad565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fdfe4142434445464748494a4b4c4d4e4f505152535455565758595a6162636465666768696a6b6c6d6e6f707172737475767778797a303132333435363738392b2fa2646970667358221220edc8b5ea49bf0b098e521f99ceced6c973805cecd6e15e57166d9604220f02bf64736f6c634300080c003357656c636f6d6520746f204d656d626572732e2041206f6e652d6f662d612d6b696e6420657870657269656e636520667573696e67206d757369632c20656e7465727461696e6d656e742c2066696e652063756973696e652c20616e642077656c6c6e6573732e2054686973206d656d6265727368697020676976657320796f752061636365737320746f206578636c75736976652062656e656669747320616e64207375727072697365732e204578706563742074686520756e657870656374656421204d6f726520696e666f73206174207777772e6d656d626572732e6c6f76652f6d656d62657273686970697066733a2f2f626166796265696579736a62663764796672787377346c637a6b706c6974776473376166706c71746974626b6c72787563696262736b716f6d346d697066733a2f2f6261667962656963756d7064776d6533693672786c6762676b6434756d7074376b676270727635697064676964646f673267636a666133636e646d
Deployed Bytecode
0x6080604052600436106101815760003560e01c80634f6ccce7116100d15780638da5cb5b1161008a578063b88d4fde11610064578063b88d4fde14610581578063c87b56dd146105aa578063e985e9c5146105e7578063f2fde38b1461062457610181565b80638da5cb5b1461050257806395d89b411461052d578063a22cb4651461055857610181565b80634f6ccce7146103db57806354ba0f27146104185780636352211e1461044857806370a0823114610485578063715018a6146104c25780638417b47f146104d957610181565b8063162094c41161013e5780632643e252116101185780632643e252146103235780632f745c591461034c57806342842e0e1461038957806342966c68146103b257610181565b8063162094c4146102a657806318160ddd146102cf57806323b872dd146102fa57610181565b806301ffc9a7146101865780630424be5b146101c357806306fdde03146101ec57806307c3e3d514610217578063081812fc14610240578063095ea7b31461027d575b600080fd5b34801561019257600080fd5b506101ad60048036038101906101a89190612a12565b61064d565b6040516101ba9190612a5a565b60405180910390f35b3480156101cf57600080fd5b506101ea60048036038101906101e59190612ada565b61065f565b005b3480156101f857600080fd5b5061020161067d565b60405161020e9190612bc0565b60405180910390f35b34801561022357600080fd5b5061023e60048036038101906102399190612ada565b61070f565b005b34801561024c57600080fd5b5061026760048036038101906102629190612c18565b61072d565b6040516102749190612c86565b60405180910390f35b34801561028957600080fd5b506102a4600480360381019061029f9190612ccd565b610773565b005b3480156102b257600080fd5b506102cd60048036038101906102c89190612d0d565b61088b565b005b3480156102db57600080fd5b506102e46108e6565b6040516102f19190612d7c565b60405180910390f35b34801561030657600080fd5b50610321600480360381019061031c9190612d97565b6108f3565b005b34801561032f57600080fd5b5061034a60048036038101906103459190612ada565b610953565b005b34801561035857600080fd5b50610373600480360381019061036e9190612ccd565b610971565b6040516103809190612d7c565b60405180910390f35b34801561039557600080fd5b506103b060048036038101906103ab9190612d97565b610a16565b005b3480156103be57600080fd5b506103d960048036038101906103d49190612c18565b610a36565b005b3480156103e757600080fd5b5061040260048036038101906103fd9190612c18565b610a4a565b60405161040f9190612d7c565b60405180910390f35b610432600480360381019061042d9190612dea565b610abb565b60405161043f9190612d7c565b60405180910390f35b34801561045457600080fd5b5061046f600480360381019061046a9190612c18565b610c06565b60405161047c9190612c86565b60405180910390f35b34801561049157600080fd5b506104ac60048036038101906104a79190612dea565b610cb8565b6040516104b99190612d7c565b60405180910390f35b3480156104ce57600080fd5b506104d7610d70565b005b3480156104e557600080fd5b5061050060048036038101906104fb9190612c18565b610d84565b005b34801561050e57600080fd5b50610517610d96565b6040516105249190612c86565b60405180910390f35b34801561053957600080fd5b50610542610dc0565b60405161054f9190612bc0565b60405180910390f35b34801561056457600080fd5b5061057f600480360381019061057a9190612e43565b610e52565b005b34801561058d57600080fd5b506105a860048036038101906105a39190612fb3565b610e68565b005b3480156105b657600080fd5b506105d160048036038101906105cc9190612c18565b610eca565b6040516105de9190612bc0565b60405180910390f35b3480156105f357600080fd5b5061060e60048036038101906106099190613036565b610edc565b60405161061b9190612a5a565b60405180910390f35b34801561063057600080fd5b5061064b60048036038101906106469190612dea565b610f70565b005b600061065882610ff4565b9050919050565b61066761106e565b8181600f919061067892919061283d565b505050565b60606000805461068c906130a5565b80601f01602080910402602001604051908101604052809291908181526020018280546106b8906130a5565b80156107055780601f106106da57610100808354040283529160200191610705565b820191906000526020600020905b8154815290600101906020018083116106e857829003601f168201915b5050505050905090565b61071761106e565b81816010919061072892919061283d565b505050565b6000610738826110ec565b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b600061077e82610c06565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156107ef576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107e690613149565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff1661080e611137565b73ffffffffffffffffffffffffffffffffffffffff16148061083d575061083c81610837611137565b610edc565b5b61087c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610873906131db565b60405180910390fd5b610886838361113f565b505050565b61089361106e565b6108e18383838080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f820116905080830192505050505050506111f8565b505050565b6000600980549050905090565b6109046108fe611137565b8261126c565b610943576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161093a9061326d565b60405180910390fd5b61094e838383611301565b505050565b61095b61106e565b8181600e919061096c92919061283d565b505050565b600061097c83610cb8565b82106109bd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109b4906132ff565b60405180910390fd5b600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b610a3183838360405180602001604052806000815250610e68565b505050565b610a3e61106e565b610a4781611568565b50565b6000610a546108e6565b8210610a95576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a8c90613391565b60405180910390fd5b60098281548110610aa957610aa86133b1565b5b90600052602060002001549050919050565b6000600d5434101580610b005750610ad1610d96565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16145b610b3f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b369061342c565b60405180910390fd5b610b49600c611574565b6000610b55600c61158a565b9050610b618382611598565b610b7381610b6e83611772565b6111f8565b610b7b610d96565b73ffffffffffffffffffffffffffffffffffffffff166108fc349081150290604051600060405180830381858888f19350505050158015610bc0573d6000803e3d6000fd5b507f8c80c9d42ab2657e9f978e8b0e898aa41236e027d3637e007deedfd27b0be24c83826000604051610bf593929190613491565b60405180910390a180915050919050565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415610caf576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ca690613514565b60405180910390fd5b80915050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415610d29576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d20906135a6565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b610d7861106e565b610d8260006117d9565b565b610d8c61106e565b80600d8190555050565b6000600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b606060018054610dcf906130a5565b80601f0160208091040260200160405190810160405280929190818152602001828054610dfb906130a5565b8015610e485780601f10610e1d57610100808354040283529160200191610e48565b820191906000526020600020905b815481529060010190602001808311610e2b57829003601f168201915b5050505050905090565b610e64610e5d611137565b838361189f565b5050565b610e79610e73611137565b8361126c565b610eb8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610eaf9061326d565b60405180910390fd5b610ec484848484611a0c565b50505050565b6060610ed582611a68565b9050919050565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b610f7861106e565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415610fe8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fdf90613638565b60405180910390fd5b610ff1816117d9565b50565b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480611067575061106682611b7b565b5b9050919050565b611076611137565b73ffffffffffffffffffffffffffffffffffffffff16611094610d96565b73ffffffffffffffffffffffffffffffffffffffff16146110ea576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110e1906136a4565b60405180910390fd5b565b6110f581611c5d565b611134576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161112b90613514565b60405180910390fd5b50565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff166111b283610c06565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b61120182611c5d565b611240576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161123790613736565b60405180910390fd5b806006600084815260200190815260200160002090805190602001906112679291906128c3565b505050565b60008061127883610c06565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614806112ba57506112b98185610edc565b5b806112f857508373ffffffffffffffffffffffffffffffffffffffff166112e08461072d565b73ffffffffffffffffffffffffffffffffffffffff16145b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff1661132182610c06565b73ffffffffffffffffffffffffffffffffffffffff1614611377576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161136e906137c8565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156113e7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113de9061385a565b60405180910390fd5b6113f2838383611cc9565b6113fd60008261113f565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461144d91906138a9565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546114a491906138dd565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4611563838383611cd9565b505050565b61157181611cde565b50565b6001816000016000828254019250508190555050565b600081600001549050919050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611608576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115ff9061397f565b60405180910390fd5b61161181611c5d565b15611651576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611648906139eb565b60405180910390fd5b61165d60008383611cc9565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546116ad91906138dd565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a461176e60008383611cd9565b5050565b6060600061177f83611d31565b6010600e600f6040516020016117989493929190613cef565b60405160208183030381529060405290506117b281611da8565b6040516020016117c29190613dd1565b604051602081830303815290604052915050919050565b6000600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600b60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141561190e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161190590613e3f565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516119ff9190612a5a565b60405180910390a3505050565b611a17848484611301565b611a2384848484611f0c565b611a62576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a5990613ed1565b60405180910390fd5b50505050565b6060611a73826110ec565b6000600660008481526020019081526020016000208054611a93906130a5565b80601f0160208091040260200160405190810160405280929190818152602001828054611abf906130a5565b8015611b0c5780601f10611ae157610100808354040283529160200191611b0c565b820191906000526020600020905b815481529060010190602001808311611aef57829003601f168201915b505050505090506000611b1d612094565b9050600081511415611b33578192505050611b76565b600082511115611b68578082604051602001611b50929190613ef1565b60405160208183030381529060405292505050611b76565b611b71846120ab565b925050505b919050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480611c4657507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80611c565750611c5582612113565b5b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b611cd483838361217d565b505050565b505050565b611ce781612291565b6000600660008381526020019081526020016000208054611d07906130a5565b905014611d2e57600660008281526020019081526020016000206000611d2d9190612949565b5b50565b60606000611d3e836123ae565b9050600a81511015611d715780604051602001611d5b9190613f3b565b6040516020818303038152906040529050611d9f565b606481511015611d9e5780604051602001611d8c9190613f87565b60405160208183030381529060405290505b5b80915050919050565b6060600082511415611dcb57604051806020016040528060008152509050611f07565b60006040518060600160405280604081526020016141f46040913990506000600360028551611dfa91906138dd565b611e049190613fdc565b6004611e10919061400d565b67ffffffffffffffff811115611e2957611e28612e88565b5b6040519080825280601f01601f191660200182016040528015611e5b5781602001600182028036833780820191505090505b509050600182016020820185865187015b80821015611ec7576003820191508151603f8160121c168501518453600184019350603f81600c1c168501518453600184019350603f8160061c168501518453600184019350603f8116850151845360018401935050611e6c565b5050600386510660018114611ee35760028114611ef657611efe565b603d6001830353603d6002830353611efe565b603d60018303535b50505080925050505b919050565b6000611f2d8473ffffffffffffffffffffffffffffffffffffffff1661250f565b15612087578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02611f56611137565b8786866040518563ffffffff1660e01b8152600401611f7894939291906140bc565b6020604051808303816000875af1925050508015611fb457506040513d601f19601f82011682018060405250810190611fb1919061411d565b60015b612037573d8060008114611fe4576040519150601f19603f3d011682016040523d82523d6000602084013e611fe9565b606091505b5060008151141561202f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161202690613ed1565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161491505061208c565b600190505b949350505050565b606060405180602001604052806000815250905090565b60606120b6826110ec565b60006120c0612094565b905060008151116120e0576040518060200160405280600081525061210b565b806120ea846123ae565b6040516020016120fb929190613ef1565b6040516020818303038152906040525b915050919050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b612188838383612532565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156121cb576121c681612537565b61220a565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614612209576122088382612580565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561224d57612248816126ed565b61228c565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161461228b5761228a82826127be565b5b5b505050565b600061229c82610c06565b90506122aa81600084611cc9565b6122b560008361113f565b6001600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461230591906138a9565b925050819055506002600083815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff021916905581600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46123aa81600084611cd9565b5050565b606060008214156123f6576040518060400160405280600181526020017f3000000000000000000000000000000000000000000000000000000000000000815250905061250a565b600082905060005b600082146124285780806124119061414a565b915050600a826124219190613fdc565b91506123fe565b60008167ffffffffffffffff81111561244457612443612e88565b5b6040519080825280601f01601f1916602001820160405280156124765781602001600182028036833780820191505090505b5090505b600085146125035760018261248f91906138a9565b9150600a8561249e9190614193565b60306124aa91906138dd565b60f81b8183815181106124c0576124bf6133b1565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856124fc9190613fdc565b945061247a565b8093505050505b919050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b505050565b600980549050600a600083815260200190815260200160002081905550600981908060018154018082558091505060019003906000526020600020016000909190919091505550565b6000600161258d84610cb8565b61259791906138a9565b905060006008600084815260200190815260200160002054905081811461267c576000600760008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600760008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816008600083815260200190815260200160002081905550505b6008600084815260200190815260200160002060009055600760008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b6000600160098054905061270191906138a9565b90506000600a6000848152602001908152602001600020549050600060098381548110612731576127306133b1565b5b906000526020600020015490508060098381548110612753576127526133b1565b5b906000526020600020018190555081600a600083815260200190815260200160002081905550600a60008581526020019081526020016000206000905560098054806127a2576127a16141c4565b5b6001900381819060005260206000200160009055905550505050565b60006127c983610cb8565b905081600760008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806008600084815260200190815260200160002081905550505050565b828054612849906130a5565b90600052602060002090601f01602090048101928261286b57600085556128b2565b82601f1061288457803560ff19168380011785556128b2565b828001600101855582156128b2579182015b828111156128b1578235825591602001919060010190612896565b5b5090506128bf9190612989565b5090565b8280546128cf906130a5565b90600052602060002090601f0160209004810192826128f15760008555612938565b82601f1061290a57805160ff1916838001178555612938565b82800160010185558215612938579182015b8281111561293757825182559160200191906001019061291c565b5b5090506129459190612989565b5090565b508054612955906130a5565b6000825580601f106129675750612986565b601f0160209004906000526020600020908101906129859190612989565b5b50565b5b808211156129a257600081600090555060010161298a565b5090565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b6129ef816129ba565b81146129fa57600080fd5b50565b600081359050612a0c816129e6565b92915050565b600060208284031215612a2857612a276129b0565b5b6000612a36848285016129fd565b91505092915050565b60008115159050919050565b612a5481612a3f565b82525050565b6000602082019050612a6f6000830184612a4b565b92915050565b600080fd5b600080fd5b600080fd5b60008083601f840112612a9a57612a99612a75565b5b8235905067ffffffffffffffff811115612ab757612ab6612a7a565b5b602083019150836001820283011115612ad357612ad2612a7f565b5b9250929050565b60008060208385031215612af157612af06129b0565b5b600083013567ffffffffffffffff811115612b0f57612b0e6129b5565b5b612b1b85828601612a84565b92509250509250929050565b600081519050919050565b600082825260208201905092915050565b60005b83811015612b61578082015181840152602081019050612b46565b83811115612b70576000848401525b50505050565b6000601f19601f8301169050919050565b6000612b9282612b27565b612b9c8185612b32565b9350612bac818560208601612b43565b612bb581612b76565b840191505092915050565b60006020820190508181036000830152612bda8184612b87565b905092915050565b6000819050919050565b612bf581612be2565b8114612c0057600080fd5b50565b600081359050612c1281612bec565b92915050565b600060208284031215612c2e57612c2d6129b0565b5b6000612c3c84828501612c03565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000612c7082612c45565b9050919050565b612c8081612c65565b82525050565b6000602082019050612c9b6000830184612c77565b92915050565b612caa81612c65565b8114612cb557600080fd5b50565b600081359050612cc781612ca1565b92915050565b60008060408385031215612ce457612ce36129b0565b5b6000612cf285828601612cb8565b9250506020612d0385828601612c03565b9150509250929050565b600080600060408486031215612d2657612d256129b0565b5b6000612d3486828701612c03565b935050602084013567ffffffffffffffff811115612d5557612d546129b5565b5b612d6186828701612a84565b92509250509250925092565b612d7681612be2565b82525050565b6000602082019050612d916000830184612d6d565b92915050565b600080600060608486031215612db057612daf6129b0565b5b6000612dbe86828701612cb8565b9350506020612dcf86828701612cb8565b9250506040612de086828701612c03565b9150509250925092565b600060208284031215612e0057612dff6129b0565b5b6000612e0e84828501612cb8565b91505092915050565b612e2081612a3f565b8114612e2b57600080fd5b50565b600081359050612e3d81612e17565b92915050565b60008060408385031215612e5a57612e596129b0565b5b6000612e6885828601612cb8565b9250506020612e7985828601612e2e565b9150509250929050565b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b612ec082612b76565b810181811067ffffffffffffffff82111715612edf57612ede612e88565b5b80604052505050565b6000612ef26129a6565b9050612efe8282612eb7565b919050565b600067ffffffffffffffff821115612f1e57612f1d612e88565b5b612f2782612b76565b9050602081019050919050565b82818337600083830152505050565b6000612f56612f5184612f03565b612ee8565b905082815260208101848484011115612f7257612f71612e83565b5b612f7d848285612f34565b509392505050565b600082601f830112612f9a57612f99612a75565b5b8135612faa848260208601612f43565b91505092915050565b60008060008060808587031215612fcd57612fcc6129b0565b5b6000612fdb87828801612cb8565b9450506020612fec87828801612cb8565b9350506040612ffd87828801612c03565b925050606085013567ffffffffffffffff81111561301e5761301d6129b5565b5b61302a87828801612f85565b91505092959194509250565b6000806040838503121561304d5761304c6129b0565b5b600061305b85828601612cb8565b925050602061306c85828601612cb8565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806130bd57607f821691505b602082108114156130d1576130d0613076565b5b50919050565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b6000613133602183612b32565b915061313e826130d7565b604082019050919050565b6000602082019050818103600083015261316281613126565b9050919050565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f7420746f60008201527f6b656e206f776e6572206e6f7220617070726f76656420666f7220616c6c0000602082015250565b60006131c5603e83612b32565b91506131d082613169565b604082019050919050565b600060208201905081810360008301526131f4816131b8565b9050919050565b7f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6560008201527f72206e6f7220617070726f766564000000000000000000000000000000000000602082015250565b6000613257602e83612b32565b9150613262826131fb565b604082019050919050565b600060208201905081810360008301526132868161324a565b9050919050565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b60006132e9602b83612b32565b91506132f48261328d565b604082019050919050565b60006020820190508181036000830152613318816132dc565b9050919050565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b600061337b602c83612b32565b91506133868261331f565b604082019050919050565b600060208201905081810360008301526133aa8161336e565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e6f7420656e6f756768204554482073656e7421000000000000000000000000600082015250565b6000613416601483612b32565b9150613421826133e0565b602082019050919050565b6000602082019050818103600083015261344581613409565b9050919050565b6000819050919050565b6000819050919050565b600061347b6134766134718461344c565b613456565b612be2565b9050919050565b61348b81613460565b82525050565b60006060820190506134a66000830186612c77565b6134b36020830185612d6d565b6134c06040830184613482565b949350505050565b7f4552433732313a20696e76616c696420746f6b656e2049440000000000000000600082015250565b60006134fe601883612b32565b9150613509826134c8565b602082019050919050565b6000602082019050818103600083015261352d816134f1565b9050919050565b7f4552433732313a2061646472657373207a65726f206973206e6f74206120766160008201527f6c6964206f776e65720000000000000000000000000000000000000000000000602082015250565b6000613590602983612b32565b915061359b82613534565b604082019050919050565b600060208201905081810360008301526135bf81613583565b9050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000613622602683612b32565b915061362d826135c6565b604082019050919050565b6000602082019050818103600083015261365181613615565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b600061368e602083612b32565b915061369982613658565b602082019050919050565b600060208201905081810360008301526136bd81613681565b9050919050565b7f45524337323155524953746f726167653a2055524920736574206f66206e6f6e60008201527f6578697374656e7420746f6b656e000000000000000000000000000000000000602082015250565b6000613720602e83612b32565b915061372b826136c4565b604082019050919050565b6000602082019050818103600083015261374f81613713565b9050919050565b7f4552433732313a207472616e736665722066726f6d20696e636f72726563742060008201527f6f776e6572000000000000000000000000000000000000000000000000000000602082015250565b60006137b2602583612b32565b91506137bd82613756565b604082019050919050565b600060208201905081810360008301526137e1816137a5565b9050919050565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b6000613844602483612b32565b915061384f826137e8565b604082019050919050565b6000602082019050818103600083015261387381613837565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60006138b482612be2565b91506138bf83612be2565b9250828210156138d2576138d161387a565b5b828203905092915050565b60006138e882612be2565b91506138f383612be2565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156139285761392761387a565b5b828201905092915050565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b6000613969602083612b32565b915061397482613933565b602082019050919050565b600060208201905081810360008301526139988161395c565b9050919050565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b60006139d5601c83612b32565b91506139e08261399f565b602082019050919050565b60006020820190508181036000830152613a04816139c8565b9050919050565b600081905092915050565b7f7b00000000000000000000000000000000000000000000000000000000000000600082015250565b6000613a4c600183613a0b565b9150613a5782613a16565b600182019050919050565b7f226e616d65223a224d656d626572200000000000000000000000000000000000600082015250565b6000613a98600f83613a0b565b9150613aa382613a62565b600f82019050919050565b6000613ab982612b27565b613ac38185613a0b565b9350613ad3818560208601612b43565b80840191505092915050565b7f222c000000000000000000000000000000000000000000000000000000000000600082015250565b6000613b15600283613a0b565b9150613b2082613adf565b600282019050919050565b7f226465736372697074696f6e223a220000000000000000000000000000000000600082015250565b6000613b61600f83613a0b565b9150613b6c82613b2b565b600f82019050919050565b60008190508160005260206000209050919050565b60008154613b99816130a5565b613ba38186613a0b565b94506001821660008114613bbe5760018114613bcf57613c02565b60ff19831686528186019350613c02565b613bd885613b77565b60005b83811015613bfa57815481890152600182019150602081019050613bdb565b838801955050505b50505092915050565b7f222c22696d616765223a22000000000000000000000000000000000000000000600082015250565b6000613c41600b83613a0b565b9150613c4c82613c0b565b600b82019050919050565b7f22616e696d6174696f6e5f75726c223a22000000000000000000000000000000600082015250565b6000613c8d601183613a0b565b9150613c9882613c57565b601182019050919050565b7f227d000000000000000000000000000000000000000000000000000000000000600082015250565b6000613cd9600283613a0b565b9150613ce482613ca3565b600282019050919050565b6000613cfa82613a3f565b9150613d0582613a8b565b9150613d118287613aae565b9150613d1c82613b08565b9150613d2782613b54565b9150613d338286613b8c565b9150613d3e82613c34565b9150613d4a8285613b8c565b9150613d5582613b08565b9150613d6082613c80565b9150613d6c8284613b8c565b9150613d7782613ccc565b915081905095945050505050565b7f646174613a6170706c69636174696f6e2f6a736f6e3b6261736536342c000000600082015250565b6000613dbb601d83613a0b565b9150613dc682613d85565b601d82019050919050565b6000613ddc82613dae565b9150613de88284613aae565b915081905092915050565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b6000613e29601983612b32565b9150613e3482613df3565b602082019050919050565b60006020820190508181036000830152613e5881613e1c565b9050919050565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b6000613ebb603283612b32565b9150613ec682613e5f565b604082019050919050565b60006020820190508181036000830152613eea81613eae565b9050919050565b6000613efd8285613aae565b9150613f098284613aae565b91508190509392505050565b7f3030000000000000000000000000000000000000000000000000000000000000815250565b6000613f4682613f15565b600282019150613f568284613aae565b915081905092915050565b7f3000000000000000000000000000000000000000000000000000000000000000815250565b6000613f9282613f61565b600182019150613fa28284613aae565b915081905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b6000613fe782612be2565b9150613ff283612be2565b92508261400257614001613fad565b5b828204905092915050565b600061401882612be2565b915061402383612be2565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161561405c5761405b61387a565b5b828202905092915050565b600081519050919050565b600082825260208201905092915050565b600061408e82614067565b6140988185614072565b93506140a8818560208601612b43565b6140b181612b76565b840191505092915050565b60006080820190506140d16000830187612c77565b6140de6020830186612c77565b6140eb6040830185612d6d565b81810360608301526140fd8184614083565b905095945050505050565b600081519050614117816129e6565b92915050565b600060208284031215614133576141326129b0565b5b600061414184828501614108565b91505092915050565b600061415582612be2565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156141885761418761387a565b5b600182019050919050565b600061419e82612be2565b91506141a983612be2565b9250826141b9576141b8613fad565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fdfe4142434445464748494a4b4c4d4e4f505152535455565758595a6162636465666768696a6b6c6d6e6f707172737475767778797a303132333435363738392b2fa2646970667358221220edc8b5ea49bf0b098e521f99ceced6c973805cecd6e15e57166d9604220f02bf64736f6c634300080c0033
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.