ERC-721
Overview
Max Total Supply
0 MD
Holders
65
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
1 MDLoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Source Code Verified (Exact Match)
Contract Name:
MemoryDisc
Compiler Version
v0.8.13+commit.abaa5c0e
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.13; import "@openzeppelin/contracts/token/ERC721/ERC721.sol"; import "@openzeppelin/contracts/security/ReentrancyGuard.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/utils/Address.sol"; import "@openzeppelin/contracts/utils/Strings.sol"; import "operator-filter-registry/src/DefaultOperatorFilterer.sol"; contract MemoryDisc is ERC721, ReentrancyGuard, Ownable, DefaultOperatorFilterer { uint256 public constant MAX_SUPPLY = 3000; uint256 public constant PRICE = 0.02 ether; address public constant ARTIST = 0x2fe815AE662c439B5D33e712D0b2AC1B47FA2567; struct Attrs { bytes32 hash; string palette; string image; string message; string shape; uint256 speed; uint256 size; uint256 weight; uint256 offset; bool dynamic; } string[] private PALETTES = [ "0100a8-58a8a9-bfc7c8-a9aeb1-0a0919", "e6e6e6-6ccbf9-dbd5d9-4f8cdc-ffffff-e8e8e8", "455354-f8f8f2-1b1d1e-f92672-a6e22e-ae81ff", "313633-ccdc90-7f9f7f-3f3f3f-e3ceab-dcdccc", "818596-17171b-89b8c2-84a0c6-c6c8d1-a093c7", "504945-ebdbb2-282828-fb4934-83a598-b8bb26", "88c0d0-4c566a-2e3440-81a1c1-d8dee9-b48ead", "000000-424450-bd93f9-ff79c6-f8f8f2-50fa7b", "f8f8f2-66747f-2b3e50-ff6541-66d9ef-5c98cd", "ebefc0-232738-0e101a-795ccc-5a5f7b-aeb18d", "80cbc4-546e7a-263238-ffffff-c792ea-82b1ff", "f7f9f9-121424-54c9ff-e9729f-a2a0df-7e7e7e", "87afff-1c1c1c-ffffff-00afff-c6c6c6-ffaf5f", "eeeeee-005f5f-002b36-8787af-ffdf87-87afaf", "ee5d43-5f6167-23262e-ffffff-c74ded-00e8c6", "b7c5d3-171d23-5ec4ff-b7c5d3-718ca1-70e1e8", "1a1d45-d7b7bb-ff4ea5-6cac99-eaad64-7eb564" ]; string[] private SHAPES = ["circle", "square", "triangle"]; bool public isOnSale; bool public isMetadataFrozen; mapping(uint256 => Attrs) public tokenIdToAttributes; uint256[] private _mintedTokenIdList; string private _baseTokenURI; constructor(string memory baseTokenURI) ERC721("Memory Disc", "MD") { _baseTokenURI = baseTokenURI; } function mintedTokenIdList() external view returns (uint256[] memory) { return _mintedTokenIdList; } function tokenURI(uint256 tokenId) public view override returns (string memory) { require(_exists(tokenId), "MemoryDisc: URI query for nonexistent token"); return string( bytes.concat( bytes(_baseTokenURI), bytes(Strings.toString(tokenId)), bytes(".json") ) ); } function setImage(uint256 tokenId, string memory image) external { require( _isApprovedOrOwner(_msgSender(), tokenId), "MemoryDisc: caller is not token owner" ); tokenIdToAttributes[tokenId].image = image; } function setMessage(uint256 tokenId, string memory message) external { require( _isApprovedOrOwner(_msgSender(), tokenId), "MemoryDisc: caller is not token owner" ); tokenIdToAttributes[tokenId].message = message; } function mintAndTransfer(address to, uint256 quantity) internal { uint256 nextTokenId = _mintedTokenIdList.length; require( nextTokenId + quantity <= MAX_SUPPLY, "MemoryDisc: Sold out or invalid amount" ); for (uint256 i = 0; i < quantity; i++) { uint256 tokenId = nextTokenId + i; bytes32 hash = keccak256( abi.encodePacked(tokenId, block.timestamp, msg.sender) ); Attrs memory attrs = _generateAttrs(hash); tokenIdToAttributes[tokenId] = attrs; _mintedTokenIdList.push(tokenId); _safeMint(ARTIST, tokenId); _safeTransfer(ARTIST, to, tokenId, ""); } } function mint(uint256 quantity) external payable nonReentrant { require(isOnSale, "MemoryDisc: Not on sale"); require(msg.value == PRICE * quantity, "MemoryDisc: Invalid value"); mintAndTransfer(_msgSender(), quantity); } function mintForFree(address to, uint256 quantity) external onlyOwner { mintAndTransfer(to, quantity); } function setIsOnSale(bool _isOnSale) external onlyOwner { isOnSale = _isOnSale; } function setIsMetadataFrozen(bool _isMetadataFrozen) external onlyOwner { require( !isMetadataFrozen, "MemoryDisc: isMetadataFrozen cannot be changed" ); isMetadataFrozen = _isMetadataFrozen; } function setBaseTokenURI(string memory baseTokenURI) external onlyOwner { require(!isMetadataFrozen, "MemoryDisc: Metadata is already frozen"); _baseTokenURI = baseTokenURI; } function withdraw() external onlyOwner { Address.sendValue(payable(msg.sender), address(this).balance); } function _generateAttrs(bytes32 hash) internal view returns (Attrs memory) { uint256 pseudorandomness = uint256(hash); string memory palette = PALETTES[uint8(pseudorandomness) % PALETTES.length]; string memory shape = SHAPES[uint8(pseudorandomness) % SHAPES.length]; uint256 speed = (uint256(pseudorandomness >> (8 * 1)) % 100) + 1; uint256 size = (uint256(pseudorandomness >> (8 * 2)) % 100) + 1; uint256 weight = (uint256(pseudorandomness >> (8 * 3)) % 100) + 1; uint256 offset = (uint256(pseudorandomness >> (8 * 4)) % 100) + 1; bool dynamic = pseudorandomness % 10 != 0; return Attrs(hash, palette, "", "", shape, speed, size, weight, offset, dynamic); } /** * Operator Filter Registry */ function setApprovalForAll(address operator, bool approved) public override onlyAllowedOperatorApproval(operator) { super.setApprovalForAll(operator, approved); } function approve(address operator, uint256 tokenId) public override onlyAllowedOperatorApproval(operator) { super.approve(operator, tokenId); } function transferFrom( address from, address to, uint256 tokenId ) public override onlyAllowedOperator(from) { super.transferFrom(from, to, tokenId); } function safeTransferFrom( address from, address to, uint256 tokenId ) public override onlyAllowedOperator(from) { super.safeTransferFrom(from, to, tokenId); } function safeTransferFrom( address from, address to, uint256 tokenId, bytes memory data ) public override onlyAllowedOperator(from) { super.safeTransferFrom(from, to, tokenId, data); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (security/ReentrancyGuard.sol) pragma solidity ^0.8.0; /** * @dev Contract module that helps prevent reentrant calls to a function. * * Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier * available, which can be applied to functions to make sure there are no nested * (reentrant) calls to them. * * Note that because there is a single `nonReentrant` guard, functions marked as * `nonReentrant` may not call one another. This can be worked around by making * those functions `private`, and then adding `external` `nonReentrant` entry * points to them. * * TIP: If you would like to learn more about reentrancy and alternative ways * to protect against it, check out our blog post * https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul]. */ abstract contract ReentrancyGuard { // Booleans are more expensive than uint256 or any type that takes up a full // word because each write operation emits an extra SLOAD to first read the // slot's contents, replace the bits taken up by the boolean, and then write // back. This is the compiler's defense against contract upgrades and // pointer aliasing, and it cannot be disabled. // The values being non-zero value makes deployment a bit more expensive, // but in exchange the refund on every call to nonReentrant will be lower in // amount. Since refunds are capped to a percentage of the total // transaction's gas, it is best to keep them low in cases like this one, to // increase the likelihood of the full refund coming into effect. uint256 private constant _NOT_ENTERED = 1; uint256 private constant _ENTERED = 2; uint256 private _status; constructor() { _status = _NOT_ENTERED; } /** * @dev Prevents a contract from calling itself, directly or indirectly. * Calling a `nonReentrant` function from another `nonReentrant` * function is not supported. It is possible to prevent this from happening * by making the `nonReentrant` function external, and making it call a * `private` function that does the actual work. */ modifier nonReentrant() { // On the first call to nonReentrant, _notEntered will be true require(_status != _ENTERED, "ReentrancyGuard: reentrant call"); // Any calls to nonReentrant after this point will fail _status = _ENTERED; _; // By storing the original value once again, a refund is triggered (see // https://eips.ethereum.org/EIPS/eip-2200) _status = _NOT_ENTERED; } }
// 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 (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 pragma solidity ^0.8.13; import {OperatorFilterer} from "./OperatorFilterer.sol"; /** * @title DefaultOperatorFilterer * @notice Inherits from OperatorFilterer and automatically subscribes to the default OpenSea subscription. */ abstract contract DefaultOperatorFilterer is OperatorFilterer { address constant DEFAULT_SUBSCRIPTION = address(0x3cc6CddA760b79bAfa08dF41ECFA224f810dCeB6); constructor() OperatorFilterer(DEFAULT_SUBSCRIPTION, true) {} }
// 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) (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 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.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/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 (token/ERC721/extensions/IERC721Metadata.sol) pragma solidity ^0.8.0; import "../IERC721.sol"; /** * @title ERC-721 Non-Fungible Token Standard, optional metadata extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Metadata is IERC721 { /** * @dev Returns the token collection name. */ function name() external view returns (string memory); /** * @dev Returns the token collection symbol. */ function symbol() external view returns (string memory); /** * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token. */ function tokenURI(uint256 tokenId) external view returns (string memory); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (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); }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.13; import {IOperatorFilterRegistry} from "./IOperatorFilterRegistry.sol"; /** * @title OperatorFilterer * @notice Abstract contract whose constructor automatically registers and optionally subscribes to or copies another * registrant's entries in the OperatorFilterRegistry. * @dev This smart contract is meant to be inherited by token contracts so they can use the following: * - `onlyAllowedOperator` modifier for `transferFrom` and `safeTransferFrom` methods. * - `onlyAllowedOperatorApproval` modifier for `approve` and `setApprovalForAll` methods. */ abstract contract OperatorFilterer { error OperatorNotAllowed(address operator); IOperatorFilterRegistry public constant OPERATOR_FILTER_REGISTRY = IOperatorFilterRegistry(0x000000000000AAeB6D7670E522A718067333cd4E); constructor(address subscriptionOrRegistrantToCopy, bool subscribe) { // If an inheriting token contract is deployed to a network without the registry deployed, the modifier // will not revert, but the contract will need to be registered with the registry once it is deployed in // order for the modifier to filter addresses. if (address(OPERATOR_FILTER_REGISTRY).code.length > 0) { if (subscribe) { OPERATOR_FILTER_REGISTRY.registerAndSubscribe(address(this), subscriptionOrRegistrantToCopy); } else { if (subscriptionOrRegistrantToCopy != address(0)) { OPERATOR_FILTER_REGISTRY.registerAndCopyEntries(address(this), subscriptionOrRegistrantToCopy); } else { OPERATOR_FILTER_REGISTRY.register(address(this)); } } } } modifier onlyAllowedOperator(address from) virtual { // Allow spending tokens from addresses with balance // Note that this still allows listings and marketplaces with escrow to transfer tokens if transferred // from an EOA. if (from != msg.sender) { _checkFilterOperator(msg.sender); } _; } modifier onlyAllowedOperatorApproval(address operator) virtual { _checkFilterOperator(operator); _; } function _checkFilterOperator(address operator) internal view virtual { // Check registry code length to facilitate testing in environments without a deployed registry. if (address(OPERATOR_FILTER_REGISTRY).code.length > 0) { if (!OPERATOR_FILTER_REGISTRY.isOperatorAllowed(address(this), operator)) { revert OperatorNotAllowed(operator); } } } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.13; interface IOperatorFilterRegistry { function isOperatorAllowed(address registrant, address operator) external view returns (bool); function register(address registrant) external; function registerAndSubscribe(address registrant, address subscription) external; function registerAndCopyEntries(address registrant, address registrantToCopy) external; function unregister(address addr) external; function updateOperator(address registrant, address operator, bool filtered) external; function updateOperators(address registrant, address[] calldata operators, bool filtered) external; function updateCodeHash(address registrant, bytes32 codehash, bool filtered) external; function updateCodeHashes(address registrant, bytes32[] calldata codeHashes, bool filtered) external; function subscribe(address registrant, address registrantToSubscribe) external; function unsubscribe(address registrant, bool copyExistingEntries) external; function subscriptionOf(address addr) external returns (address registrant); function subscribers(address registrant) external returns (address[] memory); function subscriberAt(address registrant, uint256 index) external returns (address); function copyEntriesOf(address registrant, address registrantToCopy) external; function isOperatorFiltered(address registrant, address operator) external returns (bool); function isCodeHashOfFiltered(address registrant, address operatorWithCode) external returns (bool); function isCodeHashFiltered(address registrant, bytes32 codeHash) external returns (bool); function filteredOperators(address addr) external returns (address[] memory); function filteredCodeHashes(address addr) external returns (bytes32[] memory); function filteredOperatorAt(address registrant, uint256 index) external returns (address); function filteredCodeHashAt(address registrant, uint256 index) external returns (bytes32); function isRegistered(address addr) external returns (bool); function codeHashOf(address addr) external returns (bytes32); }
{ "optimizer": { "enabled": true, "runs": 1000 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"string","name":"baseTokenURI","type":"string"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[{"internalType":"address","name":"operator","type":"address"}],"name":"OperatorNotAllowed","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"ARTIST","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"OPERATOR_FILTER_REGISTRY","outputs":[{"internalType":"contract IOperatorFilterRegistry","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PRICE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isMetadataFrozen","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isOnSale","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"quantity","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"quantity","type":"uint256"}],"name":"mintForFree","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"mintedTokenIdList","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"baseTokenURI","type":"string"}],"name":"setBaseTokenURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"string","name":"image","type":"string"}],"name":"setImage","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_isMetadataFrozen","type":"bool"}],"name":"setIsMetadataFrozen","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_isOnSale","type":"bool"}],"name":"setIsOnSale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"string","name":"message","type":"string"}],"name":"setMessage","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"tokenIdToAttributes","outputs":[{"internalType":"bytes32","name":"hash","type":"bytes32"},{"internalType":"string","name":"palette","type":"string"},{"internalType":"string","name":"image","type":"string"},{"internalType":"string","name":"message","type":"string"},{"internalType":"string","name":"shape","type":"string"},{"internalType":"uint256","name":"speed","type":"uint256"},{"internalType":"uint256","name":"size","type":"uint256"},{"internalType":"uint256","name":"weight","type":"uint256"},{"internalType":"uint256","name":"offset","type":"uint256"},{"internalType":"bool","name":"dynamic","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
61030060405260226102a0818152608091829190620036766102c0398152602001604051806060016040528060298152602001620035d2602991398152602001604051806060016040528060298152602001620035806029913981526020016040518060600160405280602981526020016200340f602991398152602001604051806060016040528060298152602001620034dc60299139815260200160405180606001604052806029815260200162003557602991398152602001604051806060016040528060298152602001620035a960299139815260200160405180606001604052806029815260200162003624602991398152602001604051806060016040528060298152602001620034b36029913981526020016040518060600160405280602981526020016200364d6029913981526020016040518060600160405280602981526020016200352e602991398152602001604051806060016040528060298152602001620034616029913981526020016040518060600160405280602981526020016200348a60299139815260200160405180606001604052806029815260200162003438602991398152602001604051806060016040528060298152602001620035fb602991398152602001604051806060016040528060298152602001620033e6602991398152602001604051806060016040528060298152602001620035056029913990526200021d9060089060116200051d565b50604051806060016040528060405180604001604052806006815260200165636972636c6560d01b81525081526020016040518060400160405280600681526020016573717561726560d01b815250815260200160405180604001604052806008815260200167747269616e676c6560c01b8152508152506009906003620002a792919062000581565b50348015620002b557600080fd5b506040516200369838038062003698833981016040819052620002d891620006ee565b604080518082018252600b81526a4d656d6f7279204469736360a81b602080830191825283518085019094526002845261135160f21b908401528151733cc6cdda760b79bafa08df41ecfa224f810dceb6936001939290916200033e91600091620005d3565b50805162000354906001906020840190620005d3565b50506001600655506200036733620004cb565b6daaeb6d7670e522a718067333cd4e3b15620004ac578015620003fa57604051633e9f1edf60e11b81523060048201526001600160a01b03831660248201526daaeb6d7670e522a718067333cd4e90637d3e3dbe906044015b600060405180830381600087803b158015620003db57600080fd5b505af1158015620003f0573d6000803e3d6000fd5b50505050620004ac565b6001600160a01b038216156200044b5760405163a0af290360e01b81523060048201526001600160a01b03831660248201526daaeb6d7670e522a718067333cd4e9063a0af290390604401620003c0565b604051632210724360e11b81523060048201526daaeb6d7670e522a718067333cd4e90634420e48690602401600060405180830381600087803b1580156200049257600080fd5b505af1158015620004a7573d6000803e3d6000fd5b505050505b50508051620004c390600d906020840190620005d3565b505062000806565b600780546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b8280548282559060005260206000209081019282156200056f579160200282015b828111156200056f57825180516200055e918491602090910190620005d3565b50916020019190600101906200053e565b506200057d9291506200065e565b5090565b8280548282559060005260206000209081019282156200056f579160200282015b828111156200056f5782518051620005c2918491602090910190620005d3565b5091602001919060010190620005a2565b828054620005e190620007ca565b90600052602060002090601f01602090048101928262000605576000855562000650565b82601f106200062057805160ff191683800117855562000650565b8280016001018555821562000650579182015b828111156200065057825182559160200191906001019062000633565b506200057d9291506200067f565b808211156200057d57600062000675828262000696565b506001016200065e565b5b808211156200057d576000815560010162000680565b508054620006a490620007ca565b6000825580601f10620006b5575050565b601f016020900490600052602060002090810190620006d591906200067f565b50565b634e487b7160e01b600052604160045260246000fd5b600060208083850312156200070257600080fd5b82516001600160401b03808211156200071a57600080fd5b818501915085601f8301126200072f57600080fd5b815181811115620007445762000744620006d8565b604051601f8201601f19908116603f011681019083821181831017156200076f576200076f620006d8565b8160405282815288868487010111156200078857600080fd5b600093505b82841015620007ac57848401860151818501870152928501926200078d565b82841115620007be5760008684830101525b98975050505050505050565b600181811c90821680620007df57607f821691505b6020821081036200080057634e487b7160e01b600052602260045260246000fd5b50919050565b612bd080620008166000396000f3fe6080604052600436106101e35760003560e01c806370a0823111610102578063ab33a38011610095578063c980c62611610064578063c980c62614610583578063e985e9c5146105a3578063f2fde38b146105ec578063fd57fca51461060c57600080fd5b8063ab33a380146104fb578063acf4094a1461051b578063b88d4fde14610543578063c87b56dd1461056357600080fd5b80638da5cb5b116100d15780638da5cb5b1461049557806395d89b41146104b3578063a0712d68146104c8578063a22cb465146104db57600080fd5b806370a082311461042b578063715018a61461044b578063890e839f146104605780638d859f3e1461047a57600080fd5b806330176e131161017a57806342842e0e1161014957806342842e0e146103a957806348ba8ef4146103c95780636352211e146103eb578063648345c81461040b57600080fd5b806330176e131461032e57806332cb6b0c1461034e5780633ccfd60b1461037257806341f434341461038757600080fd5b80630e24495e116101b65780630e24495e146102995780631177f379146102b857806323b872dd146102ee5780632d1db4c61461030e57600080fd5b806301ffc9a7146101e857806306fdde031461021d578063081812fc1461023f578063095ea7b314610277575b600080fd5b3480156101f457600080fd5b5061020861020336600461250d565b61062c565b60405190151581526020015b60405180910390f35b34801561022957600080fd5b506102326106c9565b6040516102149190612589565b34801561024b57600080fd5b5061025f61025a36600461259c565b61075b565b6040516001600160a01b039091168152602001610214565b34801561028357600080fd5b506102976102923660046125d1565b610782565b005b3480156102a557600080fd5b50600a5461020890610100900460ff1681565b3480156102c457600080fd5b506102d86102d336600461259c565b61079b565b6040516102149a999897969594939291906125fb565b3480156102fa57600080fd5b50610297610309366004612683565b610a0c565b34801561031a57600080fd5b506102976103293660046126cd565b610a37565b34801561033a57600080fd5b50610297610349366004612796565b610adc565b34801561035a57600080fd5b50610364610bb881565b604051908152602001610214565b34801561037e57600080fd5b50610297610b79565b34801561039357600080fd5b5061025f6daaeb6d7670e522a718067333cd4e81565b3480156103b557600080fd5b506102976103c4366004612683565b610b8d565b3480156103d557600080fd5b506103de610bb2565b60405161021491906127cb565b3480156103f757600080fd5b5061025f61040636600461259c565b610c09565b34801561041757600080fd5b5061029761042636600461280f565b610c6e565b34801561043757600080fd5b50610364610446366004612856565b610cf8565b34801561045757600080fd5b50610297610d92565b34801561046c57600080fd5b50600a546102089060ff1681565b34801561048657600080fd5b5061036466470de4df82000081565b3480156104a157600080fd5b506007546001600160a01b031661025f565b3480156104bf57600080fd5b50610232610da4565b6102976104d636600461259c565b610db3565b3480156104e757600080fd5b506102976104f6366004612871565b610ecd565b34801561050757600080fd5b506102976105163660046125d1565b610ee1565b34801561052757600080fd5b5061025f732fe815ae662c439b5d33e712d0b2ac1b47fa256781565b34801561054f57600080fd5b5061029761055e3660046128a8565b610ef3565b34801561056f57600080fd5b5061023261057e36600461259c565b610f20565b34801561058f57600080fd5b5061029761059e36600461280f565b611016565b3480156105af57600080fd5b506102086105be366004612924565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b3480156105f857600080fd5b50610297610607366004612856565b61109e565b34801561061857600080fd5b506102976106273660046126cd565b61112e565b60006001600160e01b031982167f80ac58cd00000000000000000000000000000000000000000000000000000000148061068f57506001600160e01b031982167f5b5e139f00000000000000000000000000000000000000000000000000000000145b806106c357507f01ffc9a7000000000000000000000000000000000000000000000000000000006001600160e01b03198316145b92915050565b6060600080546106d890612957565b80601f016020809104026020016040519081016040528092919081815260200182805461070490612957565b80156107515780601f1061072657610100808354040283529160200191610751565b820191906000526020600020905b81548152906001019060200180831161073457829003601f168201915b5050505050905090565b600061076682611149565b506000908152600460205260409020546001600160a01b031690565b8161078c816111ad565b6107968383611298565b505050565b600b60205260009081526040902080546001820180549192916107bd90612957565b80601f01602080910402602001604051908101604052809291908181526020018280546107e990612957565b80156108365780601f1061080b57610100808354040283529160200191610836565b820191906000526020600020905b81548152906001019060200180831161081957829003601f168201915b50505050509080600201805461084b90612957565b80601f016020809104026020016040519081016040528092919081815260200182805461087790612957565b80156108c45780601f10610899576101008083540402835291602001916108c4565b820191906000526020600020905b8154815290600101906020018083116108a757829003601f168201915b5050505050908060030180546108d990612957565b80601f016020809104026020016040519081016040528092919081815260200182805461090590612957565b80156109525780601f1061092757610100808354040283529160200191610952565b820191906000526020600020905b81548152906001019060200180831161093557829003601f168201915b50505050509080600401805461096790612957565b80601f016020809104026020016040519081016040528092919081815260200182805461099390612957565b80156109e05780601f106109b5576101008083540402835291602001916109e0565b820191906000526020600020905b8154815290600101906020018083116109c357829003601f168201915b505050600584015460068501546007860154600887015460099097015495969295919450925060ff168a565b826001600160a01b0381163314610a2657610a26336111ad565b610a318484846113c4565b50505050565b610a3f61144b565b600a54610100900460ff1615610ac25760405162461bcd60e51b815260206004820152602e60248201527f4d656d6f7279446973633a2069734d6574616461746146726f7a656e2063616e60448201527f6e6f74206265206368616e67656400000000000000000000000000000000000060648201526084015b60405180910390fd5b600a80549115156101000261ff0019909216919091179055565b610ae461144b565b600a54610100900460ff1615610b625760405162461bcd60e51b815260206004820152602660248201527f4d656d6f7279446973633a204d6574616461746120697320616c72656164792060448201527f66726f7a656e00000000000000000000000000000000000000000000000000006064820152608401610ab9565b8051610b7590600d90602084019061245e565b5050565b610b8161144b565b610b8b33476114a5565b565b826001600160a01b0381163314610ba757610ba7336111ad565b610a318484846115be565b6060600c80548060200260200160405190810160405280929190818152602001828054801561075157602002820191906000526020600020905b815481526020019060010190808311610bec575050505050905090565b6000818152600260205260408120546001600160a01b0316806106c35760405162461bcd60e51b815260206004820152601860248201527f4552433732313a20696e76616c696420746f6b656e20494400000000000000006044820152606401610ab9565b610c79335b836115d9565b610cd35760405162461bcd60e51b815260206004820152602560248201527f4d656d6f7279446973633a2063616c6c6572206973206e6f7420746f6b656e2060448201526437bbb732b960d91b6064820152608401610ab9565b6000828152600b6020908152604090912082516107969260039092019184019061245e565b60006001600160a01b038216610d765760405162461bcd60e51b815260206004820152602960248201527f4552433732313a2061646472657373207a65726f206973206e6f74206120766160448201527f6c6964206f776e657200000000000000000000000000000000000000000000006064820152608401610ab9565b506001600160a01b031660009081526003602052604090205490565b610d9a61144b565b610b8b6000611658565b6060600180546106d890612957565b600260065403610e055760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610ab9565b6002600655600a5460ff16610e5c5760405162461bcd60e51b815260206004820152601760248201527f4d656d6f7279446973633a204e6f74206f6e2073616c650000000000000000006044820152606401610ab9565b610e6d8166470de4df8200006129a7565b3414610ebb5760405162461bcd60e51b815260206004820152601960248201527f4d656d6f7279446973633a20496e76616c69642076616c7565000000000000006044820152606401610ab9565b610ec533826116b7565b506001600655565b81610ed7816111ad565b6107968383611916565b610ee961144b565b610b7582826116b7565b836001600160a01b0381163314610f0d57610f0d336111ad565b610f1985858585611921565b5050505050565b6000818152600260205260409020546060906001600160a01b0316610fad5760405162461bcd60e51b815260206004820152602b60248201527f4d656d6f7279446973633a2055524920717565727920666f72206e6f6e65786960448201527f7374656e7420746f6b656e0000000000000000000000000000000000000000006064820152608401610ab9565b600d610fb8836119a8565b6040518060400160405280600581526020017f2e6a736f6e000000000000000000000000000000000000000000000000000000815250604051602001611000939291906129e2565b6040516020818303038152906040529050919050565b61101f33610c73565b6110795760405162461bcd60e51b815260206004820152602560248201527f4d656d6f7279446973633a2063616c6c6572206973206e6f7420746f6b656e2060448201526437bbb732b960d91b6064820152608401610ab9565b6000828152600b6020908152604090912082516107969260029092019184019061245e565b6110a661144b565b6001600160a01b0381166111225760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f64647265737300000000000000000000000000000000000000000000000000006064820152608401610ab9565b61112b81611658565b50565b61113661144b565b600a805460ff1916911515919091179055565b6000818152600260205260409020546001600160a01b031661112b5760405162461bcd60e51b815260206004820152601860248201527f4552433732313a20696e76616c696420746f6b656e20494400000000000000006044820152606401610ab9565b6daaeb6d7670e522a718067333cd4e3b1561112b576040517fc61711340000000000000000000000000000000000000000000000000000000081523060048201526001600160a01b03821660248201526daaeb6d7670e522a718067333cd4e9063c617113490604401602060405180830381865afa158015611233573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112579190612a92565b61112b576040517fede71dcc0000000000000000000000000000000000000000000000000000000081526001600160a01b0382166004820152602401610ab9565b60006112a382610c09565b9050806001600160a01b0316836001600160a01b03160361132c5760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560448201527f72000000000000000000000000000000000000000000000000000000000000006064820152608401610ab9565b336001600160a01b0382161480611348575061134881336105be565b6113ba5760405162461bcd60e51b815260206004820152603e60248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f7420746f60448201527f6b656e206f776e6572206e6f7220617070726f76656420666f7220616c6c00006064820152608401610ab9565b6107968383611add565b6113ce33826115d9565b6114405760405162461bcd60e51b815260206004820152602e60248201527f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6560448201527f72206e6f7220617070726f7665640000000000000000000000000000000000006064820152608401610ab9565b610796838383611b58565b6007546001600160a01b03163314610b8b5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610ab9565b804710156114f55760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a20696e73756666696369656e742062616c616e63650000006044820152606401610ab9565b6000826001600160a01b03168260405160006040518083038185875af1925050503d8060008114611542576040519150601f19603f3d011682016040523d82523d6000602084013e611547565b606091505b50509050806107965760405162461bcd60e51b815260206004820152603a60248201527f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260448201527f6563697069656e74206d617920686176652072657665727465640000000000006064820152608401610ab9565b61079683838360405180602001604052806000815250610ef3565b6000806115e583610c09565b9050806001600160a01b0316846001600160a01b0316148061162c57506001600160a01b0380821660009081526005602090815260408083209388168352929052205460ff165b806116505750836001600160a01b03166116458461075b565b6001600160a01b0316145b949350505050565b600780546001600160a01b0383811673ffffffffffffffffffffffffffffffffffffffff19831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b600c54610bb86116c78383612aaf565b111561173b5760405162461bcd60e51b815260206004820152602660248201527f4d656d6f7279446973633a20536f6c64206f7574206f7220696e76616c69642060448201527f616d6f756e7400000000000000000000000000000000000000000000000000006064820152608401610ab9565b60005b82811015610a315760006117528284612aaf565b9050600081423360405160200161178e93929190928352602083019190915260601b6bffffffffffffffffffffffff1916604082015260540190565b60405160208183030381529060405280519060200120905060006117b182611d1a565b6000848152600b6020908152604090912082518155818301518051939450849391926117e59260018501929091019061245e565b506040820151805161180191600284019160209091019061245e565b506060820151805161181d91600384019160209091019061245e565b506080820151805161183991600484019160209091019061245e565b5060a0820151600582015560c0820151600682015560e082015160078201556101008201516008820155610120909101516009909101805460ff1916911515919091179055600c80546001810182556000919091527fdf6966c971051c3d54ec59162606531493a51404a002842f56009d7e5cf4a8c7018390556118d1732fe815ae662c439b5d33e712d0b2ac1b47fa256784611fdf565b611900732fe815ae662c439b5d33e712d0b2ac1b47fa2567888560405180602001604052806000815250611ff9565b505050808061190e90612ac7565b91505061173e565b610b75338383612077565b61192a33610c73565b61199c5760405162461bcd60e51b815260206004820152602e60248201527f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6560448201527f72206e6f7220617070726f7665640000000000000000000000000000000000006064820152608401610ab9565b610a3184848484611ff9565b6060816000036119eb57505060408051808201909152600181527f3000000000000000000000000000000000000000000000000000000000000000602082015290565b8160005b8115611a1557806119ff81612ac7565b9150611a0e9050600a83612af6565b91506119ef565b60008167ffffffffffffffff811115611a3057611a306126ea565b6040519080825280601f01601f191660200182016040528015611a5a576020820181803683370190505b5090505b841561165057611a6f600183612b0a565b9150611a7c600a86612b21565b611a87906030612aaf565b60f81b818381518110611a9c57611a9c612b35565b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350611ad6600a86612af6565b9450611a5e565b6000818152600460205260409020805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b0384169081179091558190611b1f82610c09565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b826001600160a01b0316611b6b82610c09565b6001600160a01b031614611bcf5760405162461bcd60e51b815260206004820152602560248201527f4552433732313a207472616e736665722066726f6d20696e636f72726563742060448201526437bbb732b960d91b6064820152608401610ab9565b6001600160a01b038216611c4a5760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f2061646460448201527f72657373000000000000000000000000000000000000000000000000000000006064820152608401610ab9565b611c55600082611add565b6001600160a01b0383166000908152600360205260408120805460019290611c7e908490612b0a565b90915550506001600160a01b0382166000908152600360205260408120805460019290611cac908490612aaf565b9091555050600081815260026020526040808220805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b611d756040518061014001604052806000801916815260200160608152602001606081526020016060815260200160608152602001600081526020016000815260200160008152602001600081526020016000151581525090565b600880548391600091611d8b9060ff8516612b21565b81548110611d9b57611d9b612b35565b906000526020600020018054611db090612957565b80601f0160208091040260200160405190810160405280929190818152602001828054611ddc90612957565b8015611e295780601f10611dfe57610100808354040283529160200191611e29565b820191906000526020600020905b815481529060010190602001808311611e0c57829003601f168201915b505050505090506000600980805490508460ff16611e479190612b21565b81548110611e5757611e57612b35565b906000526020600020018054611e6c90612957565b80601f0160208091040260200160405190810160405280929190818152602001828054611e9890612957565b8015611ee55780601f10611eba57610100808354040283529160200191611ee5565b820191906000526020600020905b815481529060010190602001808311611ec857829003601f168201915b5050505050905060006064600885901c611eff9190612b21565b611f0a906001612aaf565b90506000611f1d6064601087901c612b21565b611f28906001612aaf565b90506000611f3b6064601888901c612b21565b611f46906001612aaf565b90506000611f596064602089901c612b21565b611f64906001612aaf565b90506000611f73600a89612b21565b60408051610140810182529b8c526020808d01999099528051808a01825260008082528d8301919091528151998a01909152885260608b019790975250608089019490945260a088019290925260c087015260e086015261010085015215156101208401525090919050565b610b75828260405180602001604052806000815250612145565b612004848484611b58565b612010848484846121c3565b610a315760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b6064820152608401610ab9565b816001600160a01b0316836001600160a01b0316036120d85760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c6572000000000000006044820152606401610ab9565b6001600160a01b03838116600081815260056020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b61214f838361230f565b61215c60008484846121c3565b6107965760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b6064820152608401610ab9565b60006001600160a01b0384163b1561230457604051630a85bd0160e11b81526001600160a01b0385169063150b7a0290612207903390899088908890600401612b4b565b6020604051808303816000875af1925050508015612242575060408051601f3d908101601f1916820190925261223f91810190612b7d565b60015b6122ea573d808015612270576040519150601f19603f3d011682016040523d82523d6000602084013e612275565b606091505b5080516000036122e25760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b6064820152608401610ab9565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050611650565b506001949350505050565b6001600160a01b0382166123655760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f20616464726573736044820152606401610ab9565b6000818152600260205260409020546001600160a01b0316156123ca5760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606401610ab9565b6001600160a01b03821660009081526003602052604081208054600192906123f3908490612aaf565b9091555050600081815260026020526040808220805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b82805461246a90612957565b90600052602060002090601f01602090048101928261248c57600085556124d2565b82601f106124a557805160ff19168380011785556124d2565b828001600101855582156124d2579182015b828111156124d25782518255916020019190600101906124b7565b506124de9291506124e2565b5090565b5b808211156124de57600081556001016124e3565b6001600160e01b03198116811461112b57600080fd5b60006020828403121561251f57600080fd5b813561252a816124f7565b9392505050565b60005b8381101561254c578181015183820152602001612534565b83811115610a315750506000910152565b60008151808452612575816020860160208601612531565b601f01601f19169290920160200192915050565b60208152600061252a602083018461255d565b6000602082840312156125ae57600080fd5b5035919050565b80356001600160a01b03811681146125cc57600080fd5b919050565b600080604083850312156125e457600080fd5b6125ed836125b5565b946020939093013593505050565b60006101408c83528060208401526126158184018d61255d565b90508281036040840152612629818c61255d565b9050828103606084015261263d818b61255d565b90508281036080840152612651818a61255d565b60a0840198909852505060c081019490945260e084019290925261010083015215156101209091015295945050505050565b60008060006060848603121561269857600080fd5b6126a1846125b5565b92506126af602085016125b5565b9150604084013590509250925092565b801515811461112b57600080fd5b6000602082840312156126df57600080fd5b813561252a816126bf565b634e487b7160e01b600052604160045260246000fd5b600067ffffffffffffffff8084111561271b5761271b6126ea565b604051601f8501601f19908116603f01168101908282118183101715612743576127436126ea565b8160405280935085815286868601111561275c57600080fd5b858560208301376000602087830101525050509392505050565b600082601f83011261278757600080fd5b61252a83833560208501612700565b6000602082840312156127a857600080fd5b813567ffffffffffffffff8111156127bf57600080fd5b61165084828501612776565b6020808252825182820181905260009190848201906040850190845b81811015612803578351835292840192918401916001016127e7565b50909695505050505050565b6000806040838503121561282257600080fd5b82359150602083013567ffffffffffffffff81111561284057600080fd5b61284c85828601612776565b9150509250929050565b60006020828403121561286857600080fd5b61252a826125b5565b6000806040838503121561288457600080fd5b61288d836125b5565b9150602083013561289d816126bf565b809150509250929050565b600080600080608085870312156128be57600080fd5b6128c7856125b5565b93506128d5602086016125b5565b925060408501359150606085013567ffffffffffffffff8111156128f857600080fd5b8501601f8101871361290957600080fd5b61291887823560208401612700565b91505092959194509250565b6000806040838503121561293757600080fd5b612940836125b5565b915061294e602084016125b5565b90509250929050565b600181811c9082168061296b57607f821691505b60208210810361298b57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b60008160001904831182151516156129c1576129c1612991565b500290565b600081516129d8818560208601612531565b9290920192915050565b600080855481600182811c9150808316806129fe57607f831692505b60208084108203612a1d57634e487b7160e01b86526022600452602486fd5b818015612a315760018114612a4257612a6f565b60ff19861689528489019650612a6f565b60008c81526020902060005b86811015612a675781548b820152908501908301612a4e565b505084890196505b505050505050612a88612a8282876129c6565b856129c6565b9695505050505050565b600060208284031215612aa457600080fd5b815161252a816126bf565b60008219821115612ac257612ac2612991565b500190565b600060018201612ad957612ad9612991565b5060010190565b634e487b7160e01b600052601260045260246000fd5b600082612b0557612b05612ae0565b500490565b600082821015612b1c57612b1c612991565b500390565b600082612b3057612b30612ae0565b500690565b634e487b7160e01b600052603260045260246000fd5b60006001600160a01b03808716835280861660208401525083604083015260806060830152612a88608083018461255d565b600060208284031215612b8f57600080fd5b815161252a816124f756fea26469706673582212209de1cc929ab25af68675dd30620e668bab4352b3c50184b6a8b517b5a5748bf364736f6c634300080d00336237633564332d3137316432332d3565633466662d6237633564332d3731386361312d3730653165383331333633332d6363646339302d3766396637662d3366336633662d6533636561622d6463646363636565656565652d3030356635662d3030326233362d3837383761662d6666646638372d3837616661666637663966392d3132313432342d3534633966662d6539373239662d6132613064662d3765376537653837616666662d3163316331632d6666666666662d3030616666662d6336633663362d6666616635666638663866322d3636373437662d3262336535302d6666363534312d3636643965662d3563393863643831383539362d3137313731622d3839623863322d3834613063362d6336633864312d6130393363373161316434352d6437623762622d6666346561352d3663616339392d6561616436342d3765623536343830636263342d3534366537612d3236333233382d6666666666662d6337393265612d3832623166663530343934352d6562646262322d3238323832382d6662343933342d3833613539382d6238626232363435353335342d6638663866322d3162316431652d6639323637322d6136653232652d6165383166663838633064302d3463353636612d3265333434302d3831613163312d6438646565392d6234386561646536653665362d3663636266392d6462643564392d3466386364632d6666666666662d6538653865386565356434332d3566363136372d3233323632652d6666666666662d6337346465642d3030653863363030303030302d3432343435302d6264393366392d6666373963362d6638663866322d3530666137626562656663302d3233323733382d3065313031612d3739356363632d3561356637622d6165623138643031303061382d3538613861392d6266633763382d6139616562312d3061303931390000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000002668747470733a2f2f6170692e646973632e6173797374656d2e6465762f6d657461646174612f0000000000000000000000000000000000000000000000000000
Deployed Bytecode
0x6080604052600436106101e35760003560e01c806370a0823111610102578063ab33a38011610095578063c980c62611610064578063c980c62614610583578063e985e9c5146105a3578063f2fde38b146105ec578063fd57fca51461060c57600080fd5b8063ab33a380146104fb578063acf4094a1461051b578063b88d4fde14610543578063c87b56dd1461056357600080fd5b80638da5cb5b116100d15780638da5cb5b1461049557806395d89b41146104b3578063a0712d68146104c8578063a22cb465146104db57600080fd5b806370a082311461042b578063715018a61461044b578063890e839f146104605780638d859f3e1461047a57600080fd5b806330176e131161017a57806342842e0e1161014957806342842e0e146103a957806348ba8ef4146103c95780636352211e146103eb578063648345c81461040b57600080fd5b806330176e131461032e57806332cb6b0c1461034e5780633ccfd60b1461037257806341f434341461038757600080fd5b80630e24495e116101b65780630e24495e146102995780631177f379146102b857806323b872dd146102ee5780632d1db4c61461030e57600080fd5b806301ffc9a7146101e857806306fdde031461021d578063081812fc1461023f578063095ea7b314610277575b600080fd5b3480156101f457600080fd5b5061020861020336600461250d565b61062c565b60405190151581526020015b60405180910390f35b34801561022957600080fd5b506102326106c9565b6040516102149190612589565b34801561024b57600080fd5b5061025f61025a36600461259c565b61075b565b6040516001600160a01b039091168152602001610214565b34801561028357600080fd5b506102976102923660046125d1565b610782565b005b3480156102a557600080fd5b50600a5461020890610100900460ff1681565b3480156102c457600080fd5b506102d86102d336600461259c565b61079b565b6040516102149a999897969594939291906125fb565b3480156102fa57600080fd5b50610297610309366004612683565b610a0c565b34801561031a57600080fd5b506102976103293660046126cd565b610a37565b34801561033a57600080fd5b50610297610349366004612796565b610adc565b34801561035a57600080fd5b50610364610bb881565b604051908152602001610214565b34801561037e57600080fd5b50610297610b79565b34801561039357600080fd5b5061025f6daaeb6d7670e522a718067333cd4e81565b3480156103b557600080fd5b506102976103c4366004612683565b610b8d565b3480156103d557600080fd5b506103de610bb2565b60405161021491906127cb565b3480156103f757600080fd5b5061025f61040636600461259c565b610c09565b34801561041757600080fd5b5061029761042636600461280f565b610c6e565b34801561043757600080fd5b50610364610446366004612856565b610cf8565b34801561045757600080fd5b50610297610d92565b34801561046c57600080fd5b50600a546102089060ff1681565b34801561048657600080fd5b5061036466470de4df82000081565b3480156104a157600080fd5b506007546001600160a01b031661025f565b3480156104bf57600080fd5b50610232610da4565b6102976104d636600461259c565b610db3565b3480156104e757600080fd5b506102976104f6366004612871565b610ecd565b34801561050757600080fd5b506102976105163660046125d1565b610ee1565b34801561052757600080fd5b5061025f732fe815ae662c439b5d33e712d0b2ac1b47fa256781565b34801561054f57600080fd5b5061029761055e3660046128a8565b610ef3565b34801561056f57600080fd5b5061023261057e36600461259c565b610f20565b34801561058f57600080fd5b5061029761059e36600461280f565b611016565b3480156105af57600080fd5b506102086105be366004612924565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b3480156105f857600080fd5b50610297610607366004612856565b61109e565b34801561061857600080fd5b506102976106273660046126cd565b61112e565b60006001600160e01b031982167f80ac58cd00000000000000000000000000000000000000000000000000000000148061068f57506001600160e01b031982167f5b5e139f00000000000000000000000000000000000000000000000000000000145b806106c357507f01ffc9a7000000000000000000000000000000000000000000000000000000006001600160e01b03198316145b92915050565b6060600080546106d890612957565b80601f016020809104026020016040519081016040528092919081815260200182805461070490612957565b80156107515780601f1061072657610100808354040283529160200191610751565b820191906000526020600020905b81548152906001019060200180831161073457829003601f168201915b5050505050905090565b600061076682611149565b506000908152600460205260409020546001600160a01b031690565b8161078c816111ad565b6107968383611298565b505050565b600b60205260009081526040902080546001820180549192916107bd90612957565b80601f01602080910402602001604051908101604052809291908181526020018280546107e990612957565b80156108365780601f1061080b57610100808354040283529160200191610836565b820191906000526020600020905b81548152906001019060200180831161081957829003601f168201915b50505050509080600201805461084b90612957565b80601f016020809104026020016040519081016040528092919081815260200182805461087790612957565b80156108c45780601f10610899576101008083540402835291602001916108c4565b820191906000526020600020905b8154815290600101906020018083116108a757829003601f168201915b5050505050908060030180546108d990612957565b80601f016020809104026020016040519081016040528092919081815260200182805461090590612957565b80156109525780601f1061092757610100808354040283529160200191610952565b820191906000526020600020905b81548152906001019060200180831161093557829003601f168201915b50505050509080600401805461096790612957565b80601f016020809104026020016040519081016040528092919081815260200182805461099390612957565b80156109e05780601f106109b5576101008083540402835291602001916109e0565b820191906000526020600020905b8154815290600101906020018083116109c357829003601f168201915b505050600584015460068501546007860154600887015460099097015495969295919450925060ff168a565b826001600160a01b0381163314610a2657610a26336111ad565b610a318484846113c4565b50505050565b610a3f61144b565b600a54610100900460ff1615610ac25760405162461bcd60e51b815260206004820152602e60248201527f4d656d6f7279446973633a2069734d6574616461746146726f7a656e2063616e60448201527f6e6f74206265206368616e67656400000000000000000000000000000000000060648201526084015b60405180910390fd5b600a80549115156101000261ff0019909216919091179055565b610ae461144b565b600a54610100900460ff1615610b625760405162461bcd60e51b815260206004820152602660248201527f4d656d6f7279446973633a204d6574616461746120697320616c72656164792060448201527f66726f7a656e00000000000000000000000000000000000000000000000000006064820152608401610ab9565b8051610b7590600d90602084019061245e565b5050565b610b8161144b565b610b8b33476114a5565b565b826001600160a01b0381163314610ba757610ba7336111ad565b610a318484846115be565b6060600c80548060200260200160405190810160405280929190818152602001828054801561075157602002820191906000526020600020905b815481526020019060010190808311610bec575050505050905090565b6000818152600260205260408120546001600160a01b0316806106c35760405162461bcd60e51b815260206004820152601860248201527f4552433732313a20696e76616c696420746f6b656e20494400000000000000006044820152606401610ab9565b610c79335b836115d9565b610cd35760405162461bcd60e51b815260206004820152602560248201527f4d656d6f7279446973633a2063616c6c6572206973206e6f7420746f6b656e2060448201526437bbb732b960d91b6064820152608401610ab9565b6000828152600b6020908152604090912082516107969260039092019184019061245e565b60006001600160a01b038216610d765760405162461bcd60e51b815260206004820152602960248201527f4552433732313a2061646472657373207a65726f206973206e6f74206120766160448201527f6c6964206f776e657200000000000000000000000000000000000000000000006064820152608401610ab9565b506001600160a01b031660009081526003602052604090205490565b610d9a61144b565b610b8b6000611658565b6060600180546106d890612957565b600260065403610e055760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610ab9565b6002600655600a5460ff16610e5c5760405162461bcd60e51b815260206004820152601760248201527f4d656d6f7279446973633a204e6f74206f6e2073616c650000000000000000006044820152606401610ab9565b610e6d8166470de4df8200006129a7565b3414610ebb5760405162461bcd60e51b815260206004820152601960248201527f4d656d6f7279446973633a20496e76616c69642076616c7565000000000000006044820152606401610ab9565b610ec533826116b7565b506001600655565b81610ed7816111ad565b6107968383611916565b610ee961144b565b610b7582826116b7565b836001600160a01b0381163314610f0d57610f0d336111ad565b610f1985858585611921565b5050505050565b6000818152600260205260409020546060906001600160a01b0316610fad5760405162461bcd60e51b815260206004820152602b60248201527f4d656d6f7279446973633a2055524920717565727920666f72206e6f6e65786960448201527f7374656e7420746f6b656e0000000000000000000000000000000000000000006064820152608401610ab9565b600d610fb8836119a8565b6040518060400160405280600581526020017f2e6a736f6e000000000000000000000000000000000000000000000000000000815250604051602001611000939291906129e2565b6040516020818303038152906040529050919050565b61101f33610c73565b6110795760405162461bcd60e51b815260206004820152602560248201527f4d656d6f7279446973633a2063616c6c6572206973206e6f7420746f6b656e2060448201526437bbb732b960d91b6064820152608401610ab9565b6000828152600b6020908152604090912082516107969260029092019184019061245e565b6110a661144b565b6001600160a01b0381166111225760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f64647265737300000000000000000000000000000000000000000000000000006064820152608401610ab9565b61112b81611658565b50565b61113661144b565b600a805460ff1916911515919091179055565b6000818152600260205260409020546001600160a01b031661112b5760405162461bcd60e51b815260206004820152601860248201527f4552433732313a20696e76616c696420746f6b656e20494400000000000000006044820152606401610ab9565b6daaeb6d7670e522a718067333cd4e3b1561112b576040517fc61711340000000000000000000000000000000000000000000000000000000081523060048201526001600160a01b03821660248201526daaeb6d7670e522a718067333cd4e9063c617113490604401602060405180830381865afa158015611233573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112579190612a92565b61112b576040517fede71dcc0000000000000000000000000000000000000000000000000000000081526001600160a01b0382166004820152602401610ab9565b60006112a382610c09565b9050806001600160a01b0316836001600160a01b03160361132c5760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560448201527f72000000000000000000000000000000000000000000000000000000000000006064820152608401610ab9565b336001600160a01b0382161480611348575061134881336105be565b6113ba5760405162461bcd60e51b815260206004820152603e60248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f7420746f60448201527f6b656e206f776e6572206e6f7220617070726f76656420666f7220616c6c00006064820152608401610ab9565b6107968383611add565b6113ce33826115d9565b6114405760405162461bcd60e51b815260206004820152602e60248201527f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6560448201527f72206e6f7220617070726f7665640000000000000000000000000000000000006064820152608401610ab9565b610796838383611b58565b6007546001600160a01b03163314610b8b5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610ab9565b804710156114f55760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a20696e73756666696369656e742062616c616e63650000006044820152606401610ab9565b6000826001600160a01b03168260405160006040518083038185875af1925050503d8060008114611542576040519150601f19603f3d011682016040523d82523d6000602084013e611547565b606091505b50509050806107965760405162461bcd60e51b815260206004820152603a60248201527f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260448201527f6563697069656e74206d617920686176652072657665727465640000000000006064820152608401610ab9565b61079683838360405180602001604052806000815250610ef3565b6000806115e583610c09565b9050806001600160a01b0316846001600160a01b0316148061162c57506001600160a01b0380821660009081526005602090815260408083209388168352929052205460ff165b806116505750836001600160a01b03166116458461075b565b6001600160a01b0316145b949350505050565b600780546001600160a01b0383811673ffffffffffffffffffffffffffffffffffffffff19831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b600c54610bb86116c78383612aaf565b111561173b5760405162461bcd60e51b815260206004820152602660248201527f4d656d6f7279446973633a20536f6c64206f7574206f7220696e76616c69642060448201527f616d6f756e7400000000000000000000000000000000000000000000000000006064820152608401610ab9565b60005b82811015610a315760006117528284612aaf565b9050600081423360405160200161178e93929190928352602083019190915260601b6bffffffffffffffffffffffff1916604082015260540190565b60405160208183030381529060405280519060200120905060006117b182611d1a565b6000848152600b6020908152604090912082518155818301518051939450849391926117e59260018501929091019061245e565b506040820151805161180191600284019160209091019061245e565b506060820151805161181d91600384019160209091019061245e565b506080820151805161183991600484019160209091019061245e565b5060a0820151600582015560c0820151600682015560e082015160078201556101008201516008820155610120909101516009909101805460ff1916911515919091179055600c80546001810182556000919091527fdf6966c971051c3d54ec59162606531493a51404a002842f56009d7e5cf4a8c7018390556118d1732fe815ae662c439b5d33e712d0b2ac1b47fa256784611fdf565b611900732fe815ae662c439b5d33e712d0b2ac1b47fa2567888560405180602001604052806000815250611ff9565b505050808061190e90612ac7565b91505061173e565b610b75338383612077565b61192a33610c73565b61199c5760405162461bcd60e51b815260206004820152602e60248201527f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6560448201527f72206e6f7220617070726f7665640000000000000000000000000000000000006064820152608401610ab9565b610a3184848484611ff9565b6060816000036119eb57505060408051808201909152600181527f3000000000000000000000000000000000000000000000000000000000000000602082015290565b8160005b8115611a1557806119ff81612ac7565b9150611a0e9050600a83612af6565b91506119ef565b60008167ffffffffffffffff811115611a3057611a306126ea565b6040519080825280601f01601f191660200182016040528015611a5a576020820181803683370190505b5090505b841561165057611a6f600183612b0a565b9150611a7c600a86612b21565b611a87906030612aaf565b60f81b818381518110611a9c57611a9c612b35565b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350611ad6600a86612af6565b9450611a5e565b6000818152600460205260409020805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b0384169081179091558190611b1f82610c09565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b826001600160a01b0316611b6b82610c09565b6001600160a01b031614611bcf5760405162461bcd60e51b815260206004820152602560248201527f4552433732313a207472616e736665722066726f6d20696e636f72726563742060448201526437bbb732b960d91b6064820152608401610ab9565b6001600160a01b038216611c4a5760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f2061646460448201527f72657373000000000000000000000000000000000000000000000000000000006064820152608401610ab9565b611c55600082611add565b6001600160a01b0383166000908152600360205260408120805460019290611c7e908490612b0a565b90915550506001600160a01b0382166000908152600360205260408120805460019290611cac908490612aaf565b9091555050600081815260026020526040808220805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b611d756040518061014001604052806000801916815260200160608152602001606081526020016060815260200160608152602001600081526020016000815260200160008152602001600081526020016000151581525090565b600880548391600091611d8b9060ff8516612b21565b81548110611d9b57611d9b612b35565b906000526020600020018054611db090612957565b80601f0160208091040260200160405190810160405280929190818152602001828054611ddc90612957565b8015611e295780601f10611dfe57610100808354040283529160200191611e29565b820191906000526020600020905b815481529060010190602001808311611e0c57829003601f168201915b505050505090506000600980805490508460ff16611e479190612b21565b81548110611e5757611e57612b35565b906000526020600020018054611e6c90612957565b80601f0160208091040260200160405190810160405280929190818152602001828054611e9890612957565b8015611ee55780601f10611eba57610100808354040283529160200191611ee5565b820191906000526020600020905b815481529060010190602001808311611ec857829003601f168201915b5050505050905060006064600885901c611eff9190612b21565b611f0a906001612aaf565b90506000611f1d6064601087901c612b21565b611f28906001612aaf565b90506000611f3b6064601888901c612b21565b611f46906001612aaf565b90506000611f596064602089901c612b21565b611f64906001612aaf565b90506000611f73600a89612b21565b60408051610140810182529b8c526020808d01999099528051808a01825260008082528d8301919091528151998a01909152885260608b019790975250608089019490945260a088019290925260c087015260e086015261010085015215156101208401525090919050565b610b75828260405180602001604052806000815250612145565b612004848484611b58565b612010848484846121c3565b610a315760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b6064820152608401610ab9565b816001600160a01b0316836001600160a01b0316036120d85760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c6572000000000000006044820152606401610ab9565b6001600160a01b03838116600081815260056020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b61214f838361230f565b61215c60008484846121c3565b6107965760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b6064820152608401610ab9565b60006001600160a01b0384163b1561230457604051630a85bd0160e11b81526001600160a01b0385169063150b7a0290612207903390899088908890600401612b4b565b6020604051808303816000875af1925050508015612242575060408051601f3d908101601f1916820190925261223f91810190612b7d565b60015b6122ea573d808015612270576040519150601f19603f3d011682016040523d82523d6000602084013e612275565b606091505b5080516000036122e25760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b6064820152608401610ab9565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050611650565b506001949350505050565b6001600160a01b0382166123655760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f20616464726573736044820152606401610ab9565b6000818152600260205260409020546001600160a01b0316156123ca5760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606401610ab9565b6001600160a01b03821660009081526003602052604081208054600192906123f3908490612aaf565b9091555050600081815260026020526040808220805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b82805461246a90612957565b90600052602060002090601f01602090048101928261248c57600085556124d2565b82601f106124a557805160ff19168380011785556124d2565b828001600101855582156124d2579182015b828111156124d25782518255916020019190600101906124b7565b506124de9291506124e2565b5090565b5b808211156124de57600081556001016124e3565b6001600160e01b03198116811461112b57600080fd5b60006020828403121561251f57600080fd5b813561252a816124f7565b9392505050565b60005b8381101561254c578181015183820152602001612534565b83811115610a315750506000910152565b60008151808452612575816020860160208601612531565b601f01601f19169290920160200192915050565b60208152600061252a602083018461255d565b6000602082840312156125ae57600080fd5b5035919050565b80356001600160a01b03811681146125cc57600080fd5b919050565b600080604083850312156125e457600080fd5b6125ed836125b5565b946020939093013593505050565b60006101408c83528060208401526126158184018d61255d565b90508281036040840152612629818c61255d565b9050828103606084015261263d818b61255d565b90508281036080840152612651818a61255d565b60a0840198909852505060c081019490945260e084019290925261010083015215156101209091015295945050505050565b60008060006060848603121561269857600080fd5b6126a1846125b5565b92506126af602085016125b5565b9150604084013590509250925092565b801515811461112b57600080fd5b6000602082840312156126df57600080fd5b813561252a816126bf565b634e487b7160e01b600052604160045260246000fd5b600067ffffffffffffffff8084111561271b5761271b6126ea565b604051601f8501601f19908116603f01168101908282118183101715612743576127436126ea565b8160405280935085815286868601111561275c57600080fd5b858560208301376000602087830101525050509392505050565b600082601f83011261278757600080fd5b61252a83833560208501612700565b6000602082840312156127a857600080fd5b813567ffffffffffffffff8111156127bf57600080fd5b61165084828501612776565b6020808252825182820181905260009190848201906040850190845b81811015612803578351835292840192918401916001016127e7565b50909695505050505050565b6000806040838503121561282257600080fd5b82359150602083013567ffffffffffffffff81111561284057600080fd5b61284c85828601612776565b9150509250929050565b60006020828403121561286857600080fd5b61252a826125b5565b6000806040838503121561288457600080fd5b61288d836125b5565b9150602083013561289d816126bf565b809150509250929050565b600080600080608085870312156128be57600080fd5b6128c7856125b5565b93506128d5602086016125b5565b925060408501359150606085013567ffffffffffffffff8111156128f857600080fd5b8501601f8101871361290957600080fd5b61291887823560208401612700565b91505092959194509250565b6000806040838503121561293757600080fd5b612940836125b5565b915061294e602084016125b5565b90509250929050565b600181811c9082168061296b57607f821691505b60208210810361298b57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b60008160001904831182151516156129c1576129c1612991565b500290565b600081516129d8818560208601612531565b9290920192915050565b600080855481600182811c9150808316806129fe57607f831692505b60208084108203612a1d57634e487b7160e01b86526022600452602486fd5b818015612a315760018114612a4257612a6f565b60ff19861689528489019650612a6f565b60008c81526020902060005b86811015612a675781548b820152908501908301612a4e565b505084890196505b505050505050612a88612a8282876129c6565b856129c6565b9695505050505050565b600060208284031215612aa457600080fd5b815161252a816126bf565b60008219821115612ac257612ac2612991565b500190565b600060018201612ad957612ad9612991565b5060010190565b634e487b7160e01b600052601260045260246000fd5b600082612b0557612b05612ae0565b500490565b600082821015612b1c57612b1c612991565b500390565b600082612b3057612b30612ae0565b500690565b634e487b7160e01b600052603260045260246000fd5b60006001600160a01b03808716835280861660208401525083604083015260806060830152612a88608083018461255d565b600060208284031215612b8f57600080fd5b815161252a816124f756fea26469706673582212209de1cc929ab25af68675dd30620e668bab4352b3c50184b6a8b517b5a5748bf364736f6c634300080d0033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
0000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000002668747470733a2f2f6170692e646973632e6173797374656d2e6465762f6d657461646174612f0000000000000000000000000000000000000000000000000000
-----Decoded View---------------
Arg [0] : baseTokenURI (string): https://api.disc.asystem.dev/metadata/
-----Encoded View---------------
4 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000020
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000026
Arg [2] : 68747470733a2f2f6170692e646973632e6173797374656d2e6465762f6d6574
Arg [3] : 61646174612f0000000000000000000000000000000000000000000000000000
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.