Feature Tip: Add private address tag to any address under My Name Tag !
Overview
ETH Balance
0 ETH
Eth Value
$0.00More Info
Private Name Tags
ContractCreator
TokenTracker
Latest 25 from a total of 606 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Set Approval For... | 19256092 | 199 days ago | IN | 0 ETH | 0.00149461 | ||||
Set Approval For... | 18906002 | 248 days ago | IN | 0 ETH | 0.00079068 | ||||
Set Approval For... | 18236869 | 342 days ago | IN | 0 ETH | 0.00038566 | ||||
Set Approval For... | 18151447 | 354 days ago | IN | 0 ETH | 0.00038278 | ||||
Set Approval For... | 17254491 | 480 days ago | IN | 0 ETH | 0.00152611 | ||||
Set Approval For... | 16966202 | 521 days ago | IN | 0 ETH | 0.00072582 | ||||
Set Approval For... | 16634727 | 567 days ago | IN | 0 ETH | 0.00192446 | ||||
Set Approval For... | 16627054 | 568 days ago | IN | 0 ETH | 0.0007103 | ||||
Set Approval For... | 16487028 | 588 days ago | IN | 0 ETH | 0.00110854 | ||||
Set Approval For... | 16456221 | 592 days ago | IN | 0 ETH | 0.00108506 | ||||
Set Approval For... | 16386233 | 602 days ago | IN | 0 ETH | 0.00094533 | ||||
Set Approval For... | 16299918 | 614 days ago | IN | 0 ETH | 0.00170408 | ||||
Set Approval For... | 15909328 | 669 days ago | IN | 0 ETH | 0.00054815 | ||||
Set Approval For... | 15743062 | 692 days ago | IN | 0 ETH | 0.00058396 | ||||
Set Approval For... | 15090754 | 791 days ago | IN | 0 ETH | 0.00260381 | ||||
Set Approval For... | 14931897 | 819 days ago | IN | 0 ETH | 0.00098934 | ||||
Set Approval For... | 14888731 | 826 days ago | IN | 0 ETH | 0.00210936 | ||||
Set Approval For... | 14817681 | 837 days ago | IN | 0 ETH | 0.00083496 | ||||
Set Approval For... | 14724094 | 852 days ago | IN | 0 ETH | 0.00152362 | ||||
Set Approval For... | 14643327 | 865 days ago | IN | 0 ETH | 0.00109326 | ||||
Set Approval For... | 14640168 | 866 days ago | IN | 0 ETH | 0.00117228 | ||||
Transfer From | 14543239 | 881 days ago | IN | 0 ETH | 0.00322657 | ||||
Set Approval For... | 14498952 | 888 days ago | IN | 0 ETH | 0.00120443 | ||||
Set Approval For... | 14478673 | 891 days ago | IN | 0 ETH | 0.00215746 | ||||
Set Approval For... | 14394041 | 904 days ago | IN | 0 ETH | 0.00139459 |
Latest 1 internal transaction
Advanced mode:
Parent Transaction Hash | Block | From | To | |||
---|---|---|---|---|---|---|
14164814 | 940 days ago | 0.96 ETH |
Loading...
Loading
Contract Name:
CursorPunks
Compiler Version
v0.8.9+commit.e5eed63a
Optimization Enabled:
Yes with 10000 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT // Creator: Cursor Punks /*** * ---____----------------------------____--------------_-------- * --/-___|---_-_-__-___--___--_-__--|--_-\-_---_-_-__-|-|-_____- * -|-|--|-|-|-|-'__/-__|/-_-\|-'__|-|-|_)-|-|-|-|-'_-\|-|/-/-__| * -|-|__|-|_|-|-|--\__-\-(_)-|-|----|--__/|-|_|-|-|-|-|---<\__-\ * --\____\__,_|_|--|___/\___/|_|----|_|----\__,_|_|-|_|_|\_\___/ * -------------------------------------------------------------- */ pragma solidity ^0.8.0; import "@openzeppelin/contracts/token/ERC721/IERC721.sol"; import "@openzeppelin/contracts/token/ERC721/IERC721Receiver.sol"; import "@openzeppelin/contracts/token/ERC721/extensions/IERC721Metadata.sol"; import "@openzeppelin/contracts/token/ERC721/extensions/IERC721Enumerable.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/utils/Address.sol"; import "@openzeppelin/contracts/utils/Context.sol"; import "@openzeppelin/contracts/utils/Strings.sol"; import "@openzeppelin/contracts/utils/introspection/ERC165.sol"; /** * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including * the Metadata and Enumerable extension. Built to optimize for lower gas during batch mints. * * Assumes serials are sequentially minted starting at 0 (e.g. 0, 1, 2, 3..). * * Does not support burning tokens to address(0). * * Assumes that an owner cannot have more than the 2**128 - 1 (max value of uint128) of supply */ contract CursorPunks is Context, ERC165, IERC721, IERC721Metadata, IERC721Enumerable, Ownable { using Address for address; using Strings for uint256; struct TokenOwnership { address addr; uint64 startTimestamp; } struct AddressData { uint128 balance; uint128 numberMinted; } uint256 internal currentIndex = 0; // Token name string private _name; // Token symbol string private _symbol; string public notRevealedUri; bool public revealed; string public revealedBaseUri; bool public nonce; uint256 public maxTokens = 5000; uint256 public maxPerUser = 10; uint256 public maxFreeMints = 3000; uint256 public mintPrice = 30000000000000000; //0.03 eth after max free mints // Mapping from token ID to ownership details // An empty struct value does not necessarily mean the token is unowned. See ownershipOf implementation for details. mapping(uint256 => TokenOwnership) internal _ownerships; // Mapping owner address to address data mapping(address => AddressData) private _addressData; // 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; constructor( string memory name_, string memory symbol_, string memory initUri_ ) { updateNotRevealedURI(initUri_); _name = name_; _symbol = symbol_; } /** * @dev See {IERC721Enumerable-totalSupply}. */ function totalSupply() public view override returns (uint256) { return currentIndex; } function mint(address _sender, uint256 _amount) public payable { uint256 amountMinted = totalSupply(); require(amountMinted < maxTokens, "Sorry, we are sold out!"); require( amountMinted + _amount <= maxTokens, "Minting this many exceeds the max tokens limit!" ); require( balanceOf(_sender) + _amount <= maxPerUser, "You are not allowed to mint this many!" ); require(msg.sender == _sender, "U naughty"); uint256 _price = mintPrice * _amount; //this is just pure chad move you're welcome if (amountMinted <= maxFreeMints) { _price = 0; } require( (msg.value * _amount) >= (_price * _amount), "Insufficient funds!" ); _safeMint(_sender, _amount, ""); } /** * @dev See {IERC721Enumerable-tokenByIndex}. */ function tokenByIndex(uint256 index) public view override returns (uint256) { require(index < totalSupply(), "ERC721A: global index out of bounds"); return index; } /** * @dev See {IERC721Enumerable-tokenOfOwnerByIndex}. * This read function is O(totalSupply). If calling from a separate contract, be sure to test gas first. * It may also degrade with extremely large collection sizes (e.g >> 10000), test for your use case. */ function tokenOfOwnerByIndex(address owner, uint256 index) public view override returns (uint256) { require(index < balanceOf(owner), "ERC721A: owner index out of bounds"); uint256 numMintedSoFar = totalSupply(); uint256 tokenIdsIdx = 0; address currOwnershipAddr = address(0); for (uint256 i = 0; i < numMintedSoFar; i++) { TokenOwnership memory ownership = _ownerships[i]; if (ownership.addr != address(0)) { currOwnershipAddr = ownership.addr; } if (currOwnershipAddr == owner) { if (tokenIdsIdx == index) { return i; } tokenIdsIdx++; } } revert("ERC721A: unable to get token of owner by index"); } /** * @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 || interfaceId == type(IERC721Enumerable).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC721-balanceOf}. */ function balanceOf(address owner) public view override returns (uint256) { require( owner != address(0), "ERC721A: balance query for the zero address" ); return uint256(_addressData[owner].balance); } function _numberMinted(address owner) internal view returns (uint256) { require( owner != address(0), "ERC721A: number minted query for the zero address" ); return uint256(_addressData[owner].numberMinted); } function ownershipOf(uint256 tokenId) internal view returns (TokenOwnership memory) { require(_exists(tokenId), "ERC721A: owner query for nonexistent token"); for (uint256 curr = tokenId; ; curr--) { TokenOwnership memory ownership = _ownerships[curr]; if (ownership.addr != address(0)) { return ownership; } } revert("ERC721A: unable to determine the owner of token"); } /** * @dev See {IERC721-ownerOf}. */ function ownerOf(uint256 tokenId) public view override returns (address) { return ownershipOf(tokenId).addr; } /** * @dev See {IERC721Metadata-name}. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev See {IERC721Metadata-symbol}. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev See {IERC721Metadata-tokenURI}. */ function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { require( _exists(tokenId), "ERC721Metadata: URI query for nonexistent token" ); if (revealed == false) { return string( abi.encodePacked( notRevealedUri, "/", tokenId.toString(), ".json" ) ); } string memory baseURI = _baseURI(); return bytes(baseURI).length > 0 ? string( abi.encodePacked(baseURI, "/", tokenId.toString(), ".json") ) : ""; } /** * @dev Base URI for computing {tokenURI}. If set, the resulting URI for each * token will be the concatenation of the `baseURI` and the `tokenId`. Empty * by default, can be overriden in child contracts. */ function _baseURI() internal view virtual returns (string memory) { return revealedBaseUri; } /// @notice Updates the base URI, used to revealing metadata and the like function updateNotRevealedURI(string memory _URI) public onlyOwner { notRevealedUri = _URI; } /// @notice Sets the base URI, can only be called once, intended purpose is to prevent peeping toms snooping around the base uri before reveal function setBaseURI(string memory _URI) public onlyOwner { require(nonce == false, "Base URI has already been set!"); revealedBaseUri = _URI; } /// @notice Withdraws all funds from the contract function withdrawEth() external onlyOwner { payable(msg.sender).transfer(address(this).balance); } function reveal() public onlyOwner { revealed = true; } /** * @dev See {IERC721-approve}. */ function approve(address to, uint256 tokenId) public override { address owner = CursorPunks.ownerOf(tokenId); require(to != owner, "ERC721A: approval to current owner"); require( _msgSender() == owner || isApprovedForAll(owner, _msgSender()), "ERC721A: approve caller is not owner nor approved for all" ); _approve(to, tokenId, owner); } /** * @dev See {IERC721-getApproved}. */ function getApproved(uint256 tokenId) public view override returns (address) { require( _exists(tokenId), "ERC721A: approved query for nonexistent token" ); return _tokenApprovals[tokenId]; } /** * @dev See {IERC721-setApprovalForAll}. */ function setApprovalForAll(address operator, bool approved) public override { require(operator != _msgSender(), "ERC721A: approve to caller"); _operatorApprovals[_msgSender()][operator] = approved; emit ApprovalForAll(_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 override { _transfer(from, to, tokenId); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId ) public override { safeTransferFrom(from, to, tokenId, ""); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes memory _data ) public override { _transfer(from, to, tokenId); require( _checkOnERC721Received(from, to, tokenId, _data), "ERC721A: 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`), */ function _exists(uint256 tokenId) internal view returns (bool) { return tokenId < currentIndex; } function _safeMint(address to, uint256 quantity) internal { _safeMint(to, quantity, ""); } /** * @dev Mints `quantity` tokens and transfers them to `to`. * * Requirements: * * - `to` cannot be the zero address. * - `quantity` must be greater than 0. * * Emits a {Transfer} event. */ function _safeMint( address to, uint256 quantity, bytes memory _data ) internal { uint256 startTokenId = currentIndex; require(to != address(0), "ERC721A: mint to the zero address"); // We know if the first token in the batch doesn't exist, the other ones don't as well, because of serial ordering. require(!_exists(startTokenId), "ERC721A: token already minted"); require(quantity > 0, "ERC721A: quantity must be greater than 0"); _beforeTokenTransfers(address(0), to, startTokenId, quantity); AddressData memory addressData = _addressData[to]; _addressData[to] = AddressData( addressData.balance + uint128(quantity), addressData.numberMinted + uint128(quantity) ); _ownerships[startTokenId] = TokenOwnership(to, uint64(block.timestamp)); uint256 updatedIndex = startTokenId; for (uint256 i = 0; i < quantity; i++) { emit Transfer(address(0), to, updatedIndex); require( _checkOnERC721Received(address(0), to, updatedIndex, _data), "ERC721A: transfer to non ERC721Receiver implementer" ); updatedIndex++; } currentIndex = updatedIndex; _afterTokenTransfers(address(0), to, startTokenId, quantity); } /** * @dev Transfers `tokenId` from `from` to `to`. * * 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 ) private { TokenOwnership memory prevOwnership = ownershipOf(tokenId); bool isApprovedOrOwner = (_msgSender() == prevOwnership.addr || getApproved(tokenId) == _msgSender() || isApprovedForAll(prevOwnership.addr, _msgSender())); require( isApprovedOrOwner, "ERC721A: transfer caller is not owner nor approved" ); require( prevOwnership.addr == from, "ERC721A: transfer from incorrect owner" ); require(to != address(0), "ERC721A: transfer to the zero address"); _beforeTokenTransfers(from, to, tokenId, 1); // Clear approvals from the previous owner _approve(address(0), tokenId, prevOwnership.addr); // Underflow of the sender's balance is impossible because we check for // ownership above and the recipient's balance can't realistically overflow. unchecked { _addressData[from].balance -= 1; _addressData[to].balance += 1; } _ownerships[tokenId] = TokenOwnership(to, uint64(block.timestamp)); // If the ownership slot of tokenId+1 is not explicitly set, that means the transfer initiator owns it. // Set the slot of tokenId+1 explicitly in storage to maintain correctness for ownerOf(tokenId+1) calls. uint256 nextTokenId = tokenId + 1; if (_ownerships[nextTokenId].addr == address(0)) { if (_exists(nextTokenId)) { _ownerships[nextTokenId] = TokenOwnership( prevOwnership.addr, prevOwnership.startTimestamp ); } } emit Transfer(from, to, tokenId); _afterTokenTransfers(from, to, tokenId, 1); } /** * @dev Approve `to` to operate on `tokenId` * * Emits a {Approval} event. */ function _approve( address to, uint256 tokenId, address owner ) private { _tokenApprovals[tokenId] = to; emit Approval(owner, to, tokenId); } /** * @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(to).onERC721Received.selector; } catch (bytes memory reason) { if (reason.length == 0) { revert( "ERC721A: transfer to non ERC721Receiver implementer" ); } else { assembly { revert(add(32, reason), mload(reason)) } } } } else { return true; } } /** * @dev Hook that is called before a set of serially-ordered token ids are about to be transferred. This includes minting. * * startTokenId - the first token id to be transferred * quantity - the amount to be transferred * * Calling conditions: * * - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. */ function _beforeTokenTransfers( address from, address to, uint256 startTokenId, uint256 quantity ) internal virtual {} /** * @dev Hook that is called after a set of serially-ordered token ids have been transferred. This includes * minting. * * startTokenId - the first token id to be transferred * quantity - the amount to be transferred * * Calling conditions: * * - when `from` and `to` are both non-zero. * - `from` and `to` are never both zero. */ function _afterTokenTransfers( address from, address to, uint256 startTokenId, uint256 quantity ) internal virtual {} }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.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`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be have been allowed to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Transfers `tokenId` token from `from` to `to`. * * WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) external; /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool _approved) external; /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll} */ function isApprovedForAll(address owner, address operator) external view returns (bool); /** * @dev Safely transfers `tokenId` token from `from` to `to`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes calldata data ) external; }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.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 `IERC721.onERC721Received.selector`. */ function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.0 (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.0 (token/ERC721/extensions/IERC721Enumerable.sol) pragma solidity ^0.8.0; import "../IERC721.sol"; /** * @title ERC-721 Non-Fungible Token Standard, optional enumeration extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Enumerable is IERC721 { /** * @dev Returns the total amount of tokens stored by the contract. */ function totalSupply() external view returns (uint256); /** * @dev Returns a token ID owned by `owner` at a given `index` of its token list. * Use along with {balanceOf} to enumerate all of ``owner``'s tokens. */ function tokenOfOwnerByIndex(address owner, uint256 index) external view returns (uint256 tokenId); /** * @dev Returns a token ID at a given `index` of all the tokens stored by the contract. * Use along with {totalSupply} to enumerate all tokens. */ function tokenByIndex(uint256 index) external view returns (uint256); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.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 Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { require(owner() == _msgSender(), "Ownable: caller is not the owner"); _; } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.0 (utils/Address.sol) pragma solidity ^0.8.0; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize, which returns 0 for contracts in // construction, since the code is only stored at the end of the // constructor execution. uint256 size; assembly { size := extcodesize(account) } return size > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); (bool success, ) = recipient.call{value: amount}(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain `call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCall(target, data, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value ) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value, string memory errorMessage ) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); require(isContract(target), "Address: call to non-contract"); (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall( address target, bytes memory data, string memory errorMessage ) internal view returns (bytes memory) { require(isContract(target), "Address: static call to non-contract"); (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { require(isContract(target), "Address: delegate call to non-contract"); (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason using the provided one. * * _Available since v4.3._ */ function verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) internal pure returns (bytes memory) { if (success) { return returndata; } else { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.0 (utils/Context.sol) pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.0 (utils/Strings.sol) pragma solidity ^0.8.0; /** * @dev String operations. */ library Strings { bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef"; /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function toString(uint256 value) internal pure returns (string memory) { // Inspired by OraclizeAPI's implementation - MIT licence // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol if (value == 0) { return "0"; } uint256 temp = value; uint256 digits; while (temp != 0) { digits++; temp /= 10; } bytes memory buffer = new bytes(digits); while (value != 0) { digits -= 1; buffer[digits] = bytes1(uint8(48 + uint256(value % 10))); value /= 10; } return string(buffer); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { if (value == 0) { return "0x00"; } uint256 temp = value; uint256 length = 0; while (temp != 0) { length++; temp >>= 8; } return toHexString(value, length); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length. */ function toHexString(uint256 value, uint256 length) internal pure returns (string memory) { bytes memory buffer = new bytes(2 * length + 2); buffer[0] = "0"; buffer[1] = "x"; for (uint256 i = 2 * length + 1; i > 1; --i) { buffer[i] = _HEX_SYMBOLS[value & 0xf]; value >>= 4; } require(value == 0, "Strings: hex length insufficient"); return string(buffer); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.0 (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.0 (utils/introspection/IERC165.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC165 standard, as defined in the * https://eips.ethereum.org/EIPS/eip-165[EIP]. * * Implementers can declare support of contract interfaces, which can then be * queried by others ({ERC165Checker}). * * For an implementation, see {ERC165}. */ interface IERC165 { /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] * to learn more about how these ids are created. * * This function call must use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); }
{ "optimizer": { "enabled": true, "runs": 10000 }, "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":"name_","type":"string"},{"internalType":"string","name":"symbol_","type":"string"},{"internalType":"string","name":"initUri_","type":"string"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"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":"maxFreeMints","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxPerUser","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxTokens","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_sender","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"mintPrice","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":"nonce","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"notRevealedUri","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":[],"name":"reveal","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"revealed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"revealedBaseUri","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":"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":"_URI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_URI","type":"string"}],"name":"updateNotRevealedURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdrawEth","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
60806040526000600155611388600855600a600955610bb8600a55666a94d74f430000600b553480156200003257600080fd5b50604051620030a3380380620030a38339810160408190526200005591620002db565b6200006033620000a0565b6200006b81620000f0565b82516200008090600290602086019062000168565b5081516200009690600390602085019062000168565b50505050620003a9565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6000546001600160a01b031633146200014f5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640160405180910390fd5b80516200016490600490602084019062000168565b5050565b82805462000176906200036c565b90600052602060002090601f0160209004810192826200019a5760008555620001e5565b82601f10620001b557805160ff1916838001178555620001e5565b82800160010185558215620001e5579182015b82811115620001e5578251825591602001919060010190620001c8565b50620001f3929150620001f7565b5090565b5b80821115620001f35760008155600101620001f8565b634e487b7160e01b600052604160045260246000fd5b600082601f8301126200023657600080fd5b81516001600160401b03808211156200025357620002536200020e565b604051601f8301601f19908116603f011681019082821181831017156200027e576200027e6200020e565b816040528381526020925086838588010111156200029b57600080fd5b600091505b83821015620002bf5785820183015181830184015290820190620002a0565b83821115620002d15760008385830101525b9695505050505050565b600080600060608486031215620002f157600080fd5b83516001600160401b03808211156200030957600080fd5b620003178783880162000224565b945060208601519150808211156200032e57600080fd5b6200033c8783880162000224565b935060408601519150808211156200035357600080fd5b50620003628682870162000224565b9150509250925092565b600181811c908216806200038157607f821691505b60208210811415620003a357634e487b7160e01b600052602260045260246000fd5b50919050565b612cea80620003b96000396000f3fe6080604052600436106101e35760003560e01c80636817c76c11610102578063a22cb46511610095578063c87b56dd11610064578063c87b56dd1461053b578063e83157421461055b578063e985e9c514610571578063f2fde38b146105c757600080fd5b8063a22cb465146104cc578063a475b5dd146104ec578063affed0e014610501578063b88d4fde1461051b57600080fd5b80638a6f9a9e116100d15780638a6f9a9e146104575780638da5cb5b1461047757806395d89b41146104a2578063a0ef91df146104b757600080fd5b80636817c76c146103f657806370a082311461040c578063715018a61461042c578063732496c91461044157600080fd5b80632f745c591161017a5780635183022711610149578063518302271461038757806355f804b3146103a15780636352211e146103c157806363f0aeec146103e157600080fd5b80632f745c591461031457806340c10f191461033457806342842e0e146103475780634f6ccce71461036757600080fd5b8063081c8c44116101b6578063081c8c44146102a8578063095ea7b3146102bd57806318160ddd146102df57806323b872dd146102f457600080fd5b806301ffc9a7146101e857806306d586bb1461021d57806306fdde0314610241578063081812fc14610263575b600080fd5b3480156101f457600080fd5b50610208610203366004612503565b6105e7565b60405190151581526020015b60405180910390f35b34801561022957600080fd5b5061023360095481565b604051908152602001610214565b34801561024d57600080fd5b50610256610718565b6040516102149190612596565b34801561026f57600080fd5b5061028361027e3660046125a9565b6107aa565b60405173ffffffffffffffffffffffffffffffffffffffff9091168152602001610214565b3480156102b457600080fd5b50610256610857565b3480156102c957600080fd5b506102dd6102d83660046125eb565b6108e5565b005b3480156102eb57600080fd5b50600154610233565b34801561030057600080fd5b506102dd61030f366004612615565b610a3f565b34801561032057600080fd5b5061023361032f3660046125eb565b610a4a565b6102dd6103423660046125eb565b610c25565b34801561035357600080fd5b506102dd610362366004612615565b610e95565b34801561037357600080fd5b506102336103823660046125a9565b610eb0565b34801561039357600080fd5b506005546102089060ff1681565b3480156103ad57600080fd5b506102dd6103bc366004612714565b610f33565b3480156103cd57600080fd5b506102836103dc3660046125a9565b611004565b3480156103ed57600080fd5b50610256611016565b34801561040257600080fd5b50610233600b5481565b34801561041857600080fd5b5061023361042736600461275d565b611023565b34801561043857600080fd5b506102dd6110e9565b34801561044d57600080fd5b50610233600a5481565b34801561046357600080fd5b506102dd610472366004612714565b61115c565b34801561048357600080fd5b5060005473ffffffffffffffffffffffffffffffffffffffff16610283565b3480156104ae57600080fd5b506102566111d6565b3480156104c357600080fd5b506102dd6111e5565b3480156104d857600080fd5b506102dd6104e7366004612778565b61127b565b3480156104f857600080fd5b506102dd611378565b34801561050d57600080fd5b506007546102089060ff1681565b34801561052757600080fd5b506102dd6105363660046127b4565b61140c565b34801561054757600080fd5b506102566105563660046125a9565b611495565b34801561056757600080fd5b5061023360085481565b34801561057d57600080fd5b5061020861058c366004612830565b73ffffffffffffffffffffffffffffffffffffffff9182166000908152600f6020908152604080832093909416825291909152205460ff1690565b3480156105d357600080fd5b506102dd6105e236600461275d565b6115ac565b60007fffffffff0000000000000000000000000000000000000000000000000000000082167f80ac58cd00000000000000000000000000000000000000000000000000000000148061067a57507fffffffff0000000000000000000000000000000000000000000000000000000082167f5b5e139f00000000000000000000000000000000000000000000000000000000145b806106c657507fffffffff0000000000000000000000000000000000000000000000000000000082167f780e9d6300000000000000000000000000000000000000000000000000000000145b8061071257507f01ffc9a7000000000000000000000000000000000000000000000000000000007fffffffff000000000000000000000000000000000000000000000000000000008316145b92915050565b60606002805461072790612863565b80601f016020809104026020016040519081016040528092919081815260200182805461075390612863565b80156107a05780601f10610775576101008083540402835291602001916107a0565b820191906000526020600020905b81548152906001019060200180831161078357829003601f168201915b5050505050905090565b60006107b7826001541190565b61082e5760405162461bcd60e51b815260206004820152602d60248201527f455243373231413a20617070726f76656420717565727920666f72206e6f6e6560448201527f78697374656e7420746f6b656e0000000000000000000000000000000000000060648201526084015b60405180910390fd5b506000908152600e602052604090205473ffffffffffffffffffffffffffffffffffffffff1690565b6004805461086490612863565b80601f016020809104026020016040519081016040528092919081815260200182805461089090612863565b80156108dd5780601f106108b2576101008083540402835291602001916108dd565b820191906000526020600020905b8154815290600101906020018083116108c057829003601f168201915b505050505081565b60006108f082611004565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156109945760405162461bcd60e51b815260206004820152602260248201527f455243373231413a20617070726f76616c20746f2063757272656e74206f776e60448201527f65720000000000000000000000000000000000000000000000000000000000006064820152608401610825565b3373ffffffffffffffffffffffffffffffffffffffff821614806109bd57506109bd813361058c565b610a2f5760405162461bcd60e51b815260206004820152603960248201527f455243373231413a20617070726f76652063616c6c6572206973206e6f74206f60448201527f776e6572206e6f7220617070726f76656420666f7220616c6c000000000000006064820152608401610825565b610a3a8383836116a5565b505050565b610a3a838383611726565b6000610a5583611023565b8210610ac95760405162461bcd60e51b815260206004820152602260248201527f455243373231413a206f776e657220696e646578206f7574206f6620626f756e60448201527f64730000000000000000000000000000000000000000000000000000000000006064820152608401610825565b6000610ad460015490565b905060008060005b83811015610bb6576000818152600c602090815260409182902082518084019093525473ffffffffffffffffffffffffffffffffffffffff81168084527401000000000000000000000000000000000000000090910467ffffffffffffffff169183019190915215610b4d57805192505b8773ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610ba35786841415610b955750935061071292505050565b83610b9f816128e6565b9450505b5080610bae816128e6565b915050610adc565b5060405162461bcd60e51b815260206004820152602e60248201527f455243373231413a20756e61626c6520746f2067657420746f6b656e206f662060448201527f6f776e657220627920696e6465780000000000000000000000000000000000006064820152608401610825565b6000610c3060015490565b90506008548110610c835760405162461bcd60e51b815260206004820152601760248201527f536f7272792c2077652061726520736f6c64206f7574210000000000000000006044820152606401610825565b600854610c90838361291f565b1115610d045760405162461bcd60e51b815260206004820152602f60248201527f4d696e74696e672074686973206d616e79206578636565647320746865206d6160448201527f7820746f6b656e73206c696d69742100000000000000000000000000000000006064820152608401610825565b60095482610d1185611023565b610d1b919061291f565b1115610d8f5760405162461bcd60e51b815260206004820152602660248201527f596f7520617265206e6f7420616c6c6f77656420746f206d696e74207468697360448201527f206d616e792100000000000000000000000000000000000000000000000000006064820152608401610825565b3373ffffffffffffffffffffffffffffffffffffffff841614610df45760405162461bcd60e51b815260206004820152600960248201527f55206e61756768747900000000000000000000000000000000000000000000006044820152606401610825565b600082600b54610e049190612937565b9050600a548211610e13575060005b610e1d8382612937565b610e278434612937565b1015610e755760405162461bcd60e51b815260206004820152601360248201527f496e73756666696369656e742066756e647321000000000000000000000000006044820152606401610825565b610e8f848460405180602001604052806000815250611bbe565b50505050565b610a3a8383836040518060200160405280600081525061140c565b6000610ebb60015490565b8210610f2f5760405162461bcd60e51b815260206004820152602360248201527f455243373231413a20676c6f62616c20696e646578206f7574206f6620626f7560448201527f6e647300000000000000000000000000000000000000000000000000000000006064820152608401610825565b5090565b60005473ffffffffffffffffffffffffffffffffffffffff163314610f9a5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610825565b60075460ff1615610fed5760405162461bcd60e51b815260206004820152601e60248201527f42617365205552492068617320616c7265616479206265656e207365742100006044820152606401610825565b8051611000906006906020840190612445565b5050565b600061100f82611f98565b5192915050565b6006805461086490612863565b600073ffffffffffffffffffffffffffffffffffffffff82166110ae5760405162461bcd60e51b815260206004820152602b60248201527f455243373231413a2062616c616e636520717565727920666f7220746865207a60448201527f65726f20616464726573730000000000000000000000000000000000000000006064820152608401610825565b5073ffffffffffffffffffffffffffffffffffffffff166000908152600d60205260409020546fffffffffffffffffffffffffffffffff1690565b60005473ffffffffffffffffffffffffffffffffffffffff1633146111505760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610825565b61115a60006120a9565b565b60005473ffffffffffffffffffffffffffffffffffffffff1633146111c35760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610825565b8051611000906004906020840190612445565b60606003805461072790612863565b60005473ffffffffffffffffffffffffffffffffffffffff16331461124c5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610825565b60405133904780156108fc02916000818181858888f19350505050158015611278573d6000803e3d6000fd5b50565b73ffffffffffffffffffffffffffffffffffffffff82163314156112e15760405162461bcd60e51b815260206004820152601a60248201527f455243373231413a20617070726f766520746f2063616c6c65720000000000006044820152606401610825565b336000818152600f6020908152604080832073ffffffffffffffffffffffffffffffffffffffff87168085529083529281902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b60005473ffffffffffffffffffffffffffffffffffffffff1633146113df5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610825565b600580547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00166001179055565b611417848484611726565b6114238484848461211e565b610e8f5760405162461bcd60e51b815260206004820152603360248201527f455243373231413a207472616e7366657220746f206e6f6e204552433732315260448201527f6563656976657220696d706c656d656e746572000000000000000000000000006064820152608401610825565b60606114a2826001541190565b6115145760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201527f6e6578697374656e7420746f6b656e00000000000000000000000000000000006064820152608401610825565b60055460ff1661155057600461152983612304565b60405160200161153a929190612990565b6040516020818303038152906040529050919050565b600061155a612436565b9050600081511161157a57604051806020016040528060008152506115a5565b8061158484612304565b604051602001611595929190612ac6565b6040516020818303038152906040525b9392505050565b60005473ffffffffffffffffffffffffffffffffffffffff1633146116135760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610825565b73ffffffffffffffffffffffffffffffffffffffff811661169c5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f64647265737300000000000000000000000000000000000000000000000000006064820152608401610825565b611278816120a9565b6000828152600e602052604080822080547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff87811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b600061173182611f98565b805190915060009073ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16148061178f575033611777846107aa565b73ffffffffffffffffffffffffffffffffffffffff16145b806117a1575081516117a1903361058c565b9050806118165760405162461bcd60e51b815260206004820152603260248201527f455243373231413a207472616e736665722063616c6c6572206973206e6f742060448201527f6f776e6572206e6f7220617070726f76656400000000000000000000000000006064820152608401610825565b8473ffffffffffffffffffffffffffffffffffffffff16826000015173ffffffffffffffffffffffffffffffffffffffff16146118bb5760405162461bcd60e51b815260206004820152602660248201527f455243373231413a207472616e736665722066726f6d20696e636f727265637460448201527f206f776e657200000000000000000000000000000000000000000000000000006064820152608401610825565b73ffffffffffffffffffffffffffffffffffffffff84166119445760405162461bcd60e51b815260206004820152602560248201527f455243373231413a207472616e7366657220746f20746865207a65726f20616460448201527f64726573730000000000000000000000000000000000000000000000000000006064820152608401610825565b61195460008484600001516116a5565b73ffffffffffffffffffffffffffffffffffffffff8581166000908152600d6020908152604080832080547fffffffffffffffffffffffffffffffff000000000000000000000000000000008082166fffffffffffffffffffffffffffffffff9283167fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff018316179092558986168086528386208054938416938316600190810190931693909317909255825180840184529182524267ffffffffffffffff9081168386019081528a8752600c90955292852091518254945196167fffffffff00000000000000000000000000000000000000000000000000000000909416939093177401000000000000000000000000000000000000000095909216949094021790925590611a8590859061291f565b6000818152600c602052604090205490915073ffffffffffffffffffffffffffffffffffffffff16611b5a57611abc816001541190565b15611b5a57604080518082018252845173ffffffffffffffffffffffffffffffffffffffff908116825260208087015167ffffffffffffffff9081168285019081526000878152600c9093529490912092518354945190911674010000000000000000000000000000000000000000027fffffffff000000000000000000000000000000000000000000000000000000009094169116179190911790555b838573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45b505050505050565b60015473ffffffffffffffffffffffffffffffffffffffff8416611c4a5760405162461bcd60e51b815260206004820152602160248201527f455243373231413a206d696e7420746f20746865207a65726f2061646472657360448201527f73000000000000000000000000000000000000000000000000000000000000006064820152608401610825565b611c55816001541190565b15611ca25760405162461bcd60e51b815260206004820152601d60248201527f455243373231413a20746f6b656e20616c7265616479206d696e7465640000006044820152606401610825565b60008311611d185760405162461bcd60e51b815260206004820152602860248201527f455243373231413a207175616e74697479206d7573742062652067726561746560448201527f72207468616e20300000000000000000000000000000000000000000000000006064820152608401610825565b73ffffffffffffffffffffffffffffffffffffffff84166000908152600d60209081526040918290208251808401845290546fffffffffffffffffffffffffffffffff80821683527001000000000000000000000000000000009091041691810191909152815180830190925280519091908190611d97908790612b48565b6fffffffffffffffffffffffffffffffff168152602001858360200151611dbe9190612b48565b6fffffffffffffffffffffffffffffffff90811690915273ffffffffffffffffffffffffffffffffffffffff8088166000818152600d6020908152604080832087519783015187167001000000000000000000000000000000000297909616969096179094558451808601865291825267ffffffffffffffff428116838601908152888352600c90955294812091518254945190951674010000000000000000000000000000000000000000027fffffffff0000000000000000000000000000000000000000000000000000000090941694909216939093179190911790915582905b85811015611f8d57604051829073ffffffffffffffffffffffffffffffffffffffff8916906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a4611efb600088848861211e565b611f6d5760405162461bcd60e51b815260206004820152603360248201527f455243373231413a207472616e7366657220746f206e6f6e204552433732315260448201527f6563656976657220696d706c656d656e746572000000000000000000000000006064820152608401610825565b81611f77816128e6565b9250508080611f85906128e6565b915050611ea1565b506001819055611bb6565b6040805180820190915260008082526020820152611fb7826001541190565b6120295760405162461bcd60e51b815260206004820152602a60248201527f455243373231413a206f776e657220717565727920666f72206e6f6e6578697360448201527f74656e7420746f6b656e000000000000000000000000000000000000000000006064820152608401610825565b815b6000818152600c602090815260409182902082518084019093525473ffffffffffffffffffffffffffffffffffffffff81168084527401000000000000000000000000000000000000000090910467ffffffffffffffff169183019190915215612096579392505050565b50806120a181612b7c565b91505061202b565b6000805473ffffffffffffffffffffffffffffffffffffffff8381167fffffffffffffffffffffffff0000000000000000000000000000000000000000831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b600073ffffffffffffffffffffffffffffffffffffffff84163b156122f8576040517f150b7a0200000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff85169063150b7a0290612195903390899088908890600401612bb1565b602060405180830381600087803b1580156121af57600080fd5b505af19250505080156121fd575060408051601f3d9081017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe01682019092526121fa91810190612bfa565b60015b6122ad573d80801561222b576040519150601f19603f3d011682016040523d82523d6000602084013e612230565b606091505b5080516122a55760405162461bcd60e51b815260206004820152603360248201527f455243373231413a207472616e7366657220746f206e6f6e204552433732315260448201527f6563656976657220696d706c656d656e746572000000000000000000000000006064820152608401610825565b805181602001fd5b7fffffffff00000000000000000000000000000000000000000000000000000000167f150b7a02000000000000000000000000000000000000000000000000000000001490506122fc565b5060015b949350505050565b60608161234457505060408051808201909152600181527f3000000000000000000000000000000000000000000000000000000000000000602082015290565b8160005b811561236e5780612358816128e6565b91506123679050600a83612c46565b9150612348565b60008167ffffffffffffffff81111561238957612389612651565b6040519080825280601f01601f1916602001820160405280156123b3576020820181803683370190505b5090505b84156122fc576123c8600183612c5a565b91506123d5600a86612c71565b6123e090603061291f565b60f81b8183815181106123f5576123f5612c85565b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a90535061242f600a86612c46565b94506123b7565b60606006805461072790612863565b82805461245190612863565b90600052602060002090601f01602090048101928261247357600085556124b9565b82601f1061248c57805160ff19168380011785556124b9565b828001600101855582156124b9579182015b828111156124b957825182559160200191906001019061249e565b50610f2f9291505b80821115610f2f57600081556001016124c1565b7fffffffff000000000000000000000000000000000000000000000000000000008116811461127857600080fd5b60006020828403121561251557600080fd5b81356115a5816124d5565b60005b8381101561253b578181015183820152602001612523565b83811115610e8f5750506000910152565b60008151808452612564816020860160208601612520565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169290920160200192915050565b6020815260006115a5602083018461254c565b6000602082840312156125bb57600080fd5b5035919050565b803573ffffffffffffffffffffffffffffffffffffffff811681146125e657600080fd5b919050565b600080604083850312156125fe57600080fd5b612607836125c2565b946020939093013593505050565b60008060006060848603121561262a57600080fd5b612633846125c2565b9250612641602085016125c2565b9150604084013590509250925092565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600067ffffffffffffffff8084111561269b5761269b612651565b604051601f85017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0908116603f011681019082821181831017156126e1576126e1612651565b816040528093508581528686860111156126fa57600080fd5b858560208301376000602087830101525050509392505050565b60006020828403121561272657600080fd5b813567ffffffffffffffff81111561273d57600080fd5b8201601f8101841361274e57600080fd5b6122fc84823560208401612680565b60006020828403121561276f57600080fd5b6115a5826125c2565b6000806040838503121561278b57600080fd5b612794836125c2565b9150602083013580151581146127a957600080fd5b809150509250929050565b600080600080608085870312156127ca57600080fd5b6127d3856125c2565b93506127e1602086016125c2565b925060408501359150606085013567ffffffffffffffff81111561280457600080fd5b8501601f8101871361281557600080fd5b61282487823560208401612680565b91505092959194509250565b6000806040838503121561284357600080fd5b61284c836125c2565b915061285a602084016125c2565b90509250929050565b600181811c9082168061287757607f821691505b602082108114156128b1577f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415612918576129186128b7565b5060010190565b60008219821115612932576129326128b7565b500190565b6000817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161561296f5761296f6128b7565b500290565b60008151612986818560208601612520565b9290920192915050565b600080845481600182811c9150808316806129ac57607f831692505b60208084108214156129e5577f4e487b710000000000000000000000000000000000000000000000000000000086526022600452602486fd5b8180156129f95760018114612a2857612a55565b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00861689528489019650612a55565b60008b81526020902060005b86811015612a4d5781548b820152908501908301612a34565b505084890196505b505050505050612abd612a94612a8e837f2f00000000000000000000000000000000000000000000000000000000000000815260010190565b86612974565b7f2e6a736f6e000000000000000000000000000000000000000000000000000000815260050190565b95945050505050565b60008351612ad8818460208801612520565b7f2f000000000000000000000000000000000000000000000000000000000000009083019081528351612b12816001840160208801612520565b7f2e6a736f6e00000000000000000000000000000000000000000000000000000060019290910191820152600601949350505050565b60006fffffffffffffffffffffffffffffffff808316818516808303821115612b7357612b736128b7565b01949350505050565b600081612b8b57612b8b6128b7565b507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0190565b600073ffffffffffffffffffffffffffffffffffffffff808716835280861660208401525083604083015260806060830152612bf0608083018461254c565b9695505050505050565b600060208284031215612c0c57600080fd5b81516115a5816124d5565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b600082612c5557612c55612c17565b500490565b600082821015612c6c57612c6c6128b7565b500390565b600082612c8057612c80612c17565b500690565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fdfea264697066735822122058d4f4792c1a98e1db6915faca9a19966439993de8ef282685a8e1de3b87855d64736f6c63430008090033000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000e0000000000000000000000000000000000000000000000000000000000000000c437572736f722050756e6b73000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000054350554e4b000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000005068747470733a2f2f676174657761792e70696e6174612e636c6f75642f697066732f516d654478506b42554574554742396d43757936577a76486441554c787152574579414741446e6737695333756e00000000000000000000000000000000
Deployed Bytecode
0x6080604052600436106101e35760003560e01c80636817c76c11610102578063a22cb46511610095578063c87b56dd11610064578063c87b56dd1461053b578063e83157421461055b578063e985e9c514610571578063f2fde38b146105c757600080fd5b8063a22cb465146104cc578063a475b5dd146104ec578063affed0e014610501578063b88d4fde1461051b57600080fd5b80638a6f9a9e116100d15780638a6f9a9e146104575780638da5cb5b1461047757806395d89b41146104a2578063a0ef91df146104b757600080fd5b80636817c76c146103f657806370a082311461040c578063715018a61461042c578063732496c91461044157600080fd5b80632f745c591161017a5780635183022711610149578063518302271461038757806355f804b3146103a15780636352211e146103c157806363f0aeec146103e157600080fd5b80632f745c591461031457806340c10f191461033457806342842e0e146103475780634f6ccce71461036757600080fd5b8063081c8c44116101b6578063081c8c44146102a8578063095ea7b3146102bd57806318160ddd146102df57806323b872dd146102f457600080fd5b806301ffc9a7146101e857806306d586bb1461021d57806306fdde0314610241578063081812fc14610263575b600080fd5b3480156101f457600080fd5b50610208610203366004612503565b6105e7565b60405190151581526020015b60405180910390f35b34801561022957600080fd5b5061023360095481565b604051908152602001610214565b34801561024d57600080fd5b50610256610718565b6040516102149190612596565b34801561026f57600080fd5b5061028361027e3660046125a9565b6107aa565b60405173ffffffffffffffffffffffffffffffffffffffff9091168152602001610214565b3480156102b457600080fd5b50610256610857565b3480156102c957600080fd5b506102dd6102d83660046125eb565b6108e5565b005b3480156102eb57600080fd5b50600154610233565b34801561030057600080fd5b506102dd61030f366004612615565b610a3f565b34801561032057600080fd5b5061023361032f3660046125eb565b610a4a565b6102dd6103423660046125eb565b610c25565b34801561035357600080fd5b506102dd610362366004612615565b610e95565b34801561037357600080fd5b506102336103823660046125a9565b610eb0565b34801561039357600080fd5b506005546102089060ff1681565b3480156103ad57600080fd5b506102dd6103bc366004612714565b610f33565b3480156103cd57600080fd5b506102836103dc3660046125a9565b611004565b3480156103ed57600080fd5b50610256611016565b34801561040257600080fd5b50610233600b5481565b34801561041857600080fd5b5061023361042736600461275d565b611023565b34801561043857600080fd5b506102dd6110e9565b34801561044d57600080fd5b50610233600a5481565b34801561046357600080fd5b506102dd610472366004612714565b61115c565b34801561048357600080fd5b5060005473ffffffffffffffffffffffffffffffffffffffff16610283565b3480156104ae57600080fd5b506102566111d6565b3480156104c357600080fd5b506102dd6111e5565b3480156104d857600080fd5b506102dd6104e7366004612778565b61127b565b3480156104f857600080fd5b506102dd611378565b34801561050d57600080fd5b506007546102089060ff1681565b34801561052757600080fd5b506102dd6105363660046127b4565b61140c565b34801561054757600080fd5b506102566105563660046125a9565b611495565b34801561056757600080fd5b5061023360085481565b34801561057d57600080fd5b5061020861058c366004612830565b73ffffffffffffffffffffffffffffffffffffffff9182166000908152600f6020908152604080832093909416825291909152205460ff1690565b3480156105d357600080fd5b506102dd6105e236600461275d565b6115ac565b60007fffffffff0000000000000000000000000000000000000000000000000000000082167f80ac58cd00000000000000000000000000000000000000000000000000000000148061067a57507fffffffff0000000000000000000000000000000000000000000000000000000082167f5b5e139f00000000000000000000000000000000000000000000000000000000145b806106c657507fffffffff0000000000000000000000000000000000000000000000000000000082167f780e9d6300000000000000000000000000000000000000000000000000000000145b8061071257507f01ffc9a7000000000000000000000000000000000000000000000000000000007fffffffff000000000000000000000000000000000000000000000000000000008316145b92915050565b60606002805461072790612863565b80601f016020809104026020016040519081016040528092919081815260200182805461075390612863565b80156107a05780601f10610775576101008083540402835291602001916107a0565b820191906000526020600020905b81548152906001019060200180831161078357829003601f168201915b5050505050905090565b60006107b7826001541190565b61082e5760405162461bcd60e51b815260206004820152602d60248201527f455243373231413a20617070726f76656420717565727920666f72206e6f6e6560448201527f78697374656e7420746f6b656e0000000000000000000000000000000000000060648201526084015b60405180910390fd5b506000908152600e602052604090205473ffffffffffffffffffffffffffffffffffffffff1690565b6004805461086490612863565b80601f016020809104026020016040519081016040528092919081815260200182805461089090612863565b80156108dd5780601f106108b2576101008083540402835291602001916108dd565b820191906000526020600020905b8154815290600101906020018083116108c057829003601f168201915b505050505081565b60006108f082611004565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156109945760405162461bcd60e51b815260206004820152602260248201527f455243373231413a20617070726f76616c20746f2063757272656e74206f776e60448201527f65720000000000000000000000000000000000000000000000000000000000006064820152608401610825565b3373ffffffffffffffffffffffffffffffffffffffff821614806109bd57506109bd813361058c565b610a2f5760405162461bcd60e51b815260206004820152603960248201527f455243373231413a20617070726f76652063616c6c6572206973206e6f74206f60448201527f776e6572206e6f7220617070726f76656420666f7220616c6c000000000000006064820152608401610825565b610a3a8383836116a5565b505050565b610a3a838383611726565b6000610a5583611023565b8210610ac95760405162461bcd60e51b815260206004820152602260248201527f455243373231413a206f776e657220696e646578206f7574206f6620626f756e60448201527f64730000000000000000000000000000000000000000000000000000000000006064820152608401610825565b6000610ad460015490565b905060008060005b83811015610bb6576000818152600c602090815260409182902082518084019093525473ffffffffffffffffffffffffffffffffffffffff81168084527401000000000000000000000000000000000000000090910467ffffffffffffffff169183019190915215610b4d57805192505b8773ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610ba35786841415610b955750935061071292505050565b83610b9f816128e6565b9450505b5080610bae816128e6565b915050610adc565b5060405162461bcd60e51b815260206004820152602e60248201527f455243373231413a20756e61626c6520746f2067657420746f6b656e206f662060448201527f6f776e657220627920696e6465780000000000000000000000000000000000006064820152608401610825565b6000610c3060015490565b90506008548110610c835760405162461bcd60e51b815260206004820152601760248201527f536f7272792c2077652061726520736f6c64206f7574210000000000000000006044820152606401610825565b600854610c90838361291f565b1115610d045760405162461bcd60e51b815260206004820152602f60248201527f4d696e74696e672074686973206d616e79206578636565647320746865206d6160448201527f7820746f6b656e73206c696d69742100000000000000000000000000000000006064820152608401610825565b60095482610d1185611023565b610d1b919061291f565b1115610d8f5760405162461bcd60e51b815260206004820152602660248201527f596f7520617265206e6f7420616c6c6f77656420746f206d696e74207468697360448201527f206d616e792100000000000000000000000000000000000000000000000000006064820152608401610825565b3373ffffffffffffffffffffffffffffffffffffffff841614610df45760405162461bcd60e51b815260206004820152600960248201527f55206e61756768747900000000000000000000000000000000000000000000006044820152606401610825565b600082600b54610e049190612937565b9050600a548211610e13575060005b610e1d8382612937565b610e278434612937565b1015610e755760405162461bcd60e51b815260206004820152601360248201527f496e73756666696369656e742066756e647321000000000000000000000000006044820152606401610825565b610e8f848460405180602001604052806000815250611bbe565b50505050565b610a3a8383836040518060200160405280600081525061140c565b6000610ebb60015490565b8210610f2f5760405162461bcd60e51b815260206004820152602360248201527f455243373231413a20676c6f62616c20696e646578206f7574206f6620626f7560448201527f6e647300000000000000000000000000000000000000000000000000000000006064820152608401610825565b5090565b60005473ffffffffffffffffffffffffffffffffffffffff163314610f9a5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610825565b60075460ff1615610fed5760405162461bcd60e51b815260206004820152601e60248201527f42617365205552492068617320616c7265616479206265656e207365742100006044820152606401610825565b8051611000906006906020840190612445565b5050565b600061100f82611f98565b5192915050565b6006805461086490612863565b600073ffffffffffffffffffffffffffffffffffffffff82166110ae5760405162461bcd60e51b815260206004820152602b60248201527f455243373231413a2062616c616e636520717565727920666f7220746865207a60448201527f65726f20616464726573730000000000000000000000000000000000000000006064820152608401610825565b5073ffffffffffffffffffffffffffffffffffffffff166000908152600d60205260409020546fffffffffffffffffffffffffffffffff1690565b60005473ffffffffffffffffffffffffffffffffffffffff1633146111505760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610825565b61115a60006120a9565b565b60005473ffffffffffffffffffffffffffffffffffffffff1633146111c35760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610825565b8051611000906004906020840190612445565b60606003805461072790612863565b60005473ffffffffffffffffffffffffffffffffffffffff16331461124c5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610825565b60405133904780156108fc02916000818181858888f19350505050158015611278573d6000803e3d6000fd5b50565b73ffffffffffffffffffffffffffffffffffffffff82163314156112e15760405162461bcd60e51b815260206004820152601a60248201527f455243373231413a20617070726f766520746f2063616c6c65720000000000006044820152606401610825565b336000818152600f6020908152604080832073ffffffffffffffffffffffffffffffffffffffff87168085529083529281902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b60005473ffffffffffffffffffffffffffffffffffffffff1633146113df5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610825565b600580547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00166001179055565b611417848484611726565b6114238484848461211e565b610e8f5760405162461bcd60e51b815260206004820152603360248201527f455243373231413a207472616e7366657220746f206e6f6e204552433732315260448201527f6563656976657220696d706c656d656e746572000000000000000000000000006064820152608401610825565b60606114a2826001541190565b6115145760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201527f6e6578697374656e7420746f6b656e00000000000000000000000000000000006064820152608401610825565b60055460ff1661155057600461152983612304565b60405160200161153a929190612990565b6040516020818303038152906040529050919050565b600061155a612436565b9050600081511161157a57604051806020016040528060008152506115a5565b8061158484612304565b604051602001611595929190612ac6565b6040516020818303038152906040525b9392505050565b60005473ffffffffffffffffffffffffffffffffffffffff1633146116135760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610825565b73ffffffffffffffffffffffffffffffffffffffff811661169c5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f64647265737300000000000000000000000000000000000000000000000000006064820152608401610825565b611278816120a9565b6000828152600e602052604080822080547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff87811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b600061173182611f98565b805190915060009073ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16148061178f575033611777846107aa565b73ffffffffffffffffffffffffffffffffffffffff16145b806117a1575081516117a1903361058c565b9050806118165760405162461bcd60e51b815260206004820152603260248201527f455243373231413a207472616e736665722063616c6c6572206973206e6f742060448201527f6f776e6572206e6f7220617070726f76656400000000000000000000000000006064820152608401610825565b8473ffffffffffffffffffffffffffffffffffffffff16826000015173ffffffffffffffffffffffffffffffffffffffff16146118bb5760405162461bcd60e51b815260206004820152602660248201527f455243373231413a207472616e736665722066726f6d20696e636f727265637460448201527f206f776e657200000000000000000000000000000000000000000000000000006064820152608401610825565b73ffffffffffffffffffffffffffffffffffffffff84166119445760405162461bcd60e51b815260206004820152602560248201527f455243373231413a207472616e7366657220746f20746865207a65726f20616460448201527f64726573730000000000000000000000000000000000000000000000000000006064820152608401610825565b61195460008484600001516116a5565b73ffffffffffffffffffffffffffffffffffffffff8581166000908152600d6020908152604080832080547fffffffffffffffffffffffffffffffff000000000000000000000000000000008082166fffffffffffffffffffffffffffffffff9283167fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff018316179092558986168086528386208054938416938316600190810190931693909317909255825180840184529182524267ffffffffffffffff9081168386019081528a8752600c90955292852091518254945196167fffffffff00000000000000000000000000000000000000000000000000000000909416939093177401000000000000000000000000000000000000000095909216949094021790925590611a8590859061291f565b6000818152600c602052604090205490915073ffffffffffffffffffffffffffffffffffffffff16611b5a57611abc816001541190565b15611b5a57604080518082018252845173ffffffffffffffffffffffffffffffffffffffff908116825260208087015167ffffffffffffffff9081168285019081526000878152600c9093529490912092518354945190911674010000000000000000000000000000000000000000027fffffffff000000000000000000000000000000000000000000000000000000009094169116179190911790555b838573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45b505050505050565b60015473ffffffffffffffffffffffffffffffffffffffff8416611c4a5760405162461bcd60e51b815260206004820152602160248201527f455243373231413a206d696e7420746f20746865207a65726f2061646472657360448201527f73000000000000000000000000000000000000000000000000000000000000006064820152608401610825565b611c55816001541190565b15611ca25760405162461bcd60e51b815260206004820152601d60248201527f455243373231413a20746f6b656e20616c7265616479206d696e7465640000006044820152606401610825565b60008311611d185760405162461bcd60e51b815260206004820152602860248201527f455243373231413a207175616e74697479206d7573742062652067726561746560448201527f72207468616e20300000000000000000000000000000000000000000000000006064820152608401610825565b73ffffffffffffffffffffffffffffffffffffffff84166000908152600d60209081526040918290208251808401845290546fffffffffffffffffffffffffffffffff80821683527001000000000000000000000000000000009091041691810191909152815180830190925280519091908190611d97908790612b48565b6fffffffffffffffffffffffffffffffff168152602001858360200151611dbe9190612b48565b6fffffffffffffffffffffffffffffffff90811690915273ffffffffffffffffffffffffffffffffffffffff8088166000818152600d6020908152604080832087519783015187167001000000000000000000000000000000000297909616969096179094558451808601865291825267ffffffffffffffff428116838601908152888352600c90955294812091518254945190951674010000000000000000000000000000000000000000027fffffffff0000000000000000000000000000000000000000000000000000000090941694909216939093179190911790915582905b85811015611f8d57604051829073ffffffffffffffffffffffffffffffffffffffff8916906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a4611efb600088848861211e565b611f6d5760405162461bcd60e51b815260206004820152603360248201527f455243373231413a207472616e7366657220746f206e6f6e204552433732315260448201527f6563656976657220696d706c656d656e746572000000000000000000000000006064820152608401610825565b81611f77816128e6565b9250508080611f85906128e6565b915050611ea1565b506001819055611bb6565b6040805180820190915260008082526020820152611fb7826001541190565b6120295760405162461bcd60e51b815260206004820152602a60248201527f455243373231413a206f776e657220717565727920666f72206e6f6e6578697360448201527f74656e7420746f6b656e000000000000000000000000000000000000000000006064820152608401610825565b815b6000818152600c602090815260409182902082518084019093525473ffffffffffffffffffffffffffffffffffffffff81168084527401000000000000000000000000000000000000000090910467ffffffffffffffff169183019190915215612096579392505050565b50806120a181612b7c565b91505061202b565b6000805473ffffffffffffffffffffffffffffffffffffffff8381167fffffffffffffffffffffffff0000000000000000000000000000000000000000831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b600073ffffffffffffffffffffffffffffffffffffffff84163b156122f8576040517f150b7a0200000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff85169063150b7a0290612195903390899088908890600401612bb1565b602060405180830381600087803b1580156121af57600080fd5b505af19250505080156121fd575060408051601f3d9081017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe01682019092526121fa91810190612bfa565b60015b6122ad573d80801561222b576040519150601f19603f3d011682016040523d82523d6000602084013e612230565b606091505b5080516122a55760405162461bcd60e51b815260206004820152603360248201527f455243373231413a207472616e7366657220746f206e6f6e204552433732315260448201527f6563656976657220696d706c656d656e746572000000000000000000000000006064820152608401610825565b805181602001fd5b7fffffffff00000000000000000000000000000000000000000000000000000000167f150b7a02000000000000000000000000000000000000000000000000000000001490506122fc565b5060015b949350505050565b60608161234457505060408051808201909152600181527f3000000000000000000000000000000000000000000000000000000000000000602082015290565b8160005b811561236e5780612358816128e6565b91506123679050600a83612c46565b9150612348565b60008167ffffffffffffffff81111561238957612389612651565b6040519080825280601f01601f1916602001820160405280156123b3576020820181803683370190505b5090505b84156122fc576123c8600183612c5a565b91506123d5600a86612c71565b6123e090603061291f565b60f81b8183815181106123f5576123f5612c85565b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a90535061242f600a86612c46565b94506123b7565b60606006805461072790612863565b82805461245190612863565b90600052602060002090601f01602090048101928261247357600085556124b9565b82601f1061248c57805160ff19168380011785556124b9565b828001600101855582156124b9579182015b828111156124b957825182559160200191906001019061249e565b50610f2f9291505b80821115610f2f57600081556001016124c1565b7fffffffff000000000000000000000000000000000000000000000000000000008116811461127857600080fd5b60006020828403121561251557600080fd5b81356115a5816124d5565b60005b8381101561253b578181015183820152602001612523565b83811115610e8f5750506000910152565b60008151808452612564816020860160208601612520565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169290920160200192915050565b6020815260006115a5602083018461254c565b6000602082840312156125bb57600080fd5b5035919050565b803573ffffffffffffffffffffffffffffffffffffffff811681146125e657600080fd5b919050565b600080604083850312156125fe57600080fd5b612607836125c2565b946020939093013593505050565b60008060006060848603121561262a57600080fd5b612633846125c2565b9250612641602085016125c2565b9150604084013590509250925092565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600067ffffffffffffffff8084111561269b5761269b612651565b604051601f85017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0908116603f011681019082821181831017156126e1576126e1612651565b816040528093508581528686860111156126fa57600080fd5b858560208301376000602087830101525050509392505050565b60006020828403121561272657600080fd5b813567ffffffffffffffff81111561273d57600080fd5b8201601f8101841361274e57600080fd5b6122fc84823560208401612680565b60006020828403121561276f57600080fd5b6115a5826125c2565b6000806040838503121561278b57600080fd5b612794836125c2565b9150602083013580151581146127a957600080fd5b809150509250929050565b600080600080608085870312156127ca57600080fd5b6127d3856125c2565b93506127e1602086016125c2565b925060408501359150606085013567ffffffffffffffff81111561280457600080fd5b8501601f8101871361281557600080fd5b61282487823560208401612680565b91505092959194509250565b6000806040838503121561284357600080fd5b61284c836125c2565b915061285a602084016125c2565b90509250929050565b600181811c9082168061287757607f821691505b602082108114156128b1577f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415612918576129186128b7565b5060010190565b60008219821115612932576129326128b7565b500190565b6000817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161561296f5761296f6128b7565b500290565b60008151612986818560208601612520565b9290920192915050565b600080845481600182811c9150808316806129ac57607f831692505b60208084108214156129e5577f4e487b710000000000000000000000000000000000000000000000000000000086526022600452602486fd5b8180156129f95760018114612a2857612a55565b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00861689528489019650612a55565b60008b81526020902060005b86811015612a4d5781548b820152908501908301612a34565b505084890196505b505050505050612abd612a94612a8e837f2f00000000000000000000000000000000000000000000000000000000000000815260010190565b86612974565b7f2e6a736f6e000000000000000000000000000000000000000000000000000000815260050190565b95945050505050565b60008351612ad8818460208801612520565b7f2f000000000000000000000000000000000000000000000000000000000000009083019081528351612b12816001840160208801612520565b7f2e6a736f6e00000000000000000000000000000000000000000000000000000060019290910191820152600601949350505050565b60006fffffffffffffffffffffffffffffffff808316818516808303821115612b7357612b736128b7565b01949350505050565b600081612b8b57612b8b6128b7565b507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0190565b600073ffffffffffffffffffffffffffffffffffffffff808716835280861660208401525083604083015260806060830152612bf0608083018461254c565b9695505050505050565b600060208284031215612c0c57600080fd5b81516115a5816124d5565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b600082612c5557612c55612c17565b500490565b600082821015612c6c57612c6c6128b7565b500390565b600082612c8057612c80612c17565b500690565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fdfea264697066735822122058d4f4792c1a98e1db6915faca9a19966439993de8ef282685a8e1de3b87855d64736f6c63430008090033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000e0000000000000000000000000000000000000000000000000000000000000000c437572736f722050756e6b73000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000054350554e4b000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000005068747470733a2f2f676174657761792e70696e6174612e636c6f75642f697066732f516d654478506b42554574554742396d43757936577a76486441554c787152574579414741446e6737695333756e00000000000000000000000000000000
-----Decoded View---------------
Arg [0] : name_ (string): Cursor Punks
Arg [1] : symbol_ (string): CPUNK
Arg [2] : initUri_ (string): https://gateway.pinata.cloud/ipfs/QmeDxPkBUEtUGB9mCuy6WzvHdAULxqRWEyAGADng7iS3un
-----Encoded View---------------
11 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000060
Arg [1] : 00000000000000000000000000000000000000000000000000000000000000a0
Arg [2] : 00000000000000000000000000000000000000000000000000000000000000e0
Arg [3] : 000000000000000000000000000000000000000000000000000000000000000c
Arg [4] : 437572736f722050756e6b730000000000000000000000000000000000000000
Arg [5] : 0000000000000000000000000000000000000000000000000000000000000005
Arg [6] : 4350554e4b000000000000000000000000000000000000000000000000000000
Arg [7] : 0000000000000000000000000000000000000000000000000000000000000050
Arg [8] : 68747470733a2f2f676174657761792e70696e6174612e636c6f75642f697066
Arg [9] : 732f516d654478506b42554574554742396d43757936577a76486441554c7871
Arg [10] : 52574579414741446e6737695333756e00000000000000000000000000000000
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 26 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|
Loading...
Loading
[ Download: CSV Export ]
[ Download: CSV Export ]
A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.