ERC-721
NFT
Overview
Max Total Supply
9,996 NPepeO
Holders
2,533
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
3 NPepeOLoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
TheNeonPepes
Compiler Version
v0.8.17+commit.8df45f5f
Optimization Enabled:
Yes with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT /********************************* * * * 0,0 * * * *********************************/ pragma solidity ^0.8.13; import "@openzeppelin/contracts/access/Ownable.sol"; import "./lib/ERC721Enumerable.sol"; import "./IPepeDescriptor.sol"; import {OperatorFilterer} from "closedsea/src/OperatorFilterer.sol"; contract TheNeonPepes is ERC721Enumerable, Ownable, OperatorFilterer { event SeedUpdated(uint256 indexed tokenId, uint256 seed); mapping(uint256 => uint256) internal seeds; IPepeDescriptor public descriptor; uint256 public maxSupply = 10000; bool public minting = false; bool public canUpdateSeed = true; uint256 token_price = 0.002 ether; uint256 free_per_txn = 2; constructor() ERC721("The Neon Pepes", "NPepeO") { } function mint(uint32 count) external payable { require(minting, "Minting needs to be enabled to start minting"); require(count < 101, "Exceeds max per transaction."); uint256 nextTokenId = _owners.length; unchecked { require(nextTokenId + count < maxSupply, "Exceeds max supply."); } require(msg.value >= token_price * (count - free_per_txn), "Two Freement. Need to send more ETH."); for (uint32 i; i < count;) { seeds[nextTokenId] = generateSeed(nextTokenId); _mint(_msgSender(), nextTokenId); unchecked { ++nextTokenId; ++i; } } } function teamClaim(uint32 count) external payable { require(minting, "Minting needs to be enabled to start minting"); require(count < 101, "Exceeds max per transaction."); uint256 nextTokenId = _owners.length; unchecked { require(nextTokenId + count < maxSupply, "Exceeds max supply."); } for (uint32 i; i < count;) { seeds[nextTokenId] = generateSeed(nextTokenId); _mint(_msgSender(), nextTokenId); unchecked { ++nextTokenId; ++i; } } } function setMinting(bool value) external onlyOwner { minting = value; } function setDescriptor(IPepeDescriptor newDescriptor) external onlyOwner { descriptor = newDescriptor; } function withdraw() external payable onlyOwner { (bool os,)= payable(owner()).call{value: address(this).balance}(""); require(os); } function setTokenPrice(uint256 newPrice) external onlyOwner { require(newPrice >= 0, "Token price must be greater than zero"); token_price = newPrice; } function setFreeNum(uint256 _num) external onlyOwner { require(_num >= 0, "Token price must be greater than zero"); free_per_txn = _num; } function updateSeed(uint256 tokenId, uint256 seed) external onlyOwner { require(canUpdateSeed, "Cannot set the seed"); seeds[tokenId] = seed; emit SeedUpdated(tokenId, seed); } function disableSeedUpdate() external onlyOwner { canUpdateSeed = false; } function burn(uint256 tokenId) public { require(_isApprovedOrOwner(_msgSender(), tokenId), "Not approved to burn."); delete seeds[tokenId]; _burn(tokenId); } function getSeed(uint256 tokenId) public view returns (uint256) { require(_exists(tokenId), "Pepe does not exist."); return seeds[tokenId]; } function tokenURI(uint256 tokenId) public view returns (string memory) { require(_exists(tokenId), "Pepe does not exist."); uint256 seed = seeds[tokenId]; return descriptor.tokenURI(tokenId, seed); } function generateSeed(uint256 tokenId) private view returns (uint256) { uint256 r = random(tokenId); uint256 earSeed = 100 * (r % 6 + 10) + (r % 20 + 10); uint256 eyeSeed = 100 * ((r >> 48) % 7 + 10) + ((r >> 48) % 20 + 10); uint256 faceSeed = 100 * ((r >> 96) % 6 + 10) + ((r >> 96) % 20 + 10); uint256 neckSeed = 100 * ((r >> 144) % 6 + 10) + ((r >> 144) % 20 + 10); uint256 bodySeed = 100 * ((r >> 192) % 7 + 10) + ((r >> 192) % 20 + 10); return 10000 * (10000 * (10000 * (10000 * earSeed + eyeSeed) + faceSeed) + neckSeed) + bodySeed; } function random(uint256 tokenId) private view returns (uint256 pseudoRandomness) { pseudoRandomness = uint256( keccak256(abi.encodePacked(blockhash(block.number - 1), tokenId)) ); return pseudoRandomness; } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.4; /// @notice Optimized and flexible operator filterer to abide to OpenSea's /// mandatory on-chain royalty enforcement in order for new collections to /// receive royalties. /// For more information, see: /// See: https://github.com/ProjectOpenSea/operator-filter-registry abstract contract OperatorFilterer { /// @dev The default OpenSea operator blocklist subscription. address internal constant _DEFAULT_SUBSCRIPTION = 0x3cc6CddA760b79bAfa08dF41ECFA224f810dCeB6; /// @dev The OpenSea operator filter registry. address internal constant _OPERATOR_FILTER_REGISTRY = 0x000000000000AAeB6D7670E522A718067333cd4E; /// @dev Registers the current contract to OpenSea's operator filter, /// and subscribe to the default OpenSea operator blocklist. /// Note: Will not revert nor update existing settings for repeated registration. function _registerForOperatorFiltering() internal virtual { _registerForOperatorFiltering(_DEFAULT_SUBSCRIPTION, true); } /// @dev Registers the current contract to OpenSea's operator filter. /// Note: Will not revert nor update existing settings for repeated registration. function _registerForOperatorFiltering(address subscriptionOrRegistrantToCopy, bool subscribe) internal virtual { /// @solidity memory-safe-assembly assembly { let functionSelector := 0x7d3e3dbe // `registerAndSubscribe(address,address)`. // Clean the upper 96 bits of `subscriptionOrRegistrantToCopy` in case they are dirty. subscriptionOrRegistrantToCopy := shr(96, shl(96, subscriptionOrRegistrantToCopy)) for {} iszero(subscribe) {} { if iszero(subscriptionOrRegistrantToCopy) { functionSelector := 0x4420e486 // `register(address)`. break } functionSelector := 0xa0af2903 // `registerAndCopyEntries(address,address)`. break } // Store the function selector. mstore(0x00, shl(224, functionSelector)) // Store the `address(this)`. mstore(0x04, address()) // Store the `subscriptionOrRegistrantToCopy`. mstore(0x24, subscriptionOrRegistrantToCopy) // Register into the registry. if iszero(call(gas(), _OPERATOR_FILTER_REGISTRY, 0, 0x00, 0x44, 0x00, 0x04)) { // If the function selector has not been overwritten, // it is an out-of-gas error. if eq(shr(224, mload(0x00)), functionSelector) { // To prevent gas under-estimation. revert(0, 0) } } // Restore the part of the free memory pointer that was overwritten, // which is guaranteed to be zero, because of Solidity's memory size limits. mstore(0x24, 0) } } /// @dev Modifier to guard a function and revert if the caller is a blocked operator. modifier onlyAllowedOperator(address from) virtual { if (from != msg.sender) { if (!_isPriorityOperator(msg.sender)) { if (_operatorFilteringEnabled()) _revertIfBlocked(msg.sender); } } _; } /// @dev Modifier to guard a function from approving a blocked operator.. modifier onlyAllowedOperatorApproval(address operator) virtual { if (!_isPriorityOperator(operator)) { if (_operatorFilteringEnabled()) _revertIfBlocked(operator); } _; } /// @dev Helper function that reverts if the `operator` is blocked by the registry. function _revertIfBlocked(address operator) private view { /// @solidity memory-safe-assembly assembly { // Store the function selector of `isOperatorAllowed(address,address)`, // shifted left by 6 bytes, which is enough for 8tb of memory. // We waste 6-3 = 3 bytes to save on 6 runtime gas (PUSH1 0x224 SHL). mstore(0x00, 0xc6171134001122334455) // Store the `address(this)`. mstore(0x1a, address()) // Store the `operator`. mstore(0x3a, operator) // `isOperatorAllowed` always returns true if it does not revert. if iszero(staticcall(gas(), _OPERATOR_FILTER_REGISTRY, 0x16, 0x44, 0x00, 0x00)) { // Bubble up the revert if the staticcall reverts. returndatacopy(0x00, 0x00, returndatasize()) revert(0x00, returndatasize()) } // We'll skip checking if `from` is inside the blacklist. // Even though that can block transferring out of wrapper contracts, // we don't want tokens to be stuck. // Restore the part of the free memory pointer that was overwritten, // which is guaranteed to be zero, if less than 8tb of memory is used. mstore(0x3a, 0) } } /// @dev For deriving contracts to override, so that operator filtering /// can be turned on / off. /// Returns true by default. function _operatorFilteringEnabled() internal view virtual returns (bool) { return true; } /// @dev For deriving contracts to override, so that preferred marketplaces can /// skip operator filtering, helping users save gas. /// Returns false for all inputs by default. function _isPriorityOperator(address) internal view virtual returns (bool) { return false; } }
// SPDX-License-Identifier: MIT /********************************* * * * 0,0 * * * *********************************/ pragma solidity ^0.8.13; interface IPepeDescriptor { function tokenURI(uint256 tokenId, uint256 seed) external view returns (string memory); }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.7; import "./ERC721.sol"; import "@openzeppelin/contracts/token/ERC721/extensions/IERC721Enumerable.sol"; abstract contract ERC721Enumerable is ERC721, IERC721Enumerable { function supportsInterface(bytes4 interfaceId) public view virtual override(IERC165, ERC721) returns (bool) { return interfaceId == type(IERC721Enumerable).interfaceId || super.supportsInterface(interfaceId); } function totalSupply() public view virtual override returns (uint256) { uint256 count; for (uint256 i; i < _owners.length;) { if (_owners[i] != address(0)) { unchecked { ++count; } } unchecked { ++i; } } return count; } function tokenByIndex(uint256 index) public view virtual override returns (uint256 tokenId) { require(index < _owners.length, "ERC721Enumerable: global index out of bounds"); return index; } function tokenOfOwnerByIndex(address owner, uint256 index) public view virtual override returns (uint256 tokenId) { require(index < balanceOf(owner), "ERC721Enumerable: owner index out of bounds"); uint256 count; for(uint256 i; i < _owners.length;){ if(owner == _owners[i]) { if(count == index) return i; else { unchecked { ++count; } } } unchecked { ++i; } } revert("ERC721Enumerable: owner index out of bounds"); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.0) (access/Ownable.sol) pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _transferOwnership(_msgSender()); } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { _checkOwner(); _; } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if the sender is not the owner. */ function _checkOwner() internal view virtual { require(owner() == _msgSender(), "Ownable: caller is not the owner"); } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.5.0) (token/ERC721/extensions/IERC721Enumerable.sol) pragma solidity ^0.8.0; import "../IERC721.sol"; /** * @title ERC-721 Non-Fungible Token Standard, optional enumeration extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Enumerable is IERC721 { /** * @dev Returns the total amount of tokens stored by the contract. */ function totalSupply() external view returns (uint256); /** * @dev Returns a token ID owned by `owner` at a given `index` of its token list. * Use along with {balanceOf} to enumerate all of ``owner``'s tokens. */ function tokenOfOwnerByIndex(address owner, uint256 index) external view returns (uint256); /** * @dev Returns a token ID at a given `index` of all the tokens stored by the contract. * Use along with {totalSupply} to enumerate all tokens. */ function tokenByIndex(uint256 index) external view returns (uint256); }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.13; 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/Context.sol"; import "@openzeppelin/contracts/utils/Strings.sol"; import "@openzeppelin/contracts/utils/introspection/ERC165.sol"; import "./Address.sol"; abstract contract ERC721 is Context, ERC165, IERC721, IERC721Metadata { using Address for address; using Strings for uint256; string private _name; string private _symbol; address[] internal _owners; mapping(uint256 => address) private _tokenApprovals; mapping(address => mapping(address => bool)) private _operatorApprovals; constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; } function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) { return interfaceId == type(IERC721).interfaceId || interfaceId == type(IERC721Metadata).interfaceId || super.supportsInterface(interfaceId); } function balanceOf(address owner) public view virtual override returns (uint256) { require(owner != address(0), "ERC721: address zero is not a valid owner"); uint256 count; for (uint256 i; i < _owners.length;) { if (owner == _owners[i]) { unchecked { ++count; } } unchecked { ++i; } } return count; } function ownerOf(uint256 tokenId) public view virtual override returns (address) { address owner = _owners[tokenId]; require(owner != address(0), "ERC721: invalid token ID"); return owner; } function name() public view virtual override returns (string memory) { return _name; } function symbol() public view virtual override returns (string memory) { return _symbol; } function approve(address to, uint256 tokenId) public virtual override { address owner = ERC721.ownerOf(tokenId); require(to != owner, "ERC721: approval to current owner"); require( _msgSender() == owner || isApprovedForAll(owner, _msgSender()), "ERC721: approve caller is not owner nor approved for all" ); _approve(to, tokenId); } function getApproved(uint256 tokenId) public view virtual override returns (address) { require(_exists(tokenId), "ERC721: invalid token ID"); return _tokenApprovals[tokenId]; } function setApprovalForAll(address operator, bool approved) public virtual override { require(_msgSender() != operator, "ERC721: approve to caller"); _operatorApprovals[_msgSender()][operator] = approved; emit ApprovalForAll(_msgSender(), operator, approved); } function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) { return _operatorApprovals[owner][operator]; } function transferFrom(address from, address to, uint256 tokenId) public virtual override { require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: caller is not token owner or approved"); _transfer(from, to, tokenId); } function safeTransferFrom(address from, address to, uint256 tokenId) public virtual override { safeTransferFrom(from, to, tokenId, ""); } function safeTransferFrom(address from, address to, uint256 tokenId, bytes memory data) public virtual override { require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: caller is not token owner or approved"); _safeTransfer(from, to, tokenId, data); } function _safeTransfer(address from, address to, uint256 tokenId, bytes memory data) internal virtual { _transfer(from, to, tokenId); require(_checkOnERC721Received(from, to, tokenId, data), "ERC721: transfer to non ERC721Receiver implementer"); } function _exists(uint256 tokenId) internal view virtual returns (bool) { return tokenId < _owners.length && _owners[tokenId] != address(0); } function _isApprovedOrOwner(address spender, uint256 tokenId) internal view virtual returns (bool) { address owner = ERC721.ownerOf(tokenId); return (spender == owner || isApprovedForAll(owner, spender) || getApproved(tokenId) == spender); } function _mint(address to, uint256 tokenId) internal virtual { require(!_exists(tokenId), "ERC721: token already minted"); _owners.push(to); emit Transfer(address(0), to, tokenId); } function _burn(uint256 tokenId) internal virtual { address owner = ERC721.ownerOf(tokenId); delete _tokenApprovals[tokenId]; delete _owners[tokenId]; emit Transfer(owner, address(0), tokenId); } function _transfer(address from, address to, uint256 tokenId) internal virtual { require(ERC721.ownerOf(tokenId) == from, "ERC721: transfer from incorrect owner"); require(to != address(0), "ERC721: transfer to the zero address"); // Clear approvals from the previous owner delete _tokenApprovals[tokenId]; _owners[tokenId] = to; emit Transfer(from, to, tokenId); } function _approve(address to, uint256 tokenId) internal virtual { _tokenApprovals[tokenId] = to; emit Approval(ERC721.ownerOf(tokenId), to, tokenId); } function _checkOnERC721Received(address from, address to, uint256 tokenId, bytes memory data) private returns (bool) { if (to.isContract()) { try IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, data) returns (bytes4 retval) { return retval == IERC721Receiver.onERC721Received.selector; } catch (bytes memory reason) { if (reason.length == 0) { revert("ERC721: transfer to non ERC721Receiver implementer"); } else { assembly { revert(add(32, reason), mload(reason)) } } } } return true; } }
// 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 pragma solidity ^0.8.13; library Address { function isContract(address account) internal view returns (bool) { uint size; assembly { size := extcodesize(account) } return size > 0; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol) pragma solidity ^0.8.0; import "./IERC165.sol"; /** * @dev Implementation of the {IERC165} interface. * * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check * for the additional interface id that will be supported. For example: * * ```solidity * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { * return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId); * } * ``` * * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation. */ abstract contract ERC165 is IERC165 { /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IERC165).interfaceId; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.8.0) (utils/Strings.sol) pragma solidity ^0.8.0; import "./math/Math.sol"; /** * @dev String operations. */ library Strings { bytes16 private constant _SYMBOLS = "0123456789abcdef"; uint8 private constant _ADDRESS_LENGTH = 20; /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function toString(uint256 value) internal pure returns (string memory) { unchecked { uint256 length = Math.log10(value) + 1; string memory buffer = new string(length); uint256 ptr; /// @solidity memory-safe-assembly assembly { ptr := add(buffer, add(32, length)) } while (true) { ptr--; /// @solidity memory-safe-assembly assembly { mstore8(ptr, byte(mod(value, 10), _SYMBOLS)) } value /= 10; if (value == 0) break; } return buffer; } } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { unchecked { return toHexString(value, Math.log256(value) + 1); } } /** * @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] = _SYMBOLS[value & 0xf]; value >>= 4; } require(value == 0, "Strings: hex length insufficient"); return string(buffer); } /** * @dev Converts an `address` with fixed length of 20 bytes to its not checksummed ASCII `string` hexadecimal representation. */ function toHexString(address addr) internal pure returns (string memory) { return toHexString(uint256(uint160(addr)), _ADDRESS_LENGTH); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/IERC721Metadata.sol) pragma solidity ^0.8.0; import "../IERC721.sol"; /** * @title ERC-721 Non-Fungible Token Standard, optional metadata extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Metadata is IERC721 { /** * @dev Returns the token collection name. */ function name() external view returns (string memory); /** * @dev Returns the token collection symbol. */ function symbol() external view returns (string memory); /** * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token. */ function tokenURI(uint256 tokenId) external view returns (string memory); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.6.0) (token/ERC721/IERC721Receiver.sol) pragma solidity ^0.8.0; /** * @title ERC721 token receiver interface * @dev Interface for any contract that wants to support safeTransfers * from ERC721 asset contracts. */ interface IERC721Receiver { /** * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom} * by `operator` from `from`, this function is called. * * It must return its Solidity selector to confirm the token transfer. * If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted. * * The selector can be obtained in Solidity with `IERC721Receiver.onERC721Received.selector`. */ function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.8.0) (token/ERC721/IERC721.sol) pragma solidity ^0.8.0; import "../../utils/introspection/IERC165.sol"; /** * @dev Required interface of an ERC721 compliant contract. */ interface IERC721 is IERC165 { /** * @dev Emitted when `tokenId` token is transferred from `from` to `to`. */ event Transfer(address indexed from, address indexed to, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token. */ event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets. */ event ApprovalForAll(address indexed owner, address indexed operator, bool approved); /** * @dev Returns the number of tokens in ``owner``'s account. */ function balanceOf(address owner) external view returns (uint256 balance); /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) external view returns (address owner); /** * @dev Safely transfers `tokenId` token from `from` to `to`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes calldata data ) external; /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must have been allowed to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Transfers `tokenId` token from `from` to `to`. * * WARNING: Note that the caller is responsible to confirm that the recipient is capable of receiving ERC721 * or else they may be permanently lost. Usage of {safeTransferFrom} prevents loss, though the caller must * understand this adds an external call which potentially creates a reentrancy vulnerability. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) external; /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool _approved) external; /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll} */ function isApprovedForAll(address owner, address operator) external view returns (bool); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC165 standard, as defined in the * https://eips.ethereum.org/EIPS/eip-165[EIP]. * * Implementers can declare support of contract interfaces, which can then be * queried by others ({ERC165Checker}). * * For an implementation, see {ERC165}. */ interface IERC165 { /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] * to learn more about how these ids are created. * * This function call must use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.8.0) (utils/math/Math.sol) pragma solidity ^0.8.0; /** * @dev Standard math utilities missing in the Solidity language. */ library Math { enum Rounding { Down, // Toward negative infinity Up, // Toward infinity Zero // Toward zero } /** * @dev Returns the largest of two numbers. */ function max(uint256 a, uint256 b) internal pure returns (uint256) { return a > b ? a : b; } /** * @dev Returns the smallest of two numbers. */ function min(uint256 a, uint256 b) internal pure returns (uint256) { return a < b ? a : b; } /** * @dev Returns the average of two numbers. The result is rounded towards * zero. */ function average(uint256 a, uint256 b) internal pure returns (uint256) { // (a + b) / 2 can overflow. return (a & b) + (a ^ b) / 2; } /** * @dev Returns the ceiling of the division of two numbers. * * This differs from standard division with `/` in that it rounds up instead * of rounding down. */ function ceilDiv(uint256 a, uint256 b) internal pure returns (uint256) { // (a + b - 1) / b can overflow on addition, so we distribute. return a == 0 ? 0 : (a - 1) / b + 1; } /** * @notice Calculates floor(x * y / denominator) with full precision. Throws if result overflows a uint256 or denominator == 0 * @dev Original credit to Remco Bloemen under MIT license (https://xn--2-umb.com/21/muldiv) * with further edits by Uniswap Labs also under MIT license. */ function mulDiv( uint256 x, uint256 y, uint256 denominator ) internal pure returns (uint256 result) { unchecked { // 512-bit multiply [prod1 prod0] = x * y. Compute the product mod 2^256 and mod 2^256 - 1, then use // use the Chinese Remainder Theorem to reconstruct the 512 bit result. The result is stored in two 256 // variables such that product = prod1 * 2^256 + prod0. uint256 prod0; // Least significant 256 bits of the product uint256 prod1; // Most significant 256 bits of the product assembly { let mm := mulmod(x, y, not(0)) prod0 := mul(x, y) prod1 := sub(sub(mm, prod0), lt(mm, prod0)) } // Handle non-overflow cases, 256 by 256 division. if (prod1 == 0) { return prod0 / denominator; } // Make sure the result is less than 2^256. Also prevents denominator == 0. require(denominator > prod1); /////////////////////////////////////////////// // 512 by 256 division. /////////////////////////////////////////////// // Make division exact by subtracting the remainder from [prod1 prod0]. uint256 remainder; assembly { // Compute remainder using mulmod. remainder := mulmod(x, y, denominator) // Subtract 256 bit number from 512 bit number. prod1 := sub(prod1, gt(remainder, prod0)) prod0 := sub(prod0, remainder) } // Factor powers of two out of denominator and compute largest power of two divisor of denominator. Always >= 1. // See https://cs.stackexchange.com/q/138556/92363. // Does not overflow because the denominator cannot be zero at this stage in the function. uint256 twos = denominator & (~denominator + 1); assembly { // Divide denominator by twos. denominator := div(denominator, twos) // Divide [prod1 prod0] by twos. prod0 := div(prod0, twos) // Flip twos such that it is 2^256 / twos. If twos is zero, then it becomes one. twos := add(div(sub(0, twos), twos), 1) } // Shift in bits from prod1 into prod0. prod0 |= prod1 * twos; // Invert denominator mod 2^256. Now that denominator is an odd number, it has an inverse modulo 2^256 such // that denominator * inv = 1 mod 2^256. Compute the inverse by starting with a seed that is correct for // four bits. That is, denominator * inv = 1 mod 2^4. uint256 inverse = (3 * denominator) ^ 2; // Use the Newton-Raphson iteration to improve the precision. Thanks to Hensel's lifting lemma, this also works // in modular arithmetic, doubling the correct bits in each step. inverse *= 2 - denominator * inverse; // inverse mod 2^8 inverse *= 2 - denominator * inverse; // inverse mod 2^16 inverse *= 2 - denominator * inverse; // inverse mod 2^32 inverse *= 2 - denominator * inverse; // inverse mod 2^64 inverse *= 2 - denominator * inverse; // inverse mod 2^128 inverse *= 2 - denominator * inverse; // inverse mod 2^256 // Because the division is now exact we can divide by multiplying with the modular inverse of denominator. // This will give us the correct result modulo 2^256. Since the preconditions guarantee that the outcome is // less than 2^256, this is the final result. We don't need to compute the high bits of the result and prod1 // is no longer required. result = prod0 * inverse; return result; } } /** * @notice Calculates x * y / denominator with full precision, following the selected rounding direction. */ function mulDiv( uint256 x, uint256 y, uint256 denominator, Rounding rounding ) internal pure returns (uint256) { uint256 result = mulDiv(x, y, denominator); if (rounding == Rounding.Up && mulmod(x, y, denominator) > 0) { result += 1; } return result; } /** * @dev Returns the square root of a number. If the number is not a perfect square, the value is rounded down. * * Inspired by Henry S. Warren, Jr.'s "Hacker's Delight" (Chapter 11). */ function sqrt(uint256 a) internal pure returns (uint256) { if (a == 0) { return 0; } // For our first guess, we get the biggest power of 2 which is smaller than the square root of the target. // // We know that the "msb" (most significant bit) of our target number `a` is a power of 2 such that we have // `msb(a) <= a < 2*msb(a)`. This value can be written `msb(a)=2**k` with `k=log2(a)`. // // This can be rewritten `2**log2(a) <= a < 2**(log2(a) + 1)` // → `sqrt(2**k) <= sqrt(a) < sqrt(2**(k+1))` // → `2**(k/2) <= sqrt(a) < 2**((k+1)/2) <= 2**(k/2 + 1)` // // Consequently, `2**(log2(a) / 2)` is a good first approximation of `sqrt(a)` with at least 1 correct bit. uint256 result = 1 << (log2(a) >> 1); // At this point `result` is an estimation with one bit of precision. We know the true value is a uint128, // since it is the square root of a uint256. Newton's method converges quadratically (precision doubles at // every iteration). We thus need at most 7 iteration to turn our partial result with one bit of precision // into the expected uint128 result. unchecked { result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; return min(result, a / result); } } /** * @notice Calculates sqrt(a), following the selected rounding direction. */ function sqrt(uint256 a, Rounding rounding) internal pure returns (uint256) { unchecked { uint256 result = sqrt(a); return result + (rounding == Rounding.Up && result * result < a ? 1 : 0); } } /** * @dev Return the log in base 2, rounded down, of a positive value. * Returns 0 if given 0. */ function log2(uint256 value) internal pure returns (uint256) { uint256 result = 0; unchecked { if (value >> 128 > 0) { value >>= 128; result += 128; } if (value >> 64 > 0) { value >>= 64; result += 64; } if (value >> 32 > 0) { value >>= 32; result += 32; } if (value >> 16 > 0) { value >>= 16; result += 16; } if (value >> 8 > 0) { value >>= 8; result += 8; } if (value >> 4 > 0) { value >>= 4; result += 4; } if (value >> 2 > 0) { value >>= 2; result += 2; } if (value >> 1 > 0) { result += 1; } } return result; } /** * @dev Return the log in base 2, following the selected rounding direction, of a positive value. * Returns 0 if given 0. */ function log2(uint256 value, Rounding rounding) internal pure returns (uint256) { unchecked { uint256 result = log2(value); return result + (rounding == Rounding.Up && 1 << result < value ? 1 : 0); } } /** * @dev Return the log in base 10, rounded down, of a positive value. * Returns 0 if given 0. */ function log10(uint256 value) internal pure returns (uint256) { uint256 result = 0; unchecked { if (value >= 10**64) { value /= 10**64; result += 64; } if (value >= 10**32) { value /= 10**32; result += 32; } if (value >= 10**16) { value /= 10**16; result += 16; } if (value >= 10**8) { value /= 10**8; result += 8; } if (value >= 10**4) { value /= 10**4; result += 4; } if (value >= 10**2) { value /= 10**2; result += 2; } if (value >= 10**1) { result += 1; } } return result; } /** * @dev Return the log in base 10, following the selected rounding direction, of a positive value. * Returns 0 if given 0. */ function log10(uint256 value, Rounding rounding) internal pure returns (uint256) { unchecked { uint256 result = log10(value); return result + (rounding == Rounding.Up && 10**result < value ? 1 : 0); } } /** * @dev Return the log in base 256, rounded down, of a positive value. * Returns 0 if given 0. * * Adding one to the result gives the number of pairs of hex symbols needed to represent `value` as a hex string. */ function log256(uint256 value) internal pure returns (uint256) { uint256 result = 0; unchecked { if (value >> 128 > 0) { value >>= 128; result += 16; } if (value >> 64 > 0) { value >>= 64; result += 8; } if (value >> 32 > 0) { value >>= 32; result += 4; } if (value >> 16 > 0) { value >>= 16; result += 2; } if (value >> 8 > 0) { result += 1; } } return result; } /** * @dev Return the log in base 10, following the selected rounding direction, of a positive value. * Returns 0 if given 0. */ function log256(uint256 value, Rounding rounding) internal pure returns (uint256) { unchecked { uint256 result = log256(value); return result + (rounding == Rounding.Up && 1 << (result * 8) < value ? 1 : 0); } } }
{ "optimizer": { "enabled": true, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"seed","type":"uint256"}],"name":"SeedUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"canUpdateSeed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"descriptor","outputs":[{"internalType":"contract IPepeDescriptor","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"disableSeedUpdate","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getSeed","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":"maxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint32","name":"count","type":"uint32"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"minting","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"contract IPepeDescriptor","name":"newDescriptor","type":"address"}],"name":"setDescriptor","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_num","type":"uint256"}],"name":"setFreeNum","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"value","type":"bool"}],"name":"setMinting","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newPrice","type":"uint256"}],"name":"setTokenPrice","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":"uint32","name":"count","type":"uint32"}],"name":"teamClaim","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"uint256","name":"seed","type":"uint256"}],"name":"updateSeed","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"payable","type":"function"}]
Contract Creation Code
60806040526127106008556009805461ffff191661010017905566071afd498d0000600a556002600b553480156200003657600080fd5b506040518060400160405280600e81526020016d546865204e656f6e20506570657360901b815250604051806040016040528060068152602001654e506570654f60d01b81525081600090816200008e9190620001bb565b5060016200009d8282620001bb565b505050620000ba620000b4620000c060201b60201c565b620000c4565b62000287565b3390565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b634e487b7160e01b600052604160045260246000fd5b600181811c908216806200014157607f821691505b6020821081036200016257634e487b7160e01b600052602260045260246000fd5b50919050565b601f821115620001b657600081815260208120601f850160051c81016020861015620001915750805b601f850160051c820191505b81811015620001b2578281556001016200019d565b5050505b505050565b81516001600160401b03811115620001d757620001d762000116565b620001ef81620001e884546200012c565b8462000168565b602080601f8311600181146200022757600084156200020e5750858301515b600019600386901b1c1916600185901b178555620001b2565b600085815260208120601f198616915b82811015620002585788860151825594840194600190910190840162000237565b5085821015620002775787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b61217980620002976000396000f3fe6080604052600436106101f95760003560e01c80636352211e1161010d578063a71bbebe116100a0578063d39c5a361161006f578063d39c5a3614610576578063d5abeb0114610596578063e0d4ea37146105ac578063e985e9c5146105cc578063f2fde38b1461061557600080fd5b8063a71bbebe14610503578063b4c7f06614610516578063b88d4fde14610536578063c87b56dd1461055657600080fd5b80637dc2268c116100dc5780637dc2268c146104965780638da5cb5b146104b057806395d89b41146104ce578063a22cb465146104e357600080fd5b80636352211e146104215780636a61e5fc1461044157806370a0823114610461578063715018a61461048157600080fd5b80632f745c59116101905780633bb2c9381161015f5780633bb2c938146103a45780633ccfd60b146103b957806342842e0e146103c157806342966c68146103e15780634f6ccce71461040157600080fd5b80632f745c5914610332578063303e74df1461035257806333101e1f1461037257806333afd4601461039157600080fd5b8063095ea7b3116101cc578063095ea7b3146102af578063176b72b4146102cf57806318160ddd146102ef57806323b872dd1461031257600080fd5b806301b9a397146101fe57806301ffc9a71461022057806306fdde0314610255578063081812fc14610277575b600080fd5b34801561020a57600080fd5b5061021e610219366004611b40565b610635565b005b34801561022c57600080fd5b5061024061023b366004611b73565b61065f565b60405190151581526020015b60405180910390f35b34801561026157600080fd5b5061026a61068a565b60405161024c9190611be0565b34801561028357600080fd5b50610297610292366004611bf3565b61071c565b6040516001600160a01b03909116815260200161024c565b3480156102bb57600080fd5b5061021e6102ca366004611c0c565b61078f565b3480156102db57600080fd5b5061021e6102ea366004611c38565b6108a4565b3480156102fb57600080fd5b5061030461094a565b60405190815260200161024c565b34801561031e57600080fd5b5061021e61032d366004611c5a565b6109a7565b34801561033e57600080fd5b5061030461034d366004611c0c565b6109d9565b34801561035e57600080fd5b50600754610297906001600160a01b031681565b34801561037e57600080fd5b5060095461024090610100900460ff1681565b61021e61039f366004611c9b565b610a7a565b3480156103b057600080fd5b5061021e610b8a565b61021e610b9f565b3480156103cd57600080fd5b5061021e6103dc366004611c5a565b610c1b565b3480156103ed57600080fd5b5061021e6103fc366004611bf3565b610c36565b34801561040d57600080fd5b5061030461041c366004611bf3565b610c9b565b34801561042d57600080fd5b5061029761043c366004611bf3565b610d08565b34801561044d57600080fd5b5061021e61045c366004611bf3565b610d7d565b34801561046d57600080fd5b5061030461047c366004611b40565b610d8a565b34801561048d57600080fd5b5061021e610e4a565b3480156104a257600080fd5b506009546102409060ff1681565b3480156104bc57600080fd5b506005546001600160a01b0316610297565b3480156104da57600080fd5b5061026a610e5e565b3480156104ef57600080fd5b5061021e6104fe366004611cd6565b610e6d565b61021e610511366004611c9b565b610f31565b34801561052257600080fd5b5061021e610531366004611d0b565b6110ba565b34801561054257600080fd5b5061021e610551366004611d95565b6110d5565b34801561056257600080fd5b5061026a610571366004611bf3565b61110d565b34801561058257600080fd5b5061021e610591366004611bf3565b6111ea565b3480156105a257600080fd5b5061030460085481565b3480156105b857600080fd5b506103046105c7366004611bf3565b6111f7565b3480156105d857600080fd5b506102406105e7366004611e44565b6001600160a01b03918216600090815260046020908152604080832093909416825291909152205460ff1690565b34801561062157600080fd5b5061021e610630366004611b40565b611258565b61063d6112ce565b600780546001600160a01b0319166001600160a01b0392909216919091179055565b60006001600160e01b0319821663780e9d6360e01b1480610684575061068482611328565b92915050565b60606000805461069990611e7d565b80601f01602080910402602001604051908101604052809291908181526020018280546106c590611e7d565b80156107125780601f106106e757610100808354040283529160200191610712565b820191906000526020600020905b8154815290600101906020018083116106f557829003601f168201915b5050505050905090565b600061072782611378565b6107735760405162461bcd60e51b8152602060048201526018602482015277115490cdcc8c4e881a5b9d985b1a59081d1bdad95b88125160421b60448201526064015b60405180910390fd5b506000908152600360205260409020546001600160a01b031690565b600061079a82610d08565b9050806001600160a01b0316836001600160a01b0316036108075760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b606482015260840161076a565b336001600160a01b0382161480610823575061082381336105e7565b6108955760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000606482015260840161076a565b61089f83836113c2565b505050565b6108ac6112ce565b600954610100900460ff166108f95760405162461bcd60e51b815260206004820152601360248201527210d85b9b9bdd081cd95d081d1a19481cd95959606a1b604482015260640161076a565b600082815260066020526040908190208290555182907faabfe5e8bccf1a1352f72b557ce580211305c37f88d5783ae467a1ba5e0761e09061093e9084815260200190565b60405180910390a25050565b60008060005b6002548110156109a15760006001600160a01b03166002828154811061097857610978611eb1565b6000918252602090912001546001600160a01b031614610999578160010191505b600101610950565b50919050565b6109b2335b82611430565b6109ce5760405162461bcd60e51b815260040161076a90611ec7565b61089f8383836114af565b60006109e483610d8a565b8210610a025760405162461bcd60e51b815260040161076a90611f14565b6000805b600254811015610a615760028181548110610a2357610a23611eb1565b6000918252602090912001546001600160a01b0390811690861603610a5957838203610a525791506106849050565b8160010191505b600101610a06565b5060405162461bcd60e51b815260040161076a90611f14565b60095460ff16610a9c5760405162461bcd60e51b815260040161076a90611f5f565b60658163ffffffff1610610af25760405162461bcd60e51b815260206004820152601c60248201527f45786365656473206d617820706572207472616e73616374696f6e2e00000000604482015260640161076a565b60025460085463ffffffff8316820110610b445760405162461bcd60e51b815260206004820152601360248201527222bc31b2b2b2399036b0bc1039bab838363c9760691b604482015260640161076a565b60005b8263ffffffff168163ffffffff16101561089f57610b6482611615565b600083815260066020526040902055610b7e335b83611804565b60019182019101610b47565b610b926112ce565b6009805461ff0019169055565b610ba76112ce565b6000610bbb6005546001600160a01b031690565b6001600160a01b03164760405160006040518083038185875af1925050503d8060008114610c05576040519150601f19603f3d011682016040523d82523d6000602084013e610c0a565b606091505b5050905080610c1857600080fd5b50565b61089f838383604051806020016040528060008152506110d5565b610c3f336109ac565b610c835760405162461bcd60e51b81526020600482015260156024820152742737ba1030b8383937bb32b2103a3790313ab9371760591b604482015260640161076a565b600081815260066020526040812055610c18816118d6565b6002546000908210610d045760405162461bcd60e51b815260206004820152602c60248201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60448201526b7574206f6620626f756e647360a01b606482015260840161076a565b5090565b60008060028381548110610d1e57610d1e611eb1565b6000918252602090912001546001600160a01b03169050806106845760405162461bcd60e51b8152602060048201526018602482015277115490cdcc8c4e881a5b9d985b1a59081d1bdad95b88125160421b604482015260640161076a565b610d856112ce565b600a55565b60006001600160a01b038216610df45760405162461bcd60e51b815260206004820152602960248201527f4552433732313a2061646472657373207a65726f206973206e6f7420612076616044820152683634b21037bbb732b960b91b606482015260840161076a565b6000805b600254811015610e435760028181548110610e1557610e15611eb1565b6000918252602090912001546001600160a01b0390811690851603610e3b578160010191505b600101610df8565b5092915050565b610e526112ce565b610e5c6000611967565b565b60606001805461069990611e7d565b6001600160a01b0382163303610ec55760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c657200000000000000604482015260640161076a565b3360008181526004602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b60095460ff16610f535760405162461bcd60e51b815260040161076a90611f5f565b60658163ffffffff1610610fa95760405162461bcd60e51b815260206004820152601c60248201527f45786365656473206d617820706572207472616e73616374696f6e2e00000000604482015260640161076a565b60025460085463ffffffff8316820110610ffb5760405162461bcd60e51b815260206004820152601360248201527222bc31b2b2b2399036b0bc1039bab838363c9760691b604482015260640161076a565b600b5461100e9063ffffffff8416611fc1565b600a5461101b9190611fd4565b3410156110765760405162461bcd60e51b8152602060048201526024808201527f54776f20467265656d656e742e204e65656420746f2073656e64206d6f72652060448201526322aa241760e11b606482015260840161076a565b60005b8263ffffffff168163ffffffff16101561089f5761109682611615565b6000838152600660205260409020556110ae33610b78565b60019182019101611079565b6110c26112ce565b6009805460ff1916911515919091179055565b6110df3383611430565b6110fb5760405162461bcd60e51b815260040161076a90611ec7565b611107848484846119b9565b50505050565b606061111882611378565b61115b5760405162461bcd60e51b81526020600482015260146024820152732832b832903237b2b9903737ba1032bc34b9ba1760611b604482015260640161076a565b600082815260066020526040908190205460075491516392cb829d60e01b8152600481018590526024810182905290916001600160a01b0316906392cb829d90604401600060405180830381865afa1580156111bb573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526111e39190810190611feb565b9392505050565b6111f26112ce565b600b55565b600061120282611378565b6112455760405162461bcd60e51b81526020600482015260146024820152732832b832903237b2b9903737ba1032bc34b9ba1760611b604482015260640161076a565b5060009081526006602052604090205490565b6112606112ce565b6001600160a01b0381166112c55760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b606482015260840161076a565b610c1881611967565b6005546001600160a01b03163314610e5c5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161076a565b60006001600160e01b031982166380ac58cd60e01b148061135957506001600160e01b03198216635b5e139f60e01b145b8061068457506301ffc9a760e01b6001600160e01b0319831614610684565b60025460009082108015610684575060006001600160a01b0316600283815481106113a5576113a5611eb1565b6000918252602090912001546001600160a01b0316141592915050565b600081815260036020526040902080546001600160a01b0319166001600160a01b03841690811790915581906113f782610d08565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b60008061143c83610d08565b9050806001600160a01b0316846001600160a01b0316148061148357506001600160a01b0380821660009081526004602090815260408083209388168352929052205460ff165b806114a75750836001600160a01b031661149c8461071c565b6001600160a01b0316145b949350505050565b826001600160a01b03166114c282610d08565b6001600160a01b0316146115265760405162461bcd60e51b815260206004820152602560248201527f4552433732313a207472616e736665722066726f6d20696e636f72726563742060448201526437bbb732b960d91b606482015260840161076a565b6001600160a01b0382166115885760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b606482015260840161076a565b600081815260036020526040902080546001600160a01b031916905560028054839190839081106115bb576115bb611eb1565b6000918252602082200180546001600160a01b0319166001600160a01b03938416179055604051839285811692908716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9190a4505050565b600080611621836119ec565b90506000611630601483612062565b61163b90600a612084565b611646600684612062565b61165190600a612084565b61165c906064611fd4565b6116669190612084565b905060006116796014603085901c612062565b61168490600a612084565b6116936007603086901c612062565b61169e90600a612084565b6116a9906064611fd4565b6116b39190612084565b905060006116c66014606086901c612062565b6116d190600a612084565b6116e06006606087901c612062565b6116eb90600a612084565b6116f6906064611fd4565b6117009190612084565b905060006117136014609087901c612062565b61171e90600a612084565b61172d6006609088901c612062565b61173890600a612084565b611743906064611fd4565b61174d9190612084565b90506000611760601460c088901c612062565b61176b90600a612084565b61177a600760c089901c612062565b61178590600a612084565b611790906064611fd4565b61179a9190612084565b9050808284866117ac89612710611fd4565b6117b69190612084565b6117c290612710611fd4565b6117cc9190612084565b6117d890612710611fd4565b6117e29190612084565b6117ee90612710611fd4565b6117f89190612084565b98975050505050505050565b61180d81611378565b1561185a5760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000604482015260640161076a565b6002805460018101825560009182527f405787fa12a823e0f2b7631cc41b3ba8828b3321ca811111fa75cd3aa3bb5ace0180546001600160a01b0319166001600160a01b0385169081179091556040518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b60006118e182610d08565b600083815260036020526040902080546001600160a01b031916905560028054919250908390811061191557611915611eb1565b6000918252602082200180546001600160a01b03191690556040518391906001600160a01b038416907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908390a45050565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6119c48484846114af565b6119d084848484611a2a565b6111075760405162461bcd60e51b815260040161076a90612097565b60006119f9600143611fc1565b6040805191406020830152810183905260600160408051601f19818403018152919052805160209091012092915050565b60006001600160a01b0384163b15611b2057604051630a85bd0160e11b81526001600160a01b0385169063150b7a0290611a6e9033908990889088906004016120e9565b6020604051808303816000875af1925050508015611aa9575060408051601f3d908101601f19168201909252611aa691810190612126565b60015b611b06573d808015611ad7576040519150601f19603f3d011682016040523d82523d6000602084013e611adc565b606091505b508051600003611afe5760405162461bcd60e51b815260040161076a90612097565b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490506114a7565b506001949350505050565b6001600160a01b0381168114610c1857600080fd5b600060208284031215611b5257600080fd5b81356111e381611b2b565b6001600160e01b031981168114610c1857600080fd5b600060208284031215611b8557600080fd5b81356111e381611b5d565b60005b83811015611bab578181015183820152602001611b93565b50506000910152565b60008151808452611bcc816020860160208601611b90565b601f01601f19169290920160200192915050565b6020815260006111e36020830184611bb4565b600060208284031215611c0557600080fd5b5035919050565b60008060408385031215611c1f57600080fd5b8235611c2a81611b2b565b946020939093013593505050565b60008060408385031215611c4b57600080fd5b50508035926020909101359150565b600080600060608486031215611c6f57600080fd5b8335611c7a81611b2b565b92506020840135611c8a81611b2b565b929592945050506040919091013590565b600060208284031215611cad57600080fd5b813563ffffffff811681146111e357600080fd5b80358015158114611cd157600080fd5b919050565b60008060408385031215611ce957600080fd5b8235611cf481611b2b565b9150611d0260208401611cc1565b90509250929050565b600060208284031215611d1d57600080fd5b6111e382611cc1565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f1916810167ffffffffffffffff81118282101715611d6557611d65611d26565b604052919050565b600067ffffffffffffffff821115611d8757611d87611d26565b50601f01601f191660200190565b60008060008060808587031215611dab57600080fd5b8435611db681611b2b565b93506020850135611dc681611b2b565b925060408501359150606085013567ffffffffffffffff811115611de957600080fd5b8501601f81018713611dfa57600080fd5b8035611e0d611e0882611d6d565b611d3c565b818152886020838501011115611e2257600080fd5b8160208401602083013760006020838301015280935050505092959194509250565b60008060408385031215611e5757600080fd5b8235611e6281611b2b565b91506020830135611e7281611b2b565b809150509250929050565b600181811c90821680611e9157607f821691505b6020821081036109a157634e487b7160e01b600052602260045260246000fd5b634e487b7160e01b600052603260045260246000fd5b6020808252602d908201527f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6560408201526c1c881bdc88185c1c1c9bdd9959609a1b606082015260800190565b6020808252602b908201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560408201526a74206f6620626f756e647360a81b606082015260800190565b6020808252602c908201527f4d696e74696e67206e6565647320746f20626520656e61626c656420746f207360408201526b74617274206d696e74696e6760a01b606082015260800190565b634e487b7160e01b600052601160045260246000fd5b8181038181111561068457610684611fab565b808202811582820484141761068457610684611fab565b600060208284031215611ffd57600080fd5b815167ffffffffffffffff81111561201457600080fd5b8201601f8101841361202557600080fd5b8051612033611e0882611d6d565b81815285602083850101111561204857600080fd5b612059826020830160208601611b90565b95945050505050565b60008261207f57634e487b7160e01b600052601260045260246000fd5b500690565b8082018082111561068457610684611fab565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b6001600160a01b038581168252841660208201526040810183905260806060820181905260009061211c90830184611bb4565b9695505050505050565b60006020828403121561213857600080fd5b81516111e381611b5d56fea2646970667358221220b2007ee5caa96f0137df6f80816f8004a03d56ebe6143828067f94138cd7b99464736f6c63430008110033
Deployed Bytecode
0x6080604052600436106101f95760003560e01c80636352211e1161010d578063a71bbebe116100a0578063d39c5a361161006f578063d39c5a3614610576578063d5abeb0114610596578063e0d4ea37146105ac578063e985e9c5146105cc578063f2fde38b1461061557600080fd5b8063a71bbebe14610503578063b4c7f06614610516578063b88d4fde14610536578063c87b56dd1461055657600080fd5b80637dc2268c116100dc5780637dc2268c146104965780638da5cb5b146104b057806395d89b41146104ce578063a22cb465146104e357600080fd5b80636352211e146104215780636a61e5fc1461044157806370a0823114610461578063715018a61461048157600080fd5b80632f745c59116101905780633bb2c9381161015f5780633bb2c938146103a45780633ccfd60b146103b957806342842e0e146103c157806342966c68146103e15780634f6ccce71461040157600080fd5b80632f745c5914610332578063303e74df1461035257806333101e1f1461037257806333afd4601461039157600080fd5b8063095ea7b3116101cc578063095ea7b3146102af578063176b72b4146102cf57806318160ddd146102ef57806323b872dd1461031257600080fd5b806301b9a397146101fe57806301ffc9a71461022057806306fdde0314610255578063081812fc14610277575b600080fd5b34801561020a57600080fd5b5061021e610219366004611b40565b610635565b005b34801561022c57600080fd5b5061024061023b366004611b73565b61065f565b60405190151581526020015b60405180910390f35b34801561026157600080fd5b5061026a61068a565b60405161024c9190611be0565b34801561028357600080fd5b50610297610292366004611bf3565b61071c565b6040516001600160a01b03909116815260200161024c565b3480156102bb57600080fd5b5061021e6102ca366004611c0c565b61078f565b3480156102db57600080fd5b5061021e6102ea366004611c38565b6108a4565b3480156102fb57600080fd5b5061030461094a565b60405190815260200161024c565b34801561031e57600080fd5b5061021e61032d366004611c5a565b6109a7565b34801561033e57600080fd5b5061030461034d366004611c0c565b6109d9565b34801561035e57600080fd5b50600754610297906001600160a01b031681565b34801561037e57600080fd5b5060095461024090610100900460ff1681565b61021e61039f366004611c9b565b610a7a565b3480156103b057600080fd5b5061021e610b8a565b61021e610b9f565b3480156103cd57600080fd5b5061021e6103dc366004611c5a565b610c1b565b3480156103ed57600080fd5b5061021e6103fc366004611bf3565b610c36565b34801561040d57600080fd5b5061030461041c366004611bf3565b610c9b565b34801561042d57600080fd5b5061029761043c366004611bf3565b610d08565b34801561044d57600080fd5b5061021e61045c366004611bf3565b610d7d565b34801561046d57600080fd5b5061030461047c366004611b40565b610d8a565b34801561048d57600080fd5b5061021e610e4a565b3480156104a257600080fd5b506009546102409060ff1681565b3480156104bc57600080fd5b506005546001600160a01b0316610297565b3480156104da57600080fd5b5061026a610e5e565b3480156104ef57600080fd5b5061021e6104fe366004611cd6565b610e6d565b61021e610511366004611c9b565b610f31565b34801561052257600080fd5b5061021e610531366004611d0b565b6110ba565b34801561054257600080fd5b5061021e610551366004611d95565b6110d5565b34801561056257600080fd5b5061026a610571366004611bf3565b61110d565b34801561058257600080fd5b5061021e610591366004611bf3565b6111ea565b3480156105a257600080fd5b5061030460085481565b3480156105b857600080fd5b506103046105c7366004611bf3565b6111f7565b3480156105d857600080fd5b506102406105e7366004611e44565b6001600160a01b03918216600090815260046020908152604080832093909416825291909152205460ff1690565b34801561062157600080fd5b5061021e610630366004611b40565b611258565b61063d6112ce565b600780546001600160a01b0319166001600160a01b0392909216919091179055565b60006001600160e01b0319821663780e9d6360e01b1480610684575061068482611328565b92915050565b60606000805461069990611e7d565b80601f01602080910402602001604051908101604052809291908181526020018280546106c590611e7d565b80156107125780601f106106e757610100808354040283529160200191610712565b820191906000526020600020905b8154815290600101906020018083116106f557829003601f168201915b5050505050905090565b600061072782611378565b6107735760405162461bcd60e51b8152602060048201526018602482015277115490cdcc8c4e881a5b9d985b1a59081d1bdad95b88125160421b60448201526064015b60405180910390fd5b506000908152600360205260409020546001600160a01b031690565b600061079a82610d08565b9050806001600160a01b0316836001600160a01b0316036108075760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b606482015260840161076a565b336001600160a01b0382161480610823575061082381336105e7565b6108955760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000606482015260840161076a565b61089f83836113c2565b505050565b6108ac6112ce565b600954610100900460ff166108f95760405162461bcd60e51b815260206004820152601360248201527210d85b9b9bdd081cd95d081d1a19481cd95959606a1b604482015260640161076a565b600082815260066020526040908190208290555182907faabfe5e8bccf1a1352f72b557ce580211305c37f88d5783ae467a1ba5e0761e09061093e9084815260200190565b60405180910390a25050565b60008060005b6002548110156109a15760006001600160a01b03166002828154811061097857610978611eb1565b6000918252602090912001546001600160a01b031614610999578160010191505b600101610950565b50919050565b6109b2335b82611430565b6109ce5760405162461bcd60e51b815260040161076a90611ec7565b61089f8383836114af565b60006109e483610d8a565b8210610a025760405162461bcd60e51b815260040161076a90611f14565b6000805b600254811015610a615760028181548110610a2357610a23611eb1565b6000918252602090912001546001600160a01b0390811690861603610a5957838203610a525791506106849050565b8160010191505b600101610a06565b5060405162461bcd60e51b815260040161076a90611f14565b60095460ff16610a9c5760405162461bcd60e51b815260040161076a90611f5f565b60658163ffffffff1610610af25760405162461bcd60e51b815260206004820152601c60248201527f45786365656473206d617820706572207472616e73616374696f6e2e00000000604482015260640161076a565b60025460085463ffffffff8316820110610b445760405162461bcd60e51b815260206004820152601360248201527222bc31b2b2b2399036b0bc1039bab838363c9760691b604482015260640161076a565b60005b8263ffffffff168163ffffffff16101561089f57610b6482611615565b600083815260066020526040902055610b7e335b83611804565b60019182019101610b47565b610b926112ce565b6009805461ff0019169055565b610ba76112ce565b6000610bbb6005546001600160a01b031690565b6001600160a01b03164760405160006040518083038185875af1925050503d8060008114610c05576040519150601f19603f3d011682016040523d82523d6000602084013e610c0a565b606091505b5050905080610c1857600080fd5b50565b61089f838383604051806020016040528060008152506110d5565b610c3f336109ac565b610c835760405162461bcd60e51b81526020600482015260156024820152742737ba1030b8383937bb32b2103a3790313ab9371760591b604482015260640161076a565b600081815260066020526040812055610c18816118d6565b6002546000908210610d045760405162461bcd60e51b815260206004820152602c60248201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60448201526b7574206f6620626f756e647360a01b606482015260840161076a565b5090565b60008060028381548110610d1e57610d1e611eb1565b6000918252602090912001546001600160a01b03169050806106845760405162461bcd60e51b8152602060048201526018602482015277115490cdcc8c4e881a5b9d985b1a59081d1bdad95b88125160421b604482015260640161076a565b610d856112ce565b600a55565b60006001600160a01b038216610df45760405162461bcd60e51b815260206004820152602960248201527f4552433732313a2061646472657373207a65726f206973206e6f7420612076616044820152683634b21037bbb732b960b91b606482015260840161076a565b6000805b600254811015610e435760028181548110610e1557610e15611eb1565b6000918252602090912001546001600160a01b0390811690851603610e3b578160010191505b600101610df8565b5092915050565b610e526112ce565b610e5c6000611967565b565b60606001805461069990611e7d565b6001600160a01b0382163303610ec55760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c657200000000000000604482015260640161076a565b3360008181526004602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b60095460ff16610f535760405162461bcd60e51b815260040161076a90611f5f565b60658163ffffffff1610610fa95760405162461bcd60e51b815260206004820152601c60248201527f45786365656473206d617820706572207472616e73616374696f6e2e00000000604482015260640161076a565b60025460085463ffffffff8316820110610ffb5760405162461bcd60e51b815260206004820152601360248201527222bc31b2b2b2399036b0bc1039bab838363c9760691b604482015260640161076a565b600b5461100e9063ffffffff8416611fc1565b600a5461101b9190611fd4565b3410156110765760405162461bcd60e51b8152602060048201526024808201527f54776f20467265656d656e742e204e65656420746f2073656e64206d6f72652060448201526322aa241760e11b606482015260840161076a565b60005b8263ffffffff168163ffffffff16101561089f5761109682611615565b6000838152600660205260409020556110ae33610b78565b60019182019101611079565b6110c26112ce565b6009805460ff1916911515919091179055565b6110df3383611430565b6110fb5760405162461bcd60e51b815260040161076a90611ec7565b611107848484846119b9565b50505050565b606061111882611378565b61115b5760405162461bcd60e51b81526020600482015260146024820152732832b832903237b2b9903737ba1032bc34b9ba1760611b604482015260640161076a565b600082815260066020526040908190205460075491516392cb829d60e01b8152600481018590526024810182905290916001600160a01b0316906392cb829d90604401600060405180830381865afa1580156111bb573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526111e39190810190611feb565b9392505050565b6111f26112ce565b600b55565b600061120282611378565b6112455760405162461bcd60e51b81526020600482015260146024820152732832b832903237b2b9903737ba1032bc34b9ba1760611b604482015260640161076a565b5060009081526006602052604090205490565b6112606112ce565b6001600160a01b0381166112c55760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b606482015260840161076a565b610c1881611967565b6005546001600160a01b03163314610e5c5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161076a565b60006001600160e01b031982166380ac58cd60e01b148061135957506001600160e01b03198216635b5e139f60e01b145b8061068457506301ffc9a760e01b6001600160e01b0319831614610684565b60025460009082108015610684575060006001600160a01b0316600283815481106113a5576113a5611eb1565b6000918252602090912001546001600160a01b0316141592915050565b600081815260036020526040902080546001600160a01b0319166001600160a01b03841690811790915581906113f782610d08565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b60008061143c83610d08565b9050806001600160a01b0316846001600160a01b0316148061148357506001600160a01b0380821660009081526004602090815260408083209388168352929052205460ff165b806114a75750836001600160a01b031661149c8461071c565b6001600160a01b0316145b949350505050565b826001600160a01b03166114c282610d08565b6001600160a01b0316146115265760405162461bcd60e51b815260206004820152602560248201527f4552433732313a207472616e736665722066726f6d20696e636f72726563742060448201526437bbb732b960d91b606482015260840161076a565b6001600160a01b0382166115885760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b606482015260840161076a565b600081815260036020526040902080546001600160a01b031916905560028054839190839081106115bb576115bb611eb1565b6000918252602082200180546001600160a01b0319166001600160a01b03938416179055604051839285811692908716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9190a4505050565b600080611621836119ec565b90506000611630601483612062565b61163b90600a612084565b611646600684612062565b61165190600a612084565b61165c906064611fd4565b6116669190612084565b905060006116796014603085901c612062565b61168490600a612084565b6116936007603086901c612062565b61169e90600a612084565b6116a9906064611fd4565b6116b39190612084565b905060006116c66014606086901c612062565b6116d190600a612084565b6116e06006606087901c612062565b6116eb90600a612084565b6116f6906064611fd4565b6117009190612084565b905060006117136014609087901c612062565b61171e90600a612084565b61172d6006609088901c612062565b61173890600a612084565b611743906064611fd4565b61174d9190612084565b90506000611760601460c088901c612062565b61176b90600a612084565b61177a600760c089901c612062565b61178590600a612084565b611790906064611fd4565b61179a9190612084565b9050808284866117ac89612710611fd4565b6117b69190612084565b6117c290612710611fd4565b6117cc9190612084565b6117d890612710611fd4565b6117e29190612084565b6117ee90612710611fd4565b6117f89190612084565b98975050505050505050565b61180d81611378565b1561185a5760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000604482015260640161076a565b6002805460018101825560009182527f405787fa12a823e0f2b7631cc41b3ba8828b3321ca811111fa75cd3aa3bb5ace0180546001600160a01b0319166001600160a01b0385169081179091556040518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b60006118e182610d08565b600083815260036020526040902080546001600160a01b031916905560028054919250908390811061191557611915611eb1565b6000918252602082200180546001600160a01b03191690556040518391906001600160a01b038416907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908390a45050565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6119c48484846114af565b6119d084848484611a2a565b6111075760405162461bcd60e51b815260040161076a90612097565b60006119f9600143611fc1565b6040805191406020830152810183905260600160408051601f19818403018152919052805160209091012092915050565b60006001600160a01b0384163b15611b2057604051630a85bd0160e11b81526001600160a01b0385169063150b7a0290611a6e9033908990889088906004016120e9565b6020604051808303816000875af1925050508015611aa9575060408051601f3d908101601f19168201909252611aa691810190612126565b60015b611b06573d808015611ad7576040519150601f19603f3d011682016040523d82523d6000602084013e611adc565b606091505b508051600003611afe5760405162461bcd60e51b815260040161076a90612097565b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490506114a7565b506001949350505050565b6001600160a01b0381168114610c1857600080fd5b600060208284031215611b5257600080fd5b81356111e381611b2b565b6001600160e01b031981168114610c1857600080fd5b600060208284031215611b8557600080fd5b81356111e381611b5d565b60005b83811015611bab578181015183820152602001611b93565b50506000910152565b60008151808452611bcc816020860160208601611b90565b601f01601f19169290920160200192915050565b6020815260006111e36020830184611bb4565b600060208284031215611c0557600080fd5b5035919050565b60008060408385031215611c1f57600080fd5b8235611c2a81611b2b565b946020939093013593505050565b60008060408385031215611c4b57600080fd5b50508035926020909101359150565b600080600060608486031215611c6f57600080fd5b8335611c7a81611b2b565b92506020840135611c8a81611b2b565b929592945050506040919091013590565b600060208284031215611cad57600080fd5b813563ffffffff811681146111e357600080fd5b80358015158114611cd157600080fd5b919050565b60008060408385031215611ce957600080fd5b8235611cf481611b2b565b9150611d0260208401611cc1565b90509250929050565b600060208284031215611d1d57600080fd5b6111e382611cc1565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f1916810167ffffffffffffffff81118282101715611d6557611d65611d26565b604052919050565b600067ffffffffffffffff821115611d8757611d87611d26565b50601f01601f191660200190565b60008060008060808587031215611dab57600080fd5b8435611db681611b2b565b93506020850135611dc681611b2b565b925060408501359150606085013567ffffffffffffffff811115611de957600080fd5b8501601f81018713611dfa57600080fd5b8035611e0d611e0882611d6d565b611d3c565b818152886020838501011115611e2257600080fd5b8160208401602083013760006020838301015280935050505092959194509250565b60008060408385031215611e5757600080fd5b8235611e6281611b2b565b91506020830135611e7281611b2b565b809150509250929050565b600181811c90821680611e9157607f821691505b6020821081036109a157634e487b7160e01b600052602260045260246000fd5b634e487b7160e01b600052603260045260246000fd5b6020808252602d908201527f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6560408201526c1c881bdc88185c1c1c9bdd9959609a1b606082015260800190565b6020808252602b908201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560408201526a74206f6620626f756e647360a81b606082015260800190565b6020808252602c908201527f4d696e74696e67206e6565647320746f20626520656e61626c656420746f207360408201526b74617274206d696e74696e6760a01b606082015260800190565b634e487b7160e01b600052601160045260246000fd5b8181038181111561068457610684611fab565b808202811582820484141761068457610684611fab565b600060208284031215611ffd57600080fd5b815167ffffffffffffffff81111561201457600080fd5b8201601f8101841361202557600080fd5b8051612033611e0882611d6d565b81815285602083850101111561204857600080fd5b612059826020830160208601611b90565b95945050505050565b60008261207f57634e487b7160e01b600052601260045260246000fd5b500690565b8082018082111561068457610684611fab565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b6001600160a01b038581168252841660208201526040810183905260806060820181905260009061211c90830184611bb4565b9695505050505050565b60006020828403121561213857600080fd5b81516111e381611b5d56fea2646970667358221220b2007ee5caa96f0137df6f80816f8004a03d56ebe6143828067f94138cd7b99464736f6c63430008110033
Loading...
Loading
Loading...
Loading
[ Download: CSV Export ]
[ Download: CSV Export ]
A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.