Feature Tip: Add private address tag to any address under My Name Tag !
ERC-721
Overview
Max Total Supply
1,000 EGIRL
Holders
74
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
5 EGIRLLoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
UkiyoeGirl
Compiler Version
v0.8.15+commit.e14f2714
Optimization Enabled:
Yes with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: AGPL-3.0-only pragma solidity ^0.8.10; import "./LilOwnable.sol"; import "solmate/tokens/ERC721.sol"; import "solmate/utils/SafeTransferLib.sol"; import "@openzeppelin/contracts/utils/Strings.sol"; import "@openzeppelin/contracts/token/ERC721/IERC721.sol"; error DoesNotExist(); contract UkiyoeGirl is ERC721, LilOwnable { using Strings for *; uint256 public constant TOTAL_SUPPLY = 1000; uint256 public totalSupply; uint16 public constant MAX_MINT_PER_WALLET = 60; uint16 public constant BULK_BUY_LIMIT = 20; string public baseURI; bool public isMintPaused = true; bool public isPepeHolderMintPaused = true; IERC721 public immutable ukiyoPepeAddress; mapping(address => uint256) public minted; constructor( string memory name, string memory symbol, string memory _baseURI, address _ukiyoPepeAddress ) ERC721(name, symbol) { baseURI = _baseURI; ukiyoPepeAddress = IERC721(_ukiyoPepeAddress); } modifier onlyOwner { require (msg.sender == _owner, "You are not the owner"); _; } modifier isUkiyoPepeHolder { require (ukiyoPepeAddress.balanceOf(msg.sender) >= 1, "You don't hold UkiyoPepe"); _; } function ukiyoPepeHolderMint(uint16 amount) external isUkiyoPepeHolder { require(amount <= BULK_BUY_LIMIT, "Can not mint more than 20 in one transaction."); require(totalSupply + amount <= TOTAL_SUPPLY, "Total supply already minted"); require(isPepeHolderMintPaused == false, "UkiyoPepe holder mint is paused."); require (minted[msg.sender] + amount <= MAX_MINT_PER_WALLET, "mint: You can't mint more than 60 per wallet."); unchecked { for (uint16 index = 0; index < amount; index++) { _mint(msg.sender, totalSupply++); } } minted[msg.sender] += amount; } function publicMint(uint16 amount) external { require(amount <= BULK_BUY_LIMIT, "Can not mint more than 20 in one transaction."); require(totalSupply + amount <= TOTAL_SUPPLY, "Total supply already minted"); require(isMintPaused == false, "Public mint is paused"); require (minted[msg.sender] + amount <= MAX_MINT_PER_WALLET, "mint: You can't mint more than 60 per wallet."); unchecked { for (uint16 index = 0; index < amount; index++) { _mint(msg.sender, totalSupply++); } } minted[msg.sender] += amount; } function tokenURI(uint256 id) public view override returns (string memory) { if (ownerOf(id) == address(0)) revert DoesNotExist(); // return string(abi.encodePacked(baseURI, id, ".json")); return string(abi.encodePacked(baseURI, '/', id.toString(), '.json')); } function setBaseURI(string memory newBaseURI) external onlyOwner { baseURI = newBaseURI; } function withdraw() external onlyOwner { SafeTransferLib.safeTransferETH(msg.sender, address(this).balance); } function pausePepeHolderMint() external onlyOwner { isPepeHolderMintPaused = true; } function unpausePepeHolderMint() external onlyOwner { isPepeHolderMintPaused = false; } function pauseMint() external onlyOwner { isMintPaused = true; } function unpauseMint() external onlyOwner{ isMintPaused = false; } function supportsInterface(bytes4 interfaceId) public pure override(ERC721, LilOwnable) returns (bool) { return interfaceId == 0x7f5828d0 || // ERC165 Interface ID for ERC173 interfaceId == 0x80ac58cd || // ERC165 Interface ID for ERC721 interfaceId == 0x5b5e139f || // ERC165 Interface ID for ERC165 interfaceId == 0x01ffc9a7; // ERC165 Interface ID for ERC721Metadata } }
// 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 (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 (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); } } }
// SPDX-License-Identifier: AGPL-3.0-only pragma solidity >=0.8.0; /// @notice Modern and gas efficient ERC20 + EIP-2612 implementation. /// @author Solmate (https://github.com/transmissions11/solmate/blob/main/src/tokens/ERC20.sol) /// @author Modified from Uniswap (https://github.com/Uniswap/uniswap-v2-core/blob/master/contracts/UniswapV2ERC20.sol) /// @dev Do not manually set balances without updating totalSupply, as the sum of all user balances must not exceed it. abstract contract ERC20 { /*////////////////////////////////////////////////////////////// EVENTS //////////////////////////////////////////////////////////////*/ event Transfer(address indexed from, address indexed to, uint256 amount); event Approval(address indexed owner, address indexed spender, uint256 amount); /*////////////////////////////////////////////////////////////// METADATA STORAGE //////////////////////////////////////////////////////////////*/ string public name; string public symbol; uint8 public immutable decimals; /*////////////////////////////////////////////////////////////// ERC20 STORAGE //////////////////////////////////////////////////////////////*/ uint256 public totalSupply; mapping(address => uint256) public balanceOf; mapping(address => mapping(address => uint256)) public allowance; /*////////////////////////////////////////////////////////////// EIP-2612 STORAGE //////////////////////////////////////////////////////////////*/ uint256 internal immutable INITIAL_CHAIN_ID; bytes32 internal immutable INITIAL_DOMAIN_SEPARATOR; mapping(address => uint256) public nonces; /*////////////////////////////////////////////////////////////// CONSTRUCTOR //////////////////////////////////////////////////////////////*/ constructor( string memory _name, string memory _symbol, uint8 _decimals ) { name = _name; symbol = _symbol; decimals = _decimals; INITIAL_CHAIN_ID = block.chainid; INITIAL_DOMAIN_SEPARATOR = computeDomainSeparator(); } /*////////////////////////////////////////////////////////////// ERC20 LOGIC //////////////////////////////////////////////////////////////*/ function approve(address spender, uint256 amount) public virtual returns (bool) { allowance[msg.sender][spender] = amount; emit Approval(msg.sender, spender, amount); return true; } function transfer(address to, uint256 amount) public virtual returns (bool) { balanceOf[msg.sender] -= amount; // Cannot overflow because the sum of all user // balances can't exceed the max uint256 value. unchecked { balanceOf[to] += amount; } emit Transfer(msg.sender, to, amount); return true; } function transferFrom( address from, address to, uint256 amount ) public virtual returns (bool) { uint256 allowed = allowance[from][msg.sender]; // Saves gas for limited approvals. if (allowed != type(uint256).max) allowance[from][msg.sender] = allowed - amount; balanceOf[from] -= amount; // Cannot overflow because the sum of all user // balances can't exceed the max uint256 value. unchecked { balanceOf[to] += amount; } emit Transfer(from, to, amount); return true; } /*////////////////////////////////////////////////////////////// EIP-2612 LOGIC //////////////////////////////////////////////////////////////*/ function permit( address owner, address spender, uint256 value, uint256 deadline, uint8 v, bytes32 r, bytes32 s ) public virtual { require(deadline >= block.timestamp, "PERMIT_DEADLINE_EXPIRED"); // Unchecked because the only math done is incrementing // the owner's nonce which cannot realistically overflow. unchecked { address recoveredAddress = ecrecover( keccak256( abi.encodePacked( "\x19\x01", DOMAIN_SEPARATOR(), keccak256( abi.encode( keccak256( "Permit(address owner,address spender,uint256 value,uint256 nonce,uint256 deadline)" ), owner, spender, value, nonces[owner]++, deadline ) ) ) ), v, r, s ); require(recoveredAddress != address(0) && recoveredAddress == owner, "INVALID_SIGNER"); allowance[recoveredAddress][spender] = value; } emit Approval(owner, spender, value); } function DOMAIN_SEPARATOR() public view virtual returns (bytes32) { return block.chainid == INITIAL_CHAIN_ID ? INITIAL_DOMAIN_SEPARATOR : computeDomainSeparator(); } function computeDomainSeparator() internal view virtual returns (bytes32) { return keccak256( abi.encode( keccak256("EIP712Domain(string name,string version,uint256 chainId,address verifyingContract)"), keccak256(bytes(name)), keccak256("1"), block.chainid, address(this) ) ); } /*////////////////////////////////////////////////////////////// INTERNAL MINT/BURN LOGIC //////////////////////////////////////////////////////////////*/ function _mint(address to, uint256 amount) internal virtual { totalSupply += amount; // Cannot overflow because the sum of all user // balances can't exceed the max uint256 value. unchecked { balanceOf[to] += amount; } emit Transfer(address(0), to, amount); } function _burn(address from, uint256 amount) internal virtual { balanceOf[from] -= amount; // Cannot underflow because a user's balance // will never be larger than the total supply. unchecked { totalSupply -= amount; } emit Transfer(from, address(0), amount); } }
// SPDX-License-Identifier: AGPL-3.0-only pragma solidity >=0.8.0; /// @notice Modern, minimalist, and gas efficient ERC-721 implementation. /// @author Solmate (https://github.com/transmissions11/solmate/blob/main/src/tokens/ERC721.sol) abstract contract ERC721 { /*////////////////////////////////////////////////////////////// EVENTS //////////////////////////////////////////////////////////////*/ event Transfer(address indexed from, address indexed to, uint256 indexed id); event Approval(address indexed owner, address indexed spender, uint256 indexed id); event ApprovalForAll(address indexed owner, address indexed operator, bool approved); /*////////////////////////////////////////////////////////////// METADATA STORAGE/LOGIC //////////////////////////////////////////////////////////////*/ string public name; string public symbol; function tokenURI(uint256 id) public view virtual returns (string memory); /*////////////////////////////////////////////////////////////// ERC721 BALANCE/OWNER STORAGE //////////////////////////////////////////////////////////////*/ mapping(uint256 => address) internal _ownerOf; mapping(address => uint256) internal _balanceOf; function ownerOf(uint256 id) public view virtual returns (address owner) { require((owner = _ownerOf[id]) != address(0), "NOT_MINTED"); } function balanceOf(address owner) public view virtual returns (uint256) { require(owner != address(0), "ZERO_ADDRESS"); return _balanceOf[owner]; } /*////////////////////////////////////////////////////////////// ERC721 APPROVAL STORAGE //////////////////////////////////////////////////////////////*/ mapping(uint256 => address) public getApproved; mapping(address => mapping(address => bool)) public isApprovedForAll; /*////////////////////////////////////////////////////////////// CONSTRUCTOR //////////////////////////////////////////////////////////////*/ constructor(string memory _name, string memory _symbol) { name = _name; symbol = _symbol; } /*////////////////////////////////////////////////////////////// ERC721 LOGIC //////////////////////////////////////////////////////////////*/ function approve(address spender, uint256 id) public virtual { address owner = _ownerOf[id]; require(msg.sender == owner || isApprovedForAll[owner][msg.sender], "NOT_AUTHORIZED"); getApproved[id] = spender; emit Approval(owner, spender, id); } function setApprovalForAll(address operator, bool approved) public virtual { isApprovedForAll[msg.sender][operator] = approved; emit ApprovalForAll(msg.sender, operator, approved); } function transferFrom( address from, address to, uint256 id ) public virtual { require(from == _ownerOf[id], "WRONG_FROM"); require(to != address(0), "INVALID_RECIPIENT"); require( msg.sender == from || isApprovedForAll[from][msg.sender] || msg.sender == getApproved[id], "NOT_AUTHORIZED" ); // Underflow of the sender's balance is impossible because we check for // ownership above and the recipient's balance can't realistically overflow. unchecked { _balanceOf[from]--; _balanceOf[to]++; } _ownerOf[id] = to; delete getApproved[id]; emit Transfer(from, to, id); } function safeTransferFrom( address from, address to, uint256 id ) public virtual { transferFrom(from, to, id); require( to.code.length == 0 || ERC721TokenReceiver(to).onERC721Received(msg.sender, from, id, "") == ERC721TokenReceiver.onERC721Received.selector, "UNSAFE_RECIPIENT" ); } function safeTransferFrom( address from, address to, uint256 id, bytes calldata data ) public virtual { transferFrom(from, to, id); require( to.code.length == 0 || ERC721TokenReceiver(to).onERC721Received(msg.sender, from, id, data) == ERC721TokenReceiver.onERC721Received.selector, "UNSAFE_RECIPIENT" ); } /*////////////////////////////////////////////////////////////// ERC165 LOGIC //////////////////////////////////////////////////////////////*/ function supportsInterface(bytes4 interfaceId) public view virtual returns (bool) { return interfaceId == 0x01ffc9a7 || // ERC165 Interface ID for ERC165 interfaceId == 0x80ac58cd || // ERC165 Interface ID for ERC721 interfaceId == 0x5b5e139f; // ERC165 Interface ID for ERC721Metadata } /*////////////////////////////////////////////////////////////// INTERNAL MINT/BURN LOGIC //////////////////////////////////////////////////////////////*/ function _mint(address to, uint256 id) internal virtual { require(to != address(0), "INVALID_RECIPIENT"); require(_ownerOf[id] == address(0), "ALREADY_MINTED"); // Counter overflow is incredibly unrealistic. unchecked { _balanceOf[to]++; } _ownerOf[id] = to; emit Transfer(address(0), to, id); } function _burn(uint256 id) internal virtual { address owner = _ownerOf[id]; require(owner != address(0), "NOT_MINTED"); // Ownership check above ensures no underflow. unchecked { _balanceOf[owner]--; } delete _ownerOf[id]; delete getApproved[id]; emit Transfer(owner, address(0), id); } /*////////////////////////////////////////////////////////////// INTERNAL SAFE MINT LOGIC //////////////////////////////////////////////////////////////*/ function _safeMint(address to, uint256 id) internal virtual { _mint(to, id); require( to.code.length == 0 || ERC721TokenReceiver(to).onERC721Received(msg.sender, address(0), id, "") == ERC721TokenReceiver.onERC721Received.selector, "UNSAFE_RECIPIENT" ); } function _safeMint( address to, uint256 id, bytes memory data ) internal virtual { _mint(to, id); require( to.code.length == 0 || ERC721TokenReceiver(to).onERC721Received(msg.sender, address(0), id, data) == ERC721TokenReceiver.onERC721Received.selector, "UNSAFE_RECIPIENT" ); } } /// @notice A generic interface for a contract which properly accepts ERC721 tokens. /// @author Solmate (https://github.com/transmissions11/solmate/blob/main/src/tokens/ERC721.sol) abstract contract ERC721TokenReceiver { function onERC721Received( address, address, uint256, bytes calldata ) external virtual returns (bytes4) { return ERC721TokenReceiver.onERC721Received.selector; } }
// SPDX-License-Identifier: AGPL-3.0-only pragma solidity >=0.8.0; import {ERC20} from "../tokens/ERC20.sol"; /// @notice Safe ETH and ERC20 transfer library that gracefully handles missing return values. /// @author Solmate (https://github.com/transmissions11/solmate/blob/main/src/utils/SafeTransferLib.sol) /// @dev Use with caution! Some functions in this library knowingly create dirty bits at the destination of the free memory pointer. /// @dev Note that none of the functions in this library check that a token has code at all! That responsibility is delegated to the caller. library SafeTransferLib { /*////////////////////////////////////////////////////////////// ETH OPERATIONS //////////////////////////////////////////////////////////////*/ function safeTransferETH(address to, uint256 amount) internal { bool success; /// @solidity memory-safe-assembly assembly { // Transfer the ETH and store if it succeeded or not. success := call(gas(), to, amount, 0, 0, 0, 0) } require(success, "ETH_TRANSFER_FAILED"); } /*////////////////////////////////////////////////////////////// ERC20 OPERATIONS //////////////////////////////////////////////////////////////*/ function safeTransferFrom( ERC20 token, address from, address to, uint256 amount ) internal { bool success; /// @solidity memory-safe-assembly assembly { // Get a pointer to some free memory. let freeMemoryPointer := mload(0x40) // Write the abi-encoded calldata into memory, beginning with the function selector. mstore(freeMemoryPointer, 0x23b872dd00000000000000000000000000000000000000000000000000000000) mstore(add(freeMemoryPointer, 4), from) // Append the "from" argument. mstore(add(freeMemoryPointer, 36), to) // Append the "to" argument. mstore(add(freeMemoryPointer, 68), amount) // Append the "amount" argument. success := and( // Set success to whether the call reverted, if not we check it either // returned exactly 1 (can't just be non-zero data), or had no return data. or(and(eq(mload(0), 1), gt(returndatasize(), 31)), iszero(returndatasize())), // We use 100 because the length of our calldata totals up like so: 4 + 32 * 3. // We use 0 and 32 to copy up to 32 bytes of return data into the scratch space. // Counterintuitively, this call must be positioned second to the or() call in the // surrounding and() call or else returndatasize() will be zero during the computation. call(gas(), token, 0, freeMemoryPointer, 100, 0, 32) ) } require(success, "TRANSFER_FROM_FAILED"); } function safeTransfer( ERC20 token, address to, uint256 amount ) internal { bool success; /// @solidity memory-safe-assembly assembly { // Get a pointer to some free memory. let freeMemoryPointer := mload(0x40) // Write the abi-encoded calldata into memory, beginning with the function selector. mstore(freeMemoryPointer, 0xa9059cbb00000000000000000000000000000000000000000000000000000000) mstore(add(freeMemoryPointer, 4), to) // Append the "to" argument. mstore(add(freeMemoryPointer, 36), amount) // Append the "amount" argument. success := and( // Set success to whether the call reverted, if not we check it either // returned exactly 1 (can't just be non-zero data), or had no return data. or(and(eq(mload(0), 1), gt(returndatasize(), 31)), iszero(returndatasize())), // We use 68 because the length of our calldata totals up like so: 4 + 32 * 2. // We use 0 and 32 to copy up to 32 bytes of return data into the scratch space. // Counterintuitively, this call must be positioned second to the or() call in the // surrounding and() call or else returndatasize() will be zero during the computation. call(gas(), token, 0, freeMemoryPointer, 68, 0, 32) ) } require(success, "TRANSFER_FAILED"); } function safeApprove( ERC20 token, address to, uint256 amount ) internal { bool success; /// @solidity memory-safe-assembly assembly { // Get a pointer to some free memory. let freeMemoryPointer := mload(0x40) // Write the abi-encoded calldata into memory, beginning with the function selector. mstore(freeMemoryPointer, 0x095ea7b300000000000000000000000000000000000000000000000000000000) mstore(add(freeMemoryPointer, 4), to) // Append the "to" argument. mstore(add(freeMemoryPointer, 36), amount) // Append the "amount" argument. success := and( // Set success to whether the call reverted, if not we check it either // returned exactly 1 (can't just be non-zero data), or had no return data. or(and(eq(mload(0), 1), gt(returndatasize(), 31)), iszero(returndatasize())), // We use 68 because the length of our calldata totals up like so: 4 + 32 * 2. // We use 0 and 32 to copy up to 32 bytes of return data into the scratch space. // Counterintuitively, this call must be positioned second to the or() call in the // surrounding and() call or else returndatasize() will be zero during the computation. call(gas(), token, 0, freeMemoryPointer, 68, 0, 32) ) } require(success, "APPROVE_FAILED"); } }
// SPDX-License-Identifier: AGPL-3.0-only pragma solidity ^0.8.10; error NotOwner(); abstract contract LilOwnable { address internal _owner; event OwnershipTransferred( address indexed previousOwner, address indexed newOwner ); constructor() { _owner = msg.sender; } function owner() external view returns (address) { return _owner; } function transferOwnership(address _newOwner) external { if (msg.sender != _owner) revert NotOwner(); _owner = _newOwner; } function renounceOwnership() public { if (msg.sender != _owner) revert NotOwner(); _owner = address(0); } function supportsInterface(bytes4 interfaceId) public pure virtual returns (bool) { return interfaceId == 0x7f5828d0; // ERC165 Interface ID for ERC173 } }
{ "remappings": [ "@openzeppelin/=lib/openzeppelin-contracts/", "ds-test/=lib/forge-std/lib/ds-test/src/", "forge-std/=lib/forge-std/src/", "solmate/=lib/solmate/src/", "std/=lib/forge-std/src/" ], "optimizer": { "enabled": true, "runs": 200 }, "metadata": { "bytecodeHash": "ipfs" }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "evmVersion": "london", "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"string","name":"name","type":"string"},{"internalType":"string","name":"symbol","type":"string"},{"internalType":"string","name":"_baseURI","type":"string"},{"internalType":"address","name":"_ukiyoPepeAddress","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"DoesNotExist","type":"error"},{"inputs":[],"name":"NotOwner","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":true,"internalType":"uint256","name":"id","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":"id","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"BULK_BUY_LIMIT","outputs":[{"internalType":"uint16","name":"","type":"uint16"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_MINT_PER_WALLET","outputs":[{"internalType":"uint16","name":"","type":"uint16"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"TOTAL_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"id","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":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"address","name":"","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isMintPaused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isPepeHolderMintPaused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"minted","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"id","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"owner","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pauseMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"pausePepeHolderMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint16","name":"amount","type":"uint16"}],"name":"publicMint","outputs":[],"stateMutability":"nonpayable","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":"id","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":"id","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"newBaseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"pure","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"id","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":"id","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":"ukiyoPepeAddress","outputs":[{"internalType":"contract IERC721","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint16","name":"amount","type":"uint16"}],"name":"ukiyoPepeHolderMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"unpauseMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"unpausePepeHolderMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
60a06040526009805461ffff19166101011790553480156200002057600080fd5b5060405162001e7438038062001e74833981016040819052620000439162000169565b83836000620000538382620002ab565b506001620000628282620002ab565b5050600680546001600160a01b03191633179055506008620000858382620002ab565b506001600160a01b03166080525062000377915050565b634e487b7160e01b600052604160045260246000fd5b600082601f830112620000c457600080fd5b81516001600160401b0380821115620000e157620000e16200009c565b604051601f8301601f19908116603f011681019082821181831017156200010c576200010c6200009c565b816040528381526020925086838588010111156200012957600080fd5b600091505b838210156200014d57858201830151818301840152908201906200012e565b838211156200015f5760008385830101525b9695505050505050565b600080600080608085870312156200018057600080fd5b84516001600160401b03808211156200019857600080fd5b620001a688838901620000b2565b95506020870151915080821115620001bd57600080fd5b620001cb88838901620000b2565b94506040870151915080821115620001e257600080fd5b50620001f187828801620000b2565b606087015190935090506001600160a01b03811681146200021157600080fd5b939692955090935050565b600181811c908216806200023157607f821691505b6020821081036200025257634e487b7160e01b600052602260045260246000fd5b50919050565b601f821115620002a657600081815260208120601f850160051c81016020861015620002815750805b601f850160051c820191505b81811015620002a2578281556001016200028d565b5050505b505050565b81516001600160401b03811115620002c757620002c76200009c565b620002df81620002d884546200021c565b8462000258565b602080601f831160018114620003175760008415620002fe5750858301515b600019600386901b1c1916600185901b178555620002a2565b600085815260208120601f198616915b82811015620003485788860151825594840194600190910190840162000327565b5085821015620003675787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b608051611ada6200039a6000396000818161036e01526105110152611ada6000f3fe608060405234801561001057600080fd5b50600436106101fb5760003560e01c8063715018a61161011a578063b19960e6116100ad578063c87b56dd1161007c578063c87b56dd1461041d578063cd85cdb514610430578063e985e9c514610438578063f2fde38b14610466578063f607cc4c1461047957600080fd5b8063b19960e6146103d5578063b65cb741146103f0578063b88d4fde146103f8578063c31f69671461040b57600080fd5b8063902d55a5116100e9578063902d55a5146103a957806395d89b41146103b2578063a22cb465146103ba578063a5d33946146103cd57600080fd5b8063715018a614610361578063746726251461036957806384f606ef146103905780638da5cb5b1461039857600080fd5b80631e7269c51161019257806355f804b31161016157806355f804b3146103205780636352211e146103335780636c0360eb1461034657806370a082311461034e57600080fd5b80631e7269c5146102d257806323b872dd146102f25780633ccfd60b1461030557806342842e0e1461030d57600080fd5b8063095ea7b3116101ce578063095ea7b31461029357806315839b30146102a657806318160ddd146102b35780631a8bd2da146102ca57600080fd5b806301ffc9a714610200578063025fe3fe1461022857806306fdde031461023d578063081812fc14610252575b600080fd5b61021361020e366004611410565b61048c565b60405190151581526020015b60405180910390f35b61023b610236366004611434565b6104f9565b005b610245610754565b60405161021f9190611488565b61027b6102603660046114bb565b6004602052600090815260409020546001600160a01b031681565b6040516001600160a01b03909116815260200161021f565b61023b6102a13660046114eb565b6107e2565b6009546102139060ff1681565b6102bc60075481565b60405190815260200161021f565b61023b6108c4565b6102bc6102e0366004611515565b600a6020526000908152604090205481565b61023b610300366004611530565b6108fa565b61023b610ac1565b61023b61031b366004611530565b610af7565b61023b61032e366004611582565b610bef565b61027b6103413660046114bb565b610c29565b610245610c80565b6102bc61035c366004611515565b610c8d565b61023b610cf0565b61027b7f000000000000000000000000000000000000000000000000000000000000000081565b61023b610d2d565b6006546001600160a01b031661027b565b6102bc6103e881565b610245610d64565b61023b6103c8366004611633565b610d71565b61023b610ddd565b6103dd603c81565b60405161ffff909116815260200161021f565b6103dd601481565b61023b61040636600461166f565b610e18565b60095461021390610100900460ff1681565b61024561042b3660046114bb565b610f00565b61023b610f66565b61021361044636600461170a565b600560209081526000928352604080842090915290825290205460ff1681565b61023b610474366004611515565b610f9f565b61023b610487366004611434565b610fec565b60006307f5828d60e41b6001600160e01b0319831614806104bd57506380ac58cd60e01b6001600160e01b03198316145b806104d85750635b5e139f60e01b6001600160e01b03198316145b806104f357506301ffc9a760e01b6001600160e01b03198316145b92915050565b6040516370a0823160e01b81523360048201526001907f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316906370a0823190602401602060405180830381865afa158015610560573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610584919061173d565b10156105d75760405162461bcd60e51b815260206004820152601860248201527f596f7520646f6e277420686f6c6420556b69796f50657065000000000000000060448201526064015b60405180910390fd5b601461ffff821611156105fc5760405162461bcd60e51b81526004016105ce90611756565b6103e88161ffff1660075461061191906117a3565b111561065f5760405162461bcd60e51b815260206004820152601b60248201527f546f74616c20737570706c7920616c7265616479206d696e746564000000000060448201526064016105ce565b600954610100900460ff16156106b75760405162461bcd60e51b815260206004820181905260248201527f556b69796f5065706520686f6c646572206d696e74206973207061757365642e60448201526064016105ce565b336000908152600a6020526040902054603c906106d99061ffff8416906117a3565b11156106f75760405162461bcd60e51b81526004016105ce906117c9565b60005b8161ffff168161ffff161015610728576007805460018101909155610720903390611130565b6001016106fa565b50336000908152600a60205260408120805461ffff8416929061074c9084906117a3565b909155505050565b6000805461076190611816565b80601f016020809104026020016040519081016040528092919081815260200182805461078d90611816565b80156107da5780601f106107af576101008083540402835291602001916107da565b820191906000526020600020905b8154815290600101906020018083116107bd57829003601f168201915b505050505081565b6000818152600260205260409020546001600160a01b03163381148061082b57506001600160a01b038116600090815260056020908152604080832033845290915290205460ff165b6108685760405162461bcd60e51b815260206004820152600e60248201526d1393d517d055551213d49256915160921b60448201526064016105ce565b60008281526004602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b6006546001600160a01b031633146108ee5760405162461bcd60e51b81526004016105ce90611850565b6009805460ff19169055565b6000818152600260205260409020546001600160a01b038481169116146109505760405162461bcd60e51b815260206004820152600a60248201526957524f4e475f46524f4d60b01b60448201526064016105ce565b6001600160a01b03821661099a5760405162461bcd60e51b81526020600482015260116024820152701253959053125117d49150d25412515395607a1b60448201526064016105ce565b336001600160a01b03841614806109d457506001600160a01b038316600090815260056020908152604080832033845290915290205460ff165b806109f557506000818152600460205260409020546001600160a01b031633145b610a325760405162461bcd60e51b815260206004820152600e60248201526d1393d517d055551213d49256915160921b60448201526064016105ce565b6001600160a01b0380841660008181526003602090815260408083208054600019019055938616808352848320805460010190558583526002825284832080546001600160a01b03199081168317909155600490925284832080549092169091559251849392917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b6006546001600160a01b03163314610aeb5760405162461bcd60e51b81526004016105ce90611850565b610af5334761123b565b565b610b028383836108fa565b6001600160a01b0382163b1580610bab5750604051630a85bd0160e11b8082523360048301526001600160a01b03858116602484015260448301849052608060648401526000608484015290919084169063150b7a029060a4016020604051808303816000875af1158015610b7b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b9f919061187f565b6001600160e01b031916145b610bea5760405162461bcd60e51b815260206004820152601060248201526f155394d0519157d49150d2541251539560821b60448201526064016105ce565b505050565b6006546001600160a01b03163314610c195760405162461bcd60e51b81526004016105ce90611850565b6008610c2582826118ea565b5050565b6000818152600260205260409020546001600160a01b031680610c7b5760405162461bcd60e51b815260206004820152600a6024820152691393d517d3525395115160b21b60448201526064016105ce565b919050565b6008805461076190611816565b60006001600160a01b038216610cd45760405162461bcd60e51b815260206004820152600c60248201526b5a45524f5f4144445245535360a01b60448201526064016105ce565b506001600160a01b031660009081526003602052604090205490565b6006546001600160a01b03163314610d1b576040516330cd747160e01b815260040160405180910390fd5b600680546001600160a01b0319169055565b6006546001600160a01b03163314610d575760405162461bcd60e51b81526004016105ce90611850565b6009805461ff0019169055565b6001805461076190611816565b3360008181526005602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b6006546001600160a01b03163314610e075760405162461bcd60e51b81526004016105ce90611850565b6009805461ff001916610100179055565b610e238585856108fa565b6001600160a01b0384163b1580610eba5750604051630a85bd0160e11b808252906001600160a01b0386169063150b7a0290610e6b9033908a908990899089906004016119aa565b6020604051808303816000875af1158015610e8a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610eae919061187f565b6001600160e01b031916145b610ef95760405162461bcd60e51b815260206004820152601060248201526f155394d0519157d49150d2541251539560821b60448201526064016105ce565b5050505050565b60606000610f0d83610c29565b6001600160a01b031603610f345760405163b0ce759160e01b815260040160405180910390fd5b6008610f3f8361128c565b604051602001610f509291906119fe565b6040516020818303038152906040529050919050565b6006546001600160a01b03163314610f905760405162461bcd60e51b81526004016105ce90611850565b6009805460ff19166001179055565b6006546001600160a01b03163314610fca576040516330cd747160e01b815260040160405180910390fd5b600680546001600160a01b0319166001600160a01b0392909216919091179055565b601461ffff821611156110115760405162461bcd60e51b81526004016105ce90611756565b6103e88161ffff1660075461102691906117a3565b11156110745760405162461bcd60e51b815260206004820152601b60248201527f546f74616c20737570706c7920616c7265616479206d696e746564000000000060448201526064016105ce565b60095460ff16156110bf5760405162461bcd60e51b8152602060048201526015602482015274141d589b1a58c81b5a5b9d081a5cc81c185d5cd959605a1b60448201526064016105ce565b336000908152600a6020526040902054603c906110e19061ffff8416906117a3565b11156110ff5760405162461bcd60e51b81526004016105ce906117c9565b60005b8161ffff168161ffff161015610728576007805460018101909155611128903390611130565b600101611102565b6001600160a01b03821661117a5760405162461bcd60e51b81526020600482015260116024820152701253959053125117d49150d25412515395607a1b60448201526064016105ce565b6000818152600260205260409020546001600160a01b0316156111d05760405162461bcd60e51b815260206004820152600e60248201526d1053149150511657d3525395115160921b60448201526064016105ce565b6001600160a01b038216600081815260036020908152604080832080546001019055848352600290915280822080546001600160a01b0319168417905551839291907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b600080600080600085875af1905080610bea5760405162461bcd60e51b815260206004820152601360248201527211551217d514905394d1915497d19052531151606a1b60448201526064016105ce565b606060006112998361131f565b600101905060008167ffffffffffffffff8111156112b9576112b961156c565b6040519080825280601f01601f1916602001820160405280156112e3576020820181803683370190505b5090508181016020015b600019016f181899199a1a9b1b9c1cb0b131b232b360811b600a86061a8153600a85049450846112ed57509392505050565b60008072184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b831061135e5772184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b830492506040015b6d04ee2d6d415b85acef8100000000831061138a576d04ee2d6d415b85acef8100000000830492506020015b662386f26fc1000083106113a857662386f26fc10000830492506010015b6305f5e10083106113c0576305f5e100830492506008015b61271083106113d457612710830492506004015b606483106113e6576064830492506002015b600a83106104f35760010192915050565b6001600160e01b03198116811461140d57600080fd5b50565b60006020828403121561142257600080fd5b813561142d816113f7565b9392505050565b60006020828403121561144657600080fd5b813561ffff8116811461142d57600080fd5b60005b8381101561147357818101518382015260200161145b565b83811115611482576000848401525b50505050565b60208152600082518060208401526114a7816040850160208701611458565b601f01601f19169190910160400192915050565b6000602082840312156114cd57600080fd5b5035919050565b80356001600160a01b0381168114610c7b57600080fd5b600080604083850312156114fe57600080fd5b611507836114d4565b946020939093013593505050565b60006020828403121561152757600080fd5b61142d826114d4565b60008060006060848603121561154557600080fd5b61154e846114d4565b925061155c602085016114d4565b9150604084013590509250925092565b634e487b7160e01b600052604160045260246000fd5b60006020828403121561159457600080fd5b813567ffffffffffffffff808211156115ac57600080fd5b818401915084601f8301126115c057600080fd5b8135818111156115d2576115d261156c565b604051601f8201601f19908116603f011681019083821181831017156115fa576115fa61156c565b8160405282815287602084870101111561161357600080fd5b826020860160208301376000928101602001929092525095945050505050565b6000806040838503121561164657600080fd5b61164f836114d4565b91506020830135801515811461166457600080fd5b809150509250929050565b60008060008060006080868803121561168757600080fd5b611690866114d4565b945061169e602087016114d4565b935060408601359250606086013567ffffffffffffffff808211156116c257600080fd5b818801915088601f8301126116d657600080fd5b8135818111156116e557600080fd5b8960208285010111156116f757600080fd5b9699959850939650602001949392505050565b6000806040838503121561171d57600080fd5b611726836114d4565b9150611734602084016114d4565b90509250929050565b60006020828403121561174f57600080fd5b5051919050565b6020808252602d908201527f43616e206e6f74206d696e74206d6f7265207468616e20323020696e206f6e6560408201526c103a3930b739b0b1ba34b7b71760991b606082015260800190565b600082198211156117c457634e487b7160e01b600052601160045260246000fd5b500190565b6020808252602d908201527f6d696e743a20596f752063616e2774206d696e74206d6f7265207468616e203660408201526c18103832b9103bb0b63632ba1760991b606082015260800190565b600181811c9082168061182a57607f821691505b60208210810361184a57634e487b7160e01b600052602260045260246000fd5b50919050565b6020808252601590820152742cb7ba9030b932903737ba103a34329037bbb732b960591b604082015260600190565b60006020828403121561189157600080fd5b815161142d816113f7565b601f821115610bea57600081815260208120601f850160051c810160208610156118c35750805b601f850160051c820191505b818110156118e2578281556001016118cf565b505050505050565b815167ffffffffffffffff8111156119045761190461156c565b611918816119128454611816565b8461189c565b602080601f83116001811461194d57600084156119355750858301515b600019600386901b1c1916600185901b1785556118e2565b600085815260208120601f198616915b8281101561197c5788860151825594840194600190910190840161195d565b508582101561199a5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b6001600160a01b038681168252851660208201526040810184905260806060820181905281018290526000828460a0840137600060a0848401015260a0601f19601f85011683010190509695505050505050565b6000808454611a0c81611816565b60018281168015611a245760018114611a3957611a68565b60ff1984168752821515830287019450611a68565b8860005260208060002060005b85811015611a5f5781548a820152908401908201611a46565b50505082870194505b50602f60f81b845286519250611a848382860160208a01611458565b64173539b7b760d91b93909201918201929092526006019594505050505056fea26469706673582212206366c87cb0ddacd61f36a1cb33fae87c5ec875157202d135855ccd06a069d63b64736f6c634300080f0033000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c00000000000000000000000000000000000000000000000000000000000000100000000000000000000000000260107107fbd99c51fa8c0747c67bdce71351bce000000000000000000000000000000000000000000000000000000000000000a556b69796f654769726c000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000005454749524c0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000035697066733a2f2f516d515a6d6e52767247546a39503354464c6b6266633257694a676e3579544255436156773567565543475441500000000000000000000000
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106101fb5760003560e01c8063715018a61161011a578063b19960e6116100ad578063c87b56dd1161007c578063c87b56dd1461041d578063cd85cdb514610430578063e985e9c514610438578063f2fde38b14610466578063f607cc4c1461047957600080fd5b8063b19960e6146103d5578063b65cb741146103f0578063b88d4fde146103f8578063c31f69671461040b57600080fd5b8063902d55a5116100e9578063902d55a5146103a957806395d89b41146103b2578063a22cb465146103ba578063a5d33946146103cd57600080fd5b8063715018a614610361578063746726251461036957806384f606ef146103905780638da5cb5b1461039857600080fd5b80631e7269c51161019257806355f804b31161016157806355f804b3146103205780636352211e146103335780636c0360eb1461034657806370a082311461034e57600080fd5b80631e7269c5146102d257806323b872dd146102f25780633ccfd60b1461030557806342842e0e1461030d57600080fd5b8063095ea7b3116101ce578063095ea7b31461029357806315839b30146102a657806318160ddd146102b35780631a8bd2da146102ca57600080fd5b806301ffc9a714610200578063025fe3fe1461022857806306fdde031461023d578063081812fc14610252575b600080fd5b61021361020e366004611410565b61048c565b60405190151581526020015b60405180910390f35b61023b610236366004611434565b6104f9565b005b610245610754565b60405161021f9190611488565b61027b6102603660046114bb565b6004602052600090815260409020546001600160a01b031681565b6040516001600160a01b03909116815260200161021f565b61023b6102a13660046114eb565b6107e2565b6009546102139060ff1681565b6102bc60075481565b60405190815260200161021f565b61023b6108c4565b6102bc6102e0366004611515565b600a6020526000908152604090205481565b61023b610300366004611530565b6108fa565b61023b610ac1565b61023b61031b366004611530565b610af7565b61023b61032e366004611582565b610bef565b61027b6103413660046114bb565b610c29565b610245610c80565b6102bc61035c366004611515565b610c8d565b61023b610cf0565b61027b7f000000000000000000000000260107107fbd99c51fa8c0747c67bdce71351bce81565b61023b610d2d565b6006546001600160a01b031661027b565b6102bc6103e881565b610245610d64565b61023b6103c8366004611633565b610d71565b61023b610ddd565b6103dd603c81565b60405161ffff909116815260200161021f565b6103dd601481565b61023b61040636600461166f565b610e18565b60095461021390610100900460ff1681565b61024561042b3660046114bb565b610f00565b61023b610f66565b61021361044636600461170a565b600560209081526000928352604080842090915290825290205460ff1681565b61023b610474366004611515565b610f9f565b61023b610487366004611434565b610fec565b60006307f5828d60e41b6001600160e01b0319831614806104bd57506380ac58cd60e01b6001600160e01b03198316145b806104d85750635b5e139f60e01b6001600160e01b03198316145b806104f357506301ffc9a760e01b6001600160e01b03198316145b92915050565b6040516370a0823160e01b81523360048201526001907f000000000000000000000000260107107fbd99c51fa8c0747c67bdce71351bce6001600160a01b0316906370a0823190602401602060405180830381865afa158015610560573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610584919061173d565b10156105d75760405162461bcd60e51b815260206004820152601860248201527f596f7520646f6e277420686f6c6420556b69796f50657065000000000000000060448201526064015b60405180910390fd5b601461ffff821611156105fc5760405162461bcd60e51b81526004016105ce90611756565b6103e88161ffff1660075461061191906117a3565b111561065f5760405162461bcd60e51b815260206004820152601b60248201527f546f74616c20737570706c7920616c7265616479206d696e746564000000000060448201526064016105ce565b600954610100900460ff16156106b75760405162461bcd60e51b815260206004820181905260248201527f556b69796f5065706520686f6c646572206d696e74206973207061757365642e60448201526064016105ce565b336000908152600a6020526040902054603c906106d99061ffff8416906117a3565b11156106f75760405162461bcd60e51b81526004016105ce906117c9565b60005b8161ffff168161ffff161015610728576007805460018101909155610720903390611130565b6001016106fa565b50336000908152600a60205260408120805461ffff8416929061074c9084906117a3565b909155505050565b6000805461076190611816565b80601f016020809104026020016040519081016040528092919081815260200182805461078d90611816565b80156107da5780601f106107af576101008083540402835291602001916107da565b820191906000526020600020905b8154815290600101906020018083116107bd57829003601f168201915b505050505081565b6000818152600260205260409020546001600160a01b03163381148061082b57506001600160a01b038116600090815260056020908152604080832033845290915290205460ff165b6108685760405162461bcd60e51b815260206004820152600e60248201526d1393d517d055551213d49256915160921b60448201526064016105ce565b60008281526004602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b6006546001600160a01b031633146108ee5760405162461bcd60e51b81526004016105ce90611850565b6009805460ff19169055565b6000818152600260205260409020546001600160a01b038481169116146109505760405162461bcd60e51b815260206004820152600a60248201526957524f4e475f46524f4d60b01b60448201526064016105ce565b6001600160a01b03821661099a5760405162461bcd60e51b81526020600482015260116024820152701253959053125117d49150d25412515395607a1b60448201526064016105ce565b336001600160a01b03841614806109d457506001600160a01b038316600090815260056020908152604080832033845290915290205460ff165b806109f557506000818152600460205260409020546001600160a01b031633145b610a325760405162461bcd60e51b815260206004820152600e60248201526d1393d517d055551213d49256915160921b60448201526064016105ce565b6001600160a01b0380841660008181526003602090815260408083208054600019019055938616808352848320805460010190558583526002825284832080546001600160a01b03199081168317909155600490925284832080549092169091559251849392917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b6006546001600160a01b03163314610aeb5760405162461bcd60e51b81526004016105ce90611850565b610af5334761123b565b565b610b028383836108fa565b6001600160a01b0382163b1580610bab5750604051630a85bd0160e11b8082523360048301526001600160a01b03858116602484015260448301849052608060648401526000608484015290919084169063150b7a029060a4016020604051808303816000875af1158015610b7b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b9f919061187f565b6001600160e01b031916145b610bea5760405162461bcd60e51b815260206004820152601060248201526f155394d0519157d49150d2541251539560821b60448201526064016105ce565b505050565b6006546001600160a01b03163314610c195760405162461bcd60e51b81526004016105ce90611850565b6008610c2582826118ea565b5050565b6000818152600260205260409020546001600160a01b031680610c7b5760405162461bcd60e51b815260206004820152600a6024820152691393d517d3525395115160b21b60448201526064016105ce565b919050565b6008805461076190611816565b60006001600160a01b038216610cd45760405162461bcd60e51b815260206004820152600c60248201526b5a45524f5f4144445245535360a01b60448201526064016105ce565b506001600160a01b031660009081526003602052604090205490565b6006546001600160a01b03163314610d1b576040516330cd747160e01b815260040160405180910390fd5b600680546001600160a01b0319169055565b6006546001600160a01b03163314610d575760405162461bcd60e51b81526004016105ce90611850565b6009805461ff0019169055565b6001805461076190611816565b3360008181526005602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b6006546001600160a01b03163314610e075760405162461bcd60e51b81526004016105ce90611850565b6009805461ff001916610100179055565b610e238585856108fa565b6001600160a01b0384163b1580610eba5750604051630a85bd0160e11b808252906001600160a01b0386169063150b7a0290610e6b9033908a908990899089906004016119aa565b6020604051808303816000875af1158015610e8a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610eae919061187f565b6001600160e01b031916145b610ef95760405162461bcd60e51b815260206004820152601060248201526f155394d0519157d49150d2541251539560821b60448201526064016105ce565b5050505050565b60606000610f0d83610c29565b6001600160a01b031603610f345760405163b0ce759160e01b815260040160405180910390fd5b6008610f3f8361128c565b604051602001610f509291906119fe565b6040516020818303038152906040529050919050565b6006546001600160a01b03163314610f905760405162461bcd60e51b81526004016105ce90611850565b6009805460ff19166001179055565b6006546001600160a01b03163314610fca576040516330cd747160e01b815260040160405180910390fd5b600680546001600160a01b0319166001600160a01b0392909216919091179055565b601461ffff821611156110115760405162461bcd60e51b81526004016105ce90611756565b6103e88161ffff1660075461102691906117a3565b11156110745760405162461bcd60e51b815260206004820152601b60248201527f546f74616c20737570706c7920616c7265616479206d696e746564000000000060448201526064016105ce565b60095460ff16156110bf5760405162461bcd60e51b8152602060048201526015602482015274141d589b1a58c81b5a5b9d081a5cc81c185d5cd959605a1b60448201526064016105ce565b336000908152600a6020526040902054603c906110e19061ffff8416906117a3565b11156110ff5760405162461bcd60e51b81526004016105ce906117c9565b60005b8161ffff168161ffff161015610728576007805460018101909155611128903390611130565b600101611102565b6001600160a01b03821661117a5760405162461bcd60e51b81526020600482015260116024820152701253959053125117d49150d25412515395607a1b60448201526064016105ce565b6000818152600260205260409020546001600160a01b0316156111d05760405162461bcd60e51b815260206004820152600e60248201526d1053149150511657d3525395115160921b60448201526064016105ce565b6001600160a01b038216600081815260036020908152604080832080546001019055848352600290915280822080546001600160a01b0319168417905551839291907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b600080600080600085875af1905080610bea5760405162461bcd60e51b815260206004820152601360248201527211551217d514905394d1915497d19052531151606a1b60448201526064016105ce565b606060006112998361131f565b600101905060008167ffffffffffffffff8111156112b9576112b961156c565b6040519080825280601f01601f1916602001820160405280156112e3576020820181803683370190505b5090508181016020015b600019016f181899199a1a9b1b9c1cb0b131b232b360811b600a86061a8153600a85049450846112ed57509392505050565b60008072184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b831061135e5772184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b830492506040015b6d04ee2d6d415b85acef8100000000831061138a576d04ee2d6d415b85acef8100000000830492506020015b662386f26fc1000083106113a857662386f26fc10000830492506010015b6305f5e10083106113c0576305f5e100830492506008015b61271083106113d457612710830492506004015b606483106113e6576064830492506002015b600a83106104f35760010192915050565b6001600160e01b03198116811461140d57600080fd5b50565b60006020828403121561142257600080fd5b813561142d816113f7565b9392505050565b60006020828403121561144657600080fd5b813561ffff8116811461142d57600080fd5b60005b8381101561147357818101518382015260200161145b565b83811115611482576000848401525b50505050565b60208152600082518060208401526114a7816040850160208701611458565b601f01601f19169190910160400192915050565b6000602082840312156114cd57600080fd5b5035919050565b80356001600160a01b0381168114610c7b57600080fd5b600080604083850312156114fe57600080fd5b611507836114d4565b946020939093013593505050565b60006020828403121561152757600080fd5b61142d826114d4565b60008060006060848603121561154557600080fd5b61154e846114d4565b925061155c602085016114d4565b9150604084013590509250925092565b634e487b7160e01b600052604160045260246000fd5b60006020828403121561159457600080fd5b813567ffffffffffffffff808211156115ac57600080fd5b818401915084601f8301126115c057600080fd5b8135818111156115d2576115d261156c565b604051601f8201601f19908116603f011681019083821181831017156115fa576115fa61156c565b8160405282815287602084870101111561161357600080fd5b826020860160208301376000928101602001929092525095945050505050565b6000806040838503121561164657600080fd5b61164f836114d4565b91506020830135801515811461166457600080fd5b809150509250929050565b60008060008060006080868803121561168757600080fd5b611690866114d4565b945061169e602087016114d4565b935060408601359250606086013567ffffffffffffffff808211156116c257600080fd5b818801915088601f8301126116d657600080fd5b8135818111156116e557600080fd5b8960208285010111156116f757600080fd5b9699959850939650602001949392505050565b6000806040838503121561171d57600080fd5b611726836114d4565b9150611734602084016114d4565b90509250929050565b60006020828403121561174f57600080fd5b5051919050565b6020808252602d908201527f43616e206e6f74206d696e74206d6f7265207468616e20323020696e206f6e6560408201526c103a3930b739b0b1ba34b7b71760991b606082015260800190565b600082198211156117c457634e487b7160e01b600052601160045260246000fd5b500190565b6020808252602d908201527f6d696e743a20596f752063616e2774206d696e74206d6f7265207468616e203660408201526c18103832b9103bb0b63632ba1760991b606082015260800190565b600181811c9082168061182a57607f821691505b60208210810361184a57634e487b7160e01b600052602260045260246000fd5b50919050565b6020808252601590820152742cb7ba9030b932903737ba103a34329037bbb732b960591b604082015260600190565b60006020828403121561189157600080fd5b815161142d816113f7565b601f821115610bea57600081815260208120601f850160051c810160208610156118c35750805b601f850160051c820191505b818110156118e2578281556001016118cf565b505050505050565b815167ffffffffffffffff8111156119045761190461156c565b611918816119128454611816565b8461189c565b602080601f83116001811461194d57600084156119355750858301515b600019600386901b1c1916600185901b1785556118e2565b600085815260208120601f198616915b8281101561197c5788860151825594840194600190910190840161195d565b508582101561199a5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b6001600160a01b038681168252851660208201526040810184905260806060820181905281018290526000828460a0840137600060a0848401015260a0601f19601f85011683010190509695505050505050565b6000808454611a0c81611816565b60018281168015611a245760018114611a3957611a68565b60ff1984168752821515830287019450611a68565b8860005260208060002060005b85811015611a5f5781548a820152908401908201611a46565b50505082870194505b50602f60f81b845286519250611a848382860160208a01611458565b64173539b7b760d91b93909201918201929092526006019594505050505056fea26469706673582212206366c87cb0ddacd61f36a1cb33fae87c5ec875157202d135855ccd06a069d63b64736f6c634300080f0033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c00000000000000000000000000000000000000000000000000000000000000100000000000000000000000000260107107fbd99c51fa8c0747c67bdce71351bce000000000000000000000000000000000000000000000000000000000000000a556b69796f654769726c000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000005454749524c0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000035697066733a2f2f516d515a6d6e52767247546a39503354464c6b6266633257694a676e3579544255436156773567565543475441500000000000000000000000
-----Decoded View---------------
Arg [0] : name (string): UkiyoeGirl
Arg [1] : symbol (string): EGIRL
Arg [2] : _baseURI (string): ipfs://QmQZmnRvrGTj9P3TFLkbfc2WiJgn5yTBUCaVw5gVUCGTAP
Arg [3] : _ukiyoPepeAddress (address): 0x260107107FBd99c51fa8C0747C67Bdce71351BCE
-----Encoded View---------------
11 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000080
Arg [1] : 00000000000000000000000000000000000000000000000000000000000000c0
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000100
Arg [3] : 000000000000000000000000260107107fbd99c51fa8c0747c67bdce71351bce
Arg [4] : 000000000000000000000000000000000000000000000000000000000000000a
Arg [5] : 556b69796f654769726c00000000000000000000000000000000000000000000
Arg [6] : 0000000000000000000000000000000000000000000000000000000000000005
Arg [7] : 454749524c000000000000000000000000000000000000000000000000000000
Arg [8] : 0000000000000000000000000000000000000000000000000000000000000035
Arg [9] : 697066733a2f2f516d515a6d6e52767247546a39503354464c6b626663325769
Arg [10] : 4a676e3579544255436156773567565543475441500000000000000000000000
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.