ERC-721
Overview
Max Total Supply
459 NOVO
Holders
122
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
7 NOVOLoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
NovoPixels
Compiler Version
v0.8.17+commit.8df45f5f
Optimization Enabled:
Yes with 1000 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT pragma solidity ^0.8.9 <0.9.0; import "https://github.com/FrankNFT-labs/ERC721F/blob/main/contracts/token/ERC721/extensions/ERC721FOnChain.sol"; import "@franknft.eth/erc721-f/contracts/utils/Payable.sol"; /** * @title CryptoNovo Token * * @dev an onChain Art contract to help recover the stolen CryptoPunk #3706 from CryptoNovo * NovoPixels is a community-driven token created to support and assist one of our own, * CryptoNovo, who fell victim to a scam and lost many of his NFTs. * The proceeds from the sale of NovoPixels will be used to help CryptoNovo get his beloved pixel art profile picture back. * */ contract NovoPixels is ERC721FOnChain, Payable { string constant svgHead = '<svg version="1.1" xmlns="http://www.w3.org/2000/svg" width="100%" height="100%" viewBox="0 0 620 620"><rect x="0" y="0" width="620" height="620" fill="#'; string constant svgFooter = '" /></svg>'; uint8[576] pixels; // need to set the below data as it's too long to hardcode it. // [6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 0, 0, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 0, 1, 3, 0, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 0, 1, 3, 1, 3, 0, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 0, 3, 1, 3, 1, 0, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 0, 3, 1, 3, 1, 3, 1, 0, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 0, 3, 1, 3, 1, 3, 1, 3, 1, 0, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 0, 1, 3, 1, 3, 1, 3, 1, 3, 0, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 0, 1, 3, 3, 3, 3, 3, 3, 3, 1, 3, 0, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 0, 3, 3, 4, 4, 4, 4, 4, 4, 3, 3, 0, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 0, 0, 0, 0, 0, 0, 4, 0, 0, 0, 0, 0, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 0, 0, 2, 2, 2, 0, 0, 0, 2, 2, 2, 0, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 0, 0, 7, 7, 7, 0, 4, 0, 7, 7, 7, 0, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 0, 0, 0, 5, 5, 5, 0, 4, 0, 5, 5, 5, 0, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 0, 3, 0, 0, 0, 4, 8, 8, 0, 0, 0, 0, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 0, 3, 4, 4, 4, 4, 8, 8, 4, 4, 3, 0, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 0, 3, 4, 4, 4, 4, 4, 4, 4, 4, 3, 0, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 0, 3, 4, 4, 4, 0, 0, 0, 4, 4, 3, 0, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 0, 3, 3, 3, 4, 4, 4, 4, 4, 4, 3, 3, 3, 0, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 0, 3, 0, 4, 0, 4, 4, 4, 0, 0, 3, 0, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 0, 0, 4, 4, 0, 0, 0, 6, 6, 0, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 0, 4, 4, 4, 0, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 0, 4, 4, 4, 0, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6] uint24[9] colours =[0, 21632, 6818885, 2265088, 11438689, 11346272, 7111829, 9178458, 14024704]; uint256 public constant MAX_TOKENS = 576; uint256 public tokenPrice = 0.04 ether; uint256 private startingIndex; bool public saleIsActive; bool public revealed; address public constant FUND_NOVO= 0xd7Da0AE98F7A1da7c3318c32E78a1013C00df935; constructor() payable ERC721FOnChain("NovoPixels", "NOVO", "NovoPixels is a community-driven token created to support and assist one of our own, CryptoNovo, who fell victim to a scam and lost many of his NFTs. The proceeds from the sale of NovoPixels will be used to help CryptoNovo get his beloved pixel art profile picture back.") {} /** * Changes the state of saleIsActive from true to false and false to true */ function flipSaleState() external onlyOwner { saleIsActive = !saleIsActive; } /** * Set price */ function setPrice(uint256 price) external onlyOwner { tokenPrice = price; } /** * Reveal the collection */ function reveal() external onlyOwner { revealed = true; } /** * Set the token data */ function setTokenData(uint8[] calldata data) external onlyOwner{ uint length = data.length; for (uint i; i < length; ) { pixels[i]=data[i]; unchecked { i++; } } } /** * @notice Mints `numberOfTokens` tokens for `sender` */ function mint(uint256 numberOfTokens) payable external { require(msg.sender == tx.origin, "No Contracts allowed."); require(saleIsActive, "Sale NOT active yet"); require(numberOfTokens != 0, "numberOfNfts cannot be 0"); require(tokenPrice * numberOfTokens <= msg.value, "Ether value sent is not correct"); uint256 supply = _totalMinted(); require( supply + numberOfTokens <= MAX_TOKENS, "Purchase would exceed max supply of Tokens" ); unchecked { for (uint256 i; i < numberOfTokens; ) { _mint(msg.sender, supply + i); // no need to use safeMint as we don't allow contracts. i++; } } } /** * @notice Overridden function which creates custom SVG image */ function renderTokenById( uint256 id ) public view override returns (string memory) { require(_exists(id), "Non-Existing token"); string[3] memory parts; parts[0] = svgHead; if(revealed){ parts[1] = uint2hexstr(colours[pixels[getCorrectedId(id)]]); } else { parts[1] = "6C8495"; } parts[2] = svgFooter; return string( abi.encodePacked( parts[0], parts[1], parts[2] ) ); } /** * @dev Creates the traits data */ function getTraits( uint256 id ) public view override returns (string memory) { require(_exists(id), "Non-Existing token"); if(!revealed){ return ""; } string[3] memory traits; traits[0] = string( abi.encodePacked( "{" "\n", '"trait_type": "x",', "\n", '"value": "', Strings.toString(getCorrectedId(id)%24), '"', "\n", "}" "\n" ) ); traits[1] = string( abi.encodePacked( ",{", "\n", '"trait_type": "y",', "\n", '"value": "', Strings.toString(getCorrectedId(id)/24), '"', "\n", "}" "\n" ) ); traits[2] = string( abi.encodePacked( ",{", "\n", '"trait_type": "Colour",', "\n", '"value": "', uint2hexstr(colours[pixels[getCorrectedId(id)]]), '"', "\n", "}" "\n" ) ); return string(abi.encodePacked("[", traits[0], traits[1], traits[2],"]")); } function getCorrectedId(uint256 id) private view returns (uint256) { return (id+startingIndex)%MAX_TOKENS; } /** * returns the mint offset once the collection is revealed. */ function getOffset() public view returns (uint256) { if(revealed){ return startingIndex; } return 0; } function uint2hexstr(uint i) private pure returns (string memory) { if (i == 0) return "0"; uint j = i; uint length; while (j != 0) { length++; j = j >> 4; } uint mask = 15; bytes memory bstr = new bytes(length); uint k = length; while (i != 0) { uint curr = (i & mask); bstr[--k] = curr > 9 ? bytes1(uint8(55 + curr)) : bytes1(uint8(48 + curr)); // 55 = 65 - 10 i = i >> 4; } return leftPadWithZeros(string(bstr)); } function leftPadWithZeros(string memory _input) private pure returns (string memory) { while (bytes(_input).length < 6) { _input = string(abi.encodePacked("0",_input)); } return _input; } /** * Set the starting index for the collection */ function setStartingIndex() public onlyOwner{ require(startingIndex == 0, "Starting index is already set"); startingIndex = uint(blockhash(block.number - 1)) % MAX_TOKENS; // Prevent default sequence if (startingIndex == 0) { startingIndex = 37; } } function withdraw() external { uint256 balance = address(this).balance; require(balance > 0, "Insufficient balance"); _withdraw(FUND_NOVO, balance); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.9 <0.9.0; abstract contract Payable { /** * Helper method to allow ETH withdraws. */ function _withdraw(address _address, uint256 _amount) internal { (bool success, ) = _address.call{ value: _amount }(""); require(success, "Failed to withdraw Ether"); } // contract can recieve Ether receive() external payable { } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.9 <0.9.0; import "@openzeppelin/contracts/utils/Base64.sol"; import "@openzeppelin/contracts/utils/Strings.sol"; import "../../../interfaces/IERC4883.sol"; import "../ERC721F.sol"; /** * Extension of ERC721F which contains foundation for OnChain tokenURI generation */ abstract contract ERC721FOnChain is IERC4883, ERC721F { string private description; constructor( string memory name_, string memory symbol_, string memory description_ ) ERC721F(name_, symbol_) { description = description_; } /** * @notice Returns description of the contract */ function getDescription() public view virtual returns (string memory) { return description; } /** * @notice Creates the tokenURI which contains the name, description, generated SVG image and token traits */ function tokenURI( uint256 tokenId ) public view override returns (string memory) { require(_exists(tokenId), "Non-Existing token"); string memory svgData = renderTokenById(tokenId); string memory traits = getTraits(tokenId); string memory json = Base64.encode( bytes( string( abi.encodePacked( '{"name": "', name(), " #", Strings.toString(tokenId), '", "description": "', getDescription(), '", "image": "data:image/svg+xml;base64,', Base64.encode(bytes(svgData)), bytes(traits).length == 0 ? '"' : '", "attributes": ', traits, "}" ) ) ) ); return string(abi.encodePacked("data:application/json;base64,", json)); } /** * @notice Generates the SVG image of the tokenId */ function renderTokenById( uint256 ) public view virtual returns (string memory) {} /** * @notice Returns the traits that are associated with `id` * @dev override and return "" to not have any traits in collection */ function getTraits(uint256) public view virtual returns (string memory) {} }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.9 <0.9.0; import "@openzeppelin/contracts/token/ERC721/ERC721.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; /** * @title ERC721F * @dev Extends ERC721 Non-Fungible Token Standard basic implementation. * Optimized to no longer use ERC721Enumerable , but still provide a totalSupply() and walletOfOwner(address _owner) implementation. * @author @FrankNFT.eth * */ contract ERC721F is Ownable, ERC721 { uint256 private _tokenSupply; uint256 private _burnCounter; // Base URI for Meta data string private _baseTokenURI; constructor(string memory name_, string memory symbol_) ERC721(name_, symbol_) {} /** * @dev walletofOwner * @return tokens id owned by the given address * This read function is O(totalSupply). If calling from a separate contract, be sure to test gas first. * It may also degrade with extremely large collection sizes (e.g >> 10000), test for your use case. */ function walletOfOwner(address _owner) external view virtual returns (uint256[] memory) { uint256 ownerTokenCount = balanceOf(_owner); uint256[] memory ownedTokenIds = new uint256[](ownerTokenCount); uint256 currentTokenId = _startTokenId(); uint256 ownedTokenIndex = 0; uint256 tokenSupply = _tokenSupply; unchecked { for(;;) { if (ownedTokenIndex >= ownerTokenCount) { break; } if (currentTokenId >= tokenSupply) { break; } if (ownerOf(currentTokenId) == _owner) { ownedTokenIds[ownedTokenIndex] = currentTokenId; ownedTokenIndex++; } currentTokenId++; } } return ownedTokenIds; } /** * To change the starting tokenId, override this function. */ function _startTokenId() internal view virtual returns (uint256) { return 0; } /** * @dev Base URI for computing {tokenURI}. If set, the resulting URI for each * token will be the concatenation of the `baseURI` and the `tokenId`. Empty * by default, can be overriden in child contracts. */ function _baseURI() internal view virtual override returns (string memory) { return _baseTokenURI; } /** * @dev Set the base token URI */ function setBaseTokenURI(string memory baseURI) public onlyOwner { _baseTokenURI = baseURI; } /** * * @dev Mints `tokenId` and transfers it to `to`. * */ function _mint(address to, uint256 tokenId) internal virtual override { super._mint(to, tokenId); unchecked { _tokenSupply++; } } /** * @dev See {ERC721-_burn} * Increases value of _burnCounter */ function _burn(uint256 tokenId) internal virtual override { super._burn(tokenId); unchecked { _burnCounter++; } } /** * @dev Gets the total amount of existing tokens stored by the contract. * @return uint256 representing the total amount of tokens */ function totalSupply() public view virtual returns (uint256) { return _tokenSupply - _burnCounter; } /** * @dev Gets total amount of tokens minted by the contract */ function _totalMinted() internal view virtual returns (uint256) { return _tokenSupply; } /** * @dev Gets total amount of burned tokens */ function _totalBurned() internal view virtual returns (uint256) { return _burnCounter; } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.9 <0.9.0; import "@openzeppelin/contracts/interfaces/IERC165.sol"; /// @title EIP-4883 Non-Fungible Token Standard /// Based on https://eips.ethereum.org/EIPS/eip-4883 interface IERC4883 is IERC165 { /** * @dev Generates the SVG image of `id` * * Requirements: * * - `id` must exist * - must return the SVG body for the specified token `id` * - must either be an empty string or a valid SVG element(s) */ function renderTokenById(uint256 id) external view returns (string memory); }
// 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.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 (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 v4.4.1 (interfaces/IERC165.sol) pragma solidity ^0.8.0; import "../utils/introspection/IERC165.sol";
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol) pragma solidity ^0.8.0; import "./IERC165.sol"; /** * @dev Implementation of the {IERC165} interface. * * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check * for the additional interface id that will be supported. For example: * * ```solidity * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { * return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId); * } * ``` * * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation. */ abstract contract ERC165 is IERC165 { /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IERC165).interfaceId; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/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) (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 (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/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": true, "runs": 1000 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[],"stateMutability":"payable","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"},{"inputs":[],"name":"FUND_NOVO","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_TOKENS","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"flipSaleState","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getDescription","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getOffset","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"id","type":"uint256"}],"name":"getTraits","outputs":[{"internalType":"string","name":"","type":"string"}],"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":"uint256","name":"numberOfTokens","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"id","type":"uint256"}],"name":"renderTokenById","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"reveal","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"revealed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","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":[],"name":"saleIsActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"baseURI","type":"string"}],"name":"setBaseTokenURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"price","type":"uint256"}],"name":"setPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"setStartingIndex","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint8[]","name":"data","type":"uint8[]"}],"name":"setTokenData","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":[],"name":"tokenPrice","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"},{"inputs":[{"internalType":"address","name":"_owner","type":"address"}],"name":"walletOfOwner","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]
Contract Creation Code
6101a06040526000608090815261548060a05262680c4560c0526222900060e05262ae8a616101005262ad216061012052626c849561014052628c0d5a6101605262d60000610180526200005890601d9060096200015d565b50668e1bc9bf040000601e556040518060400160405280600a8152602001694e6f766f506978656c7360b01b815250604051806040016040528060048152602001634e4f564f60e01b81525060405180610140016040528061010e8152602001620031bb61010e913982828181620000d0336200010d565b6001620000de8382620002b9565b506002620000ed8282620002b9565b505050505080600a9081620001039190620002b9565b5050505062000385565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b600183019183908215620001eb5791602002820160005b83821115620001b857835183826101000a81548162ffffff021916908362ffffff160217905550926020019260030160208160020104928301926001030262000174565b8015620001e95782816101000a81549062ffffff0219169055600301602081600201049283019260010302620001b8565b505b50620001f9929150620001fd565b5090565b5b80821115620001f95760008155600101620001fe565b634e487b7160e01b600052604160045260246000fd5b600181811c908216806200023f57607f821691505b6020821081036200026057634e487b7160e01b600052602260045260246000fd5b50919050565b601f821115620002b457600081815260208120601f850160051c810160208610156200028f5750805b601f850160051c820191505b81811015620002b0578281556001016200029b565b5050505b505050565b81516001600160401b03811115620002d557620002d562000214565b620002ed81620002e684546200022a565b8462000266565b602080601f8311600181146200032557600084156200030c5750858301515b600019600386901b1c1916600185901b178555620002b0565b600085815260208120601f198616915b82811015620003565788860151825594840194600190910190840162000335565b5085821015620003755787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b612e2680620003956000396000f3fe6080604052600436106102385760003560e01c80638da5cb5b11610138578063c87b56dd116100b0578063e98665501161007f578063eb8d244411610064578063eb8d244414610644578063f2fde38b1461065e578063f47c84c51461067e57600080fd5b8063e98665501461061a578063eb6ad24e1461062f57600080fd5b8063c87b56dd14610571578063d6e7c58e14610591578063e1dc0761146105b1578063e985e9c5146105d157600080fd5b8063a22cb46511610107578063a475b5dd116100ec578063a475b5dd14610514578063b88d4fde14610529578063c4bc25af1461054957600080fd5b8063a22cb465146104d4578063a2d6c6da146104f457600080fd5b80638da5cb5b1461046e57806391b7f5ed1461048c57806395d89b41146104ac578063a0712d68146104c157600080fd5b806334918dfd116101cb578063518302271161019a57806370a082311161017f57806370a0823114610423578063715018a6146104435780637ff9b5961461045857600080fd5b806351830227146103e45780636352211e1461040357600080fd5b806334918dfd1461036d5780633ccfd60b1461038257806342842e0e14610397578063438b6300146103b757600080fd5b806318160ddd1161020757806318160ddd146102f55780631a0925411461031857806323b872dd1461032d57806330176e131461034d57600080fd5b806301ffc9a71461024457806306fdde0314610279578063081812fc1461029b578063095ea7b3146102d357600080fd5b3661023f57005b600080fd5b34801561025057600080fd5b5061026461025f366004612224565b610694565b60405190151581526020015b60405180910390f35b34801561028557600080fd5b5061028e610731565b6040516102709190612298565b3480156102a757600080fd5b506102bb6102b63660046122ab565b6107c3565b6040516001600160a01b039091168152602001610270565b3480156102df57600080fd5b506102f36102ee3660046122e0565b6107ea565b005b34801561030157600080fd5b5061030a61093e565b604051908152602001610270565b34801561032457600080fd5b5061028e610955565b34801561033957600080fd5b506102f361034836600461230a565b610964565b34801561035957600080fd5b506102f36103683660046123d2565b6109eb565b34801561037957600080fd5b506102f3610a03565b34801561038e57600080fd5b506102f3610a1f565b3480156103a357600080fd5b506102f36103b236600461230a565b610a8e565b3480156103c357600080fd5b506103d76103d236600461241b565b610aa9565b6040516102709190612436565b3480156103f057600080fd5b5060205461026490610100900460ff1681565b34801561040f57600080fd5b506102bb61041e3660046122ab565b610b75565b34801561042f57600080fd5b5061030a61043e36600461241b565b610bda565b34801561044f57600080fd5b506102f3610c74565b34801561046457600080fd5b5061030a601e5481565b34801561047a57600080fd5b506000546001600160a01b03166102bb565b34801561049857600080fd5b506102f36104a73660046122ab565b610c88565b3480156104b857600080fd5b5061028e610c95565b6102f36104cf3660046122ab565b610ca4565b3480156104e057600080fd5b506102f36104ef36600461247a565b610e9f565b34801561050057600080fd5b5061028e61050f3660046122ab565b610eaa565b34801561052057600080fd5b506102f3611056565b34801561053557600080fd5b506102f36105443660046124b6565b61106f565b34801561055557600080fd5b506102bb73d7da0ae98f7a1da7c3318c32e78a1013c00df93581565b34801561057d57600080fd5b5061028e61058c3660046122ab565b6110fd565b34801561059d57600080fd5b506102f36105ac366004612532565b61124d565b3480156105bd57600080fd5b5061028e6105cc3660046122ab565b6112c9565b3480156105dd57600080fd5b506102646105ec3660046125a7565b6001600160a01b03918216600090815260066020908152604080832093909416825291909152205460ff1690565b34801561062657600080fd5b506102f361141a565b34801561063b57600080fd5b5061030a61149e565b34801561065057600080fd5b506020546102649060ff1681565b34801561066a57600080fd5b506102f361067936600461241b565b6114be565b34801561068a57600080fd5b5061030a61024081565b60006001600160e01b031982167f80ac58cd0000000000000000000000000000000000000000000000000000000014806106f757506001600160e01b031982167f5b5e139f00000000000000000000000000000000000000000000000000000000145b8061072b57507f01ffc9a7000000000000000000000000000000000000000000000000000000006001600160e01b03198316145b92915050565b606060018054610740906125da565b80601f016020809104026020016040519081016040528092919081815260200182805461076c906125da565b80156107b95780601f1061078e576101008083540402835291602001916107b9565b820191906000526020600020905b81548152906001019060200180831161079c57829003601f168201915b5050505050905090565b60006107ce8261154b565b506000908152600560205260409020546001600160a01b031690565b60006107f582610b75565b9050806001600160a01b0316836001600160a01b0316036108835760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560448201527f720000000000000000000000000000000000000000000000000000000000000060648201526084015b60405180910390fd5b336001600160a01b03821614806108bd57506001600160a01b038116600090815260066020908152604080832033845290915290205460ff165b61092f5760405162461bcd60e51b815260206004820152603e60248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f7420746f60448201527f6b656e206f776e6572206e6f7220617070726f76656420666f7220616c6c0000606482015260840161087a565b61093983836115af565b505050565b6000600854600754610950919061262a565b905090565b6060600a8054610740906125da565b61096e338261162a565b6109e05760405162461bcd60e51b815260206004820152602e60248201527f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6560448201527f72206e6f7220617070726f766564000000000000000000000000000000000000606482015260840161087a565b6109398383836116a9565b6109f3611883565b60096109ff828261268b565b5050565b610a0b611883565b6020805460ff19811660ff90911615179055565b4780610a6d5760405162461bcd60e51b815260206004820152601460248201527f496e73756666696369656e742062616c616e6365000000000000000000000000604482015260640161087a565b610a8b73d7da0ae98f7a1da7c3318c32e78a1013c00df935826118dd565b50565b6109398383836040518060200160405280600081525061106f565b60606000610ab683610bda565b905060008167ffffffffffffffff811115610ad357610ad3612346565b604051908082528060200260200182016040528015610afc578160200160208202803683370190505b5060075490915060009081905b84821015610b6a5780831015610b6a57866001600160a01b0316610b2c84610b75565b6001600160a01b031603610b5f5782848381518110610b4d57610b4d61274b565b60209081029190910101526001909101905b600190920191610b09565b509195945050505050565b6000818152600360205260408120546001600160a01b03168061072b5760405162461bcd60e51b815260206004820152601860248201527f4552433732313a20696e76616c696420746f6b656e2049440000000000000000604482015260640161087a565b60006001600160a01b038216610c585760405162461bcd60e51b815260206004820152602960248201527f4552433732313a2061646472657373207a65726f206973206e6f74206120766160448201527f6c6964206f776e65720000000000000000000000000000000000000000000000606482015260840161087a565b506001600160a01b031660009081526004602052604090205490565b610c7c611883565b610c866000611980565b565b610c90611883565b601e55565b606060028054610740906125da565b333214610cf35760405162461bcd60e51b815260206004820152601560248201527f4e6f20436f6e74726163747320616c6c6f7765642e0000000000000000000000604482015260640161087a565b60205460ff16610d455760405162461bcd60e51b815260206004820152601360248201527f53616c65204e4f54206163746976652079657400000000000000000000000000604482015260640161087a565b80600003610d955760405162461bcd60e51b815260206004820152601860248201527f6e756d6265724f664e6674732063616e6e6f7420626520300000000000000000604482015260640161087a565b3481601e54610da49190612761565b1115610df25760405162461bcd60e51b815260206004820152601f60248201527f45746865722076616c75652073656e74206973206e6f7420636f727265637400604482015260640161087a565b6000610dfd60075490565b9050610240610e0c8383612778565b1115610e805760405162461bcd60e51b815260206004820152602a60248201527f507572636861736520776f756c6420657863656564206d617820737570706c7960448201527f206f6620546f6b656e7300000000000000000000000000000000000000000000606482015260840161087a565b60005b8281101561093957610e97338284016119dd565b600101610e83565b6109ff3383836119f4565b6000818152600360205260409020546060906001600160a01b0316610f065760405162461bcd60e51b81526020600482015260126024820152712737b716a2bc34b9ba34b733903a37b5b2b760711b604482015260640161087a565b610f0e6121e7565b6040518060c00160405280609a8152602001612d17609a91398152602054610100900460ff1615610faf57610fa5601d600b610f4986611ac2565b6102408110610f5a57610f5a61274b565b602081049091015460ff601f9092166101000a90041660098110610f8057610f8061274b565b600a91828204019190066003029054906101000a900462ffffff1662ffffff16611adf565b6020820152610fec565b60408051808201909152600681527f3643383439350000000000000000000000000000000000000000000000000000602082015281600160200201525b604080518082018252600a81527f22202f3e3c2f7376673e00000000000000000000000000000000000000000000602080830191909152838301829052835184820151935161103f9491939192016127a7565b604051602081830303815290604052915050919050565b61105e611883565b6020805461ff001916610100179055565b611079338361162a565b6110eb5760405162461bcd60e51b815260206004820152602e60248201527f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6560448201527f72206e6f7220617070726f766564000000000000000000000000000000000000606482015260840161087a565b6110f784848484611c15565b50505050565b6000818152600360205260409020546060906001600160a01b03166111595760405162461bcd60e51b81526020600482015260126024820152712737b716a2bc34b9ba34b733903a37b5b2b760711b604482015260640161087a565b600061116483610eaa565b90506000611171846112c9565b90506000611221611180610731565b61118987611c9e565b611191610955565b61119a87611db7565b8651156111dc576040518060400160405280601181526020017f222c202261747472696275746573223a200000000000000000000000000000008152506111f7565b604051806040016040528060018152602001601160f91b8152505b8760405160200161120d969594939291906127ea565b604051602081830303815290604052611db7565b9050806040516020016112349190612960565b6040516020818303038152906040529350505050919050565b611255611883565b8060005b818110156110f7578383828181106112735761127361274b565b905060200201602081019061128891906129a5565b600b82610240811061129c5761129c61274b565b602091828204019190066101000a81548160ff021916908360ff1602179055508080600101915050611259565b6000818152600360205260409020546060906001600160a01b03166113255760405162461bcd60e51b81526020600482015260126024820152712737b716a2bc34b9ba34b733903a37b5b2b760711b604482015260640161087a565b602054610100900460ff1661134857505060408051602081019091526000815290565b6113506121e7565b61136d601861135e85611ac2565b61136891906129de565b611c9e565b60405160200161137d91906129f2565b60408051808303601f1901815291905281526113a7601861139d85611ac2565b6113689190612a96565b6040516020016113b79190612aaa565b60408051808303601f1901815291905260208201526113dc601d600b610f4986611ac2565b6040516020016113ec9190612b39565b60408051808303601f190181529181528281018290528251602080850151925161103f949293929101612bc8565b611422611883565b601f54156114725760405162461bcd60e51b815260206004820152601d60248201527f5374617274696e6720696e64657820697320616c726561647920736574000000604482015260640161087a565b61024061148060014361262a565b61148b9190406129de565b601f819055600003610c86576025601f55565b602054600090610100900460ff16156114b85750601f5490565b50600090565b6114c6611883565b6001600160a01b0381166115425760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f6464726573730000000000000000000000000000000000000000000000000000606482015260840161087a565b610a8b81611980565b6000818152600360205260409020546001600160a01b0316610a8b5760405162461bcd60e51b815260206004820152601860248201527f4552433732313a20696e76616c696420746f6b656e2049440000000000000000604482015260640161087a565b6000818152600560205260409020805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b03841690811790915581906115f182610b75565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b60008061163683610b75565b9050806001600160a01b0316846001600160a01b0316148061167d57506001600160a01b0380821660009081526006602090815260408083209388168352929052205460ff165b806116a15750836001600160a01b0316611696846107c3565b6001600160a01b0316145b949350505050565b826001600160a01b03166116bc82610b75565b6001600160a01b0316146117385760405162461bcd60e51b815260206004820152602560248201527f4552433732313a207472616e736665722066726f6d20696e636f72726563742060448201527f6f776e6572000000000000000000000000000000000000000000000000000000606482015260840161087a565b6001600160a01b0382166117b35760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f2061646460448201527f7265737300000000000000000000000000000000000000000000000000000000606482015260840161087a565b6117be6000826115af565b6001600160a01b03831660009081526004602052604081208054600192906117e790849061262a565b90915550506001600160a01b0382166000908152600460205260408120805460019290611815908490612778565b9091555050600081815260036020526040808220805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b6000546001600160a01b03163314610c865760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161087a565b6000826001600160a01b03168260405160006040518083038185875af1925050503d806000811461192a576040519150601f19603f3d011682016040523d82523d6000602084013e61192f565b606091505b50509050806109395760405162461bcd60e51b815260206004820152601860248201527f4661696c656420746f2077697468647261772045746865720000000000000000604482015260640161087a565b600080546001600160a01b0383811673ffffffffffffffffffffffffffffffffffffffff19831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6119e78282611f09565b5050600780546001019055565b816001600160a01b0316836001600160a01b031603611a555760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c657200000000000000604482015260640161087a565b6001600160a01b03838116600081815260066020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b6000610240601f5483611ad59190612778565b61072b91906129de565b606081600003611b065750506040805180820190915260018152600360fc1b602082015290565b8160005b8115611b295780611b1a81612c64565b915050600482901c9150611b0a565b600f60008267ffffffffffffffff811115611b4657611b46612346565b6040519080825280601f01601f191660200182016040528015611b70576020820181803683370190505b509050825b8615611c015786831660098111611b9957611b91816030612778565b60f81b611ba8565b611ba4816037612778565b60f81b5b83611bb284612c7d565b93508381518110611bc557611bc561274b565b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600488901c975050611b75565b611c0a82612058565b979650505050505050565b611c208484846116a9565b611c2c84848484612090565b6110f75760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527f63656976657220696d706c656d656e7465720000000000000000000000000000606482015260840161087a565b606081600003611cc55750506040805180820190915260018152600360fc1b602082015290565b8160005b8115611cef5780611cd981612c64565b9150611ce89050600a83612a96565b9150611cc9565b60008167ffffffffffffffff811115611d0a57611d0a612346565b6040519080825280601f01601f191660200182016040528015611d34576020820181803683370190505b5090505b84156116a157611d4960018361262a565b9150611d56600a866129de565b611d61906030612778565b60f81b818381518110611d7657611d7661274b565b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350611db0600a86612a96565b9450611d38565b60608151600003611dd657505060408051602081019091526000815290565b6000604051806060016040528060408152602001612db16040913990506000600384516002611e059190612778565b611e0f9190612a96565b611e1a906004612761565b67ffffffffffffffff811115611e3257611e32612346565b6040519080825280601f01601f191660200182016040528015611e5c576020820181803683370190505b509050600182016020820185865187015b80821015611ec8576003820191508151603f8160121c168501518453600184019350603f81600c1c168501518453600184019350603f8160061c168501518453600184019350603f8116850151845350600183019250611e6d565b5050600386510660018114611ee45760028114611ef757610b6a565b603d6001830353603d6002830353610b6a565b603d6001830353509195945050505050565b6001600160a01b038216611f5f5760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f2061646472657373604482015260640161087a565b6000818152600360205260409020546001600160a01b031615611fc45760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000604482015260640161087a565b6001600160a01b0382166000908152600460205260408120805460019290611fed908490612778565b9091555050600081815260036020526040808220805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b60605b60068251101561208c57816040516020016120769190612c94565b604051602081830303815290604052915061205b565b5090565b60006001600160a01b0384163b156121dc57604051630a85bd0160e11b81526001600160a01b0385169063150b7a02906120d4903390899088908890600401612cbd565b6020604051808303816000875af192505050801561210f575060408051601f3d908101601f1916820190925261210c91810190612cf9565b60015b6121c2573d80801561213d576040519150601f19603f3d011682016040523d82523d6000602084013e612142565b606091505b5080516000036121ba5760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527f63656976657220696d706c656d656e7465720000000000000000000000000000606482015260840161087a565b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490506116a1565b506001949350505050565b60405180606001604052806003905b60608152602001906001900390816121f65790505090565b6001600160e01b031981168114610a8b57600080fd5b60006020828403121561223657600080fd5b81356122418161220e565b9392505050565b60005b8381101561226357818101518382015260200161224b565b50506000910152565b60008151808452612284816020860160208601612248565b601f01601f19169290920160200192915050565b602081526000612241602083018461226c565b6000602082840312156122bd57600080fd5b5035919050565b80356001600160a01b03811681146122db57600080fd5b919050565b600080604083850312156122f357600080fd5b6122fc836122c4565b946020939093013593505050565b60008060006060848603121561231f57600080fd5b612328846122c4565b9250612336602085016122c4565b9150604084013590509250925092565b634e487b7160e01b600052604160045260246000fd5b600067ffffffffffffffff8084111561237757612377612346565b604051601f8501601f19908116603f0116810190828211818310171561239f5761239f612346565b816040528093508581528686860111156123b857600080fd5b858560208301376000602087830101525050509392505050565b6000602082840312156123e457600080fd5b813567ffffffffffffffff8111156123fb57600080fd5b8201601f8101841361240c57600080fd5b6116a18482356020840161235c565b60006020828403121561242d57600080fd5b612241826122c4565b6020808252825182820181905260009190848201906040850190845b8181101561246e57835183529284019291840191600101612452565b50909695505050505050565b6000806040838503121561248d57600080fd5b612496836122c4565b9150602083013580151581146124ab57600080fd5b809150509250929050565b600080600080608085870312156124cc57600080fd5b6124d5856122c4565b93506124e3602086016122c4565b925060408501359150606085013567ffffffffffffffff81111561250657600080fd5b8501601f8101871361251757600080fd5b6125268782356020840161235c565b91505092959194509250565b6000806020838503121561254557600080fd5b823567ffffffffffffffff8082111561255d57600080fd5b818501915085601f83011261257157600080fd5b81358181111561258057600080fd5b8660208260051b850101111561259557600080fd5b60209290920196919550909350505050565b600080604083850312156125ba57600080fd5b6125c3836122c4565b91506125d1602084016122c4565b90509250929050565b600181811c908216806125ee57607f821691505b60208210810361260e57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b8181038181111561072b5761072b612614565b601f82111561093957600081815260208120601f850160051c810160208610156126645750805b601f850160051c820191505b8181101561268357828155600101612670565b505050505050565b815167ffffffffffffffff8111156126a5576126a5612346565b6126b9816126b384546125da565b8461263d565b602080601f8311600181146126ee57600084156126d65750858301515b600019600386901b1c1916600185901b178555612683565b600085815260208120601f198616915b8281101561271d578886015182559484019460019091019084016126fe565b508582101561273b5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b634e487b7160e01b600052603260045260246000fd5b808202811582820484141761072b5761072b612614565b8082018082111561072b5761072b612614565b6000815161279d818560208601612248565b9290920192915050565b600084516127b9818460208901612248565b8451908301906127cd818360208901612248565b84519101906127e0818360208801612248565b0195945050505050565b7f7b226e616d65223a20220000000000000000000000000000000000000000000081526000875161282281600a850160208c01612248565b7f2023000000000000000000000000000000000000000000000000000000000000600a91840191820152875161285f81600c840160208c01612248565b7f222c20226465736372697074696f6e223a202200000000000000000000000000600c9290910191820152865161289d81601f840160208b01612248565b7f222c2022696d616765223a2022646174613a696d6167652f7376672b786d6c3b601f92909101918201527f6261736536342c00000000000000000000000000000000000000000000000000603f8201528551612901816046840160208a01612248565b8551910190612917816046840160208901612248565b6129526129296046838501018761278b565b7f7d00000000000000000000000000000000000000000000000000000000000000815260010190565b9a9950505050505050505050565b7f646174613a6170706c69636174696f6e2f6a736f6e3b6261736536342c00000081526000825161299881601d850160208701612248565b91909101601d0192915050565b6000602082840312156129b757600080fd5b813560ff8116811461224157600080fd5b634e487b7160e01b600052601260045260246000fd5b6000826129ed576129ed6129c8565b500690565b7f7b0a00000000000000000000000000000000000000000000000000000000000081527f2274726169745f74797065223a202278222c000000000000000000000000000060028201526000600560f91b80601484015269113b30b63ab2911d101160b11b60158401528351612a6e81601f860160208801612248565b601160f91b601f9490910193840152602083015250613e8560f11b6021820152602301919050565b600082612aa557612aa56129c8565b500490565b612c7b60f01b81526000600560f91b8060028401527f2274726169745f74797065223a202279222c0000000000000000000000000000600384015280601584015269113b30b63ab2911d101160b11b60168401528351612b11816020860160208801612248565b601160f91b60209490910193840152602183015250613e8560f11b6022820152602401919050565b612c7b60f01b81526000600560f91b8060028401527f2274726169745f74797065223a2022436f6c6f7572222c000000000000000000600384015280601a84015269113b30b63ab2911d101160b11b601b8401528351612ba0816025860160208801612248565b601160f91b60259490910193840152602683015250613e8560f11b6027820152602901919050565b7f5b00000000000000000000000000000000000000000000000000000000000000815260008451612c00816001850160208901612248565b845190830190612c17816001840160208901612248565b8451910190612c2d816001840160208801612248565b7f5d000000000000000000000000000000000000000000000000000000000000006001929091019182015260020195945050505050565b600060018201612c7657612c76612614565b5060010190565b600081612c8c57612c8c612614565b506000190190565b600360fc1b815260008251612cb0816001850160208701612248565b9190910160010192915050565b60006001600160a01b03808716835280861660208401525083604083015260806060830152612cef608083018461226c565b9695505050505050565b600060208284031215612d0b57600080fd5b81516122418161220e56fe3c7376672076657273696f6e3d22312e31222020786d6c6e733d22687474703a2f2f7777772e77332e6f72672f323030302f737667222077696474683d223130302522206865696768743d2231303025222076696577426f783d223020302036323020363230223e3c7265637420783d22302220793d2230222077696474683d2236323022206865696768743d22363230222066696c6c3d22234142434445464748494a4b4c4d4e4f505152535455565758595a6162636465666768696a6b6c6d6e6f707172737475767778797a303132333435363738392b2fa2646970667358221220a5113ed112a6619d934a34ada30b814885e42895aa0f0ba74a672d336768866a64736f6c634300081100334e6f766f506978656c73206973206120636f6d6d756e6974792d64726976656e20746f6b656e206372656174656420746f20737570706f727420616e6420617373697374206f6e65206f66206f7572206f776e2c2043727970746f4e6f766f2c2077686f2066656c6c2076696374696d20746f2061207363616d20616e64206c6f7374206d616e79206f6620686973204e4654732e205468652070726f63656564732066726f6d207468652073616c65206f66204e6f766f506978656c732077696c6c206265207573656420746f2068656c702043727970746f4e6f766f20676574206869732062656c6f76656420706978656c206172742070726f66696c652070696374757265206261636b2e
Deployed Bytecode
0x6080604052600436106102385760003560e01c80638da5cb5b11610138578063c87b56dd116100b0578063e98665501161007f578063eb8d244411610064578063eb8d244414610644578063f2fde38b1461065e578063f47c84c51461067e57600080fd5b8063e98665501461061a578063eb6ad24e1461062f57600080fd5b8063c87b56dd14610571578063d6e7c58e14610591578063e1dc0761146105b1578063e985e9c5146105d157600080fd5b8063a22cb46511610107578063a475b5dd116100ec578063a475b5dd14610514578063b88d4fde14610529578063c4bc25af1461054957600080fd5b8063a22cb465146104d4578063a2d6c6da146104f457600080fd5b80638da5cb5b1461046e57806391b7f5ed1461048c57806395d89b41146104ac578063a0712d68146104c157600080fd5b806334918dfd116101cb578063518302271161019a57806370a082311161017f57806370a0823114610423578063715018a6146104435780637ff9b5961461045857600080fd5b806351830227146103e45780636352211e1461040357600080fd5b806334918dfd1461036d5780633ccfd60b1461038257806342842e0e14610397578063438b6300146103b757600080fd5b806318160ddd1161020757806318160ddd146102f55780631a0925411461031857806323b872dd1461032d57806330176e131461034d57600080fd5b806301ffc9a71461024457806306fdde0314610279578063081812fc1461029b578063095ea7b3146102d357600080fd5b3661023f57005b600080fd5b34801561025057600080fd5b5061026461025f366004612224565b610694565b60405190151581526020015b60405180910390f35b34801561028557600080fd5b5061028e610731565b6040516102709190612298565b3480156102a757600080fd5b506102bb6102b63660046122ab565b6107c3565b6040516001600160a01b039091168152602001610270565b3480156102df57600080fd5b506102f36102ee3660046122e0565b6107ea565b005b34801561030157600080fd5b5061030a61093e565b604051908152602001610270565b34801561032457600080fd5b5061028e610955565b34801561033957600080fd5b506102f361034836600461230a565b610964565b34801561035957600080fd5b506102f36103683660046123d2565b6109eb565b34801561037957600080fd5b506102f3610a03565b34801561038e57600080fd5b506102f3610a1f565b3480156103a357600080fd5b506102f36103b236600461230a565b610a8e565b3480156103c357600080fd5b506103d76103d236600461241b565b610aa9565b6040516102709190612436565b3480156103f057600080fd5b5060205461026490610100900460ff1681565b34801561040f57600080fd5b506102bb61041e3660046122ab565b610b75565b34801561042f57600080fd5b5061030a61043e36600461241b565b610bda565b34801561044f57600080fd5b506102f3610c74565b34801561046457600080fd5b5061030a601e5481565b34801561047a57600080fd5b506000546001600160a01b03166102bb565b34801561049857600080fd5b506102f36104a73660046122ab565b610c88565b3480156104b857600080fd5b5061028e610c95565b6102f36104cf3660046122ab565b610ca4565b3480156104e057600080fd5b506102f36104ef36600461247a565b610e9f565b34801561050057600080fd5b5061028e61050f3660046122ab565b610eaa565b34801561052057600080fd5b506102f3611056565b34801561053557600080fd5b506102f36105443660046124b6565b61106f565b34801561055557600080fd5b506102bb73d7da0ae98f7a1da7c3318c32e78a1013c00df93581565b34801561057d57600080fd5b5061028e61058c3660046122ab565b6110fd565b34801561059d57600080fd5b506102f36105ac366004612532565b61124d565b3480156105bd57600080fd5b5061028e6105cc3660046122ab565b6112c9565b3480156105dd57600080fd5b506102646105ec3660046125a7565b6001600160a01b03918216600090815260066020908152604080832093909416825291909152205460ff1690565b34801561062657600080fd5b506102f361141a565b34801561063b57600080fd5b5061030a61149e565b34801561065057600080fd5b506020546102649060ff1681565b34801561066a57600080fd5b506102f361067936600461241b565b6114be565b34801561068a57600080fd5b5061030a61024081565b60006001600160e01b031982167f80ac58cd0000000000000000000000000000000000000000000000000000000014806106f757506001600160e01b031982167f5b5e139f00000000000000000000000000000000000000000000000000000000145b8061072b57507f01ffc9a7000000000000000000000000000000000000000000000000000000006001600160e01b03198316145b92915050565b606060018054610740906125da565b80601f016020809104026020016040519081016040528092919081815260200182805461076c906125da565b80156107b95780601f1061078e576101008083540402835291602001916107b9565b820191906000526020600020905b81548152906001019060200180831161079c57829003601f168201915b5050505050905090565b60006107ce8261154b565b506000908152600560205260409020546001600160a01b031690565b60006107f582610b75565b9050806001600160a01b0316836001600160a01b0316036108835760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560448201527f720000000000000000000000000000000000000000000000000000000000000060648201526084015b60405180910390fd5b336001600160a01b03821614806108bd57506001600160a01b038116600090815260066020908152604080832033845290915290205460ff165b61092f5760405162461bcd60e51b815260206004820152603e60248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f7420746f60448201527f6b656e206f776e6572206e6f7220617070726f76656420666f7220616c6c0000606482015260840161087a565b61093983836115af565b505050565b6000600854600754610950919061262a565b905090565b6060600a8054610740906125da565b61096e338261162a565b6109e05760405162461bcd60e51b815260206004820152602e60248201527f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6560448201527f72206e6f7220617070726f766564000000000000000000000000000000000000606482015260840161087a565b6109398383836116a9565b6109f3611883565b60096109ff828261268b565b5050565b610a0b611883565b6020805460ff19811660ff90911615179055565b4780610a6d5760405162461bcd60e51b815260206004820152601460248201527f496e73756666696369656e742062616c616e6365000000000000000000000000604482015260640161087a565b610a8b73d7da0ae98f7a1da7c3318c32e78a1013c00df935826118dd565b50565b6109398383836040518060200160405280600081525061106f565b60606000610ab683610bda565b905060008167ffffffffffffffff811115610ad357610ad3612346565b604051908082528060200260200182016040528015610afc578160200160208202803683370190505b5060075490915060009081905b84821015610b6a5780831015610b6a57866001600160a01b0316610b2c84610b75565b6001600160a01b031603610b5f5782848381518110610b4d57610b4d61274b565b60209081029190910101526001909101905b600190920191610b09565b509195945050505050565b6000818152600360205260408120546001600160a01b03168061072b5760405162461bcd60e51b815260206004820152601860248201527f4552433732313a20696e76616c696420746f6b656e2049440000000000000000604482015260640161087a565b60006001600160a01b038216610c585760405162461bcd60e51b815260206004820152602960248201527f4552433732313a2061646472657373207a65726f206973206e6f74206120766160448201527f6c6964206f776e65720000000000000000000000000000000000000000000000606482015260840161087a565b506001600160a01b031660009081526004602052604090205490565b610c7c611883565b610c866000611980565b565b610c90611883565b601e55565b606060028054610740906125da565b333214610cf35760405162461bcd60e51b815260206004820152601560248201527f4e6f20436f6e74726163747320616c6c6f7765642e0000000000000000000000604482015260640161087a565b60205460ff16610d455760405162461bcd60e51b815260206004820152601360248201527f53616c65204e4f54206163746976652079657400000000000000000000000000604482015260640161087a565b80600003610d955760405162461bcd60e51b815260206004820152601860248201527f6e756d6265724f664e6674732063616e6e6f7420626520300000000000000000604482015260640161087a565b3481601e54610da49190612761565b1115610df25760405162461bcd60e51b815260206004820152601f60248201527f45746865722076616c75652073656e74206973206e6f7420636f727265637400604482015260640161087a565b6000610dfd60075490565b9050610240610e0c8383612778565b1115610e805760405162461bcd60e51b815260206004820152602a60248201527f507572636861736520776f756c6420657863656564206d617820737570706c7960448201527f206f6620546f6b656e7300000000000000000000000000000000000000000000606482015260840161087a565b60005b8281101561093957610e97338284016119dd565b600101610e83565b6109ff3383836119f4565b6000818152600360205260409020546060906001600160a01b0316610f065760405162461bcd60e51b81526020600482015260126024820152712737b716a2bc34b9ba34b733903a37b5b2b760711b604482015260640161087a565b610f0e6121e7565b6040518060c00160405280609a8152602001612d17609a91398152602054610100900460ff1615610faf57610fa5601d600b610f4986611ac2565b6102408110610f5a57610f5a61274b565b602081049091015460ff601f9092166101000a90041660098110610f8057610f8061274b565b600a91828204019190066003029054906101000a900462ffffff1662ffffff16611adf565b6020820152610fec565b60408051808201909152600681527f3643383439350000000000000000000000000000000000000000000000000000602082015281600160200201525b604080518082018252600a81527f22202f3e3c2f7376673e00000000000000000000000000000000000000000000602080830191909152838301829052835184820151935161103f9491939192016127a7565b604051602081830303815290604052915050919050565b61105e611883565b6020805461ff001916610100179055565b611079338361162a565b6110eb5760405162461bcd60e51b815260206004820152602e60248201527f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6560448201527f72206e6f7220617070726f766564000000000000000000000000000000000000606482015260840161087a565b6110f784848484611c15565b50505050565b6000818152600360205260409020546060906001600160a01b03166111595760405162461bcd60e51b81526020600482015260126024820152712737b716a2bc34b9ba34b733903a37b5b2b760711b604482015260640161087a565b600061116483610eaa565b90506000611171846112c9565b90506000611221611180610731565b61118987611c9e565b611191610955565b61119a87611db7565b8651156111dc576040518060400160405280601181526020017f222c202261747472696275746573223a200000000000000000000000000000008152506111f7565b604051806040016040528060018152602001601160f91b8152505b8760405160200161120d969594939291906127ea565b604051602081830303815290604052611db7565b9050806040516020016112349190612960565b6040516020818303038152906040529350505050919050565b611255611883565b8060005b818110156110f7578383828181106112735761127361274b565b905060200201602081019061128891906129a5565b600b82610240811061129c5761129c61274b565b602091828204019190066101000a81548160ff021916908360ff1602179055508080600101915050611259565b6000818152600360205260409020546060906001600160a01b03166113255760405162461bcd60e51b81526020600482015260126024820152712737b716a2bc34b9ba34b733903a37b5b2b760711b604482015260640161087a565b602054610100900460ff1661134857505060408051602081019091526000815290565b6113506121e7565b61136d601861135e85611ac2565b61136891906129de565b611c9e565b60405160200161137d91906129f2565b60408051808303601f1901815291905281526113a7601861139d85611ac2565b6113689190612a96565b6040516020016113b79190612aaa565b60408051808303601f1901815291905260208201526113dc601d600b610f4986611ac2565b6040516020016113ec9190612b39565b60408051808303601f190181529181528281018290528251602080850151925161103f949293929101612bc8565b611422611883565b601f54156114725760405162461bcd60e51b815260206004820152601d60248201527f5374617274696e6720696e64657820697320616c726561647920736574000000604482015260640161087a565b61024061148060014361262a565b61148b9190406129de565b601f819055600003610c86576025601f55565b602054600090610100900460ff16156114b85750601f5490565b50600090565b6114c6611883565b6001600160a01b0381166115425760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f6464726573730000000000000000000000000000000000000000000000000000606482015260840161087a565b610a8b81611980565b6000818152600360205260409020546001600160a01b0316610a8b5760405162461bcd60e51b815260206004820152601860248201527f4552433732313a20696e76616c696420746f6b656e2049440000000000000000604482015260640161087a565b6000818152600560205260409020805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b03841690811790915581906115f182610b75565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b60008061163683610b75565b9050806001600160a01b0316846001600160a01b0316148061167d57506001600160a01b0380821660009081526006602090815260408083209388168352929052205460ff165b806116a15750836001600160a01b0316611696846107c3565b6001600160a01b0316145b949350505050565b826001600160a01b03166116bc82610b75565b6001600160a01b0316146117385760405162461bcd60e51b815260206004820152602560248201527f4552433732313a207472616e736665722066726f6d20696e636f72726563742060448201527f6f776e6572000000000000000000000000000000000000000000000000000000606482015260840161087a565b6001600160a01b0382166117b35760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f2061646460448201527f7265737300000000000000000000000000000000000000000000000000000000606482015260840161087a565b6117be6000826115af565b6001600160a01b03831660009081526004602052604081208054600192906117e790849061262a565b90915550506001600160a01b0382166000908152600460205260408120805460019290611815908490612778565b9091555050600081815260036020526040808220805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b6000546001600160a01b03163314610c865760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161087a565b6000826001600160a01b03168260405160006040518083038185875af1925050503d806000811461192a576040519150601f19603f3d011682016040523d82523d6000602084013e61192f565b606091505b50509050806109395760405162461bcd60e51b815260206004820152601860248201527f4661696c656420746f2077697468647261772045746865720000000000000000604482015260640161087a565b600080546001600160a01b0383811673ffffffffffffffffffffffffffffffffffffffff19831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6119e78282611f09565b5050600780546001019055565b816001600160a01b0316836001600160a01b031603611a555760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c657200000000000000604482015260640161087a565b6001600160a01b03838116600081815260066020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b6000610240601f5483611ad59190612778565b61072b91906129de565b606081600003611b065750506040805180820190915260018152600360fc1b602082015290565b8160005b8115611b295780611b1a81612c64565b915050600482901c9150611b0a565b600f60008267ffffffffffffffff811115611b4657611b46612346565b6040519080825280601f01601f191660200182016040528015611b70576020820181803683370190505b509050825b8615611c015786831660098111611b9957611b91816030612778565b60f81b611ba8565b611ba4816037612778565b60f81b5b83611bb284612c7d565b93508381518110611bc557611bc561274b565b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600488901c975050611b75565b611c0a82612058565b979650505050505050565b611c208484846116a9565b611c2c84848484612090565b6110f75760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527f63656976657220696d706c656d656e7465720000000000000000000000000000606482015260840161087a565b606081600003611cc55750506040805180820190915260018152600360fc1b602082015290565b8160005b8115611cef5780611cd981612c64565b9150611ce89050600a83612a96565b9150611cc9565b60008167ffffffffffffffff811115611d0a57611d0a612346565b6040519080825280601f01601f191660200182016040528015611d34576020820181803683370190505b5090505b84156116a157611d4960018361262a565b9150611d56600a866129de565b611d61906030612778565b60f81b818381518110611d7657611d7661274b565b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350611db0600a86612a96565b9450611d38565b60608151600003611dd657505060408051602081019091526000815290565b6000604051806060016040528060408152602001612db16040913990506000600384516002611e059190612778565b611e0f9190612a96565b611e1a906004612761565b67ffffffffffffffff811115611e3257611e32612346565b6040519080825280601f01601f191660200182016040528015611e5c576020820181803683370190505b509050600182016020820185865187015b80821015611ec8576003820191508151603f8160121c168501518453600184019350603f81600c1c168501518453600184019350603f8160061c168501518453600184019350603f8116850151845350600183019250611e6d565b5050600386510660018114611ee45760028114611ef757610b6a565b603d6001830353603d6002830353610b6a565b603d6001830353509195945050505050565b6001600160a01b038216611f5f5760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f2061646472657373604482015260640161087a565b6000818152600360205260409020546001600160a01b031615611fc45760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000604482015260640161087a565b6001600160a01b0382166000908152600460205260408120805460019290611fed908490612778565b9091555050600081815260036020526040808220805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b60605b60068251101561208c57816040516020016120769190612c94565b604051602081830303815290604052915061205b565b5090565b60006001600160a01b0384163b156121dc57604051630a85bd0160e11b81526001600160a01b0385169063150b7a02906120d4903390899088908890600401612cbd565b6020604051808303816000875af192505050801561210f575060408051601f3d908101601f1916820190925261210c91810190612cf9565b60015b6121c2573d80801561213d576040519150601f19603f3d011682016040523d82523d6000602084013e612142565b606091505b5080516000036121ba5760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527f63656976657220696d706c656d656e7465720000000000000000000000000000606482015260840161087a565b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490506116a1565b506001949350505050565b60405180606001604052806003905b60608152602001906001900390816121f65790505090565b6001600160e01b031981168114610a8b57600080fd5b60006020828403121561223657600080fd5b81356122418161220e565b9392505050565b60005b8381101561226357818101518382015260200161224b565b50506000910152565b60008151808452612284816020860160208601612248565b601f01601f19169290920160200192915050565b602081526000612241602083018461226c565b6000602082840312156122bd57600080fd5b5035919050565b80356001600160a01b03811681146122db57600080fd5b919050565b600080604083850312156122f357600080fd5b6122fc836122c4565b946020939093013593505050565b60008060006060848603121561231f57600080fd5b612328846122c4565b9250612336602085016122c4565b9150604084013590509250925092565b634e487b7160e01b600052604160045260246000fd5b600067ffffffffffffffff8084111561237757612377612346565b604051601f8501601f19908116603f0116810190828211818310171561239f5761239f612346565b816040528093508581528686860111156123b857600080fd5b858560208301376000602087830101525050509392505050565b6000602082840312156123e457600080fd5b813567ffffffffffffffff8111156123fb57600080fd5b8201601f8101841361240c57600080fd5b6116a18482356020840161235c565b60006020828403121561242d57600080fd5b612241826122c4565b6020808252825182820181905260009190848201906040850190845b8181101561246e57835183529284019291840191600101612452565b50909695505050505050565b6000806040838503121561248d57600080fd5b612496836122c4565b9150602083013580151581146124ab57600080fd5b809150509250929050565b600080600080608085870312156124cc57600080fd5b6124d5856122c4565b93506124e3602086016122c4565b925060408501359150606085013567ffffffffffffffff81111561250657600080fd5b8501601f8101871361251757600080fd5b6125268782356020840161235c565b91505092959194509250565b6000806020838503121561254557600080fd5b823567ffffffffffffffff8082111561255d57600080fd5b818501915085601f83011261257157600080fd5b81358181111561258057600080fd5b8660208260051b850101111561259557600080fd5b60209290920196919550909350505050565b600080604083850312156125ba57600080fd5b6125c3836122c4565b91506125d1602084016122c4565b90509250929050565b600181811c908216806125ee57607f821691505b60208210810361260e57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b8181038181111561072b5761072b612614565b601f82111561093957600081815260208120601f850160051c810160208610156126645750805b601f850160051c820191505b8181101561268357828155600101612670565b505050505050565b815167ffffffffffffffff8111156126a5576126a5612346565b6126b9816126b384546125da565b8461263d565b602080601f8311600181146126ee57600084156126d65750858301515b600019600386901b1c1916600185901b178555612683565b600085815260208120601f198616915b8281101561271d578886015182559484019460019091019084016126fe565b508582101561273b5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b634e487b7160e01b600052603260045260246000fd5b808202811582820484141761072b5761072b612614565b8082018082111561072b5761072b612614565b6000815161279d818560208601612248565b9290920192915050565b600084516127b9818460208901612248565b8451908301906127cd818360208901612248565b84519101906127e0818360208801612248565b0195945050505050565b7f7b226e616d65223a20220000000000000000000000000000000000000000000081526000875161282281600a850160208c01612248565b7f2023000000000000000000000000000000000000000000000000000000000000600a91840191820152875161285f81600c840160208c01612248565b7f222c20226465736372697074696f6e223a202200000000000000000000000000600c9290910191820152865161289d81601f840160208b01612248565b7f222c2022696d616765223a2022646174613a696d6167652f7376672b786d6c3b601f92909101918201527f6261736536342c00000000000000000000000000000000000000000000000000603f8201528551612901816046840160208a01612248565b8551910190612917816046840160208901612248565b6129526129296046838501018761278b565b7f7d00000000000000000000000000000000000000000000000000000000000000815260010190565b9a9950505050505050505050565b7f646174613a6170706c69636174696f6e2f6a736f6e3b6261736536342c00000081526000825161299881601d850160208701612248565b91909101601d0192915050565b6000602082840312156129b757600080fd5b813560ff8116811461224157600080fd5b634e487b7160e01b600052601260045260246000fd5b6000826129ed576129ed6129c8565b500690565b7f7b0a00000000000000000000000000000000000000000000000000000000000081527f2274726169745f74797065223a202278222c000000000000000000000000000060028201526000600560f91b80601484015269113b30b63ab2911d101160b11b60158401528351612a6e81601f860160208801612248565b601160f91b601f9490910193840152602083015250613e8560f11b6021820152602301919050565b600082612aa557612aa56129c8565b500490565b612c7b60f01b81526000600560f91b8060028401527f2274726169745f74797065223a202279222c0000000000000000000000000000600384015280601584015269113b30b63ab2911d101160b11b60168401528351612b11816020860160208801612248565b601160f91b60209490910193840152602183015250613e8560f11b6022820152602401919050565b612c7b60f01b81526000600560f91b8060028401527f2274726169745f74797065223a2022436f6c6f7572222c000000000000000000600384015280601a84015269113b30b63ab2911d101160b11b601b8401528351612ba0816025860160208801612248565b601160f91b60259490910193840152602683015250613e8560f11b6027820152602901919050565b7f5b00000000000000000000000000000000000000000000000000000000000000815260008451612c00816001850160208901612248565b845190830190612c17816001840160208901612248565b8451910190612c2d816001840160208801612248565b7f5d000000000000000000000000000000000000000000000000000000000000006001929091019182015260020195945050505050565b600060018201612c7657612c76612614565b5060010190565b600081612c8c57612c8c612614565b506000190190565b600360fc1b815260008251612cb0816001850160208701612248565b9190910160010192915050565b60006001600160a01b03808716835280861660208401525083604083015260806060830152612cef608083018461226c565b9695505050505050565b600060208284031215612d0b57600080fd5b81516122418161220e56fe3c7376672076657273696f6e3d22312e31222020786d6c6e733d22687474703a2f2f7777772e77332e6f72672f323030302f737667222077696474683d223130302522206865696768743d2231303025222076696577426f783d223020302036323020363230223e3c7265637420783d22302220793d2230222077696474683d2236323022206865696768743d22363230222066696c6c3d22234142434445464748494a4b4c4d4e4f505152535455565758595a6162636465666768696a6b6c6d6e6f707172737475767778797a303132333435363738392b2fa2646970667358221220a5113ed112a6619d934a34ada30b814885e42895aa0f0ba74a672d336768866a64736f6c63430008110033
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.