Feature Tip: Add private address tag to any address under My Name Tag !
Overview
TokenID
610
Total Transfers
-
Market
Onchain Market Cap
$0.00
Circulating Supply Market Cap
-
Other Info
Token Contract
Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
ParaPreppers
Compiler Version
v0.8.4+commit.c7e474f2
Optimization Enabled:
No with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT pragma solidity ^0.8.4; import "erc721a/contracts/ERC721A.sol"; import "@openzeppelin/contracts/utils/Counters.sol"; import "@openzeppelin/contracts/utils/math/SafeMath.sol"; import "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; contract ParaPreppers is ERC721A, Ownable { using SafeMath for uint256; using Counters for Counters.Counter; string public baseTokenURI = "https://nft.parapreppernft.com/ipfs/QmXrZcpzkqjV5haNqN4oUs3HhXtH95kqRG9cfAWbVz7Kqi/"; bytes32 public whitelistMerkleRoot = 0x87170a03d9457fcf5c21ae8643017d276f69925e4e7b4dc08f8ff993f2c97ba4; uint16 public constant TOTAL_MINT_AMOUNT = 3000; string public mintType = "presale"; uint256 public pricePerNft = 0.08 ether; constructor() ERC721A("Para Preppers", "PARA") {} function _baseURI() internal view virtual override returns (string memory) { return baseTokenURI; } // Set the base uri for token function setBaseURI(string memory _baseTokenURI) public onlyOwner { baseTokenURI = _baseTokenURI; } // Set the merkle tree for whitelist function setWhitelistMerkleRoot(bytes32 _whitelistMerkleRoot) public onlyOwner { whitelistMerkleRoot = _whitelistMerkleRoot; } // Set the price per NFT function setPricePerNft(uint256 _pricePerNft) public onlyOwner { pricePerNft = _pricePerNft; } // Set the mint type function setMintType(string memory _mintType) external onlyOwner { if ( keccak256(abi.encodePacked((_mintType))) == keccak256(abi.encodePacked(("presale"))) ) { mintType = _mintType; setPricePerNft(0.08 ether); } else if ( keccak256(abi.encodePacked((_mintType))) == keccak256(abi.encodePacked(("public"))) ) { mintType = _mintType; setPricePerNft(0.1 ether); } else { revert("No valid mint type."); } } // Private sale with whitelist function privateMint(bytes32[] calldata _merkleProof) public payable { bytes memory tempEmptyStringTest = bytes(mintType); bytes32 leaf; require( keccak256(abi.encodePacked((mintType))) != keccak256(abi.encodePacked(("public"))), "Public sale period!" ); require( msg.sender == tx.origin, "Mint from other contract not allowed." ); require(tempEmptyStringTest.length > 0, "Mint type isn't set yet."); require(whitelistMerkleRoot.length > 0, "Whitelist isn't provided."); leaf = keccak256(abi.encodePacked(msg.sender)); require( MerkleProof.verify(_merkleProof, whitelistMerkleRoot, leaf), "Not whitelisted address." ); _safeMint(msg.sender, 1); } function withdraw(address ownerWallet) external onlyOwner { uint256 balance = address(this).balance; payable(ownerWallet).transfer(balance); } // Public sale without whitelist function publicMint() public payable { require( keccak256(abi.encodePacked((mintType))) == keccak256(abi.encodePacked(("public"))), "Presale period!." ); require( msg.sender == tx.origin, "Mint from other contract not allowed." ); _safeMint(msg.sender, 1); } }
// SPDX-License-Identifier: MIT // Creator: Chiru Labs pragma solidity ^0.8.4; 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/utils/Address.sol'; import '@openzeppelin/contracts/utils/Context.sol'; import '@openzeppelin/contracts/utils/Strings.sol'; import '@openzeppelin/contracts/utils/introspection/ERC165.sol'; error ApprovalCallerNotOwnerNorApproved(); error ApprovalQueryForNonexistentToken(); error ApproveToCaller(); error ApprovalToCurrentOwner(); error BalanceQueryForZeroAddress(); error MintToZeroAddress(); error MintZeroQuantity(); error OwnerQueryForNonexistentToken(); error TransferCallerNotOwnerNorApproved(); error TransferFromIncorrectOwner(); error TransferToNonERC721ReceiverImplementer(); error TransferToZeroAddress(); error URIQueryForNonexistentToken(); /** * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including * the Metadata extension. Built to optimize for lower gas during batch mints. * * Assumes serials are sequentially minted starting at _startTokenId() (defaults to 0, e.g. 0, 1, 2, 3..). * * Assumes that an owner cannot have more than 2**64 - 1 (max value of uint64) of supply. * * Assumes that the maximum token id cannot exceed 2**256 - 1 (max value of uint256). */ contract ERC721A is Context, ERC165, IERC721, IERC721Metadata { using Address for address; using Strings for uint256; // Compiler will pack this into a single 256bit word. struct TokenOwnership { // The address of the owner. address addr; // Keeps track of the start time of ownership with minimal overhead for tokenomics. uint64 startTimestamp; // Whether the token has been burned. bool burned; } // Compiler will pack this into a single 256bit word. struct AddressData { // Realistically, 2**64-1 is more than enough. uint64 balance; // Keeps track of mint count with minimal overhead for tokenomics. uint64 numberMinted; // Keeps track of burn count with minimal overhead for tokenomics. uint64 numberBurned; // For miscellaneous variable(s) pertaining to the address // (e.g. number of whitelist mint slots used). // If there are multiple variables, please pack them into a uint64. uint64 aux; } // The tokenId of the next token to be minted. uint256 internal _currentIndex; // The number of tokens burned. uint256 internal _burnCounter; // Token name string private _name; // Token symbol string private _symbol; // 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_) { _name = name_; _symbol = symbol_; _currentIndex = _startTokenId(); } /** * To change the starting tokenId, please override this function. */ function _startTokenId() internal view virtual returns (uint256) { return 0; } /** * @dev Burned tokens are calculated here, use _totalMinted() if you want to count just minted tokens. */ function totalSupply() public view returns (uint256) { // Counter underflow is impossible as _burnCounter cannot be incremented // more than _currentIndex - _startTokenId() times unchecked { return _currentIndex - _burnCounter - _startTokenId(); } } /** * Returns the total amount of tokens minted in the contract. */ function _totalMinted() internal view returns (uint256) { // Counter underflow is impossible as _currentIndex does not decrement, // and it is initialized to _startTokenId() unchecked { return _currentIndex - _startTokenId(); } } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) { return interfaceId == type(IERC721).interfaceId || interfaceId == type(IERC721Metadata).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC721-balanceOf}. */ function balanceOf(address owner) public view override returns (uint256) { if (owner == address(0)) revert BalanceQueryForZeroAddress(); return uint256(_addressData[owner].balance); } /** * Returns the number of tokens minted by `owner`. */ function _numberMinted(address owner) internal view returns (uint256) { return uint256(_addressData[owner].numberMinted); } /** * Returns the number of tokens burned by or on behalf of `owner`. */ function _numberBurned(address owner) internal view returns (uint256) { return uint256(_addressData[owner].numberBurned); } /** * Returns the auxillary data for `owner`. (e.g. number of whitelist mint slots used). */ function _getAux(address owner) internal view returns (uint64) { return _addressData[owner].aux; } /** * Sets the auxillary data for `owner`. (e.g. number of whitelist mint slots used). * If there are multiple variables, please pack them into a uint64. */ function _setAux(address owner, uint64 aux) internal { _addressData[owner].aux = aux; } /** * Gas spent here starts off proportional to the maximum mint batch size. * It gradually moves to O(1) as tokens get transferred around in the collection over time. */ function _ownershipOf(uint256 tokenId) internal view returns (TokenOwnership memory) { uint256 curr = tokenId; unchecked { if (_startTokenId() <= curr && curr < _currentIndex) { TokenOwnership memory ownership = _ownerships[curr]; if (!ownership.burned) { if (ownership.addr != address(0)) { return ownership; } // Invariant: // There will always be an ownership that has an address and is not burned // before an ownership that does not have an address and is not burned. // Hence, curr will not underflow. while (true) { curr--; ownership = _ownerships[curr]; if (ownership.addr != address(0)) { return ownership; } } } } } revert OwnerQueryForNonexistentToken(); } /** * @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) { if (!_exists(tokenId)) revert URIQueryForNonexistentToken(); string memory baseURI = _baseURI(); return bytes(baseURI).length != 0 ? string(abi.encodePacked(baseURI, tokenId.toString())) : ''; } /** * @dev Base URI for computing {tokenURI}. If set, the resulting URI for each * token will be the concatenation of the `baseURI` and the `tokenId`. Empty * by default, can be overriden in child contracts. */ function _baseURI() internal view virtual returns (string memory) { return ''; } /** * @dev See {IERC721-approve}. */ function approve(address to, uint256 tokenId) public override { address owner = ERC721A.ownerOf(tokenId); if (to == owner) revert ApprovalToCurrentOwner(); if (_msgSender() != owner && !isApprovedForAll(owner, _msgSender())) { revert ApprovalCallerNotOwnerNorApproved(); } _approve(to, tokenId, owner); } /** * @dev See {IERC721-getApproved}. */ function getApproved(uint256 tokenId) public view override returns (address) { if (!_exists(tokenId)) revert ApprovalQueryForNonexistentToken(); return _tokenApprovals[tokenId]; } /** * @dev See {IERC721-setApprovalForAll}. */ function setApprovalForAll(address operator, bool approved) public virtual override { if (operator == _msgSender()) revert ApproveToCaller(); _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 virtual override { _transfer(from, to, tokenId); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId ) public virtual override { safeTransferFrom(from, to, tokenId, ''); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes memory _data ) public virtual override { _transfer(from, to, tokenId); if (to.isContract() && !_checkContractOnERC721Received(from, to, tokenId, _data)) { revert TransferToNonERC721ReceiverImplementer(); } } /** * @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 _startTokenId() <= tokenId && tokenId < _currentIndex && !_ownerships[tokenId].burned; } function _safeMint(address to, uint256 quantity) internal { _safeMint(to, quantity, ''); } /** * @dev Safely mints `quantity` tokens and transfers them to `to`. * * Requirements: * * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called for each safe transfer. * - `quantity` must be greater than 0. * * Emits a {Transfer} event. */ function _safeMint( address to, uint256 quantity, bytes memory _data ) internal { _mint(to, quantity, _data, true); } /** * @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 _mint( address to, uint256 quantity, bytes memory _data, bool safe ) internal { uint256 startTokenId = _currentIndex; if (to == address(0)) revert MintToZeroAddress(); if (quantity == 0) revert MintZeroQuantity(); _beforeTokenTransfers(address(0), to, startTokenId, quantity); // Overflows are incredibly unrealistic. // balance or numberMinted overflow if current value of either + quantity > 1.8e19 (2**64) - 1 // updatedIndex overflows if _currentIndex + quantity > 1.2e77 (2**256) - 1 unchecked { _addressData[to].balance += uint64(quantity); _addressData[to].numberMinted += uint64(quantity); _ownerships[startTokenId].addr = to; _ownerships[startTokenId].startTimestamp = uint64(block.timestamp); uint256 updatedIndex = startTokenId; uint256 end = updatedIndex + quantity; if (safe && to.isContract()) { do { emit Transfer(address(0), to, updatedIndex); if (!_checkContractOnERC721Received(address(0), to, updatedIndex++, _data)) { revert TransferToNonERC721ReceiverImplementer(); } } while (updatedIndex != end); // Reentrancy protection if (_currentIndex != startTokenId) revert(); } else { do { emit Transfer(address(0), to, updatedIndex++); } while (updatedIndex != end); } _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); if (prevOwnership.addr != from) revert TransferFromIncorrectOwner(); bool isApprovedOrOwner = (_msgSender() == from || isApprovedForAll(from, _msgSender()) || getApproved(tokenId) == _msgSender()); if (!isApprovedOrOwner) revert TransferCallerNotOwnerNorApproved(); if (to == address(0)) revert TransferToZeroAddress(); _beforeTokenTransfers(from, to, tokenId, 1); // Clear approvals from the previous owner _approve(address(0), tokenId, from); // Underflow of the sender's balance is impossible because we check for // ownership above and the recipient's balance can't realistically overflow. // Counter overflow is incredibly unrealistic as tokenId would have to be 2**256. unchecked { _addressData[from].balance -= 1; _addressData[to].balance += 1; TokenOwnership storage currSlot = _ownerships[tokenId]; currSlot.addr = to; currSlot.startTimestamp = 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; TokenOwnership storage nextSlot = _ownerships[nextTokenId]; if (nextSlot.addr == address(0)) { // This will suffice for checking _exists(nextTokenId), // as a burned slot cannot contain the zero address. if (nextTokenId != _currentIndex) { nextSlot.addr = from; nextSlot.startTimestamp = prevOwnership.startTimestamp; } } } emit Transfer(from, to, tokenId); _afterTokenTransfers(from, to, tokenId, 1); } /** * @dev This is equivalent to _burn(tokenId, false) */ function _burn(uint256 tokenId) internal virtual { _burn(tokenId, false); } /** * @dev Destroys `tokenId`. * The approval is cleared when the token is burned. * * Requirements: * * - `tokenId` must exist. * * Emits a {Transfer} event. */ function _burn(uint256 tokenId, bool approvalCheck) internal virtual { TokenOwnership memory prevOwnership = _ownershipOf(tokenId); address from = prevOwnership.addr; if (approvalCheck) { bool isApprovedOrOwner = (_msgSender() == from || isApprovedForAll(from, _msgSender()) || getApproved(tokenId) == _msgSender()); if (!isApprovedOrOwner) revert TransferCallerNotOwnerNorApproved(); } _beforeTokenTransfers(from, address(0), tokenId, 1); // Clear approvals from the previous owner _approve(address(0), tokenId, from); // Underflow of the sender's balance is impossible because we check for // ownership above and the recipient's balance can't realistically overflow. // Counter overflow is incredibly unrealistic as tokenId would have to be 2**256. unchecked { AddressData storage addressData = _addressData[from]; addressData.balance -= 1; addressData.numberBurned += 1; // Keep track of who burned the token, and the timestamp of burning. TokenOwnership storage currSlot = _ownerships[tokenId]; currSlot.addr = from; currSlot.startTimestamp = uint64(block.timestamp); currSlot.burned = true; // If the ownership slot of tokenId+1 is not explicitly set, that means the burn initiator owns it. // Set the slot of tokenId+1 explicitly in storage to maintain correctness for ownerOf(tokenId+1) calls. uint256 nextTokenId = tokenId + 1; TokenOwnership storage nextSlot = _ownerships[nextTokenId]; if (nextSlot.addr == address(0)) { // This will suffice for checking _exists(nextTokenId), // as a burned slot cannot contain the zero address. if (nextTokenId != _currentIndex) { nextSlot.addr = from; nextSlot.startTimestamp = prevOwnership.startTimestamp; } } } emit Transfer(from, address(0), tokenId); _afterTokenTransfers(from, address(0), tokenId, 1); // Overflow not possible, as _burnCounter cannot be exceed _currentIndex times. unchecked { _burnCounter++; } } /** * @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 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 _checkContractOnERC721Received( address from, address to, uint256 tokenId, bytes memory _data ) private returns (bool) { 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 TransferToNonERC721ReceiverImplementer(); } else { assembly { revert(add(32, reason), mload(reason)) } } } } /** * @dev Hook that is called before a set of serially-ordered token ids are about to be transferred. This includes minting. * And also called before burning one token. * * 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`. * - When `to` is zero, `tokenId` will be burned by `from`. * - `from` and `to` are never both zero. */ 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. * And also called after one token has been burned. * * 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` has been * transferred to `to`. * - When `from` is zero, `tokenId` has been minted for `to`. * - When `to` is zero, `tokenId` has been burned by `from`. * - `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.1 (utils/Counters.sol) pragma solidity ^0.8.0; /** * @title Counters * @author Matt Condon (@shrugs) * @dev Provides counters that can only be incremented, decremented or reset. This can be used e.g. to track the number * of elements in a mapping, issuing ERC721 ids, or counting request ids. * * Include with `using Counters for Counters.Counter;` */ library Counters { struct Counter { // This variable should never be directly accessed by users of the library: interactions must be restricted to // the library's function. As of Solidity v0.5.2, this cannot be enforced, though there is a proposal to add // this feature: see https://github.com/ethereum/solidity/issues/4637 uint256 _value; // default: 0 } function current(Counter storage counter) internal view returns (uint256) { return counter._value; } function increment(Counter storage counter) internal { unchecked { counter._value += 1; } } function decrement(Counter storage counter) internal { uint256 value = counter._value; require(value > 0, "Counter: decrement overflow"); unchecked { counter._value = value - 1; } } function reset(Counter storage counter) internal { counter._value = 0; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/math/SafeMath.sol) pragma solidity ^0.8.0; // CAUTION // This version of SafeMath should only be used with Solidity 0.8 or later, // because it relies on the compiler's built in overflow checks. /** * @dev Wrappers over Solidity's arithmetic operations. * * NOTE: `SafeMath` is generally not needed starting with Solidity 0.8, since the compiler * now has built in overflow checking. */ library SafeMath { /** * @dev Returns the addition of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { uint256 c = a + b; if (c < a) return (false, 0); return (true, c); } } /** * @dev Returns the substraction of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b > a) return (false, 0); return (true, a - b); } } /** * @dev Returns the multiplication of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { // Gas optimization: this is cheaper than requiring 'a' not being zero, but the // benefit is lost if 'b' is also tested. // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522 if (a == 0) return (true, 0); uint256 c = a * b; if (c / a != b) return (false, 0); return (true, c); } } /** * @dev Returns the division of two unsigned integers, with a division by zero flag. * * _Available since v3.4._ */ function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b == 0) return (false, 0); return (true, a / b); } } /** * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag. * * _Available since v3.4._ */ function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b == 0) return (false, 0); return (true, a % b); } } /** * @dev Returns the addition of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `+` operator. * * Requirements: * * - Addition cannot overflow. */ function add(uint256 a, uint256 b) internal pure returns (uint256) { return a + b; } /** * @dev Returns the subtraction of two unsigned integers, reverting on * overflow (when the result is negative). * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub(uint256 a, uint256 b) internal pure returns (uint256) { return a - b; } /** * @dev Returns the multiplication of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `*` operator. * * Requirements: * * - Multiplication cannot overflow. */ function mul(uint256 a, uint256 b) internal pure returns (uint256) { return a * b; } /** * @dev Returns the integer division of two unsigned integers, reverting on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. * * Requirements: * * - The divisor cannot be zero. */ function div(uint256 a, uint256 b) internal pure returns (uint256) { return a / b; } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * reverting when dividing by zero. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod(uint256 a, uint256 b) internal pure returns (uint256) { return a % b; } /** * @dev Returns the subtraction of two unsigned integers, reverting with custom message on * overflow (when the result is negative). * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {trySub}. * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { unchecked { require(b <= a, errorMessage); return a - b; } } /** * @dev Returns the integer division of two unsigned integers, reverting with custom message on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. Note: this function uses a * `revert` opcode (which leaves remaining gas untouched) while Solidity * uses an invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function div( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { unchecked { require(b > 0, errorMessage); return a / b; } } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * reverting with custom message when dividing by zero. * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {tryMod}. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { unchecked { require(b > 0, errorMessage); return a % b; } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.5.0) (utils/cryptography/MerkleProof.sol) pragma solidity ^0.8.0; /** * @dev These functions deal with verification of Merkle Trees proofs. * * The proofs can be generated using the JavaScript library * https://github.com/miguelmota/merkletreejs[merkletreejs]. * Note: the hashing algorithm should be keccak256 and pair sorting should be enabled. * * See `test/utils/cryptography/MerkleProof.test.js` for some examples. */ library MerkleProof { /** * @dev Returns true if a `leaf` can be proved to be a part of a Merkle tree * defined by `root`. For this, a `proof` must be provided, containing * sibling hashes on the branch from the leaf to the root of the tree. Each * pair of leaves and each pair of pre-images are assumed to be sorted. */ function verify( bytes32[] memory proof, bytes32 root, bytes32 leaf ) internal pure returns (bool) { return processProof(proof, leaf) == root; } /** * @dev Returns the rebuilt hash obtained by traversing a Merklee tree up * from `leaf` using `proof`. A `proof` is valid if and only if the rebuilt * hash matches the root of the tree. When processing the proof, the pairs * of leafs & pre-images are assumed to be sorted. * * _Available since v4.4._ */ function processProof(bytes32[] memory proof, bytes32 leaf) internal pure returns (bytes32) { bytes32 computedHash = leaf; for (uint256 i = 0; i < proof.length; i++) { bytes32 proofElement = proof[i]; if (computedHash <= proofElement) { // Hash(current computed hash + current element of the proof) computedHash = _efficientHash(computedHash, proofElement); } else { // Hash(current element of the proof + current computed hash) computedHash = _efficientHash(proofElement, computedHash); } } return computedHash; } function _efficientHash(bytes32 a, bytes32 b) private pure returns (bytes32 value) { assembly { mstore(0x00, a) mstore(0x20, b) value := keccak256(0x00, 0x40) } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (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.1 (token/ERC721/IERC721.sol) pragma solidity ^0.8.0; import "../../utils/introspection/IERC165.sol"; /** * @dev Required interface of an ERC721 compliant contract. */ interface IERC721 is IERC165 { /** * @dev Emitted when `tokenId` token is transferred from `from` to `to`. */ event Transfer(address indexed from, address indexed to, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token. */ event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets. */ event ApprovalForAll(address indexed owner, address indexed operator, bool approved); /** * @dev Returns the number of tokens in ``owner``'s account. */ function balanceOf(address owner) external view returns (uint256 balance); /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) external view returns (address owner); /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be have been allowed to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Transfers `tokenId` token from `from` to `to`. * * WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) external; /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool _approved) external; /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll} */ function isApprovedForAll(address owner, address operator) external view returns (bool); /** * @dev Safely transfers `tokenId` token from `from` to `to`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes calldata data ) external; }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC721/IERC721Receiver.sol) pragma solidity ^0.8.0; /** * @title ERC721 token receiver interface * @dev Interface for any contract that wants to support safeTransfers * from ERC721 asset contracts. */ interface IERC721Receiver { /** * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom} * by `operator` from `from`, this function is called. * * It must return its Solidity selector to confirm the token transfer. * If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted. * * The selector can be obtained in Solidity with `IERC721.onERC721Received.selector`. */ function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/IERC721Metadata.sol) pragma solidity ^0.8.0; import "../IERC721.sol"; /** * @title ERC-721 Non-Fungible Token Standard, optional metadata extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Metadata is IERC721 { /** * @dev Returns the token collection name. */ function name() external view returns (string memory); /** * @dev Returns the token collection symbol. */ function symbol() external view returns (string memory); /** * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token. */ function tokenURI(uint256 tokenId) external view returns (string memory); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.5.0) (utils/Address.sol) pragma solidity ^0.8.1; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== * * [IMPORTANT] * ==== * You shouldn't rely on `isContract` to protect against flash loan attacks! * * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract * constructor. * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize/address.code.length, which returns 0 // for contracts in construction, since the code is only stored at the end // of the constructor execution. return account.code.length > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); (bool success, ) = recipient.call{value: amount}(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain `call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCall(target, data, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value ) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value, string memory errorMessage ) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); require(isContract(target), "Address: call to non-contract"); (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall( address target, bytes memory data, string memory errorMessage ) internal view returns (bytes memory) { require(isContract(target), "Address: static call to non-contract"); (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { require(isContract(target), "Address: delegate call to non-contract"); (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason using the provided one. * * _Available since v4.3._ */ function verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) internal pure returns (bytes memory) { if (success) { return returndata; } else { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Context.sol) pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Strings.sol) pragma solidity ^0.8.0; /** * @dev String operations. */ library Strings { bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef"; /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function toString(uint256 value) internal pure returns (string memory) { // Inspired by OraclizeAPI's implementation - MIT licence // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol if (value == 0) { return "0"; } uint256 temp = value; uint256 digits; while (temp != 0) { digits++; temp /= 10; } bytes memory buffer = new bytes(digits); while (value != 0) { digits -= 1; buffer[digits] = bytes1(uint8(48 + uint256(value % 10))); value /= 10; } return string(buffer); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { if (value == 0) { return "0x00"; } uint256 temp = value; uint256 length = 0; while (temp != 0) { length++; temp >>= 8; } return toHexString(value, length); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length. */ function toHexString(uint256 value, uint256 length) internal pure returns (string memory) { bytes memory buffer = new bytes(2 * length + 2); buffer[0] = "0"; buffer[1] = "x"; for (uint256 i = 2 * length + 1; i > 1; --i) { buffer[i] = _HEX_SYMBOLS[value & 0xf]; value >>= 4; } require(value == 0, "Strings: hex length insufficient"); return string(buffer); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol) pragma solidity ^0.8.0; import "./IERC165.sol"; /** * @dev Implementation of the {IERC165} interface. * * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check * for the additional interface id that will be supported. For example: * * ```solidity * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { * return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId); * } * ``` * * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation. */ abstract contract ERC165 is IERC165 { /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IERC165).interfaceId; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC165 standard, as defined in the * https://eips.ethereum.org/EIPS/eip-165[EIP]. * * Implementers can declare support of contract interfaces, which can then be * queried by others ({ERC165Checker}). * * For an implementation, see {ERC165}. */ interface IERC165 { /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] * to learn more about how these ids are created. * * This function call must use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); }
{ "optimizer": { "enabled": false, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ApprovalCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"ApprovalQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"ApprovalToCurrentOwner","type":"error"},{"inputs":[],"name":"ApproveToCaller","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[],"name":"OwnerQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"TransferCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"TransferFromIncorrectOwner","type":"error"},{"inputs":[],"name":"TransferToNonERC721ReceiverImplementer","type":"error"},{"inputs":[],"name":"TransferToZeroAddress","type":"error"},{"inputs":[],"name":"URIQueryForNonexistentToken","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"TOTAL_MINT_AMOUNT","outputs":[{"internalType":"uint16","name":"","type":"uint16"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseTokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"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":"mintType","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pricePerNft","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32[]","name":"_merkleProof","type":"bytes32[]"}],"name":"privateMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"publicMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_baseTokenURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_mintType","type":"string"}],"name":"setMintType","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pricePerNft","type":"uint256"}],"name":"setPricePerNft","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_whitelistMerkleRoot","type":"bytes32"}],"name":"setWhitelistMerkleRoot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"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":[],"name":"whitelistMerkleRoot","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"ownerWallet","type":"address"}],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
60806040526040518060800160405280605381526020016200412a60539139600990805190602001906200003592919062000274565b507f87170a03d9457fcf5c21ae8643017d276f69925e4e7b4dc08f8ff993f2c97ba460001b600a556040518060400160405280600781526020017f70726573616c6500000000000000000000000000000000000000000000000000815250600b9080519060200190620000aa92919062000274565b5067011c37937e080000600c55348015620000c457600080fd5b506040518060400160405280600d81526020017f50617261205072657070657273000000000000000000000000000000000000008152506040518060400160405280600481526020017f504152410000000000000000000000000000000000000000000000000000000081525081600290805190602001906200014992919062000274565b5080600390805190602001906200016292919062000274565b5062000173620001a160201b60201c565b60008190555050506200019b6200018f620001a660201b60201c565b620001ae60201b60201c565b62000389565b600090565b600033905090565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b828054620002829062000324565b90600052602060002090601f016020900481019282620002a65760008555620002f2565b82601f10620002c157805160ff1916838001178555620002f2565b82800160010185558215620002f2579182015b82811115620002f1578251825591602001919060010190620002d4565b5b50905062000301919062000305565b5090565b5b808211156200032057600081600090555060010162000306565b5090565b600060028204905060018216806200033d57607f821691505b602082108114156200035457620003536200035a565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b613d9180620003996000396000f3fe6080604052600436106101c25760003560e01c80638da5cb5b116100f7578063b88d4fde11610095578063d547cfb711610064578063d547cfb7146105fc578063e985e9c514610627578063f2fde38b14610664578063fe3165c71461068d576101c2565b8063b88d4fde14610544578063bd32fb661461056d578063be5ffb9914610596578063c87b56dd146105bf576101c2565b8063a22cb465116100d1578063a22cb465146104ab578063a4ca8849146104d4578063a8ac0a69146104f0578063aa98e0c614610519576101c2565b80638da5cb5b1461042a57806395d89b411461045557806396286f9a14610480576101c2565b806342842e0e116101645780636352211e1161013e5780636352211e1461036e57806370a08231146103ab578063715018a6146103e857806373766f27146103ff576101c2565b806342842e0e146102f357806351cff8d91461031c57806355f804b314610345576101c2565b8063095ea7b3116101a0578063095ea7b31461026c57806318160ddd1461029557806323b872dd146102c057806326092b83146102e9576101c2565b806301ffc9a7146101c757806306fdde0314610204578063081812fc1461022f575b600080fd5b3480156101d357600080fd5b506101ee60048036038101906101e99190613029565b6106b8565b6040516101fb91906134e8565b60405180910390f35b34801561021057600080fd5b5061021961079a565b604051610226919061351e565b60405180910390f35b34801561023b57600080fd5b50610256600480360381019061025191906130bc565b61082c565b6040516102639190613481565b60405180910390f35b34801561027857600080fd5b50610293600480360381019061028e9190612f7f565b6108a8565b005b3480156102a157600080fd5b506102aa6109b3565b6040516102b7919061367b565b60405180910390f35b3480156102cc57600080fd5b506102e760048036038101906102e29190612e79565b6109ca565b005b6102f16109da565b005b3480156102ff57600080fd5b5061031a60048036038101906103159190612e79565b610ae2565b005b34801561032857600080fd5b50610343600480360381019061033e9190612e14565b610b02565b005b34801561035157600080fd5b5061036c6004803603810190610367919061307b565b610bce565b005b34801561037a57600080fd5b50610395600480360381019061039091906130bc565b610c64565b6040516103a29190613481565b60405180910390f35b3480156103b757600080fd5b506103d260048036038101906103cd9190612e14565b610c7a565b6040516103df919061367b565b60405180910390f35b3480156103f457600080fd5b506103fd610d4a565b005b34801561040b57600080fd5b50610414610dd2565b6040516104219190613660565b60405180910390f35b34801561043657600080fd5b5061043f610dd8565b60405161044c9190613481565b60405180910390f35b34801561046157600080fd5b5061046a610e02565b604051610477919061351e565b60405180910390f35b34801561048c57600080fd5b50610495610e94565b6040516104a2919061351e565b60405180910390f35b3480156104b757600080fd5b506104d260048036038101906104cd9190612f43565b610f22565b005b6104ee60048036038101906104e99190612fbb565b61109a565b005b3480156104fc57600080fd5b506105176004803603810190610512919061307b565b611379565b005b34801561052557600080fd5b5061052e611532565b60405161053b9190613503565b60405180910390f35b34801561055057600080fd5b5061056b60048036038101906105669190612ec8565b611538565b005b34801561057957600080fd5b50610594600480360381019061058f9190613000565b6115b4565b005b3480156105a257600080fd5b506105bd60048036038101906105b891906130bc565b61163a565b005b3480156105cb57600080fd5b506105e660048036038101906105e191906130bc565b6116c0565b6040516105f3919061351e565b60405180910390f35b34801561060857600080fd5b5061061161175f565b60405161061e919061351e565b60405180910390f35b34801561063357600080fd5b5061064e60048036038101906106499190612e3d565b6117ed565b60405161065b91906134e8565b60405180910390f35b34801561067057600080fd5b5061068b60048036038101906106869190612e14565b611881565b005b34801561069957600080fd5b506106a2611979565b6040516106af919061367b565b60405180910390f35b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061078357507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b8061079357506107928261197f565b5b9050919050565b6060600280546107a9906138fe565b80601f01602080910402602001604051908101604052809291908181526020018280546107d5906138fe565b80156108225780601f106107f757610100808354040283529160200191610822565b820191906000526020600020905b81548152906001019060200180831161080557829003601f168201915b5050505050905090565b6000610837826119e9565b61086d576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6006600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b60006108b382610c64565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141561091b576040517f943f7b8c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff1661093a611a37565b73ffffffffffffffffffffffffffffffffffffffff161415801561096c575061096a81610965611a37565b6117ed565b155b156109a3576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6109ae838383611a3f565b505050565b60006109bd611af1565b6001546000540303905090565b6109d5838383611af6565b505050565b6040516020016109e990613457565b60405160208183030381529060405280519060200120600b604051602001610a119190613440565b6040516020818303038152906040528051906020012014610a67576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a5e90613620565b60405180910390fd5b3273ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610ad5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610acc90613560565b60405180910390fd5b610ae0336001611fac565b565b610afd83838360405180602001604052806000815250611538565b505050565b610b0a611a37565b73ffffffffffffffffffffffffffffffffffffffff16610b28610dd8565b73ffffffffffffffffffffffffffffffffffffffff1614610b7e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b7590613600565b60405180910390fd5b60004790508173ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f19350505050158015610bc9573d6000803e3d6000fd5b505050565b610bd6611a37565b73ffffffffffffffffffffffffffffffffffffffff16610bf4610dd8565b73ffffffffffffffffffffffffffffffffffffffff1614610c4a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c4190613600565b60405180910390fd5b8060099080519060200190610c60929190612b96565b5050565b6000610c6f82611fca565b600001519050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415610ce2576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600560008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160009054906101000a900467ffffffffffffffff1667ffffffffffffffff169050919050565b610d52611a37565b73ffffffffffffffffffffffffffffffffffffffff16610d70610dd8565b73ffffffffffffffffffffffffffffffffffffffff1614610dc6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610dbd90613600565b60405180910390fd5b610dd06000612259565b565b610bb881565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b606060038054610e11906138fe565b80601f0160208091040260200160405190810160405280929190818152602001828054610e3d906138fe565b8015610e8a5780601f10610e5f57610100808354040283529160200191610e8a565b820191906000526020600020905b815481529060010190602001808311610e6d57829003601f168201915b5050505050905090565b600b8054610ea1906138fe565b80601f0160208091040260200160405190810160405280929190818152602001828054610ecd906138fe565b8015610f1a5780601f10610eef57610100808354040283529160200191610f1a565b820191906000526020600020905b815481529060010190602001808311610efd57829003601f168201915b505050505081565b610f2a611a37565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415610f8f576040517fb06307db00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8060076000610f9c611a37565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16611049611a37565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c318360405161108e91906134e8565b60405180910390a35050565b6000600b80546110a9906138fe565b80601f01602080910402602001604051908101604052809291908181526020018280546110d5906138fe565b80156111225780601f106110f757610100808354040283529160200191611122565b820191906000526020600020905b81548152906001019060200180831161110557829003601f168201915b50505050509050600060405160200161113a90613457565b60405160208183030381529060405280519060200120600b6040516020016111629190613440565b6040516020818303038152906040528051906020012014156111b9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111b090613640565b60405180910390fd5b3273ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614611227576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161121e90613560565b60405180910390fd5b600082511161126b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611262906135a0565b60405180910390fd5b6000602060ff16116112b2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112a990613540565b60405180910390fd5b336040516020016112c391906133ea565b604051602081830303815290604052805190602001209050611329848480806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f82011690508083019250505050505050600a548361231f565b611368576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161135f906135c0565b60405180910390fd5b611373336001611fac565b50505050565b611381611a37565b73ffffffffffffffffffffffffffffffffffffffff1661139f610dd8565b73ffffffffffffffffffffffffffffffffffffffff16146113f5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113ec90613600565b60405180910390fd5b6040516020016114049061346c565b604051602081830303815290604052805190602001208160405160200161142b9190613405565b6040516020818303038152906040528051906020012014156114745780600b908051906020019061145d929190612b96565b5061146f67011c37937e08000061163a565b61152f565b60405160200161148390613457565b60405160208183030381529060405280519060200120816040516020016114aa9190613405565b6040516020818303038152906040528051906020012014156114f35780600b90805190602001906114dc929190612b96565b506114ee67016345785d8a000061163a565b61152e565b6040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611525906135e0565b60405180910390fd5b5b50565b600a5481565b611543848484611af6565b6115628373ffffffffffffffffffffffffffffffffffffffff16612336565b8015611577575061157584848484612359565b155b156115ae576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b50505050565b6115bc611a37565b73ffffffffffffffffffffffffffffffffffffffff166115da610dd8565b73ffffffffffffffffffffffffffffffffffffffff1614611630576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161162790613600565b60405180910390fd5b80600a8190555050565b611642611a37565b73ffffffffffffffffffffffffffffffffffffffff16611660610dd8565b73ffffffffffffffffffffffffffffffffffffffff16146116b6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116ad90613600565b60405180910390fd5b80600c8190555050565b60606116cb826119e9565b611701576040517fa14c4b5000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600061170b6124b9565b905060008151141561172c5760405180602001604052806000815250611757565b806117368461254b565b60405160200161174792919061341c565b6040516020818303038152906040525b915050919050565b6009805461176c906138fe565b80601f0160208091040260200160405190810160405280929190818152602001828054611798906138fe565b80156117e55780601f106117ba576101008083540402835291602001916117e5565b820191906000526020600020905b8154815290600101906020018083116117c857829003601f168201915b505050505081565b6000600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b611889611a37565b73ffffffffffffffffffffffffffffffffffffffff166118a7610dd8565b73ffffffffffffffffffffffffffffffffffffffff16146118fd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118f490613600565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141561196d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161196490613580565b60405180910390fd5b61197681612259565b50565b600c5481565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b6000816119f4611af1565b11158015611a03575060005482105b8015611a30575060046000838152602001908152602001600020600001601c9054906101000a900460ff16155b9050919050565b600033905090565b826006600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b600090565b6000611b0182611fca565b90508373ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff1614611b6c576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008473ffffffffffffffffffffffffffffffffffffffff16611b8d611a37565b73ffffffffffffffffffffffffffffffffffffffff161480611bbc5750611bbb85611bb6611a37565b6117ed565b5b80611c015750611bca611a37565b73ffffffffffffffffffffffffffffffffffffffff16611be98461082c565b73ffffffffffffffffffffffffffffffffffffffff16145b905080611c3a576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415611ca1576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b611cae85858560016126f8565b611cba60008487611a3f565b6001600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160392506101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506001600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506000600460008581526020019081526020016000209050848160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550428160000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555060006001850190506000600460008381526020019081526020016000209050600073ffffffffffffffffffffffffffffffffffffffff168160000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161415611f3a576000548214611f3957878160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555084602001518160000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055505b5b505050828473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4611fa585858560016126fe565b5050505050565b611fc6828260405180602001604052806000815250612704565b5050565b611fd2612c1c565b600082905080611fe0611af1565b11158015611fef575060005481105b15612222576000600460008381526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff1615151515815250509050806040015161222057600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff1614612104578092505050612254565b5b60011561221f57818060019003925050600460008381526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff1615151515815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff161461221a578092505050612254565b612105565b5b505b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b60008261232c8584612716565b1490509392505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a0261237f611a37565b8786866040518563ffffffff1660e01b81526004016123a1949392919061349c565b602060405180830381600087803b1580156123bb57600080fd5b505af19250505080156123ec57506040513d601f19601f820116820180604052508101906123e99190613052565b60015b612466573d806000811461241c576040519150601f19603f3d011682016040523d82523d6000602084013e612421565b606091505b5060008151141561245e576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b6060600980546124c8906138fe565b80601f01602080910402602001604051908101604052809291908181526020018280546124f4906138fe565b80156125415780601f1061251657610100808354040283529160200191612541565b820191906000526020600020905b81548152906001019060200180831161252457829003601f168201915b5050505050905090565b60606000821415612593576040518060400160405280600181526020017f300000000000000000000000000000000000000000000000000000000000000081525090506126f3565b600082905060005b600082146125c55780806125ae90613961565b915050600a826125be91906137cb565b915061259b565b60008167ffffffffffffffff811115612607577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f1916602001820160405280156126395781602001600182028036833780820191505090505b5090505b600085146126ec5760018261265291906137fc565b9150600a8561266191906139ce565b603061266d9190613775565b60f81b8183815181106126a9577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856126e591906137cb565b945061263d565b8093505050505b919050565b50505050565b50505050565b61271183838360016127b1565b505050565b60008082905060005b84518110156127a6576000858281518110612763577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002602001015190508083116127855761277e8382612b7f565b9250612792565b61278f8184612b7f565b92505b50808061279e90613961565b91505061271f565b508091505092915050565b600080549050600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff16141561281e576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000841415612859576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b61286660008683876126f8565b83600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555083600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160088282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550846004600083815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550426004600083815260200190815260200160002060000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550600081905060008582019050838015612a305750612a2f8773ffffffffffffffffffffffffffffffffffffffff16612336565b5b15612af6575b818773ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4612aa56000888480600101955088612359565b612adb576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b80821415612a36578260005414612af157600080fd5b612b62565b5b818060010192508773ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a480821415612af7575b816000819055505050612b7860008683876126fe565b5050505050565b600082600052816020526040600020905092915050565b828054612ba2906138fe565b90600052602060002090601f016020900481019282612bc45760008555612c0b565b82601f10612bdd57805160ff1916838001178555612c0b565b82800160010185558215612c0b579182015b82811115612c0a578251825591602001919060010190612bef565b5b509050612c189190612c5f565b5090565b6040518060600160405280600073ffffffffffffffffffffffffffffffffffffffff168152602001600067ffffffffffffffff1681526020016000151581525090565b5b80821115612c78576000816000905550600101612c60565b5090565b6000612c8f612c8a846136bb565b613696565b905082815260208101848484011115612ca757600080fd5b612cb28482856138bc565b509392505050565b6000612ccd612cc8846136ec565b613696565b905082815260208101848484011115612ce557600080fd5b612cf08482856138bc565b509392505050565b600081359050612d0781613ce8565b92915050565b60008083601f840112612d1f57600080fd5b8235905067ffffffffffffffff811115612d3857600080fd5b602083019150836020820283011115612d5057600080fd5b9250929050565b600081359050612d6681613cff565b92915050565b600081359050612d7b81613d16565b92915050565b600081359050612d9081613d2d565b92915050565b600081519050612da581613d2d565b92915050565b600082601f830112612dbc57600080fd5b8135612dcc848260208601612c7c565b91505092915050565b600082601f830112612de657600080fd5b8135612df6848260208601612cba565b91505092915050565b600081359050612e0e81613d44565b92915050565b600060208284031215612e2657600080fd5b6000612e3484828501612cf8565b91505092915050565b60008060408385031215612e5057600080fd5b6000612e5e85828601612cf8565b9250506020612e6f85828601612cf8565b9150509250929050565b600080600060608486031215612e8e57600080fd5b6000612e9c86828701612cf8565b9350506020612ead86828701612cf8565b9250506040612ebe86828701612dff565b9150509250925092565b60008060008060808587031215612ede57600080fd5b6000612eec87828801612cf8565b9450506020612efd87828801612cf8565b9350506040612f0e87828801612dff565b925050606085013567ffffffffffffffff811115612f2b57600080fd5b612f3787828801612dab565b91505092959194509250565b60008060408385031215612f5657600080fd5b6000612f6485828601612cf8565b9250506020612f7585828601612d57565b9150509250929050565b60008060408385031215612f9257600080fd5b6000612fa085828601612cf8565b9250506020612fb185828601612dff565b9150509250929050565b60008060208385031215612fce57600080fd5b600083013567ffffffffffffffff811115612fe857600080fd5b612ff485828601612d0d565b92509250509250929050565b60006020828403121561301257600080fd5b600061302084828501612d6c565b91505092915050565b60006020828403121561303b57600080fd5b600061304984828501612d81565b91505092915050565b60006020828403121561306457600080fd5b600061307284828501612d96565b91505092915050565b60006020828403121561308d57600080fd5b600082013567ffffffffffffffff8111156130a757600080fd5b6130b384828501612dd5565b91505092915050565b6000602082840312156130ce57600080fd5b60006130dc84828501612dff565b91505092915050565b6130ee81613830565b82525050565b61310561310082613830565b6139aa565b82525050565b61311481613842565b82525050565b6131238161384e565b82525050565b600061313482613732565b61313e8185613748565b935061314e8185602086016138cb565b61315781613abb565b840191505092915050565b600061316d8261373d565b6131778185613759565b93506131878185602086016138cb565b61319081613abb565b840191505092915050565b60006131a68261373d565b6131b0818561376a565b93506131c08185602086016138cb565b80840191505092915050565b600081546131d9816138fe565b6131e3818661376a565b945060018216600081146131fe576001811461320f57613242565b60ff19831686528186019350613242565b6132188561371d565b60005b8381101561323a5781548189015260018201915060208101905061321b565b838801955050505b50505092915050565b6000613258601983613759565b915061326382613ad9565b602082019050919050565b600061327b602583613759565b915061328682613b02565b604082019050919050565b600061329e602683613759565b91506132a982613b51565b604082019050919050565b60006132c160068361376a565b91506132cc82613ba0565b600682019050919050565b60006132e4601883613759565b91506132ef82613bc9565b602082019050919050565b6000613307601883613759565b915061331282613bf2565b602082019050919050565b600061332a601383613759565b915061333582613c1b565b602082019050919050565b600061334d602083613759565b915061335882613c44565b602082019050919050565b6000613370601083613759565b915061337b82613c6d565b602082019050919050565b6000613393601383613759565b915061339e82613c96565b602082019050919050565b60006133b660078361376a565b91506133c182613cbf565b600782019050919050565b6133d581613884565b82525050565b6133e4816138b2565b82525050565b60006133f682846130f4565b60148201915081905092915050565b6000613411828461319b565b915081905092915050565b6000613428828561319b565b9150613434828461319b565b91508190509392505050565b600061344c82846131cc565b915081905092915050565b6000613462826132b4565b9150819050919050565b6000613477826133a9565b9150819050919050565b600060208201905061349660008301846130e5565b92915050565b60006080820190506134b160008301876130e5565b6134be60208301866130e5565b6134cb60408301856133db565b81810360608301526134dd8184613129565b905095945050505050565b60006020820190506134fd600083018461310b565b92915050565b6000602082019050613518600083018461311a565b92915050565b600060208201905081810360008301526135388184613162565b905092915050565b600060208201905081810360008301526135598161324b565b9050919050565b600060208201905081810360008301526135798161326e565b9050919050565b6000602082019050818103600083015261359981613291565b9050919050565b600060208201905081810360008301526135b9816132d7565b9050919050565b600060208201905081810360008301526135d9816132fa565b9050919050565b600060208201905081810360008301526135f98161331d565b9050919050565b6000602082019050818103600083015261361981613340565b9050919050565b6000602082019050818103600083015261363981613363565b9050919050565b6000602082019050818103600083015261365981613386565b9050919050565b600060208201905061367560008301846133cc565b92915050565b600060208201905061369060008301846133db565b92915050565b60006136a06136b1565b90506136ac8282613930565b919050565b6000604051905090565b600067ffffffffffffffff8211156136d6576136d5613a8c565b5b6136df82613abb565b9050602081019050919050565b600067ffffffffffffffff82111561370757613706613a8c565b5b61371082613abb565b9050602081019050919050565b60008190508160005260206000209050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b6000613780826138b2565b915061378b836138b2565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156137c0576137bf6139ff565b5b828201905092915050565b60006137d6826138b2565b91506137e1836138b2565b9250826137f1576137f0613a2e565b5b828204905092915050565b6000613807826138b2565b9150613812836138b2565b925082821015613825576138246139ff565b5b828203905092915050565b600061383b82613892565b9050919050565b60008115159050919050565b6000819050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600061ffff82169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b60005b838110156138e95780820151818401526020810190506138ce565b838111156138f8576000848401525b50505050565b6000600282049050600182168061391657607f821691505b6020821081141561392a57613929613a5d565b5b50919050565b61393982613abb565b810181811067ffffffffffffffff8211171561395857613957613a8c565b5b80604052505050565b600061396c826138b2565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141561399f5761399e6139ff565b5b600182019050919050565b60006139b5826139bc565b9050919050565b60006139c782613acc565b9050919050565b60006139d9826138b2565b91506139e4836138b2565b9250826139f4576139f3613a2e565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b60008160601b9050919050565b7f57686974656c6973742069736e27742070726f76696465642e00000000000000600082015250565b7f4d696e742066726f6d206f7468657220636f6e7472616374206e6f7420616c6c60008201527f6f7765642e000000000000000000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f7075626c69630000000000000000000000000000000000000000000000000000600082015250565b7f4d696e7420747970652069736e277420736574207965742e0000000000000000600082015250565b7f4e6f742077686974656c697374656420616464726573732e0000000000000000600082015250565b7f4e6f2076616c6964206d696e7420747970652e00000000000000000000000000600082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f50726573616c6520706572696f64212e00000000000000000000000000000000600082015250565b7f5075626c69632073616c6520706572696f642100000000000000000000000000600082015250565b7f70726573616c6500000000000000000000000000000000000000000000000000600082015250565b613cf181613830565b8114613cfc57600080fd5b50565b613d0881613842565b8114613d1357600080fd5b50565b613d1f8161384e565b8114613d2a57600080fd5b50565b613d3681613858565b8114613d4157600080fd5b50565b613d4d816138b2565b8114613d5857600080fd5b5056fea26469706673582212205d161ac547f2d8fe58c0cda823b36385b8fe08ec1868385cd7d65e8c847ac62464736f6c6343000804003368747470733a2f2f6e66742e70617261707265707065726e66742e636f6d2f697066732f516d58725a63707a6b716a563568614e714e346f557333486858744839356b715247396366415762567a374b71692f
Deployed Bytecode
0x6080604052600436106101c25760003560e01c80638da5cb5b116100f7578063b88d4fde11610095578063d547cfb711610064578063d547cfb7146105fc578063e985e9c514610627578063f2fde38b14610664578063fe3165c71461068d576101c2565b8063b88d4fde14610544578063bd32fb661461056d578063be5ffb9914610596578063c87b56dd146105bf576101c2565b8063a22cb465116100d1578063a22cb465146104ab578063a4ca8849146104d4578063a8ac0a69146104f0578063aa98e0c614610519576101c2565b80638da5cb5b1461042a57806395d89b411461045557806396286f9a14610480576101c2565b806342842e0e116101645780636352211e1161013e5780636352211e1461036e57806370a08231146103ab578063715018a6146103e857806373766f27146103ff576101c2565b806342842e0e146102f357806351cff8d91461031c57806355f804b314610345576101c2565b8063095ea7b3116101a0578063095ea7b31461026c57806318160ddd1461029557806323b872dd146102c057806326092b83146102e9576101c2565b806301ffc9a7146101c757806306fdde0314610204578063081812fc1461022f575b600080fd5b3480156101d357600080fd5b506101ee60048036038101906101e99190613029565b6106b8565b6040516101fb91906134e8565b60405180910390f35b34801561021057600080fd5b5061021961079a565b604051610226919061351e565b60405180910390f35b34801561023b57600080fd5b50610256600480360381019061025191906130bc565b61082c565b6040516102639190613481565b60405180910390f35b34801561027857600080fd5b50610293600480360381019061028e9190612f7f565b6108a8565b005b3480156102a157600080fd5b506102aa6109b3565b6040516102b7919061367b565b60405180910390f35b3480156102cc57600080fd5b506102e760048036038101906102e29190612e79565b6109ca565b005b6102f16109da565b005b3480156102ff57600080fd5b5061031a60048036038101906103159190612e79565b610ae2565b005b34801561032857600080fd5b50610343600480360381019061033e9190612e14565b610b02565b005b34801561035157600080fd5b5061036c6004803603810190610367919061307b565b610bce565b005b34801561037a57600080fd5b50610395600480360381019061039091906130bc565b610c64565b6040516103a29190613481565b60405180910390f35b3480156103b757600080fd5b506103d260048036038101906103cd9190612e14565b610c7a565b6040516103df919061367b565b60405180910390f35b3480156103f457600080fd5b506103fd610d4a565b005b34801561040b57600080fd5b50610414610dd2565b6040516104219190613660565b60405180910390f35b34801561043657600080fd5b5061043f610dd8565b60405161044c9190613481565b60405180910390f35b34801561046157600080fd5b5061046a610e02565b604051610477919061351e565b60405180910390f35b34801561048c57600080fd5b50610495610e94565b6040516104a2919061351e565b60405180910390f35b3480156104b757600080fd5b506104d260048036038101906104cd9190612f43565b610f22565b005b6104ee60048036038101906104e99190612fbb565b61109a565b005b3480156104fc57600080fd5b506105176004803603810190610512919061307b565b611379565b005b34801561052557600080fd5b5061052e611532565b60405161053b9190613503565b60405180910390f35b34801561055057600080fd5b5061056b60048036038101906105669190612ec8565b611538565b005b34801561057957600080fd5b50610594600480360381019061058f9190613000565b6115b4565b005b3480156105a257600080fd5b506105bd60048036038101906105b891906130bc565b61163a565b005b3480156105cb57600080fd5b506105e660048036038101906105e191906130bc565b6116c0565b6040516105f3919061351e565b60405180910390f35b34801561060857600080fd5b5061061161175f565b60405161061e919061351e565b60405180910390f35b34801561063357600080fd5b5061064e60048036038101906106499190612e3d565b6117ed565b60405161065b91906134e8565b60405180910390f35b34801561067057600080fd5b5061068b60048036038101906106869190612e14565b611881565b005b34801561069957600080fd5b506106a2611979565b6040516106af919061367b565b60405180910390f35b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061078357507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b8061079357506107928261197f565b5b9050919050565b6060600280546107a9906138fe565b80601f01602080910402602001604051908101604052809291908181526020018280546107d5906138fe565b80156108225780601f106107f757610100808354040283529160200191610822565b820191906000526020600020905b81548152906001019060200180831161080557829003601f168201915b5050505050905090565b6000610837826119e9565b61086d576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6006600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b60006108b382610c64565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141561091b576040517f943f7b8c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff1661093a611a37565b73ffffffffffffffffffffffffffffffffffffffff161415801561096c575061096a81610965611a37565b6117ed565b155b156109a3576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6109ae838383611a3f565b505050565b60006109bd611af1565b6001546000540303905090565b6109d5838383611af6565b505050565b6040516020016109e990613457565b60405160208183030381529060405280519060200120600b604051602001610a119190613440565b6040516020818303038152906040528051906020012014610a67576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a5e90613620565b60405180910390fd5b3273ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610ad5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610acc90613560565b60405180910390fd5b610ae0336001611fac565b565b610afd83838360405180602001604052806000815250611538565b505050565b610b0a611a37565b73ffffffffffffffffffffffffffffffffffffffff16610b28610dd8565b73ffffffffffffffffffffffffffffffffffffffff1614610b7e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b7590613600565b60405180910390fd5b60004790508173ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f19350505050158015610bc9573d6000803e3d6000fd5b505050565b610bd6611a37565b73ffffffffffffffffffffffffffffffffffffffff16610bf4610dd8565b73ffffffffffffffffffffffffffffffffffffffff1614610c4a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c4190613600565b60405180910390fd5b8060099080519060200190610c60929190612b96565b5050565b6000610c6f82611fca565b600001519050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415610ce2576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600560008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160009054906101000a900467ffffffffffffffff1667ffffffffffffffff169050919050565b610d52611a37565b73ffffffffffffffffffffffffffffffffffffffff16610d70610dd8565b73ffffffffffffffffffffffffffffffffffffffff1614610dc6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610dbd90613600565b60405180910390fd5b610dd06000612259565b565b610bb881565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b606060038054610e11906138fe565b80601f0160208091040260200160405190810160405280929190818152602001828054610e3d906138fe565b8015610e8a5780601f10610e5f57610100808354040283529160200191610e8a565b820191906000526020600020905b815481529060010190602001808311610e6d57829003601f168201915b5050505050905090565b600b8054610ea1906138fe565b80601f0160208091040260200160405190810160405280929190818152602001828054610ecd906138fe565b8015610f1a5780601f10610eef57610100808354040283529160200191610f1a565b820191906000526020600020905b815481529060010190602001808311610efd57829003601f168201915b505050505081565b610f2a611a37565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415610f8f576040517fb06307db00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8060076000610f9c611a37565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16611049611a37565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c318360405161108e91906134e8565b60405180910390a35050565b6000600b80546110a9906138fe565b80601f01602080910402602001604051908101604052809291908181526020018280546110d5906138fe565b80156111225780601f106110f757610100808354040283529160200191611122565b820191906000526020600020905b81548152906001019060200180831161110557829003601f168201915b50505050509050600060405160200161113a90613457565b60405160208183030381529060405280519060200120600b6040516020016111629190613440565b6040516020818303038152906040528051906020012014156111b9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111b090613640565b60405180910390fd5b3273ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614611227576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161121e90613560565b60405180910390fd5b600082511161126b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611262906135a0565b60405180910390fd5b6000602060ff16116112b2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112a990613540565b60405180910390fd5b336040516020016112c391906133ea565b604051602081830303815290604052805190602001209050611329848480806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f82011690508083019250505050505050600a548361231f565b611368576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161135f906135c0565b60405180910390fd5b611373336001611fac565b50505050565b611381611a37565b73ffffffffffffffffffffffffffffffffffffffff1661139f610dd8565b73ffffffffffffffffffffffffffffffffffffffff16146113f5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113ec90613600565b60405180910390fd5b6040516020016114049061346c565b604051602081830303815290604052805190602001208160405160200161142b9190613405565b6040516020818303038152906040528051906020012014156114745780600b908051906020019061145d929190612b96565b5061146f67011c37937e08000061163a565b61152f565b60405160200161148390613457565b60405160208183030381529060405280519060200120816040516020016114aa9190613405565b6040516020818303038152906040528051906020012014156114f35780600b90805190602001906114dc929190612b96565b506114ee67016345785d8a000061163a565b61152e565b6040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611525906135e0565b60405180910390fd5b5b50565b600a5481565b611543848484611af6565b6115628373ffffffffffffffffffffffffffffffffffffffff16612336565b8015611577575061157584848484612359565b155b156115ae576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b50505050565b6115bc611a37565b73ffffffffffffffffffffffffffffffffffffffff166115da610dd8565b73ffffffffffffffffffffffffffffffffffffffff1614611630576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161162790613600565b60405180910390fd5b80600a8190555050565b611642611a37565b73ffffffffffffffffffffffffffffffffffffffff16611660610dd8565b73ffffffffffffffffffffffffffffffffffffffff16146116b6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116ad90613600565b60405180910390fd5b80600c8190555050565b60606116cb826119e9565b611701576040517fa14c4b5000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600061170b6124b9565b905060008151141561172c5760405180602001604052806000815250611757565b806117368461254b565b60405160200161174792919061341c565b6040516020818303038152906040525b915050919050565b6009805461176c906138fe565b80601f0160208091040260200160405190810160405280929190818152602001828054611798906138fe565b80156117e55780601f106117ba576101008083540402835291602001916117e5565b820191906000526020600020905b8154815290600101906020018083116117c857829003601f168201915b505050505081565b6000600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b611889611a37565b73ffffffffffffffffffffffffffffffffffffffff166118a7610dd8565b73ffffffffffffffffffffffffffffffffffffffff16146118fd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118f490613600565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141561196d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161196490613580565b60405180910390fd5b61197681612259565b50565b600c5481565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b6000816119f4611af1565b11158015611a03575060005482105b8015611a30575060046000838152602001908152602001600020600001601c9054906101000a900460ff16155b9050919050565b600033905090565b826006600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b600090565b6000611b0182611fca565b90508373ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff1614611b6c576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008473ffffffffffffffffffffffffffffffffffffffff16611b8d611a37565b73ffffffffffffffffffffffffffffffffffffffff161480611bbc5750611bbb85611bb6611a37565b6117ed565b5b80611c015750611bca611a37565b73ffffffffffffffffffffffffffffffffffffffff16611be98461082c565b73ffffffffffffffffffffffffffffffffffffffff16145b905080611c3a576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415611ca1576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b611cae85858560016126f8565b611cba60008487611a3f565b6001600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160392506101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506001600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506000600460008581526020019081526020016000209050848160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550428160000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555060006001850190506000600460008381526020019081526020016000209050600073ffffffffffffffffffffffffffffffffffffffff168160000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161415611f3a576000548214611f3957878160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555084602001518160000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055505b5b505050828473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4611fa585858560016126fe565b5050505050565b611fc6828260405180602001604052806000815250612704565b5050565b611fd2612c1c565b600082905080611fe0611af1565b11158015611fef575060005481105b15612222576000600460008381526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff1615151515815250509050806040015161222057600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff1614612104578092505050612254565b5b60011561221f57818060019003925050600460008381526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff1615151515815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff161461221a578092505050612254565b612105565b5b505b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b60008261232c8584612716565b1490509392505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a0261237f611a37565b8786866040518563ffffffff1660e01b81526004016123a1949392919061349c565b602060405180830381600087803b1580156123bb57600080fd5b505af19250505080156123ec57506040513d601f19601f820116820180604052508101906123e99190613052565b60015b612466573d806000811461241c576040519150601f19603f3d011682016040523d82523d6000602084013e612421565b606091505b5060008151141561245e576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b6060600980546124c8906138fe565b80601f01602080910402602001604051908101604052809291908181526020018280546124f4906138fe565b80156125415780601f1061251657610100808354040283529160200191612541565b820191906000526020600020905b81548152906001019060200180831161252457829003601f168201915b5050505050905090565b60606000821415612593576040518060400160405280600181526020017f300000000000000000000000000000000000000000000000000000000000000081525090506126f3565b600082905060005b600082146125c55780806125ae90613961565b915050600a826125be91906137cb565b915061259b565b60008167ffffffffffffffff811115612607577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f1916602001820160405280156126395781602001600182028036833780820191505090505b5090505b600085146126ec5760018261265291906137fc565b9150600a8561266191906139ce565b603061266d9190613775565b60f81b8183815181106126a9577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856126e591906137cb565b945061263d565b8093505050505b919050565b50505050565b50505050565b61271183838360016127b1565b505050565b60008082905060005b84518110156127a6576000858281518110612763577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002602001015190508083116127855761277e8382612b7f565b9250612792565b61278f8184612b7f565b92505b50808061279e90613961565b91505061271f565b508091505092915050565b600080549050600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff16141561281e576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000841415612859576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b61286660008683876126f8565b83600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555083600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160088282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550846004600083815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550426004600083815260200190815260200160002060000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550600081905060008582019050838015612a305750612a2f8773ffffffffffffffffffffffffffffffffffffffff16612336565b5b15612af6575b818773ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4612aa56000888480600101955088612359565b612adb576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b80821415612a36578260005414612af157600080fd5b612b62565b5b818060010192508773ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a480821415612af7575b816000819055505050612b7860008683876126fe565b5050505050565b600082600052816020526040600020905092915050565b828054612ba2906138fe565b90600052602060002090601f016020900481019282612bc45760008555612c0b565b82601f10612bdd57805160ff1916838001178555612c0b565b82800160010185558215612c0b579182015b82811115612c0a578251825591602001919060010190612bef565b5b509050612c189190612c5f565b5090565b6040518060600160405280600073ffffffffffffffffffffffffffffffffffffffff168152602001600067ffffffffffffffff1681526020016000151581525090565b5b80821115612c78576000816000905550600101612c60565b5090565b6000612c8f612c8a846136bb565b613696565b905082815260208101848484011115612ca757600080fd5b612cb28482856138bc565b509392505050565b6000612ccd612cc8846136ec565b613696565b905082815260208101848484011115612ce557600080fd5b612cf08482856138bc565b509392505050565b600081359050612d0781613ce8565b92915050565b60008083601f840112612d1f57600080fd5b8235905067ffffffffffffffff811115612d3857600080fd5b602083019150836020820283011115612d5057600080fd5b9250929050565b600081359050612d6681613cff565b92915050565b600081359050612d7b81613d16565b92915050565b600081359050612d9081613d2d565b92915050565b600081519050612da581613d2d565b92915050565b600082601f830112612dbc57600080fd5b8135612dcc848260208601612c7c565b91505092915050565b600082601f830112612de657600080fd5b8135612df6848260208601612cba565b91505092915050565b600081359050612e0e81613d44565b92915050565b600060208284031215612e2657600080fd5b6000612e3484828501612cf8565b91505092915050565b60008060408385031215612e5057600080fd5b6000612e5e85828601612cf8565b9250506020612e6f85828601612cf8565b9150509250929050565b600080600060608486031215612e8e57600080fd5b6000612e9c86828701612cf8565b9350506020612ead86828701612cf8565b9250506040612ebe86828701612dff565b9150509250925092565b60008060008060808587031215612ede57600080fd5b6000612eec87828801612cf8565b9450506020612efd87828801612cf8565b9350506040612f0e87828801612dff565b925050606085013567ffffffffffffffff811115612f2b57600080fd5b612f3787828801612dab565b91505092959194509250565b60008060408385031215612f5657600080fd5b6000612f6485828601612cf8565b9250506020612f7585828601612d57565b9150509250929050565b60008060408385031215612f9257600080fd5b6000612fa085828601612cf8565b9250506020612fb185828601612dff565b9150509250929050565b60008060208385031215612fce57600080fd5b600083013567ffffffffffffffff811115612fe857600080fd5b612ff485828601612d0d565b92509250509250929050565b60006020828403121561301257600080fd5b600061302084828501612d6c565b91505092915050565b60006020828403121561303b57600080fd5b600061304984828501612d81565b91505092915050565b60006020828403121561306457600080fd5b600061307284828501612d96565b91505092915050565b60006020828403121561308d57600080fd5b600082013567ffffffffffffffff8111156130a757600080fd5b6130b384828501612dd5565b91505092915050565b6000602082840312156130ce57600080fd5b60006130dc84828501612dff565b91505092915050565b6130ee81613830565b82525050565b61310561310082613830565b6139aa565b82525050565b61311481613842565b82525050565b6131238161384e565b82525050565b600061313482613732565b61313e8185613748565b935061314e8185602086016138cb565b61315781613abb565b840191505092915050565b600061316d8261373d565b6131778185613759565b93506131878185602086016138cb565b61319081613abb565b840191505092915050565b60006131a68261373d565b6131b0818561376a565b93506131c08185602086016138cb565b80840191505092915050565b600081546131d9816138fe565b6131e3818661376a565b945060018216600081146131fe576001811461320f57613242565b60ff19831686528186019350613242565b6132188561371d565b60005b8381101561323a5781548189015260018201915060208101905061321b565b838801955050505b50505092915050565b6000613258601983613759565b915061326382613ad9565b602082019050919050565b600061327b602583613759565b915061328682613b02565b604082019050919050565b600061329e602683613759565b91506132a982613b51565b604082019050919050565b60006132c160068361376a565b91506132cc82613ba0565b600682019050919050565b60006132e4601883613759565b91506132ef82613bc9565b602082019050919050565b6000613307601883613759565b915061331282613bf2565b602082019050919050565b600061332a601383613759565b915061333582613c1b565b602082019050919050565b600061334d602083613759565b915061335882613c44565b602082019050919050565b6000613370601083613759565b915061337b82613c6d565b602082019050919050565b6000613393601383613759565b915061339e82613c96565b602082019050919050565b60006133b660078361376a565b91506133c182613cbf565b600782019050919050565b6133d581613884565b82525050565b6133e4816138b2565b82525050565b60006133f682846130f4565b60148201915081905092915050565b6000613411828461319b565b915081905092915050565b6000613428828561319b565b9150613434828461319b565b91508190509392505050565b600061344c82846131cc565b915081905092915050565b6000613462826132b4565b9150819050919050565b6000613477826133a9565b9150819050919050565b600060208201905061349660008301846130e5565b92915050565b60006080820190506134b160008301876130e5565b6134be60208301866130e5565b6134cb60408301856133db565b81810360608301526134dd8184613129565b905095945050505050565b60006020820190506134fd600083018461310b565b92915050565b6000602082019050613518600083018461311a565b92915050565b600060208201905081810360008301526135388184613162565b905092915050565b600060208201905081810360008301526135598161324b565b9050919050565b600060208201905081810360008301526135798161326e565b9050919050565b6000602082019050818103600083015261359981613291565b9050919050565b600060208201905081810360008301526135b9816132d7565b9050919050565b600060208201905081810360008301526135d9816132fa565b9050919050565b600060208201905081810360008301526135f98161331d565b9050919050565b6000602082019050818103600083015261361981613340565b9050919050565b6000602082019050818103600083015261363981613363565b9050919050565b6000602082019050818103600083015261365981613386565b9050919050565b600060208201905061367560008301846133cc565b92915050565b600060208201905061369060008301846133db565b92915050565b60006136a06136b1565b90506136ac8282613930565b919050565b6000604051905090565b600067ffffffffffffffff8211156136d6576136d5613a8c565b5b6136df82613abb565b9050602081019050919050565b600067ffffffffffffffff82111561370757613706613a8c565b5b61371082613abb565b9050602081019050919050565b60008190508160005260206000209050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b6000613780826138b2565b915061378b836138b2565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156137c0576137bf6139ff565b5b828201905092915050565b60006137d6826138b2565b91506137e1836138b2565b9250826137f1576137f0613a2e565b5b828204905092915050565b6000613807826138b2565b9150613812836138b2565b925082821015613825576138246139ff565b5b828203905092915050565b600061383b82613892565b9050919050565b60008115159050919050565b6000819050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600061ffff82169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b60005b838110156138e95780820151818401526020810190506138ce565b838111156138f8576000848401525b50505050565b6000600282049050600182168061391657607f821691505b6020821081141561392a57613929613a5d565b5b50919050565b61393982613abb565b810181811067ffffffffffffffff8211171561395857613957613a8c565b5b80604052505050565b600061396c826138b2565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141561399f5761399e6139ff565b5b600182019050919050565b60006139b5826139bc565b9050919050565b60006139c782613acc565b9050919050565b60006139d9826138b2565b91506139e4836138b2565b9250826139f4576139f3613a2e565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b60008160601b9050919050565b7f57686974656c6973742069736e27742070726f76696465642e00000000000000600082015250565b7f4d696e742066726f6d206f7468657220636f6e7472616374206e6f7420616c6c60008201527f6f7765642e000000000000000000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f7075626c69630000000000000000000000000000000000000000000000000000600082015250565b7f4d696e7420747970652069736e277420736574207965742e0000000000000000600082015250565b7f4e6f742077686974656c697374656420616464726573732e0000000000000000600082015250565b7f4e6f2076616c6964206d696e7420747970652e00000000000000000000000000600082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f50726573616c6520706572696f64212e00000000000000000000000000000000600082015250565b7f5075626c69632073616c6520706572696f642100000000000000000000000000600082015250565b7f70726573616c6500000000000000000000000000000000000000000000000000600082015250565b613cf181613830565b8114613cfc57600080fd5b50565b613d0881613842565b8114613d1357600080fd5b50565b613d1f8161384e565b8114613d2a57600080fd5b50565b613d3681613858565b8114613d4157600080fd5b50565b613d4d816138b2565b8114613d5857600080fd5b5056fea26469706673582212205d161ac547f2d8fe58c0cda823b36385b8fe08ec1868385cd7d65e8c847ac62464736f6c63430008040033
Loading...
Loading
Loading...
Loading
[ Download: CSV Export ]
A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.