ERC-721
NFT
Overview
Max Total Supply
6,000 WUNKSV2
Holders
2,942
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
1 WUNKSV2Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
Wunks
Compiler Version
v0.8.11+commit.d7f03943
Optimization Enabled:
Yes with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.0 (utils/Context.sol) pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } } // OpenZeppelin Contracts v4.4.1 (security/ReentrancyGuard.sol) pragma solidity ^0.8.0; /** * @dev Contract module that helps prevent reentrant calls to a function. * * Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier * available, which can be applied to functions to make sure there are no nested * (reentrant) calls to them. * * Note that because there is a single `nonReentrant` guard, functions marked as * `nonReentrant` may not call one another. This can be worked around by making * those functions `private`, and then adding `external` `nonReentrant` entry * points to them. * * TIP: If you would like to learn more about reentrancy and alternative ways * to protect against it, check out our blog post * https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul]. */ abstract contract ReentrancyGuard { // Booleans are more expensive than uint256 or any type that takes up a full // word because each write operation emits an extra SLOAD to first read the // slot's contents, replace the bits taken up by the boolean, and then write // back. This is the compiler's defense against contract upgrades and // pointer aliasing, and it cannot be disabled. // The values being non-zero value makes deployment a bit more expensive, // but in exchange the refund on every call to nonReentrant will be lower in // amount. Since refunds are capped to a percentage of the total // transaction's gas, it is best to keep them low in cases like this one, to // increase the likelihood of the full refund coming into effect. uint256 private constant _NOT_ENTERED = 1; uint256 private constant _ENTERED = 2; uint256 private _status; constructor() { _status = _NOT_ENTERED; } /** * @dev Prevents a contract from calling itself, directly or indirectly. * Calling a `nonReentrant` function from another `nonReentrant` * function is not supported. It is possible to prevent this from happening * by making the `nonReentrant` function external, and making it call a * `private` function that does the actual work. */ modifier nonReentrant() { // On the first call to nonReentrant, _notEntered will be true require(_status != _ENTERED, "ReentrancyGuard: reentrant call"); // Any calls to nonReentrant after this point will fail _status = _ENTERED; _; // By storing the original value once again, a refund is triggered (see // https://eips.ethereum.org/EIPS/eip-2200) _status = _NOT_ENTERED; } } // OpenZeppelin Contracts v4.4.0 (utils/introspection/IERC165.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC165 standard, as defined in the * https://eips.ethereum.org/EIPS/eip-165[EIP]. * * Implementers can declare support of contract interfaces, which can then be * queried by others ({ERC165Checker}). * * For an implementation, see {ERC165}. */ interface IERC165 { /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] * to learn more about how these ids are created. * * This function call must use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); } // OpenZeppelin Contracts v4.4.0 (token/ERC721/IERC721.sol) pragma solidity ^0.8.0; /** * @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; } // OpenZeppelin Contracts v4.4.0 (token/ERC721/extensions/IERC721Metadata.sol) pragma solidity ^0.8.0; /** * @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); } // OpenZeppelin Contracts v4.4.0 (token/ERC721/extensions/IERC721Enumerable.sol) pragma solidity ^0.8.0; /** * @title ERC-721 Non-Fungible Token Standard, optional enumeration extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Enumerable is IERC721 { /** * @dev Returns the total amount of tokens stored by the contract. */ function totalSupply() external view returns (uint256); /** * @dev Returns a token ID owned by `owner` at a given `index` of its token list. * Use along with {balanceOf} to enumerate all of ``owner``'s tokens. */ function tokenOfOwnerByIndex(address owner, uint256 index) external view returns (uint256 tokenId); /** * @dev Returns a token ID at a given `index` of all the tokens stored by the contract. * Use along with {totalSupply} to enumerate all tokens. */ function tokenByIndex(uint256 index) external view returns (uint256); } // OpenZeppelin Contracts v4.4.0 (token/ERC721/IERC721Receiver.sol) pragma solidity ^0.8.0; /** * @title ERC721 token receiver interface * @dev Interface for any contract that wants to support safeTransfers * from ERC721 asset contracts. */ interface IERC721Receiver { /** * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom} * by `operator` from `from`, this function is called. * * It must return its Solidity selector to confirm the token transfer. * If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted. * * The selector can be obtained in Solidity with `IERC721.onERC721Received.selector`. */ function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); } // OpenZeppelin Contracts v4.4.0 (utils/introspection/ERC165.sol) pragma solidity ^0.8.0; /** * @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; } } // 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; } } } pragma solidity ^0.8.6; library Address { function isContract(address account) internal view returns (bool) { uint size; assembly { size := extcodesize(account) } return size > 0; } } // OpenZeppelin Contracts v4.4.0 (utils/Strings.sol) pragma solidity ^0.8.0; /** * @dev String operations. */ library Strings { bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef"; /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function toString(uint256 value) internal pure returns (string memory) { // Inspired by OraclizeAPI's implementation - MIT licence // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol if (value == 0) { return "0"; } uint256 temp = value; uint256 digits; while (temp != 0) { digits++; temp /= 10; } bytes memory buffer = new bytes(digits); while (value != 0) { digits -= 1; buffer[digits] = bytes1(uint8(48 + uint256(value % 10))); value /= 10; } return string(buffer); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { if (value == 0) { return "0x00"; } uint256 temp = value; uint256 length = 0; while (temp != 0) { length++; temp >>= 8; } return toHexString(value, length); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length. */ function toHexString(uint256 value, uint256 length) internal pure returns (string memory) { bytes memory buffer = new bytes(2 * length + 2); buffer[0] = "0"; buffer[1] = "x"; for (uint256 i = 2 * length + 1; i > 1; --i) { buffer[i] = _HEX_SYMBOLS[value & 0xf]; value >>= 4; } require(value == 0, "Strings: hex length insufficient"); return string(buffer); } } pragma solidity ^0.8.7; abstract contract ERC721 is Context, ERC165, IERC721, IERC721Metadata { using Address for address; using Strings for uint256; string private _name; string private _symbol; // Mapping from token ID to owner address address[] internal _owners; mapping(uint256 => address) private _tokenApprovals; mapping(address => mapping(address => bool)) private _operatorApprovals; /** * @dev Initializes the contract by setting a `name` and a `symbol` to the token collection. */ constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) { return interfaceId == type(IERC721).interfaceId || interfaceId == type(IERC721Metadata).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC721-balanceOf}. */ function balanceOf(address owner) public view virtual override returns (uint) { require(owner != address(0), "ERC721: balance query for the zero address"); uint count; for( uint i; i < _owners.length; ++i ){ if( owner == _owners[i] ) ++count; } return count; } /** * @dev See {IERC721-ownerOf}. */ function ownerOf(uint256 tokenId) public view virtual override returns (address) { address owner = _owners[tokenId]; require( owner != address(0), "ERC721: owner query for nonexistent token" ); return owner; } /** * @dev See {IERC721Metadata-name}. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev See {IERC721Metadata-symbol}. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev See {IERC721-approve}. */ function approve(address to, uint256 tokenId) public virtual override { address owner = ERC721.ownerOf(tokenId); require(to != owner, "ERC721: approval to current owner"); require( _msgSender() == owner || isApprovedForAll(owner, _msgSender()), "ERC721: approve caller is not owner nor approved for all" ); _approve(to, tokenId); } /** * @dev See {IERC721-getApproved}. */ function getApproved(uint256 tokenId) public view virtual override returns (address) { require( _exists(tokenId), "ERC721: approved query for nonexistent token" ); return _tokenApprovals[tokenId]; } /** * @dev See {IERC721-setApprovalForAll}. */ function setApprovalForAll(address operator, bool approved) public virtual override { require(operator != _msgSender(), "ERC721: approve to caller"); _operatorApprovals[_msgSender()][operator] = approved; emit ApprovalForAll(_msgSender(), operator, approved); } /** * @dev See {IERC721-isApprovedForAll}. */ function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) { return _operatorApprovals[owner][operator]; } /** * @dev See {IERC721-transferFrom}. */ function transferFrom( address from, address to, uint256 tokenId ) public virtual override { //solhint-disable-next-line max-line-length require( _isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved" ); _transfer(from, to, tokenId); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId ) public virtual override { safeTransferFrom(from, to, tokenId, ""); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes memory _data ) public virtual override { require( _isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved" ); _safeTransfer(from, to, tokenId, _data); } /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * `_data` is additional data, it has no specified format and it is sent in call to `to`. * * This internal function is equivalent to {safeTransferFrom}, and can be used to e.g. * implement alternative mechanisms to perform token transfer, such as signature-based. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeTransfer( address from, address to, uint256 tokenId, bytes memory _data ) internal virtual { _transfer(from, to, tokenId); require( _checkOnERC721Received(from, to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer" ); } /** * @dev Returns whether `tokenId` exists. * * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}. * * Tokens start existing when they are minted (`_mint`), * and stop existing when they are burned (`_burn`). */ function _exists(uint256 tokenId) internal view virtual returns (bool) { return tokenId < _owners.length && _owners[tokenId] != address(0); } /** * @dev Returns whether `spender` is allowed to manage `tokenId`. * * Requirements: * * - `tokenId` must exist. */ function _isApprovedOrOwner(address spender, uint256 tokenId) internal view virtual returns (bool) { require( _exists(tokenId), "ERC721: operator query for nonexistent token" ); address owner = ERC721.ownerOf(tokenId); return (spender == owner || getApproved(tokenId) == spender || isApprovedForAll(owner, spender)); } /** * @dev Safely mints `tokenId` and transfers it to `to`. * * Requirements: * * - `tokenId` must not exist. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeMint(address to, uint256 tokenId) internal virtual { _safeMint(to, tokenId, ""); } /** * @dev Same as {xref-ERC721-_safeMint-address-uint256-}[`_safeMint`], with an additional `data` parameter which is * forwarded in {IERC721Receiver-onERC721Received} to contract recipients. */ function _safeMint( address to, uint256 tokenId, bytes memory _data ) internal virtual { _mint(to, tokenId); require( _checkOnERC721Received(address(0), to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer" ); } /** * @dev Mints `tokenId` and transfers it to `to`. * * WARNING: Usage of this method is discouraged, use {_safeMint} whenever possible * * Requirements: * * - `tokenId` must not exist. * - `to` cannot be the zero address. * * Emits a {Transfer} event. */ function _mint(address to, uint256 tokenId) internal virtual { require(to != address(0), "ERC721: mint to the zero address"); require(!_exists(tokenId), "ERC721: token already minted"); _beforeTokenTransfer(address(0), to, tokenId); _owners.push(to); emit Transfer(address(0), to, tokenId); } /** * @dev Destroys `tokenId`. * The approval is cleared when the token is burned. * * Requirements: * * - `tokenId` must exist. * * Emits a {Transfer} event. */ function _burn(uint256 tokenId) internal virtual { address owner = ERC721.ownerOf(tokenId); _beforeTokenTransfer(owner, address(0), tokenId); // Clear approvals _approve(address(0), tokenId); _owners[tokenId] = address(0); emit Transfer(owner, address(0), tokenId); } /** * @dev Transfers `tokenId` from `from` to `to`. * As opposed to {transferFrom}, this imposes no restrictions on msg.sender. * * Requirements: * * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * * Emits a {Transfer} event. */ function _transfer( address from, address to, uint256 tokenId ) internal virtual { require( ERC721.ownerOf(tokenId) == from, "ERC721: transfer of token that is not own" ); require(to != address(0), "ERC721: transfer to the zero address"); _beforeTokenTransfer(from, to, tokenId); // Clear approvals from the previous owner _approve(address(0), tokenId); _owners[tokenId] = to; emit Transfer(from, to, tokenId); } /** * @dev Approve `to` to operate on `tokenId` * * Emits a {Approval} event. */ function _approve(address to, uint256 tokenId) internal virtual { _tokenApprovals[tokenId] = to; emit Approval(ERC721.ownerOf(tokenId), to, tokenId); } /** * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target address. * The call is not executed if the target address is not a contract. * * @param from address representing the previous owner of the given token ID * @param to target address that will receive the tokens * @param tokenId uint256 ID of the token to be transferred * @param _data bytes optional data to send along with the call * @return bool whether the call correctly returned the expected magic value */ function _checkOnERC721Received( address from, address to, uint256 tokenId, bytes memory _data ) private returns (bool) { if (to.isContract()) { try IERC721Receiver(to).onERC721Received( _msgSender(), from, tokenId, _data ) returns (bytes4 retval) { return retval == IERC721Receiver.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)) } } } } else { return true; } } /** * @dev Hook that is called before any token transfer. This includes minting * and burning. * * Calling conditions: * * - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, ``from``'s `tokenId` will be burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer( address from, address to, uint256 tokenId ) internal virtual {} } pragma solidity ^0.8.7; /** * @dev This implements an optional extension of {ERC721} defined in the EIP that adds * enumerability of all the token ids in the contract as well as all token ids owned by each * account but rips out the core of the gas-wasting processing that comes from OpenZeppelin. */ abstract contract ERC721Enumerable is ERC721, IERC721Enumerable { /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(IERC165, ERC721) returns (bool) { return interfaceId == type(IERC721Enumerable).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC721Enumerable-totalSupply}. */ function totalSupply() public view virtual override returns (uint256) { return _owners.length; } /** * @dev See {IERC721Enumerable-tokenByIndex}. */ function tokenByIndex(uint256 index) public view virtual override returns (uint256) { require(index < _owners.length, "ERC721Enumerable: global index out of bounds"); return index; } /** * @dev See {IERC721Enumerable-tokenOfOwnerByIndex}. */ function tokenOfOwnerByIndex(address owner, uint256 index) public view virtual override returns (uint256 tokenId) { require(index < balanceOf(owner), "ERC721Enumerable: owner index out of bounds"); uint count; for(uint i; i < _owners.length; i++){ if(owner == _owners[i]){ if(count == index) return i; else count++; } } revert("ERC721Enumerable: owner index out of bounds"); } } // OpenZeppelin Contracts v4.4.0 (access/Ownable.sol) pragma solidity ^0.8.0; /** * @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); } } pragma solidity ^0.8.11; pragma abicoder v2; // Twitter: https://twitter.com/wunksnft // Discord: https://discord.gg/WFYrEeT6Y9 // Website: https://wunks.xyz // Shoutout to @NFTChance for providing some amazing advice on gas optimized // contracts. Link: https://nftchance.medium.com/the-gas-efficient-way-of-building-and-launching-an-erc721-nft-project-for-2022-b3b1dac5f2e1 contract Wunks is ERC721Enumerable, Ownable, ReentrancyGuard { using SafeMath for uint256; mapping(address => uint256) private freeWunkAllowance; bool public saleIsActive = false; string public final_provenance = ""; address public proxyRegistryAddress; mapping(address => bool) public projectProxy; string public baseURI; uint256 public constant TOKEN_PRICE = 25000000000000000; // ""Be curious, not judgmental." - Walt Whitman" - Ted Lasso uint public constant MAX_TXN_WUNK_PURCHASE = 11; uint256 public constant MAX_WUNKS = 5109; uint256 public constant MAX_FREE_PER_USER_WUNKS = 6; uint256 public constant FREE_WUNKS = 533; // 6000 TOTAL SUPPLY. 924 TOTAL airdrops. 33 airdrops upfront. = 5109 constructor() ERC721("WunksV2", "WUNKSV2") { setBaseURI("https://blam.io/api/e73a28bc-cef7-4375-9a63-3698423b4c3d/token/"); proxyRegistryAddress = address(0xa5409ec958C83C3f309868babACA7c86DCB077c1); } function setProxyRegistryAddress(address _proxyRegistryAddress) external onlyOwner { proxyRegistryAddress = _proxyRegistryAddress; } function flipProxyState(address proxyAddress) public onlyOwner { projectProxy[proxyAddress] = !projectProxy[proxyAddress]; } function withdraw() public onlyOwner nonReentrant { uint256 balance = address(this).balance; require(balance > 0); (bool ownerSuccess, ) = _msgSender().call{value: address(this).balance}(""); require(ownerSuccess, "Failed to send to Owner."); } function setProvenanceHash(string memory provenanceHash) public onlyOwner { final_provenance = provenanceHash; } function setBaseURI(string memory _baseURI) public onlyOwner { baseURI = _baseURI; } function flipSaleState() public onlyOwner { saleIsActive = !saleIsActive; } function tokensOfOwner(address _owner) external view returns(uint256[] memory ) { uint256 tokenCount = balanceOf(_owner); if (tokenCount == 0) { // Return an empty array return new uint256[](0); } else { uint256[] memory result = new uint256[](tokenCount); uint256 index; for (index = 0; index < tokenCount; index++) { result[index] = tokenOfOwnerByIndex(_owner, index); } return result; } } function freeMint(uint numberOfTokens) public nonReentrant { require(saleIsActive, "Sale must be active to mint"); require(freeWunkAllowance[msg.sender].add(numberOfTokens) < MAX_FREE_PER_USER_WUNKS, "Your mint would exceed the total of 5 Wunks allowed for free."); require(totalSupply().add(numberOfTokens) < FREE_WUNKS, "Purchase would exceed free supply"); for(uint i = 0; i < numberOfTokens; i++) { _safeMint(msg.sender, totalSupply()); } freeWunkAllowance[msg.sender] += numberOfTokens; } function mintToken(uint numberOfTokens) public payable nonReentrant { require(saleIsActive, "Sale must be active to mint"); require(numberOfTokens > 0, "Must mint more than 0 tokens."); require(numberOfTokens < MAX_TXN_WUNK_PURCHASE, "You can only mint 10 Wunks per transaction."); require(totalSupply().add(numberOfTokens) < MAX_WUNKS, "Purchase would exceed max supply"); require(msg.value == TOKEN_PRICE.mul(numberOfTokens), "Ether value sent is not correct"); for(uint i = 0; i < numberOfTokens; i++) { _safeMint(msg.sender, totalSupply()); } } function tokenURI(uint256 _tokenId) external view returns (string memory) { require(_exists(_tokenId), "Token does not exist."); return string(abi.encodePacked(baseURI, Strings.toString(_tokenId))); } function isApprovedForAll(address _owner, address operator) public view override returns (bool) { OpenSeaProxyRegistry proxyRegistry = OpenSeaProxyRegistry(proxyRegistryAddress); if (address(proxyRegistry.proxies(_owner)) == operator || projectProxy[operator]) return true; return super.isApprovedForAll(_owner, operator); } function airdrop(address to, uint256[] calldata tokenIds) external onlyOwner { for (uint i = 0; i < tokenIds.length; i++) { _safeMint(to, tokenIds[i]); } } } contract OwnableDelegateProxy {} contract OpenSeaProxyRegistry { mapping(address => OwnableDelegateProxy) public proxies; }
{ "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":"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":"FREE_WUNKS","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_FREE_PER_USER_WUNKS","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_TXN_WUNK_PURCHASE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_WUNKS","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"TOKEN_PRICE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256[]","name":"tokenIds","type":"uint256[]"}],"name":"airdrop","outputs":[],"stateMutability":"nonpayable","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":"baseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"final_provenance","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"proxyAddress","type":"address"}],"name":"flipProxyState","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"flipSaleState","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"numberOfTokens","type":"uint256"}],"name":"freeMint","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":"address","name":"_owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"numberOfTokens","type":"uint256"}],"name":"mintToken","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"projectProxy","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"proxyRegistryAddress","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":[],"name":"saleIsActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_baseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"provenanceHash","type":"string"}],"name":"setProvenanceHash","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_proxyRegistryAddress","type":"address"}],"name":"setProxyRegistryAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"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":[{"internalType":"address","name":"_owner","type":"address"}],"name":"tokensOfOwner","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"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":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
6008805460ff1916905560a06040819052600060808190526200002591600991620001e5565b503480156200003357600080fd5b50604051806040016040528060078152602001662bbab735b9ab1960c91b815250604051806040016040528060078152602001662baaa725a9ab1960c91b81525081600090805190602001906200008c929190620001e5565b508051620000a2906001906020840190620001e5565b505050620000bf620000b96200011760201b60201c565b6200011b565b6001600681905550620000eb6040518060600160405280603f81526020016200299d603f91396200016d565b600a80546001600160a01b03191673a5409ec958c83c3f309868babaca7c86dcb077c1179055620002c8565b3390565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6005546001600160a01b03163314620001cc5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640160405180910390fd5b8051620001e190600c906020840190620001e5565b5050565b828054620001f3906200028b565b90600052602060002090601f01602090048101928262000217576000855562000262565b82601f106200023257805160ff191683800117855562000262565b8280016001018555821562000262579182015b828111156200026257825182559160200191906001019062000245565b506200027092915062000274565b5090565b5b8082111562000270576000815560010162000275565b600181811c90821680620002a057607f821691505b60208210811415620002c257634e487b7160e01b600052602260045260246000fd5b50919050565b6126c580620002d86000396000f3fe6080604052600436106102305760003560e01c8063715018a61161012e578063c634d032116100ab578063e985e9c51161006f578063e985e9c514610651578063eb8d244414610671578063f1d3bde01461068b578063f2fde38b146106a0578063f73c814b146106c057600080fd5b8063c634d032146105c3578063c87b56dd146105d6578063cd7c0326146105f6578063d26ea6c014610616578063d2d8cb671461063657600080fd5b806395d89b41116100f257806395d89b4114610543578063a22cb46514610558578063b2462be514610578578063b41c0e0a1461058d578063b88d4fde146105a357600080fd5b8063715018a6146104a35780637c928fe9146104b85780638462151c146104d857806385bc4d83146105055780638da5cb5b1461052557600080fd5b80632f745c59116101bc57806355f804b31161018057806355f804b3146103fe5780635bab26e21461041e5780636352211e1461044e5780636c0360eb1461046e57806370a082311461048357600080fd5b80632f745c591461037457806334918dfd146103945780633ccfd60b146103a957806342842e0e146103be5780634f6ccce7146103de57600080fd5b80630c319027116102035780630c319027146102e6578063109695231461030957806314e2933c1461032957806318160ddd1461033f57806323b872dd1461035457600080fd5b806301ffc9a71461023557806306fdde031461026a578063081812fc1461028c578063095ea7b3146102c4575b600080fd5b34801561024157600080fd5b50610255610250366004611f26565b6106e0565b60405190151581526020015b60405180910390f35b34801561027657600080fd5b5061027f61070b565b6040516102619190611f9b565b34801561029857600080fd5b506102ac6102a7366004611fae565b61079d565b6040516001600160a01b039091168152602001610261565b3480156102d057600080fd5b506102e46102df366004611fdc565b61082a565b005b3480156102f257600080fd5b506102fb600681565b604051908152602001610261565b34801561031557600080fd5b506102e4610324366004612094565b610940565b34801561033557600080fd5b506102fb6113f581565b34801561034b57600080fd5b506002546102fb565b34801561036057600080fd5b506102e461036f3660046120dd565b610981565b34801561038057600080fd5b506102fb61038f366004611fdc565b6109b2565b3480156103a057600080fd5b506102e4610a65565b3480156103b557600080fd5b506102e4610aa3565b3480156103ca57600080fd5b506102e46103d93660046120dd565b610ba1565b3480156103ea57600080fd5b506102fb6103f9366004611fae565b610bbc565b34801561040a57600080fd5b506102e4610419366004612094565b610c29565b34801561042a57600080fd5b5061025561043936600461211e565b600b6020526000908152604090205460ff1681565b34801561045a57600080fd5b506102ac610469366004611fae565b610c66565b34801561047a57600080fd5b5061027f610cf2565b34801561048f57600080fd5b506102fb61049e36600461211e565b610d80565b3480156104af57600080fd5b506102e4610e4e565b3480156104c457600080fd5b506102e46104d3366004611fae565b610e84565b3480156104e457600080fd5b506104f86104f336600461211e565b611057565b604051610261919061213b565b34801561051157600080fd5b506102e461052036600461217f565b611116565b34801561053157600080fd5b506005546001600160a01b03166102ac565b34801561054f57600080fd5b5061027f611185565b34801561056457600080fd5b506102e4610573366004612207565b611194565b34801561058457600080fd5b5061027f611259565b34801561059957600080fd5b506102fb61021581565b3480156105af57600080fd5b506102e46105be366004612245565b611266565b6102e46105d1366004611fae565b611298565b3480156105e257600080fd5b5061027f6105f1366004611fae565b6114ac565b34801561060257600080fd5b50600a546102ac906001600160a01b031681565b34801561062257600080fd5b506102e461063136600461211e565b61152d565b34801561064257600080fd5b506102fb6658d15e1762800081565b34801561065d57600080fd5b5061025561066c3660046122c5565b611579565b34801561067d57600080fd5b506008546102559060ff1681565b34801561069757600080fd5b506102fb600b81565b3480156106ac57600080fd5b506102e46106bb36600461211e565b61165d565b3480156106cc57600080fd5b506102e46106db36600461211e565b6116f8565b60006001600160e01b0319821663780e9d6360e01b148061070557506107058261174b565b92915050565b60606000805461071a906122f3565b80601f0160208091040260200160405190810160405280929190818152602001828054610746906122f3565b80156107935780601f1061076857610100808354040283529160200191610793565b820191906000526020600020905b81548152906001019060200180831161077657829003601f168201915b5050505050905090565b60006107a88261179b565b61080e5760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084015b60405180910390fd5b506000908152600360205260409020546001600160a01b031690565b600061083582610c66565b9050806001600160a01b0316836001600160a01b031614156108a35760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b6064820152608401610805565b336001600160a01b03821614806108bf57506108bf8133611579565b6109315760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c00000000000000006064820152608401610805565b61093b83836117e5565b505050565b6005546001600160a01b0316331461096a5760405162461bcd60e51b815260040161080590612328565b805161097d906009906020840190611e80565b5050565b61098b3382611853565b6109a75760405162461bcd60e51b81526004016108059061235d565b61093b838383611915565b60006109bd83610d80565b82106109db5760405162461bcd60e51b8152600401610805906123ae565b6000805b600254811015610a4c57600281815481106109fc576109fc6123f9565b6000918252602090912001546001600160a01b0386811691161415610a3a5783821415610a2c5791506107059050565b81610a3681612425565b9250505b80610a4481612425565b9150506109df565b5060405162461bcd60e51b8152600401610805906123ae565b6005546001600160a01b03163314610a8f5760405162461bcd60e51b815260040161080590612328565b6008805460ff19811660ff90911615179055565b6005546001600160a01b03163314610acd5760405162461bcd60e51b815260040161080590612328565b60026006541415610af05760405162461bcd60e51b815260040161080590612440565b60026006554780610b0057600080fd5b604051600090339047908381818185875af1925050503d8060008114610b42576040519150601f19603f3d011682016040523d82523d6000602084013e610b47565b606091505b5050905080610b985760405162461bcd60e51b815260206004820152601860248201527f4661696c656420746f2073656e6420746f204f776e65722e00000000000000006044820152606401610805565b50506001600655565b61093b83838360405180602001604052806000815250611266565b6002546000908210610c255760405162461bcd60e51b815260206004820152602c60248201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60448201526b7574206f6620626f756e647360a01b6064820152608401610805565b5090565b6005546001600160a01b03163314610c535760405162461bcd60e51b815260040161080590612328565b805161097d90600c906020840190611e80565b60008060028381548110610c7c57610c7c6123f9565b6000918252602090912001546001600160a01b03169050806107055760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201526832b73a103a37b5b2b760b91b6064820152608401610805565b600c8054610cff906122f3565b80601f0160208091040260200160405190810160405280929190818152602001828054610d2b906122f3565b8015610d785780601f10610d4d57610100808354040283529160200191610d78565b820191906000526020600020905b815481529060010190602001808311610d5b57829003601f168201915b505050505081565b60006001600160a01b038216610deb5760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b6064820152608401610805565b6000805b600254811015610e475760028181548110610e0c57610e0c6123f9565b6000918252602090912001546001600160a01b0385811691161415610e3757610e3482612425565b91505b610e4081612425565b9050610def565b5092915050565b6005546001600160a01b03163314610e785760405162461bcd60e51b815260040161080590612328565b610e826000611a6b565b565b60026006541415610ea75760405162461bcd60e51b815260040161080590612440565b600260065560085460ff16610efe5760405162461bcd60e51b815260206004820152601b60248201527f53616c65206d7573742062652061637469766520746f206d696e7400000000006044820152606401610805565b33600090815260076020526040902054600690610f1b9083611abd565b10610f8e5760405162461bcd60e51b815260206004820152603d60248201527f596f7572206d696e7420776f756c64206578636565642074686520746f74616c60448201527f206f6620352057756e6b7320616c6c6f77656420666f7220667265652e0000006064820152608401610805565b610215610fa482610f9e60025490565b90611abd565b10610ffb5760405162461bcd60e51b815260206004820152602160248201527f507572636861736520776f756c6420657863656564206672656520737570706c6044820152607960f81b6064820152608401610805565b60005b8181101561102a576110183361101360025490565b611ad0565b8061102281612425565b915050610ffe565b50336000908152600760205260408120805483929061104a908490612477565b9091555050600160065550565b6060600061106483610d80565b9050806110855760408051600080825260208201909252905b509392505050565b60008167ffffffffffffffff8111156110a0576110a0612008565b6040519080825280602002602001820160405280156110c9578160200160208202803683370190505b50905060005b8281101561107d576110e185826109b2565b8282815181106110f3576110f36123f9565b60209081029190910101528061110881612425565b9150506110cf565b50919050565b6005546001600160a01b031633146111405760405162461bcd60e51b815260040161080590612328565b60005b8181101561117f5761116d84848484818110611161576111616123f9565b90506020020135611ad0565b8061117781612425565b915050611143565b50505050565b60606001805461071a906122f3565b6001600160a01b0382163314156111ed5760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c6572000000000000006044820152606401610805565b3360008181526004602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b60098054610cff906122f3565b6112703383611853565b61128c5760405162461bcd60e51b81526004016108059061235d565b61117f84848484611aea565b600260065414156112bb5760405162461bcd60e51b815260040161080590612440565b600260065560085460ff166113125760405162461bcd60e51b815260206004820152601b60248201527f53616c65206d7573742062652061637469766520746f206d696e7400000000006044820152606401610805565b600081116113625760405162461bcd60e51b815260206004820152601d60248201527f4d757374206d696e74206d6f7265207468616e203020746f6b656e732e0000006044820152606401610805565b600b81106113c65760405162461bcd60e51b815260206004820152602b60248201527f596f752063616e206f6e6c79206d696e742031302057756e6b7320706572207460448201526a3930b739b0b1ba34b7b71760a91b6064820152608401610805565b6113f56113d682610f9e60025490565b106114235760405162461bcd60e51b815260206004820181905260248201527f507572636861736520776f756c6420657863656564206d617820737570706c796044820152606401610805565b6114346658d15e1762800082611b1d565b34146114825760405162461bcd60e51b815260206004820152601f60248201527f45746865722076616c75652073656e74206973206e6f7420636f7272656374006044820152606401610805565b60005b81811015610b985761149a3361101360025490565b806114a481612425565b915050611485565b60606114b78261179b565b6114fb5760405162461bcd60e51b81526020600482015260156024820152742a37b5b2b7103237b2b9903737ba1032bc34b9ba1760591b6044820152606401610805565b600c61150683611b29565b6040516020016115179291906124ab565b6040516020818303038152906040529050919050565b6005546001600160a01b031633146115575760405162461bcd60e51b815260040161080590612328565b600a80546001600160a01b0319166001600160a01b0392909216919091179055565b600a5460405163c455279160e01b81526001600160a01b03848116600483015260009281169190841690829063c455279190602401602060405180830381865afa1580156115cb573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115ef9190612552565b6001600160a01b0316148061161c57506001600160a01b0383166000908152600b602052604090205460ff165b1561162b576001915050610705565b6001600160a01b0380851660009081526004602090815260408083209387168352929052205460ff165b949350505050565b6005546001600160a01b031633146116875760405162461bcd60e51b815260040161080590612328565b6001600160a01b0381166116ec5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610805565b6116f581611a6b565b50565b6005546001600160a01b031633146117225760405162461bcd60e51b815260040161080590612328565b6001600160a01b03166000908152600b60205260409020805460ff19811660ff90911615179055565b60006001600160e01b031982166380ac58cd60e01b148061177c57506001600160e01b03198216635b5e139f60e01b145b8061070557506301ffc9a760e01b6001600160e01b0319831614610705565b60025460009082108015610705575060006001600160a01b0316600283815481106117c8576117c86123f9565b6000918252602090912001546001600160a01b0316141592915050565b600081815260036020526040902080546001600160a01b0319166001600160a01b038416908117909155819061181a82610c66565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600061185e8261179b565b6118bf5760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b6064820152608401610805565b60006118ca83610c66565b9050806001600160a01b0316846001600160a01b031614806119055750836001600160a01b03166118fa8461079d565b6001600160a01b0316145b8061165557506116558185611579565b826001600160a01b031661192882610c66565b6001600160a01b0316146119905760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201526839903737ba1037bbb760b91b6064820152608401610805565b6001600160a01b0382166119f25760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b6064820152608401610805565b6119fd6000826117e5565b8160028281548110611a1157611a116123f9565b6000918252602082200180546001600160a01b0319166001600160a01b03938416179055604051839285811692908716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9190a4505050565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6000611ac98284612477565b9392505050565b61097d828260405180602001604052806000815250611c27565b611af5848484611915565b611b0184848484611c5a565b61117f5760405162461bcd60e51b81526004016108059061256f565b6000611ac982846125c1565b606081611b4d5750506040805180820190915260018152600360fc1b602082015290565b8160005b8115611b775780611b6181612425565b9150611b709050600a836125f6565b9150611b51565b60008167ffffffffffffffff811115611b9257611b92612008565b6040519080825280601f01601f191660200182016040528015611bbc576020820181803683370190505b5090505b841561165557611bd160018361260a565b9150611bde600a86612621565b611be9906030612477565b60f81b818381518110611bfe57611bfe6123f9565b60200101906001600160f81b031916908160001a905350611c20600a866125f6565b9450611bc0565b611c318383611d58565b611c3e6000848484611c5a565b61093b5760405162461bcd60e51b81526004016108059061256f565b60006001600160a01b0384163b15611d4d57604051630a85bd0160e11b81526001600160a01b0385169063150b7a0290611c9e903390899088908890600401612635565b6020604051808303816000875af1925050508015611cd9575060408051601f3d908101601f19168201909252611cd691810190612672565b60015b611d33573d808015611d07576040519150601f19603f3d011682016040523d82523d6000602084013e611d0c565b606091505b508051611d2b5760405162461bcd60e51b81526004016108059061256f565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050611655565b506001949350505050565b6001600160a01b038216611dae5760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f20616464726573736044820152606401610805565b611db78161179b565b15611e045760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606401610805565b6002805460018101825560009182527f405787fa12a823e0f2b7631cc41b3ba8828b3321ca811111fa75cd3aa3bb5ace0180546001600160a01b0319166001600160a01b0385169081179091556040518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b828054611e8c906122f3565b90600052602060002090601f016020900481019282611eae5760008555611ef4565b82601f10611ec757805160ff1916838001178555611ef4565b82800160010185558215611ef4579182015b82811115611ef4578251825591602001919060010190611ed9565b50610c259291505b80821115610c255760008155600101611efc565b6001600160e01b0319811681146116f557600080fd5b600060208284031215611f3857600080fd5b8135611ac981611f10565b60005b83811015611f5e578181015183820152602001611f46565b8381111561117f5750506000910152565b60008151808452611f87816020860160208601611f43565b601f01601f19169290920160200192915050565b602081526000611ac96020830184611f6f565b600060208284031215611fc057600080fd5b5035919050565b6001600160a01b03811681146116f557600080fd5b60008060408385031215611fef57600080fd5b8235611ffa81611fc7565b946020939093013593505050565b634e487b7160e01b600052604160045260246000fd5b600067ffffffffffffffff8084111561203957612039612008565b604051601f8501601f19908116603f0116810190828211818310171561206157612061612008565b8160405280935085815286868601111561207a57600080fd5b858560208301376000602087830101525050509392505050565b6000602082840312156120a657600080fd5b813567ffffffffffffffff8111156120bd57600080fd5b8201601f810184136120ce57600080fd5b6116558482356020840161201e565b6000806000606084860312156120f257600080fd5b83356120fd81611fc7565b9250602084013561210d81611fc7565b929592945050506040919091013590565b60006020828403121561213057600080fd5b8135611ac981611fc7565b6020808252825182820181905260009190848201906040850190845b8181101561217357835183529284019291840191600101612157565b50909695505050505050565b60008060006040848603121561219457600080fd5b833561219f81611fc7565b9250602084013567ffffffffffffffff808211156121bc57600080fd5b818601915086601f8301126121d057600080fd5b8135818111156121df57600080fd5b8760208260051b85010111156121f457600080fd5b6020830194508093505050509250925092565b6000806040838503121561221a57600080fd5b823561222581611fc7565b91506020830135801515811461223a57600080fd5b809150509250929050565b6000806000806080858703121561225b57600080fd5b843561226681611fc7565b9350602085013561227681611fc7565b925060408501359150606085013567ffffffffffffffff81111561229957600080fd5b8501601f810187136122aa57600080fd5b6122b98782356020840161201e565b91505092959194509250565b600080604083850312156122d857600080fd5b82356122e381611fc7565b9150602083013561223a81611fc7565b600181811c9082168061230757607f821691505b6020821081141561111057634e487b7160e01b600052602260045260246000fd5b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b6020808252602b908201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560408201526a74206f6620626f756e647360a81b606082015260800190565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b60006000198214156124395761243961240f565b5060010190565b6020808252601f908201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604082015260600190565b6000821982111561248a5761248a61240f565b500190565b600081516124a1818560208601611f43565b9290920192915050565b600080845481600182811c9150808316806124c757607f831692505b60208084108214156124e757634e487b7160e01b86526022600452602486fd5b8180156124fb576001811461250c57612539565b60ff19861689528489019650612539565b60008b81526020902060005b868110156125315781548b820152908501908301612518565b505084890196505b505050505050612549818561248f565b95945050505050565b60006020828403121561256457600080fd5b8151611ac981611fc7565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b60008160001904831182151516156125db576125db61240f565b500290565b634e487b7160e01b600052601260045260246000fd5b600082612605576126056125e0565b500490565b60008282101561261c5761261c61240f565b500390565b600082612630576126306125e0565b500690565b6001600160a01b038581168252841660208201526040810183905260806060820181905260009061266890830184611f6f565b9695505050505050565b60006020828403121561268457600080fd5b8151611ac981611f1056fea2646970667358221220d745542a948167c70d982d0251fa6a736fb20115553f14b23c733c500b52c21364736f6c634300080b003368747470733a2f2f626c616d2e696f2f6170692f65373361323862632d636566372d343337352d396136332d3336393834323362346333642f746f6b656e2f
Deployed Bytecode
0x6080604052600436106102305760003560e01c8063715018a61161012e578063c634d032116100ab578063e985e9c51161006f578063e985e9c514610651578063eb8d244414610671578063f1d3bde01461068b578063f2fde38b146106a0578063f73c814b146106c057600080fd5b8063c634d032146105c3578063c87b56dd146105d6578063cd7c0326146105f6578063d26ea6c014610616578063d2d8cb671461063657600080fd5b806395d89b41116100f257806395d89b4114610543578063a22cb46514610558578063b2462be514610578578063b41c0e0a1461058d578063b88d4fde146105a357600080fd5b8063715018a6146104a35780637c928fe9146104b85780638462151c146104d857806385bc4d83146105055780638da5cb5b1461052557600080fd5b80632f745c59116101bc57806355f804b31161018057806355f804b3146103fe5780635bab26e21461041e5780636352211e1461044e5780636c0360eb1461046e57806370a082311461048357600080fd5b80632f745c591461037457806334918dfd146103945780633ccfd60b146103a957806342842e0e146103be5780634f6ccce7146103de57600080fd5b80630c319027116102035780630c319027146102e6578063109695231461030957806314e2933c1461032957806318160ddd1461033f57806323b872dd1461035457600080fd5b806301ffc9a71461023557806306fdde031461026a578063081812fc1461028c578063095ea7b3146102c4575b600080fd5b34801561024157600080fd5b50610255610250366004611f26565b6106e0565b60405190151581526020015b60405180910390f35b34801561027657600080fd5b5061027f61070b565b6040516102619190611f9b565b34801561029857600080fd5b506102ac6102a7366004611fae565b61079d565b6040516001600160a01b039091168152602001610261565b3480156102d057600080fd5b506102e46102df366004611fdc565b61082a565b005b3480156102f257600080fd5b506102fb600681565b604051908152602001610261565b34801561031557600080fd5b506102e4610324366004612094565b610940565b34801561033557600080fd5b506102fb6113f581565b34801561034b57600080fd5b506002546102fb565b34801561036057600080fd5b506102e461036f3660046120dd565b610981565b34801561038057600080fd5b506102fb61038f366004611fdc565b6109b2565b3480156103a057600080fd5b506102e4610a65565b3480156103b557600080fd5b506102e4610aa3565b3480156103ca57600080fd5b506102e46103d93660046120dd565b610ba1565b3480156103ea57600080fd5b506102fb6103f9366004611fae565b610bbc565b34801561040a57600080fd5b506102e4610419366004612094565b610c29565b34801561042a57600080fd5b5061025561043936600461211e565b600b6020526000908152604090205460ff1681565b34801561045a57600080fd5b506102ac610469366004611fae565b610c66565b34801561047a57600080fd5b5061027f610cf2565b34801561048f57600080fd5b506102fb61049e36600461211e565b610d80565b3480156104af57600080fd5b506102e4610e4e565b3480156104c457600080fd5b506102e46104d3366004611fae565b610e84565b3480156104e457600080fd5b506104f86104f336600461211e565b611057565b604051610261919061213b565b34801561051157600080fd5b506102e461052036600461217f565b611116565b34801561053157600080fd5b506005546001600160a01b03166102ac565b34801561054f57600080fd5b5061027f611185565b34801561056457600080fd5b506102e4610573366004612207565b611194565b34801561058457600080fd5b5061027f611259565b34801561059957600080fd5b506102fb61021581565b3480156105af57600080fd5b506102e46105be366004612245565b611266565b6102e46105d1366004611fae565b611298565b3480156105e257600080fd5b5061027f6105f1366004611fae565b6114ac565b34801561060257600080fd5b50600a546102ac906001600160a01b031681565b34801561062257600080fd5b506102e461063136600461211e565b61152d565b34801561064257600080fd5b506102fb6658d15e1762800081565b34801561065d57600080fd5b5061025561066c3660046122c5565b611579565b34801561067d57600080fd5b506008546102559060ff1681565b34801561069757600080fd5b506102fb600b81565b3480156106ac57600080fd5b506102e46106bb36600461211e565b61165d565b3480156106cc57600080fd5b506102e46106db36600461211e565b6116f8565b60006001600160e01b0319821663780e9d6360e01b148061070557506107058261174b565b92915050565b60606000805461071a906122f3565b80601f0160208091040260200160405190810160405280929190818152602001828054610746906122f3565b80156107935780601f1061076857610100808354040283529160200191610793565b820191906000526020600020905b81548152906001019060200180831161077657829003601f168201915b5050505050905090565b60006107a88261179b565b61080e5760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084015b60405180910390fd5b506000908152600360205260409020546001600160a01b031690565b600061083582610c66565b9050806001600160a01b0316836001600160a01b031614156108a35760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b6064820152608401610805565b336001600160a01b03821614806108bf57506108bf8133611579565b6109315760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c00000000000000006064820152608401610805565b61093b83836117e5565b505050565b6005546001600160a01b0316331461096a5760405162461bcd60e51b815260040161080590612328565b805161097d906009906020840190611e80565b5050565b61098b3382611853565b6109a75760405162461bcd60e51b81526004016108059061235d565b61093b838383611915565b60006109bd83610d80565b82106109db5760405162461bcd60e51b8152600401610805906123ae565b6000805b600254811015610a4c57600281815481106109fc576109fc6123f9565b6000918252602090912001546001600160a01b0386811691161415610a3a5783821415610a2c5791506107059050565b81610a3681612425565b9250505b80610a4481612425565b9150506109df565b5060405162461bcd60e51b8152600401610805906123ae565b6005546001600160a01b03163314610a8f5760405162461bcd60e51b815260040161080590612328565b6008805460ff19811660ff90911615179055565b6005546001600160a01b03163314610acd5760405162461bcd60e51b815260040161080590612328565b60026006541415610af05760405162461bcd60e51b815260040161080590612440565b60026006554780610b0057600080fd5b604051600090339047908381818185875af1925050503d8060008114610b42576040519150601f19603f3d011682016040523d82523d6000602084013e610b47565b606091505b5050905080610b985760405162461bcd60e51b815260206004820152601860248201527f4661696c656420746f2073656e6420746f204f776e65722e00000000000000006044820152606401610805565b50506001600655565b61093b83838360405180602001604052806000815250611266565b6002546000908210610c255760405162461bcd60e51b815260206004820152602c60248201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60448201526b7574206f6620626f756e647360a01b6064820152608401610805565b5090565b6005546001600160a01b03163314610c535760405162461bcd60e51b815260040161080590612328565b805161097d90600c906020840190611e80565b60008060028381548110610c7c57610c7c6123f9565b6000918252602090912001546001600160a01b03169050806107055760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201526832b73a103a37b5b2b760b91b6064820152608401610805565b600c8054610cff906122f3565b80601f0160208091040260200160405190810160405280929190818152602001828054610d2b906122f3565b8015610d785780601f10610d4d57610100808354040283529160200191610d78565b820191906000526020600020905b815481529060010190602001808311610d5b57829003601f168201915b505050505081565b60006001600160a01b038216610deb5760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b6064820152608401610805565b6000805b600254811015610e475760028181548110610e0c57610e0c6123f9565b6000918252602090912001546001600160a01b0385811691161415610e3757610e3482612425565b91505b610e4081612425565b9050610def565b5092915050565b6005546001600160a01b03163314610e785760405162461bcd60e51b815260040161080590612328565b610e826000611a6b565b565b60026006541415610ea75760405162461bcd60e51b815260040161080590612440565b600260065560085460ff16610efe5760405162461bcd60e51b815260206004820152601b60248201527f53616c65206d7573742062652061637469766520746f206d696e7400000000006044820152606401610805565b33600090815260076020526040902054600690610f1b9083611abd565b10610f8e5760405162461bcd60e51b815260206004820152603d60248201527f596f7572206d696e7420776f756c64206578636565642074686520746f74616c60448201527f206f6620352057756e6b7320616c6c6f77656420666f7220667265652e0000006064820152608401610805565b610215610fa482610f9e60025490565b90611abd565b10610ffb5760405162461bcd60e51b815260206004820152602160248201527f507572636861736520776f756c6420657863656564206672656520737570706c6044820152607960f81b6064820152608401610805565b60005b8181101561102a576110183361101360025490565b611ad0565b8061102281612425565b915050610ffe565b50336000908152600760205260408120805483929061104a908490612477565b9091555050600160065550565b6060600061106483610d80565b9050806110855760408051600080825260208201909252905b509392505050565b60008167ffffffffffffffff8111156110a0576110a0612008565b6040519080825280602002602001820160405280156110c9578160200160208202803683370190505b50905060005b8281101561107d576110e185826109b2565b8282815181106110f3576110f36123f9565b60209081029190910101528061110881612425565b9150506110cf565b50919050565b6005546001600160a01b031633146111405760405162461bcd60e51b815260040161080590612328565b60005b8181101561117f5761116d84848484818110611161576111616123f9565b90506020020135611ad0565b8061117781612425565b915050611143565b50505050565b60606001805461071a906122f3565b6001600160a01b0382163314156111ed5760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c6572000000000000006044820152606401610805565b3360008181526004602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b60098054610cff906122f3565b6112703383611853565b61128c5760405162461bcd60e51b81526004016108059061235d565b61117f84848484611aea565b600260065414156112bb5760405162461bcd60e51b815260040161080590612440565b600260065560085460ff166113125760405162461bcd60e51b815260206004820152601b60248201527f53616c65206d7573742062652061637469766520746f206d696e7400000000006044820152606401610805565b600081116113625760405162461bcd60e51b815260206004820152601d60248201527f4d757374206d696e74206d6f7265207468616e203020746f6b656e732e0000006044820152606401610805565b600b81106113c65760405162461bcd60e51b815260206004820152602b60248201527f596f752063616e206f6e6c79206d696e742031302057756e6b7320706572207460448201526a3930b739b0b1ba34b7b71760a91b6064820152608401610805565b6113f56113d682610f9e60025490565b106114235760405162461bcd60e51b815260206004820181905260248201527f507572636861736520776f756c6420657863656564206d617820737570706c796044820152606401610805565b6114346658d15e1762800082611b1d565b34146114825760405162461bcd60e51b815260206004820152601f60248201527f45746865722076616c75652073656e74206973206e6f7420636f7272656374006044820152606401610805565b60005b81811015610b985761149a3361101360025490565b806114a481612425565b915050611485565b60606114b78261179b565b6114fb5760405162461bcd60e51b81526020600482015260156024820152742a37b5b2b7103237b2b9903737ba1032bc34b9ba1760591b6044820152606401610805565b600c61150683611b29565b6040516020016115179291906124ab565b6040516020818303038152906040529050919050565b6005546001600160a01b031633146115575760405162461bcd60e51b815260040161080590612328565b600a80546001600160a01b0319166001600160a01b0392909216919091179055565b600a5460405163c455279160e01b81526001600160a01b03848116600483015260009281169190841690829063c455279190602401602060405180830381865afa1580156115cb573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115ef9190612552565b6001600160a01b0316148061161c57506001600160a01b0383166000908152600b602052604090205460ff165b1561162b576001915050610705565b6001600160a01b0380851660009081526004602090815260408083209387168352929052205460ff165b949350505050565b6005546001600160a01b031633146116875760405162461bcd60e51b815260040161080590612328565b6001600160a01b0381166116ec5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610805565b6116f581611a6b565b50565b6005546001600160a01b031633146117225760405162461bcd60e51b815260040161080590612328565b6001600160a01b03166000908152600b60205260409020805460ff19811660ff90911615179055565b60006001600160e01b031982166380ac58cd60e01b148061177c57506001600160e01b03198216635b5e139f60e01b145b8061070557506301ffc9a760e01b6001600160e01b0319831614610705565b60025460009082108015610705575060006001600160a01b0316600283815481106117c8576117c86123f9565b6000918252602090912001546001600160a01b0316141592915050565b600081815260036020526040902080546001600160a01b0319166001600160a01b038416908117909155819061181a82610c66565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600061185e8261179b565b6118bf5760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b6064820152608401610805565b60006118ca83610c66565b9050806001600160a01b0316846001600160a01b031614806119055750836001600160a01b03166118fa8461079d565b6001600160a01b0316145b8061165557506116558185611579565b826001600160a01b031661192882610c66565b6001600160a01b0316146119905760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201526839903737ba1037bbb760b91b6064820152608401610805565b6001600160a01b0382166119f25760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b6064820152608401610805565b6119fd6000826117e5565b8160028281548110611a1157611a116123f9565b6000918252602082200180546001600160a01b0319166001600160a01b03938416179055604051839285811692908716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9190a4505050565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6000611ac98284612477565b9392505050565b61097d828260405180602001604052806000815250611c27565b611af5848484611915565b611b0184848484611c5a565b61117f5760405162461bcd60e51b81526004016108059061256f565b6000611ac982846125c1565b606081611b4d5750506040805180820190915260018152600360fc1b602082015290565b8160005b8115611b775780611b6181612425565b9150611b709050600a836125f6565b9150611b51565b60008167ffffffffffffffff811115611b9257611b92612008565b6040519080825280601f01601f191660200182016040528015611bbc576020820181803683370190505b5090505b841561165557611bd160018361260a565b9150611bde600a86612621565b611be9906030612477565b60f81b818381518110611bfe57611bfe6123f9565b60200101906001600160f81b031916908160001a905350611c20600a866125f6565b9450611bc0565b611c318383611d58565b611c3e6000848484611c5a565b61093b5760405162461bcd60e51b81526004016108059061256f565b60006001600160a01b0384163b15611d4d57604051630a85bd0160e11b81526001600160a01b0385169063150b7a0290611c9e903390899088908890600401612635565b6020604051808303816000875af1925050508015611cd9575060408051601f3d908101601f19168201909252611cd691810190612672565b60015b611d33573d808015611d07576040519150601f19603f3d011682016040523d82523d6000602084013e611d0c565b606091505b508051611d2b5760405162461bcd60e51b81526004016108059061256f565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050611655565b506001949350505050565b6001600160a01b038216611dae5760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f20616464726573736044820152606401610805565b611db78161179b565b15611e045760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606401610805565b6002805460018101825560009182527f405787fa12a823e0f2b7631cc41b3ba8828b3321ca811111fa75cd3aa3bb5ace0180546001600160a01b0319166001600160a01b0385169081179091556040518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b828054611e8c906122f3565b90600052602060002090601f016020900481019282611eae5760008555611ef4565b82601f10611ec757805160ff1916838001178555611ef4565b82800160010185558215611ef4579182015b82811115611ef4578251825591602001919060010190611ed9565b50610c259291505b80821115610c255760008155600101611efc565b6001600160e01b0319811681146116f557600080fd5b600060208284031215611f3857600080fd5b8135611ac981611f10565b60005b83811015611f5e578181015183820152602001611f46565b8381111561117f5750506000910152565b60008151808452611f87816020860160208601611f43565b601f01601f19169290920160200192915050565b602081526000611ac96020830184611f6f565b600060208284031215611fc057600080fd5b5035919050565b6001600160a01b03811681146116f557600080fd5b60008060408385031215611fef57600080fd5b8235611ffa81611fc7565b946020939093013593505050565b634e487b7160e01b600052604160045260246000fd5b600067ffffffffffffffff8084111561203957612039612008565b604051601f8501601f19908116603f0116810190828211818310171561206157612061612008565b8160405280935085815286868601111561207a57600080fd5b858560208301376000602087830101525050509392505050565b6000602082840312156120a657600080fd5b813567ffffffffffffffff8111156120bd57600080fd5b8201601f810184136120ce57600080fd5b6116558482356020840161201e565b6000806000606084860312156120f257600080fd5b83356120fd81611fc7565b9250602084013561210d81611fc7565b929592945050506040919091013590565b60006020828403121561213057600080fd5b8135611ac981611fc7565b6020808252825182820181905260009190848201906040850190845b8181101561217357835183529284019291840191600101612157565b50909695505050505050565b60008060006040848603121561219457600080fd5b833561219f81611fc7565b9250602084013567ffffffffffffffff808211156121bc57600080fd5b818601915086601f8301126121d057600080fd5b8135818111156121df57600080fd5b8760208260051b85010111156121f457600080fd5b6020830194508093505050509250925092565b6000806040838503121561221a57600080fd5b823561222581611fc7565b91506020830135801515811461223a57600080fd5b809150509250929050565b6000806000806080858703121561225b57600080fd5b843561226681611fc7565b9350602085013561227681611fc7565b925060408501359150606085013567ffffffffffffffff81111561229957600080fd5b8501601f810187136122aa57600080fd5b6122b98782356020840161201e565b91505092959194509250565b600080604083850312156122d857600080fd5b82356122e381611fc7565b9150602083013561223a81611fc7565b600181811c9082168061230757607f821691505b6020821081141561111057634e487b7160e01b600052602260045260246000fd5b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b6020808252602b908201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560408201526a74206f6620626f756e647360a81b606082015260800190565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b60006000198214156124395761243961240f565b5060010190565b6020808252601f908201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604082015260600190565b6000821982111561248a5761248a61240f565b500190565b600081516124a1818560208601611f43565b9290920192915050565b600080845481600182811c9150808316806124c757607f831692505b60208084108214156124e757634e487b7160e01b86526022600452602486fd5b8180156124fb576001811461250c57612539565b60ff19861689528489019650612539565b60008b81526020902060005b868110156125315781548b820152908501908301612518565b505084890196505b505050505050612549818561248f565b95945050505050565b60006020828403121561256457600080fd5b8151611ac981611fc7565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b60008160001904831182151516156125db576125db61240f565b500290565b634e487b7160e01b600052601260045260246000fd5b600082612605576126056125e0565b500490565b60008282101561261c5761261c61240f565b500390565b600082612630576126306125e0565b500690565b6001600160a01b038581168252841660208201526040810183905260806060820181905260009061266890830184611f6f565b9695505050505050565b60006020828403121561268457600080fd5b8151611ac981611f1056fea2646970667358221220d745542a948167c70d982d0251fa6a736fb20115553f14b23c733c500b52c21364736f6c634300080b0033
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.