Source Code
Overview
ETH Balance
0 ETH
Eth Value
$0.00More Info
Private Name Tags
ContractCreator
TokenTracker
Latest 25 from a total of 1,042 transactions
| Transaction Hash |
Method
|
Block
|
From
|
|
To
|
||||
|---|---|---|---|---|---|---|---|---|---|
| Set Approval For... | 24506196 | 7 days ago | IN | 0 ETH | 0.00000208 | ||||
| Set Approval For... | 24504681 | 7 days ago | IN | 0 ETH | 0.00000205 | ||||
| Set Approval For... | 24441144 | 16 days ago | IN | 0 ETH | 0.00006246 | ||||
| Transfer From | 24420808 | 19 days ago | IN | 0 ETH | 0.00012986 | ||||
| Set Approval For... | 24394356 | 22 days ago | IN | 0 ETH | 0.00023443 | ||||
| Set Approval For... | 24390298 | 23 days ago | IN | 0 ETH | 0.0000837 | ||||
| Set Approval For... | 24351056 | 28 days ago | IN | 0 ETH | 0.00009601 | ||||
| Set Approval For... | 24350980 | 28 days ago | IN | 0 ETH | 0.00000813 | ||||
| Set Approval For... | 24329513 | 31 days ago | IN | 0 ETH | 0.00000154 | ||||
| Set Approval For... | 24318903 | 33 days ago | IN | 0 ETH | 0.00000287 | ||||
| Set Approval For... | 24314315 | 33 days ago | IN | 0 ETH | 0.00001629 | ||||
| Set Approval For... | 24275103 | 39 days ago | IN | 0 ETH | 0.00000649 | ||||
| Set Approval For... | 24249973 | 42 days ago | IN | 0 ETH | 0.00000198 | ||||
| Set Approval For... | 24249163 | 43 days ago | IN | 0 ETH | 0.00000629 | ||||
| Set Approval For... | 24223566 | 46 days ago | IN | 0 ETH | 0.0000934 | ||||
| Set Approval For... | 24203993 | 49 days ago | IN | 0 ETH | 0.0000015 | ||||
| Safe Transfer Fr... | 24197992 | 50 days ago | IN | 0 ETH | 0.00012258 | ||||
| Set Approval For... | 24191972 | 51 days ago | IN | 0 ETH | 0.00000386 | ||||
| Set Approval For... | 24146324 | 57 days ago | IN | 0 ETH | 0.00002715 | ||||
| Set Approval For... | 24100569 | 63 days ago | IN | 0 ETH | 0.00000254 | ||||
| Set Approval For... | 24093337 | 64 days ago | IN | 0 ETH | 0.00000065 | ||||
| Set Approval For... | 24062359 | 69 days ago | IN | 0 ETH | 0.00000101 | ||||
| Set Approval For... | 24023589 | 74 days ago | IN | 0 ETH | 0.00001785 | ||||
| Set Approval For... | 24006612 | 76 days ago | IN | 0 ETH | 0.00000596 | ||||
| Set Approval For... | 23970491 | 81 days ago | IN | 0 ETH | 0.00004615 |
View more zero value Internal Transactions in Advanced View mode
Advanced mode:
Loading...
Loading
Loading...
Loading
Cross-Chain Transactions
Loading...
Loading
Contract Name:
ShizoPunks
Compiler Version
v0.8.26+commit.8a97fa7a
Optimization Enabled:
Yes with 200 runs
Other Settings:
paris EvmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: UNLICENSED
pragma solidity >=0.8.10;
import "solmate/tokens/ERC721.sol";
import "openzeppelin-contracts/contracts/utils/Strings.sol";
import "openzeppelin-contracts/contracts/utils/cryptography/ECDSA.sol";
import "openzeppelin-contracts/contracts/utils/cryptography/MessageHashUtils.sol";
import "openzeppelin-contracts/contracts/access/Ownable.sol";
error MaxSupply();
error NonExistentTokenURI();
error InvalidSignature();
error MintLimitReached();
contract ShizoPunks is ERC721, Ownable {
using Strings for uint256;
using ECDSA for bytes32;
using MessageHashUtils for bytes32;
address public signerAddress = address(0);
string public baseURI;
string public preRevealURI;
uint256 public currentTokenId;
uint256 public totalSupply = 600;
bool public revealed = false;
mapping(address => bool) public hasMinted;
constructor(string memory _name, string memory _symbol, string memory _preRevealURI, address _signerAddress)
ERC721(_name, _symbol)
Ownable(msg.sender)
{
preRevealURI = _preRevealURI;
signerAddress = _signerAddress;
}
function validateSignature(address recipient, bytes memory signature) public view returns (bool) {
bytes32 messageHash = keccak256(abi.encodePacked(recipient));
bytes32 ethSignedMessageHash = messageHash.toEthSignedMessageHash();
address signer = ethSignedMessageHash.recover(signature);
return signer == signerAddress;
}
function mintTo(address recipient, bytes memory signature) public returns (uint256) {
uint256 newTokenId = currentTokenId + 1;
if (newTokenId > totalSupply) {
revert MaxSupply();
}
if (!validateSignature(recipient, signature)) {
revert InvalidSignature();
}
if (hasMinted[recipient]) {
revert MintLimitReached();
}
hasMinted[recipient] = true;
currentTokenId = newTokenId;
_safeMint(recipient, newTokenId);
return newTokenId;
}
function setTotalSupply(uint256 _totalSupply) external onlyOwner {
totalSupply = _totalSupply;
}
function setPreRevealURI(string calldata _preRevealURI) external onlyOwner {
preRevealURI = _preRevealURI;
}
function setBaseURI(string calldata _baseURI) external onlyOwner {
baseURI = _baseURI;
}
function setSignerAddress(address _signerAddress) external onlyOwner {
signerAddress = _signerAddress;
}
function reveal() external onlyOwner {
revealed = true;
}
function tokenURI(uint256 tokenId) public view virtual override returns (string memory) {
if (ownerOf(tokenId) == address(0)) {
revert NonExistentTokenURI();
}
if (!revealed) {
return preRevealURI;
}
return bytes(baseURI).length > 0 ? string(abi.encodePacked(baseURI, tokenId.toString())) : "";
}
}// 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: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (utils/Strings.sol)
pragma solidity ^0.8.20;
import {Math} from "./math/Math.sol";
import {SignedMath} from "./math/SignedMath.sol";
/**
* @dev String operations.
*/
library Strings {
bytes16 private constant HEX_DIGITS = "0123456789abcdef";
uint8 private constant ADDRESS_LENGTH = 20;
/**
* @dev The `value` string doesn't fit in the specified `length`.
*/
error StringsInsufficientHexLength(uint256 value, uint256 length);
/**
* @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), HEX_DIGITS))
}
value /= 10;
if (value == 0) break;
}
return buffer;
}
}
/**
* @dev Converts a `int256` to its ASCII `string` decimal representation.
*/
function toStringSigned(int256 value) internal pure returns (string memory) {
return string.concat(value < 0 ? "-" : "", toString(SignedMath.abs(value)));
}
/**
* @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) {
uint256 localValue = value;
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_DIGITS[localValue & 0xf];
localValue >>= 4;
}
if (localValue != 0) {
revert StringsInsufficientHexLength(value, length);
}
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);
}
/**
* @dev Returns true if the two strings are equal.
*/
function equal(string memory a, string memory b) internal pure returns (bool) {
return bytes(a).length == bytes(b).length && keccak256(bytes(a)) == keccak256(bytes(b));
}
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (utils/cryptography/ECDSA.sol)
pragma solidity ^0.8.20;
/**
* @dev Elliptic Curve Digital Signature Algorithm (ECDSA) operations.
*
* These functions can be used to verify that a message was signed by the holder
* of the private keys of a given address.
*/
library ECDSA {
enum RecoverError {
NoError,
InvalidSignature,
InvalidSignatureLength,
InvalidSignatureS
}
/**
* @dev The signature derives the `address(0)`.
*/
error ECDSAInvalidSignature();
/**
* @dev The signature has an invalid length.
*/
error ECDSAInvalidSignatureLength(uint256 length);
/**
* @dev The signature has an S value that is in the upper half order.
*/
error ECDSAInvalidSignatureS(bytes32 s);
/**
* @dev Returns the address that signed a hashed message (`hash`) with `signature` or an error. This will not
* return address(0) without also returning an error description. Errors are documented using an enum (error type)
* and a bytes32 providing additional information about the error.
*
* If no error is returned, then the address can be used for verification purposes.
*
* The `ecrecover` EVM precompile allows for malleable (non-unique) signatures:
* this function rejects them by requiring the `s` value to be in the lower
* half order, and the `v` value to be either 27 or 28.
*
* IMPORTANT: `hash` _must_ be the result of a hash operation for the
* verification to be secure: it is possible to craft signatures that
* recover to arbitrary addresses for non-hashed data. A safe way to ensure
* this is by receiving a hash of the original message (which may otherwise
* be too long), and then calling {MessageHashUtils-toEthSignedMessageHash} on it.
*
* Documentation for signature generation:
* - with https://web3js.readthedocs.io/en/v1.3.4/web3-eth-accounts.html#sign[Web3.js]
* - with https://docs.ethers.io/v5/api/signer/#Signer-signMessage[ethers]
*/
function tryRecover(bytes32 hash, bytes memory signature) internal pure returns (address, RecoverError, bytes32) {
if (signature.length == 65) {
bytes32 r;
bytes32 s;
uint8 v;
// ecrecover takes the signature parameters, and the only way to get them
// currently is to use assembly.
/// @solidity memory-safe-assembly
assembly {
r := mload(add(signature, 0x20))
s := mload(add(signature, 0x40))
v := byte(0, mload(add(signature, 0x60)))
}
return tryRecover(hash, v, r, s);
} else {
return (address(0), RecoverError.InvalidSignatureLength, bytes32(signature.length));
}
}
/**
* @dev Returns the address that signed a hashed message (`hash`) with
* `signature`. This address can then be used for verification purposes.
*
* The `ecrecover` EVM precompile allows for malleable (non-unique) signatures:
* this function rejects them by requiring the `s` value to be in the lower
* half order, and the `v` value to be either 27 or 28.
*
* IMPORTANT: `hash` _must_ be the result of a hash operation for the
* verification to be secure: it is possible to craft signatures that
* recover to arbitrary addresses for non-hashed data. A safe way to ensure
* this is by receiving a hash of the original message (which may otherwise
* be too long), and then calling {MessageHashUtils-toEthSignedMessageHash} on it.
*/
function recover(bytes32 hash, bytes memory signature) internal pure returns (address) {
(address recovered, RecoverError error, bytes32 errorArg) = tryRecover(hash, signature);
_throwError(error, errorArg);
return recovered;
}
/**
* @dev Overload of {ECDSA-tryRecover} that receives the `r` and `vs` short-signature fields separately.
*
* See https://eips.ethereum.org/EIPS/eip-2098[EIP-2098 short signatures]
*/
function tryRecover(bytes32 hash, bytes32 r, bytes32 vs) internal pure returns (address, RecoverError, bytes32) {
unchecked {
bytes32 s = vs & bytes32(0x7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff);
// We do not check for an overflow here since the shift operation results in 0 or 1.
uint8 v = uint8((uint256(vs) >> 255) + 27);
return tryRecover(hash, v, r, s);
}
}
/**
* @dev Overload of {ECDSA-recover} that receives the `r and `vs` short-signature fields separately.
*/
function recover(bytes32 hash, bytes32 r, bytes32 vs) internal pure returns (address) {
(address recovered, RecoverError error, bytes32 errorArg) = tryRecover(hash, r, vs);
_throwError(error, errorArg);
return recovered;
}
/**
* @dev Overload of {ECDSA-tryRecover} that receives the `v`,
* `r` and `s` signature fields separately.
*/
function tryRecover(
bytes32 hash,
uint8 v,
bytes32 r,
bytes32 s
) internal pure returns (address, RecoverError, bytes32) {
// EIP-2 still allows signature malleability for ecrecover(). Remove this possibility and make the signature
// unique. Appendix F in the Ethereum Yellow paper (https://ethereum.github.io/yellowpaper/paper.pdf), defines
// the valid range for s in (301): 0 < s < secp256k1n ÷ 2 + 1, and for v in (302): v ∈ {27, 28}. Most
// signatures from current libraries generate a unique signature with an s-value in the lower half order.
//
// If your library generates malleable signatures, such as s-values in the upper range, calculate a new s-value
// with 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEBAAEDCE6AF48A03BBFD25E8CD0364141 - s1 and flip v from 27 to 28 or
// vice versa. If your library also generates signatures with 0/1 for v instead 27/28, add 27 to v to accept
// these malleable signatures as well.
if (uint256(s) > 0x7FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF5D576E7357A4501DDFE92F46681B20A0) {
return (address(0), RecoverError.InvalidSignatureS, s);
}
// If the signature is valid (and not malleable), return the signer address
address signer = ecrecover(hash, v, r, s);
if (signer == address(0)) {
return (address(0), RecoverError.InvalidSignature, bytes32(0));
}
return (signer, RecoverError.NoError, bytes32(0));
}
/**
* @dev Overload of {ECDSA-recover} that receives the `v`,
* `r` and `s` signature fields separately.
*/
function recover(bytes32 hash, uint8 v, bytes32 r, bytes32 s) internal pure returns (address) {
(address recovered, RecoverError error, bytes32 errorArg) = tryRecover(hash, v, r, s);
_throwError(error, errorArg);
return recovered;
}
/**
* @dev Optionally reverts with the corresponding custom error according to the `error` argument provided.
*/
function _throwError(RecoverError error, bytes32 errorArg) private pure {
if (error == RecoverError.NoError) {
return; // no error: do nothing
} else if (error == RecoverError.InvalidSignature) {
revert ECDSAInvalidSignature();
} else if (error == RecoverError.InvalidSignatureLength) {
revert ECDSAInvalidSignatureLength(uint256(errorArg));
} else if (error == RecoverError.InvalidSignatureS) {
revert ECDSAInvalidSignatureS(errorArg);
}
}
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (utils/cryptography/MessageHashUtils.sol)
pragma solidity ^0.8.20;
import {Strings} from "../Strings.sol";
/**
* @dev Signature message hash utilities for producing digests to be consumed by {ECDSA} recovery or signing.
*
* The library provides methods for generating a hash of a message that conforms to the
* https://eips.ethereum.org/EIPS/eip-191[EIP 191] and https://eips.ethereum.org/EIPS/eip-712[EIP 712]
* specifications.
*/
library MessageHashUtils {
/**
* @dev Returns the keccak256 digest of an EIP-191 signed data with version
* `0x45` (`personal_sign` messages).
*
* The digest is calculated by prefixing a bytes32 `messageHash` with
* `"\x19Ethereum Signed Message:\n32"` and hashing the result. It corresponds with the
* hash signed when using the https://eth.wiki/json-rpc/API#eth_sign[`eth_sign`] JSON-RPC method.
*
* NOTE: The `messageHash` parameter is intended to be the result of hashing a raw message with
* keccak256, although any bytes32 value can be safely used because the final digest will
* be re-hashed.
*
* See {ECDSA-recover}.
*/
function toEthSignedMessageHash(bytes32 messageHash) internal pure returns (bytes32 digest) {
/// @solidity memory-safe-assembly
assembly {
mstore(0x00, "\x19Ethereum Signed Message:\n32") // 32 is the bytes-length of messageHash
mstore(0x1c, messageHash) // 0x1c (28) is the length of the prefix
digest := keccak256(0x00, 0x3c) // 0x3c is the length of the prefix (0x1c) + messageHash (0x20)
}
}
/**
* @dev Returns the keccak256 digest of an EIP-191 signed data with version
* `0x45` (`personal_sign` messages).
*
* The digest is calculated by prefixing an arbitrary `message` with
* `"\x19Ethereum Signed Message:\n" + len(message)` and hashing the result. It corresponds with the
* hash signed when using the https://eth.wiki/json-rpc/API#eth_sign[`eth_sign`] JSON-RPC method.
*
* See {ECDSA-recover}.
*/
function toEthSignedMessageHash(bytes memory message) internal pure returns (bytes32) {
return
keccak256(bytes.concat("\x19Ethereum Signed Message:\n", bytes(Strings.toString(message.length)), message));
}
/**
* @dev Returns the keccak256 digest of an EIP-191 signed data with version
* `0x00` (data with intended validator).
*
* The digest is calculated by prefixing an arbitrary `data` with `"\x19\x00"` and the intended
* `validator` address. Then hashing the result.
*
* See {ECDSA-recover}.
*/
function toDataWithIntendedValidatorHash(address validator, bytes memory data) internal pure returns (bytes32) {
return keccak256(abi.encodePacked(hex"19_00", validator, data));
}
/**
* @dev Returns the keccak256 digest of an EIP-712 typed data (EIP-191 version `0x01`).
*
* The digest is calculated from a `domainSeparator` and a `structHash`, by prefixing them with
* `\x19\x01` and hashing the result. It corresponds to the hash signed by the
* https://eips.ethereum.org/EIPS/eip-712[`eth_signTypedData`] JSON-RPC method as part of EIP-712.
*
* See {ECDSA-recover}.
*/
function toTypedDataHash(bytes32 domainSeparator, bytes32 structHash) internal pure returns (bytes32 digest) {
/// @solidity memory-safe-assembly
assembly {
let ptr := mload(0x40)
mstore(ptr, hex"19_01")
mstore(add(ptr, 0x02), domainSeparator)
mstore(add(ptr, 0x22), structHash)
digest := keccak256(ptr, 0x42)
}
}
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (access/Ownable.sol)
pragma solidity ^0.8.20;
import {Context} from "../utils/Context.sol";
/**
* @dev Contract module which provides a basic access control mechanism, where
* there is an account (an owner) that can be granted exclusive access to
* specific functions.
*
* The initial owner is set to the address provided by the deployer. 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;
/**
* @dev The caller account is not authorized to perform an operation.
*/
error OwnableUnauthorizedAccount(address account);
/**
* @dev The owner is not a valid owner account. (eg. `address(0)`)
*/
error OwnableInvalidOwner(address owner);
event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);
/**
* @dev Initializes the contract setting the address provided by the deployer as the initial owner.
*/
constructor(address initialOwner) {
if (initialOwner == address(0)) {
revert OwnableInvalidOwner(address(0));
}
_transferOwnership(initialOwner);
}
/**
* @dev Throws if called by any account other than the owner.
*/
modifier onlyOwner() {
_checkOwner();
_;
}
/**
* @dev Returns the address of the current owner.
*/
function owner() public view virtual returns (address) {
return _owner;
}
/**
* @dev Throws if the sender is not the owner.
*/
function _checkOwner() internal view virtual {
if (owner() != _msgSender()) {
revert OwnableUnauthorizedAccount(_msgSender());
}
}
/**
* @dev Leaves the contract without owner. It will not be possible to call
* `onlyOwner` functions. Can only be called by the current owner.
*
* NOTE: Renouncing ownership will leave the contract without an owner,
* thereby disabling 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 {
if (newOwner == address(0)) {
revert OwnableInvalidOwner(address(0));
}
_transferOwnership(newOwner);
}
/**
* @dev Transfers ownership of the contract to a new account (`newOwner`).
* Internal function without access restriction.
*/
function _transferOwnership(address newOwner) internal virtual {
address oldOwner = _owner;
_owner = newOwner;
emit OwnershipTransferred(oldOwner, newOwner);
}
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (utils/math/Math.sol)
pragma solidity ^0.8.20;
/**
* @dev Standard math utilities missing in the Solidity language.
*/
library Math {
/**
* @dev Muldiv operation overflow.
*/
error MathOverflowedMulDiv();
enum Rounding {
Floor, // Toward negative infinity
Ceil, // Toward positive infinity
Trunc, // Toward zero
Expand // Away from zero
}
/**
* @dev Returns the addition of two unsigned integers, with an overflow flag.
*/
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 subtraction of two unsigned integers, with an overflow flag.
*/
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.
*/
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.
*/
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.
*/
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 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 towards infinity instead
* of rounding towards zero.
*/
function ceilDiv(uint256 a, uint256 b) internal pure returns (uint256) {
if (b == 0) {
// Guarantee the same behavior as in a regular Solidity division.
return a / b;
}
// (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 = x * y; // Least significant 256 bits of the product
uint256 prod1; // Most significant 256 bits of the product
assembly {
let mm := mulmod(x, y, not(0))
prod1 := sub(sub(mm, prod0), lt(mm, prod0))
}
// Handle non-overflow cases, 256 by 256 division.
if (prod1 == 0) {
// Solidity will revert if denominator == 0, unlike the div opcode on its own.
// The surrounding unchecked block does not change this fact.
// See https://docs.soliditylang.org/en/latest/control-structures.html#checked-or-unchecked-arithmetic.
return prod0 / denominator;
}
// Make sure the result is less than 2^256. Also prevents denominator == 0.
if (denominator <= prod1) {
revert MathOverflowedMulDiv();
}
///////////////////////////////////////////////
// 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.
uint256 twos = denominator & (0 - denominator);
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 (unsignedRoundsUp(rounding) && 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
* towards zero.
*
* 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 + (unsignedRoundsUp(rounding) && result * result < a ? 1 : 0);
}
}
/**
* @dev Return the log in base 2 of a positive value rounded towards zero.
* 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 + (unsignedRoundsUp(rounding) && 1 << result < value ? 1 : 0);
}
}
/**
* @dev Return the log in base 10 of a positive value rounded towards zero.
* 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 + (unsignedRoundsUp(rounding) && 10 ** result < value ? 1 : 0);
}
}
/**
* @dev Return the log in base 256 of a positive value rounded towards zero.
* 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 256, 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 + (unsignedRoundsUp(rounding) && 1 << (result << 3) < value ? 1 : 0);
}
}
/**
* @dev Returns whether a provided rounding mode is considered rounding up for unsigned integers.
*/
function unsignedRoundsUp(Rounding rounding) internal pure returns (bool) {
return uint8(rounding) % 2 == 1;
}
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (utils/math/SignedMath.sol)
pragma solidity ^0.8.20;
/**
* @dev Standard signed math utilities missing in the Solidity language.
*/
library SignedMath {
/**
* @dev Returns the largest of two signed numbers.
*/
function max(int256 a, int256 b) internal pure returns (int256) {
return a > b ? a : b;
}
/**
* @dev Returns the smallest of two signed numbers.
*/
function min(int256 a, int256 b) internal pure returns (int256) {
return a < b ? a : b;
}
/**
* @dev Returns the average of two signed numbers without overflow.
* The result is rounded towards zero.
*/
function average(int256 a, int256 b) internal pure returns (int256) {
// Formula from the book "Hacker's Delight"
int256 x = (a & b) + ((a ^ b) >> 1);
return x + (int256(uint256(x) >> 255) & (a ^ b));
}
/**
* @dev Returns the absolute unsigned value of a signed value.
*/
function abs(int256 n) internal pure returns (uint256) {
unchecked {
// must be unchecked in order to support `n = type(int256).min`
return uint256(n >= 0 ? n : -n);
}
}
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.1) (utils/Context.sol)
pragma solidity ^0.8.20;
/**
* @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;
}
function _contextSuffixLength() internal view virtual returns (uint256) {
return 0;
}
}{
"remappings": [
"@openzeppelin/contracts/=lib/openzeppelin-contracts/contracts/",
"ds-test/=lib/solmate/lib/ds-test/src/",
"erc4626-tests/=lib/openzeppelin-contracts/lib/erc4626-tests/",
"forge-std/=lib/forge-std/src/",
"openzeppelin-contracts/=lib/openzeppelin-contracts/",
"solmate/=lib/solmate/src/"
],
"optimizer": {
"enabled": true,
"runs": 200
},
"metadata": {
"useLiteralContent": false,
"bytecodeHash": "ipfs",
"appendCBOR": true
},
"outputSelection": {
"*": {
"*": [
"evm.bytecode",
"evm.deployedBytecode",
"devdoc",
"userdoc",
"metadata",
"abi"
]
}
},
"evmVersion": "paris",
"viaIR": false,
"libraries": {}
}Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
Contract ABI
API[{"inputs":[{"internalType":"string","name":"_name","type":"string"},{"internalType":"string","name":"_symbol","type":"string"},{"internalType":"string","name":"_preRevealURI","type":"string"},{"internalType":"address","name":"_signerAddress","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ECDSAInvalidSignature","type":"error"},{"inputs":[{"internalType":"uint256","name":"length","type":"uint256"}],"name":"ECDSAInvalidSignatureLength","type":"error"},{"inputs":[{"internalType":"bytes32","name":"s","type":"bytes32"}],"name":"ECDSAInvalidSignatureS","type":"error"},{"inputs":[],"name":"InvalidSignature","type":"error"},{"inputs":[],"name":"MaxSupply","type":"error"},{"inputs":[],"name":"MintLimitReached","type":"error"},{"inputs":[],"name":"NonExistentTokenURI","type":"error"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"OwnableInvalidOwner","type":"error"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"OwnableUnauthorizedAccount","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":[{"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":[],"name":"currentTokenId","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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"}],"name":"hasMinted","outputs":[{"internalType":"bool","name":"","type":"bool"}],"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":[{"internalType":"address","name":"recipient","type":"address"},{"internalType":"bytes","name":"signature","type":"bytes"}],"name":"mintTo","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"nonpayable","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":"preRevealURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"reveal","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"revealed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"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":"_baseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_preRevealURI","type":"string"}],"name":"setPreRevealURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_signerAddress","type":"address"}],"name":"setSignerAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_totalSupply","type":"uint256"}],"name":"setTotalSupply","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"signerAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"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":[{"internalType":"address","name":"recipient","type":"address"},{"internalType":"bytes","name":"signature","type":"bytes"}],"name":"validateSignature","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"}]Contract Creation Code
6080604052600780546001600160a01b0319169055610258600b55600c805460ff1916905534801561003057600080fd5b50604051611e27380380611e2783398101604081905261004f916101e7565b338484600061005e8382610326565b50600161006b8282610326565b5050506001600160a01b03811661009c57604051631e4fbdf760e01b81526000600482015260240160405180910390fd5b6100a5816100dc565b5060096100b28382610326565b50600780546001600160a01b0319166001600160a01b0392909216919091179055506103e4915050565b600680546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b634e487b7160e01b600052604160045260246000fd5b600082601f83011261015557600080fd5b81516001600160401b0381111561016e5761016e61012e565b604051601f8201601f19908116603f011681016001600160401b038111828210171561019c5761019c61012e565b6040528181528382016020018510156101b457600080fd5b60005b828110156101d3576020818601810151838301820152016101b7565b506000918101602001919091529392505050565b600080600080608085870312156101fd57600080fd5b84516001600160401b0381111561021357600080fd5b61021f87828801610144565b602087015190955090506001600160401b0381111561023d57600080fd5b61024987828801610144565b604087015190945090506001600160401b0381111561026757600080fd5b61027387828801610144565b606087015190935090506001600160a01b038116811461029257600080fd5b939692955090935050565b600181811c908216806102b157607f821691505b6020821081036102d157634e487b7160e01b600052602260045260246000fd5b50919050565b601f82111561032157806000526020600020601f840160051c810160208510156102fe5750805b601f840160051c820191505b8181101561031e576000815560010161030a565b50505b505050565b81516001600160401b0381111561033f5761033f61012e565b6103538161034d845461029d565b846102d7565b6020601f821160018114610387576000831561036f5750848201515b600019600385901b1c1916600184901b17845561031e565b600084815260208120601f198516915b828110156103b75787850151825560209485019460019092019101610397565b50848210156103d55786840151600019600387901b60f8161c191681555b50505050600190811b01905550565b611a34806103f36000396000f3fe608060405234801561001057600080fd5b50600436106101d95760003560e01c80636352211e11610104578063a22cb465116100a2578063c87b56dd11610071578063c87b56dd146103de578063e985e9c5146103f1578063f2fde38b1461041f578063f7ea7a3d1461043257600080fd5b8063a22cb4651461039d578063a475b5dd146103b0578063ab57392b146103b8578063b88d4fde146103cb57600080fd5b8063715018a6116100de578063715018a61461037457806379b6ed361461037c5780638da5cb5b1461038457806395d89b411461039557600080fd5b80636352211e146103465780636c0360eb1461035957806370a082311461036157600080fd5b806323b872dd1161017c57806342842e0e1161014b57806342842e0e14610300578063518302271461031357806355f804b3146103205780635b7633d01461033357600080fd5b806323b872dd146102a45780632a85db55146102b757806338e21cce146102ca5780633d3503d9146102ed57600080fd5b806306fdde03116101b857806306fdde0314610232578063081812fc14610247578063095ea7b31461028857806318160ddd1461029b57600080fd5b80629a9b7b146101de57806301ffc9a7146101fa578063046dc1661461021d575b600080fd5b6101e7600a5481565b6040519081526020015b60405180910390f35b61020d6102083660046113f9565b610445565b60405190151581526020016101f1565b61023061022b36600461142d565b610497565b005b61023a6104c1565b6040516101f1919061146c565b61027061025536600461149f565b6004602052600090815260409020546001600160a01b031681565b6040516001600160a01b0390911681526020016101f1565b6102306102963660046114b8565b61054f565b6101e7600b5481565b6102306102b23660046114e2565b610636565b6102306102c5366004611568565b6107fd565b61020d6102d836600461142d565b600d6020526000908152604090205460ff1681565b6101e76102fb3660046115c0565b610817565b61023061030e3660046114e2565b6108e8565b600c5461020d9060ff1681565b61023061032e366004611568565b6109b8565b600754610270906001600160a01b031681565b61027061035436600461149f565b6109cd565b61023a610a24565b6101e761036f36600461142d565b610a31565b610230610a94565b61023a610aa8565b6006546001600160a01b0316610270565b61023a610ab5565b6102306103ab36600461168a565b610ac2565b610230610b2e565b61020d6103c63660046115c0565b610b45565b6102306103d93660046116c6565b610be3565b61023a6103ec36600461149f565b610ca8565b61020d6103ff366004611735565b600560209081526000928352604080842090915290825290205460ff1681565b61023061042d36600461142d565b610dd4565b61023061044036600461149f565b610e12565b60006301ffc9a760e01b6001600160e01b03198316148061047657506380ac58cd60e01b6001600160e01b03198316145b806104915750635b5e139f60e01b6001600160e01b03198316145b92915050565b61049f610e1f565b600780546001600160a01b0319166001600160a01b0392909216919091179055565b600080546104ce90611768565b80601f01602080910402602001604051908101604052809291908181526020018280546104fa90611768565b80156105475780601f1061051c57610100808354040283529160200191610547565b820191906000526020600020905b81548152906001019060200180831161052a57829003601f168201915b505050505081565b6000818152600260205260409020546001600160a01b03163381148061059857506001600160a01b038116600090815260056020908152604080832033845290915290205460ff165b6105da5760405162461bcd60e51b815260206004820152600e60248201526d1393d517d055551213d49256915160921b60448201526064015b60405180910390fd5b60008281526004602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b6000818152600260205260409020546001600160a01b0384811691161461068c5760405162461bcd60e51b815260206004820152600a60248201526957524f4e475f46524f4d60b01b60448201526064016105d1565b6001600160a01b0382166106d65760405162461bcd60e51b81526020600482015260116024820152701253959053125117d49150d25412515395607a1b60448201526064016105d1565b336001600160a01b038416148061071057506001600160a01b038316600090815260056020908152604080832033845290915290205460ff165b8061073157506000818152600460205260409020546001600160a01b031633145b61076e5760405162461bcd60e51b815260206004820152600e60248201526d1393d517d055551213d49256915160921b60448201526064016105d1565b6001600160a01b0380841660008181526003602090815260408083208054600019019055938616808352848320805460010190558583526002825284832080546001600160a01b03199081168317909155600490925284832080549092169091559251849392917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b610805610e1f565b60096108128284836117e9565b505050565b600080600a54600161082991906118a9565b9050600b5481111561084e57604051632cdb04a160e21b815260040160405180910390fd5b6108588484610b45565b61087557604051638baa579f60e01b815260040160405180910390fd5b6001600160a01b0384166000908152600d602052604090205460ff16156108af5760405163303b682f60e01b815260040160405180910390fd5b6001600160a01b0384166000908152600d60205260409020805460ff19166001179055600a8190556108e18482610e4c565b9392505050565b6108f3838383610636565b6001600160a01b0382163b158061099c5750604051630a85bd0160e11b8082523360048301526001600160a01b03858116602484015260448301849052608060648401526000608484015290919084169063150b7a029060a4016020604051808303816000875af115801561096c573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061099091906118ca565b6001600160e01b031916145b6108125760405162461bcd60e51b81526004016105d1906118e7565b6109c0610e1f565b60086108128284836117e9565b6000818152600260205260409020546001600160a01b031680610a1f5760405162461bcd60e51b815260206004820152600a6024820152691393d517d3525395115160b21b60448201526064016105d1565b919050565b600880546104ce90611768565b60006001600160a01b038216610a785760405162461bcd60e51b815260206004820152600c60248201526b5a45524f5f4144445245535360a01b60448201526064016105d1565b506001600160a01b031660009081526003602052604090205490565b610a9c610e1f565b610aa66000610f1c565b565b600980546104ce90611768565b600180546104ce90611768565b3360008181526005602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b610b36610e1f565b600c805460ff19166001179055565b6040516bffffffffffffffffffffffff19606084901b16602082015260009081906034016040516020818303038152906040528051906020012090506000610bba827f19457468657265756d205369676e6564204d6573736167653a0a3332000000006000908152601c91909152603c902090565b90506000610bc88286610f6e565b6007546001600160a01b039081169116149695505050505050565b610bee858585610636565b6001600160a01b0384163b1580610c855750604051630a85bd0160e11b808252906001600160a01b0386169063150b7a0290610c369033908a90899089908990600401611911565b6020604051808303816000875af1158015610c55573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c7991906118ca565b6001600160e01b031916145b610ca15760405162461bcd60e51b81526004016105d1906118e7565b5050505050565b60606000610cb5836109cd565b6001600160a01b031603610cdc5760405163d872946b60e01b815260040160405180910390fd5b600c5460ff16610d785760098054610cf390611768565b80601f0160208091040260200160405190810160405280929190818152602001828054610d1f90611768565b8015610d6c5780601f10610d4157610100808354040283529160200191610d6c565b820191906000526020600020905b815481529060010190602001808311610d4f57829003601f168201915b50505050509050919050565b600060088054610d8790611768565b905011610da35760405180602001604052806000815250610491565b6008610dae83610f98565b604051602001610dbf929190611962565b60405160208183030381529060405292915050565b610ddc610e1f565b6001600160a01b038116610e0657604051631e4fbdf760e01b8152600060048201526024016105d1565b610e0f81610f1c565b50565b610e1a610e1f565b600b55565b6006546001600160a01b03163314610aa65760405163118cdaa760e01b81523360048201526024016105d1565b610e56828261102b565b6001600160a01b0382163b1580610efc5750604051630a85bd0160e11b80825233600483015260006024830181905260448301849052608060648401526084830152906001600160a01b0384169063150b7a029060a4016020604051808303816000875af1158015610ecc573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ef091906118ca565b6001600160e01b031916145b610f185760405162461bcd60e51b81526004016105d1906118e7565b5050565b600680546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b600080600080610f7e8686611136565b925092509250610f8e8282611183565b5090949350505050565b60606000610fa58361123c565b600101905060008167ffffffffffffffff811115610fc557610fc56115aa565b6040519080825280601f01601f191660200182016040528015610fef576020820181803683370190505b5090508181016020015b600019016f181899199a1a9b1b9c1cb0b131b232b360811b600a86061a8153600a8504945084610ff957509392505050565b6001600160a01b0382166110755760405162461bcd60e51b81526020600482015260116024820152701253959053125117d49150d25412515395607a1b60448201526064016105d1565b6000818152600260205260409020546001600160a01b0316156110cb5760405162461bcd60e51b815260206004820152600e60248201526d1053149150511657d3525395115160921b60448201526064016105d1565b6001600160a01b038216600081815260036020908152604080832080546001019055848352600290915280822080546001600160a01b0319168417905551839291907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b600080600083516041036111705760208401516040850151606086015160001a61116288828585611314565b95509550955050505061117c565b50508151600091506002905b9250925092565b6000826003811115611197576111976119e8565b036111a0575050565b60018260038111156111b4576111b46119e8565b036111d25760405163f645eedf60e01b815260040160405180910390fd5b60028260038111156111e6576111e66119e8565b036112075760405163fce698f760e01b8152600481018290526024016105d1565b600382600381111561121b5761121b6119e8565b03610f18576040516335e2f38360e21b8152600481018290526024016105d1565b60008072184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b831061127b5772184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b830492506040015b6d04ee2d6d415b85acef810000000083106112a7576d04ee2d6d415b85acef8100000000830492506020015b662386f26fc1000083106112c557662386f26fc10000830492506010015b6305f5e10083106112dd576305f5e100830492506008015b61271083106112f157612710830492506004015b60648310611303576064830492506002015b600a83106104915760010192915050565b600080807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a084111561134f57506000915060039050826113d9565b604080516000808252602082018084528a905260ff891692820192909252606081018790526080810186905260019060a0016020604051602081039080840390855afa1580156113a3573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b0381166113cf575060009250600191508290506113d9565b9250600091508190505b9450945094915050565b6001600160e01b031981168114610e0f57600080fd5b60006020828403121561140b57600080fd5b81356108e1816113e3565b80356001600160a01b0381168114610a1f57600080fd5b60006020828403121561143f57600080fd5b6108e182611416565b60005b8381101561146357818101518382015260200161144b565b50506000910152565b602081526000825180602084015261148b816040850160208701611448565b601f01601f19169190910160400192915050565b6000602082840312156114b157600080fd5b5035919050565b600080604083850312156114cb57600080fd5b6114d483611416565b946020939093013593505050565b6000806000606084860312156114f757600080fd5b61150084611416565b925061150e60208501611416565b929592945050506040919091013590565b60008083601f84011261153157600080fd5b50813567ffffffffffffffff81111561154957600080fd5b60208301915083602082850101111561156157600080fd5b9250929050565b6000806020838503121561157b57600080fd5b823567ffffffffffffffff81111561159257600080fd5b61159e8582860161151f565b90969095509350505050565b634e487b7160e01b600052604160045260246000fd5b600080604083850312156115d357600080fd5b6115dc83611416565b9150602083013567ffffffffffffffff8111156115f857600080fd5b8301601f8101851361160957600080fd5b803567ffffffffffffffff811115611623576116236115aa565b604051601f8201601f19908116603f0116810167ffffffffffffffff81118282101715611652576116526115aa565b60405281815282820160200187101561166a57600080fd5b816020840160208301376000602083830101528093505050509250929050565b6000806040838503121561169d57600080fd5b6116a683611416565b9150602083013580151581146116bb57600080fd5b809150509250929050565b6000806000806000608086880312156116de57600080fd5b6116e786611416565b94506116f560208701611416565b935060408601359250606086013567ffffffffffffffff81111561171857600080fd5b6117248882890161151f565b969995985093965092949392505050565b6000806040838503121561174857600080fd5b61175183611416565b915061175f60208401611416565b90509250929050565b600181811c9082168061177c57607f821691505b60208210810361179c57634e487b7160e01b600052602260045260246000fd5b50919050565b601f82111561081257806000526020600020601f840160051c810160208510156117c95750805b601f840160051c820191505b81811015610ca157600081556001016117d5565b67ffffffffffffffff831115611801576118016115aa565b6118158361180f8354611768565b836117a2565b6000601f84116001811461184957600085156118315750838201355b600019600387901b1c1916600186901b178355610ca1565b600083815260209020601f19861690835b8281101561187a578685013582556020948501946001909201910161185a565b50868210156118975760001960f88860031b161c19848701351681555b505060018560011b0183555050505050565b8082018082111561049157634e487b7160e01b600052601160045260246000fd5b6000602082840312156118dc57600080fd5b81516108e1816113e3565b60208082526010908201526f155394d0519157d49150d2541251539560821b604082015260600190565b6001600160a01b03868116825285166020820152604081018490526080606082018190528101829052818360a0830137600081830160a090810191909152601f909201601f19160101949350505050565b600080845461197081611768565b600182168015611987576001811461199c576119cc565b60ff19831686528115158202860193506119cc565b87600052602060002060005b838110156119c4578154888201526001909101906020016119a8565b505081860193505b50505083516119df818360208801611448565b01949350505050565b634e487b7160e01b600052602160045260246000fdfea26469706673582212206a0ff0a2f20d163f3d4a6df970444da25b71a0ddff7f3b9e7799a4254e6033f564736f6c634300081a0033000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c00000000000000000000000000000000000000000000000000000000000000100000000000000000000000000fec04b26b454b77ae782a6b503a6c3c4ce3402c4000000000000000000000000000000000000000000000000000000000000000a5368697a6f50756e6b730000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000055348495a4f0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000041697066733a2f2f516d4e685166547835464a785756737572713931696d5272593677753337745076354b4e4a456b7144666b6534612f68696464656e2e6a736f6e00000000000000000000000000000000000000000000000000000000000000
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106101d95760003560e01c80636352211e11610104578063a22cb465116100a2578063c87b56dd11610071578063c87b56dd146103de578063e985e9c5146103f1578063f2fde38b1461041f578063f7ea7a3d1461043257600080fd5b8063a22cb4651461039d578063a475b5dd146103b0578063ab57392b146103b8578063b88d4fde146103cb57600080fd5b8063715018a6116100de578063715018a61461037457806379b6ed361461037c5780638da5cb5b1461038457806395d89b411461039557600080fd5b80636352211e146103465780636c0360eb1461035957806370a082311461036157600080fd5b806323b872dd1161017c57806342842e0e1161014b57806342842e0e14610300578063518302271461031357806355f804b3146103205780635b7633d01461033357600080fd5b806323b872dd146102a45780632a85db55146102b757806338e21cce146102ca5780633d3503d9146102ed57600080fd5b806306fdde03116101b857806306fdde0314610232578063081812fc14610247578063095ea7b31461028857806318160ddd1461029b57600080fd5b80629a9b7b146101de57806301ffc9a7146101fa578063046dc1661461021d575b600080fd5b6101e7600a5481565b6040519081526020015b60405180910390f35b61020d6102083660046113f9565b610445565b60405190151581526020016101f1565b61023061022b36600461142d565b610497565b005b61023a6104c1565b6040516101f1919061146c565b61027061025536600461149f565b6004602052600090815260409020546001600160a01b031681565b6040516001600160a01b0390911681526020016101f1565b6102306102963660046114b8565b61054f565b6101e7600b5481565b6102306102b23660046114e2565b610636565b6102306102c5366004611568565b6107fd565b61020d6102d836600461142d565b600d6020526000908152604090205460ff1681565b6101e76102fb3660046115c0565b610817565b61023061030e3660046114e2565b6108e8565b600c5461020d9060ff1681565b61023061032e366004611568565b6109b8565b600754610270906001600160a01b031681565b61027061035436600461149f565b6109cd565b61023a610a24565b6101e761036f36600461142d565b610a31565b610230610a94565b61023a610aa8565b6006546001600160a01b0316610270565b61023a610ab5565b6102306103ab36600461168a565b610ac2565b610230610b2e565b61020d6103c63660046115c0565b610b45565b6102306103d93660046116c6565b610be3565b61023a6103ec36600461149f565b610ca8565b61020d6103ff366004611735565b600560209081526000928352604080842090915290825290205460ff1681565b61023061042d36600461142d565b610dd4565b61023061044036600461149f565b610e12565b60006301ffc9a760e01b6001600160e01b03198316148061047657506380ac58cd60e01b6001600160e01b03198316145b806104915750635b5e139f60e01b6001600160e01b03198316145b92915050565b61049f610e1f565b600780546001600160a01b0319166001600160a01b0392909216919091179055565b600080546104ce90611768565b80601f01602080910402602001604051908101604052809291908181526020018280546104fa90611768565b80156105475780601f1061051c57610100808354040283529160200191610547565b820191906000526020600020905b81548152906001019060200180831161052a57829003601f168201915b505050505081565b6000818152600260205260409020546001600160a01b03163381148061059857506001600160a01b038116600090815260056020908152604080832033845290915290205460ff165b6105da5760405162461bcd60e51b815260206004820152600e60248201526d1393d517d055551213d49256915160921b60448201526064015b60405180910390fd5b60008281526004602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b6000818152600260205260409020546001600160a01b0384811691161461068c5760405162461bcd60e51b815260206004820152600a60248201526957524f4e475f46524f4d60b01b60448201526064016105d1565b6001600160a01b0382166106d65760405162461bcd60e51b81526020600482015260116024820152701253959053125117d49150d25412515395607a1b60448201526064016105d1565b336001600160a01b038416148061071057506001600160a01b038316600090815260056020908152604080832033845290915290205460ff165b8061073157506000818152600460205260409020546001600160a01b031633145b61076e5760405162461bcd60e51b815260206004820152600e60248201526d1393d517d055551213d49256915160921b60448201526064016105d1565b6001600160a01b0380841660008181526003602090815260408083208054600019019055938616808352848320805460010190558583526002825284832080546001600160a01b03199081168317909155600490925284832080549092169091559251849392917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b610805610e1f565b60096108128284836117e9565b505050565b600080600a54600161082991906118a9565b9050600b5481111561084e57604051632cdb04a160e21b815260040160405180910390fd5b6108588484610b45565b61087557604051638baa579f60e01b815260040160405180910390fd5b6001600160a01b0384166000908152600d602052604090205460ff16156108af5760405163303b682f60e01b815260040160405180910390fd5b6001600160a01b0384166000908152600d60205260409020805460ff19166001179055600a8190556108e18482610e4c565b9392505050565b6108f3838383610636565b6001600160a01b0382163b158061099c5750604051630a85bd0160e11b8082523360048301526001600160a01b03858116602484015260448301849052608060648401526000608484015290919084169063150b7a029060a4016020604051808303816000875af115801561096c573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061099091906118ca565b6001600160e01b031916145b6108125760405162461bcd60e51b81526004016105d1906118e7565b6109c0610e1f565b60086108128284836117e9565b6000818152600260205260409020546001600160a01b031680610a1f5760405162461bcd60e51b815260206004820152600a6024820152691393d517d3525395115160b21b60448201526064016105d1565b919050565b600880546104ce90611768565b60006001600160a01b038216610a785760405162461bcd60e51b815260206004820152600c60248201526b5a45524f5f4144445245535360a01b60448201526064016105d1565b506001600160a01b031660009081526003602052604090205490565b610a9c610e1f565b610aa66000610f1c565b565b600980546104ce90611768565b600180546104ce90611768565b3360008181526005602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b610b36610e1f565b600c805460ff19166001179055565b6040516bffffffffffffffffffffffff19606084901b16602082015260009081906034016040516020818303038152906040528051906020012090506000610bba827f19457468657265756d205369676e6564204d6573736167653a0a3332000000006000908152601c91909152603c902090565b90506000610bc88286610f6e565b6007546001600160a01b039081169116149695505050505050565b610bee858585610636565b6001600160a01b0384163b1580610c855750604051630a85bd0160e11b808252906001600160a01b0386169063150b7a0290610c369033908a90899089908990600401611911565b6020604051808303816000875af1158015610c55573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c7991906118ca565b6001600160e01b031916145b610ca15760405162461bcd60e51b81526004016105d1906118e7565b5050505050565b60606000610cb5836109cd565b6001600160a01b031603610cdc5760405163d872946b60e01b815260040160405180910390fd5b600c5460ff16610d785760098054610cf390611768565b80601f0160208091040260200160405190810160405280929190818152602001828054610d1f90611768565b8015610d6c5780601f10610d4157610100808354040283529160200191610d6c565b820191906000526020600020905b815481529060010190602001808311610d4f57829003601f168201915b50505050509050919050565b600060088054610d8790611768565b905011610da35760405180602001604052806000815250610491565b6008610dae83610f98565b604051602001610dbf929190611962565b60405160208183030381529060405292915050565b610ddc610e1f565b6001600160a01b038116610e0657604051631e4fbdf760e01b8152600060048201526024016105d1565b610e0f81610f1c565b50565b610e1a610e1f565b600b55565b6006546001600160a01b03163314610aa65760405163118cdaa760e01b81523360048201526024016105d1565b610e56828261102b565b6001600160a01b0382163b1580610efc5750604051630a85bd0160e11b80825233600483015260006024830181905260448301849052608060648401526084830152906001600160a01b0384169063150b7a029060a4016020604051808303816000875af1158015610ecc573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ef091906118ca565b6001600160e01b031916145b610f185760405162461bcd60e51b81526004016105d1906118e7565b5050565b600680546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b600080600080610f7e8686611136565b925092509250610f8e8282611183565b5090949350505050565b60606000610fa58361123c565b600101905060008167ffffffffffffffff811115610fc557610fc56115aa565b6040519080825280601f01601f191660200182016040528015610fef576020820181803683370190505b5090508181016020015b600019016f181899199a1a9b1b9c1cb0b131b232b360811b600a86061a8153600a8504945084610ff957509392505050565b6001600160a01b0382166110755760405162461bcd60e51b81526020600482015260116024820152701253959053125117d49150d25412515395607a1b60448201526064016105d1565b6000818152600260205260409020546001600160a01b0316156110cb5760405162461bcd60e51b815260206004820152600e60248201526d1053149150511657d3525395115160921b60448201526064016105d1565b6001600160a01b038216600081815260036020908152604080832080546001019055848352600290915280822080546001600160a01b0319168417905551839291907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b600080600083516041036111705760208401516040850151606086015160001a61116288828585611314565b95509550955050505061117c565b50508151600091506002905b9250925092565b6000826003811115611197576111976119e8565b036111a0575050565b60018260038111156111b4576111b46119e8565b036111d25760405163f645eedf60e01b815260040160405180910390fd5b60028260038111156111e6576111e66119e8565b036112075760405163fce698f760e01b8152600481018290526024016105d1565b600382600381111561121b5761121b6119e8565b03610f18576040516335e2f38360e21b8152600481018290526024016105d1565b60008072184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b831061127b5772184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b830492506040015b6d04ee2d6d415b85acef810000000083106112a7576d04ee2d6d415b85acef8100000000830492506020015b662386f26fc1000083106112c557662386f26fc10000830492506010015b6305f5e10083106112dd576305f5e100830492506008015b61271083106112f157612710830492506004015b60648310611303576064830492506002015b600a83106104915760010192915050565b600080807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a084111561134f57506000915060039050826113d9565b604080516000808252602082018084528a905260ff891692820192909252606081018790526080810186905260019060a0016020604051602081039080840390855afa1580156113a3573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b0381166113cf575060009250600191508290506113d9565b9250600091508190505b9450945094915050565b6001600160e01b031981168114610e0f57600080fd5b60006020828403121561140b57600080fd5b81356108e1816113e3565b80356001600160a01b0381168114610a1f57600080fd5b60006020828403121561143f57600080fd5b6108e182611416565b60005b8381101561146357818101518382015260200161144b565b50506000910152565b602081526000825180602084015261148b816040850160208701611448565b601f01601f19169190910160400192915050565b6000602082840312156114b157600080fd5b5035919050565b600080604083850312156114cb57600080fd5b6114d483611416565b946020939093013593505050565b6000806000606084860312156114f757600080fd5b61150084611416565b925061150e60208501611416565b929592945050506040919091013590565b60008083601f84011261153157600080fd5b50813567ffffffffffffffff81111561154957600080fd5b60208301915083602082850101111561156157600080fd5b9250929050565b6000806020838503121561157b57600080fd5b823567ffffffffffffffff81111561159257600080fd5b61159e8582860161151f565b90969095509350505050565b634e487b7160e01b600052604160045260246000fd5b600080604083850312156115d357600080fd5b6115dc83611416565b9150602083013567ffffffffffffffff8111156115f857600080fd5b8301601f8101851361160957600080fd5b803567ffffffffffffffff811115611623576116236115aa565b604051601f8201601f19908116603f0116810167ffffffffffffffff81118282101715611652576116526115aa565b60405281815282820160200187101561166a57600080fd5b816020840160208301376000602083830101528093505050509250929050565b6000806040838503121561169d57600080fd5b6116a683611416565b9150602083013580151581146116bb57600080fd5b809150509250929050565b6000806000806000608086880312156116de57600080fd5b6116e786611416565b94506116f560208701611416565b935060408601359250606086013567ffffffffffffffff81111561171857600080fd5b6117248882890161151f565b969995985093965092949392505050565b6000806040838503121561174857600080fd5b61175183611416565b915061175f60208401611416565b90509250929050565b600181811c9082168061177c57607f821691505b60208210810361179c57634e487b7160e01b600052602260045260246000fd5b50919050565b601f82111561081257806000526020600020601f840160051c810160208510156117c95750805b601f840160051c820191505b81811015610ca157600081556001016117d5565b67ffffffffffffffff831115611801576118016115aa565b6118158361180f8354611768565b836117a2565b6000601f84116001811461184957600085156118315750838201355b600019600387901b1c1916600186901b178355610ca1565b600083815260209020601f19861690835b8281101561187a578685013582556020948501946001909201910161185a565b50868210156118975760001960f88860031b161c19848701351681555b505060018560011b0183555050505050565b8082018082111561049157634e487b7160e01b600052601160045260246000fd5b6000602082840312156118dc57600080fd5b81516108e1816113e3565b60208082526010908201526f155394d0519157d49150d2541251539560821b604082015260600190565b6001600160a01b03868116825285166020820152604081018490526080606082018190528101829052818360a0830137600081830160a090810191909152601f909201601f19160101949350505050565b600080845461197081611768565b600182168015611987576001811461199c576119cc565b60ff19831686528115158202860193506119cc565b87600052602060002060005b838110156119c4578154888201526001909101906020016119a8565b505081860193505b50505083516119df818360208801611448565b01949350505050565b634e487b7160e01b600052602160045260246000fdfea26469706673582212206a0ff0a2f20d163f3d4a6df970444da25b71a0ddff7f3b9e7799a4254e6033f564736f6c634300081a0033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c00000000000000000000000000000000000000000000000000000000000000100000000000000000000000000fec04b26b454b77ae782a6b503a6c3c4ce3402c4000000000000000000000000000000000000000000000000000000000000000a5368697a6f50756e6b730000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000055348495a4f0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000041697066733a2f2f516d4e685166547835464a785756737572713931696d5272593677753337745076354b4e4a456b7144666b6534612f68696464656e2e6a736f6e00000000000000000000000000000000000000000000000000000000000000
-----Decoded View---------------
Arg [0] : _name (string): ShizoPunks
Arg [1] : _symbol (string): SHIZO
Arg [2] : _preRevealURI (string): ipfs://QmNhQfTx5FJxWVsurq91imRrY6wu37tPv5KNJEkqDfke4a/hidden.json
Arg [3] : _signerAddress (address): 0xfEc04B26b454B77ae782A6b503A6C3C4ce3402c4
-----Encoded View---------------
12 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000080
Arg [1] : 00000000000000000000000000000000000000000000000000000000000000c0
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000100
Arg [3] : 000000000000000000000000fec04b26b454b77ae782a6b503a6c3c4ce3402c4
Arg [4] : 000000000000000000000000000000000000000000000000000000000000000a
Arg [5] : 5368697a6f50756e6b7300000000000000000000000000000000000000000000
Arg [6] : 0000000000000000000000000000000000000000000000000000000000000005
Arg [7] : 5348495a4f000000000000000000000000000000000000000000000000000000
Arg [8] : 0000000000000000000000000000000000000000000000000000000000000041
Arg [9] : 697066733a2f2f516d4e685166547835464a785756737572713931696d527259
Arg [10] : 3677753337745076354b4e4a456b7144666b6534612f68696464656e2e6a736f
Arg [11] : 6e00000000000000000000000000000000000000000000000000000000000000
Loading...
Loading
Loading...
Loading
Net Worth in USD
$0.00
Net Worth in ETH
0
Multichain Portfolio | 33 Chains
| Chain | Token | Portfolio % | Price | Amount | Value |
|---|
Loading...
Loading
Loading...
Loading
Loading...
Loading
[ Download: CSV Export ]
A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.