ERC-721
Overview
Max Total Supply
87 DarkHandBook
Holders
87
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
1 DarkHandBookLoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Source Code Verified (Exact Match)
Contract Name:
DarkHandBookNFT
Compiler Version
v0.8.7+commit.e28d00a7
Optimization Enabled:
No with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/utils/cryptography/ECDSA.sol"; import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Pausable.sol"; contract DarkHandBookNFT is Ownable, ERC721Pausable { /* ============ State Variables ============ */ // Total Token Supply uint256 public totalSupply; // Max Token Supply uint256 public maxSupply = 137; // Whitelist Signer address public signer; // Base URI string internal baseURI; /* ============ Events ============ */ // Modify the signer address event NewSigner(address oldSigner, address newSigner); // Modify the baseURI event SetBaseURI(string oldBaseURI, string newBaseURI); /* ============ Function ============ */ /** * @dev Initializes the contract * @param name Token name * @param symbol Token symbol * @param newOwner The new owner of the contract * @param newSigner The new signer of the contract */ constructor(string memory name, string memory symbol, address newOwner, address newSigner) ERC721(name, symbol){ _transferOwnership(newOwner); _pause(); signer = newSigner; } /** * @dev Pause the contract */ function pause() external onlyOwner returns(bool) { _pause(); return true; } /** * @dev Unpause the contract */ function unpause() external onlyOwner returns(bool) { _unpause(); return true; } /** * @dev Get the baseURi */ function _baseURI() internal view override returns (string memory) { return baseURI; } /** * @dev Set the baseURi */ function setBaseURI(string memory newURI) external onlyOwner returns(bool) { emit SetBaseURI(baseURI, newURI); baseURI = newURI; return true; } /** * @dev Modify the signer address * @param newSigner New signer address */ function setSigner(address newSigner) external onlyOwner returns(bool) { emit NewSigner(signer, newSigner); signer = newSigner; return true; } /** * @dev Whitelist user mint specifies tokenId * @param tokenId Minted tokenId * @param signature Signature data for the signer role */ function mint(uint256 tokenId, bytes memory signature) external returns(bool) { require(msg.sender == tx.origin, "The caller must be an EOA"); require(totalSupply + 1 <= maxSupply, "Total token supply cannot exceed 1024"); bytes32 hash = keccak256(abi.encode("\x19Ethereum Signed Message:\n", msg.sender, tokenId)); (address recovered, ECDSA.RecoverError error) = ECDSA.tryRecover(hash, signature); require(error == ECDSA.RecoverError.NoError && recovered == signer); _safeMint(msg.sender, tokenId); totalSupply+=1; return true; } /** * @dev Override _beforeTokenTransfer * * Requirements: * * - When the contract is suspended, users cannot perform transfer operation */ function _beforeTokenTransfer(address from, address to, uint256 tokenId) internal override { if (from != address(0)) { require(!paused(), "ERC721Pausable: token transfer while paused"); } } /** * @dev Override approve * * Requirements: * * - When the contract is suspended, users cannot perform the approval operation */ function approve(address to, uint256 tokenId) public whenNotPaused override { super.approve(to, tokenId); } /** * @dev Override setApprovalForAll * * Requirements: * * - When the contract is suspended, users cannot perform the approval operation */ function setApprovalForAll(address operator, bool approved) public whenNotPaused override { super.setApprovalForAll(operator, approved); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/ERC721Pausable.sol) pragma solidity ^0.8.0; import "../ERC721.sol"; import "../../../security/Pausable.sol"; /** * @dev ERC721 token with pausable token transfers, minting and burning. * * Useful for scenarios such as preventing trades until the end of an evaluation * period, or having an emergency switch for freezing all token transfers in the * event of a large bug. */ abstract contract ERC721Pausable is ERC721, Pausable { /** * @dev See {ERC721-_beforeTokenTransfer}. * * Requirements: * * - the contract must not be paused. */ function _beforeTokenTransfer( address from, address to, uint256 tokenId ) internal virtual override { super._beforeTokenTransfer(from, to, tokenId); require(!paused(), "ERC721Pausable: token transfer while paused"); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.3) (utils/cryptography/ECDSA.sol) pragma solidity ^0.8.0; import "../Strings.sol"; /** * @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, InvalidSignatureV } function _throwError(RecoverError error) private pure { if (error == RecoverError.NoError) { return; // no error: do nothing } else if (error == RecoverError.InvalidSignature) { revert("ECDSA: invalid signature"); } else if (error == RecoverError.InvalidSignatureLength) { revert("ECDSA: invalid signature length"); } else if (error == RecoverError.InvalidSignatureS) { revert("ECDSA: invalid signature 's' value"); } else if (error == RecoverError.InvalidSignatureV) { revert("ECDSA: invalid signature 'v' value"); } } /** * @dev Returns the address that signed a hashed message (`hash`) with * `signature` or error string. This address can then be used for verification purposes. * * The `ecrecover` EVM opcode 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 {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] * * _Available since v4.3._ */ function tryRecover(bytes32 hash, bytes memory signature) internal pure returns (address, RecoverError) { 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); } } /** * @dev Returns the address that signed a hashed message (`hash`) with * `signature`. This address can then be used for verification purposes. * * The `ecrecover` EVM opcode 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 {toEthSignedMessageHash} on it. */ function recover(bytes32 hash, bytes memory signature) internal pure returns (address) { (address recovered, RecoverError error) = tryRecover(hash, signature); _throwError(error); 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] * * _Available since v4.3._ */ function tryRecover( bytes32 hash, bytes32 r, bytes32 vs ) internal pure returns (address, RecoverError) { bytes32 s = vs & bytes32(0x7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff); 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. * * _Available since v4.2._ */ function recover( bytes32 hash, bytes32 r, bytes32 vs ) internal pure returns (address) { (address recovered, RecoverError error) = tryRecover(hash, r, vs); _throwError(error); return recovered; } /** * @dev Overload of {ECDSA-tryRecover} that receives the `v`, * `r` and `s` signature fields separately. * * _Available since v4.3._ */ function tryRecover( bytes32 hash, uint8 v, bytes32 r, bytes32 s ) internal pure returns (address, RecoverError) { // 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); } if (v != 27 && v != 28) { return (address(0), RecoverError.InvalidSignatureV); } // 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); } return (signer, RecoverError.NoError); } /** * @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) = tryRecover(hash, v, r, s); _throwError(error); return recovered; } /** * @dev Returns an Ethereum Signed Message, created from a `hash`. This * produces hash corresponding to the one signed with the * https://eth.wiki/json-rpc/API#eth_sign[`eth_sign`] * JSON-RPC method as part of EIP-191. * * See {recover}. */ function toEthSignedMessageHash(bytes32 hash) internal pure returns (bytes32) { // 32 is the length in bytes of hash, // enforced by the type signature above return keccak256(abi.encodePacked("\x19Ethereum Signed Message:\n32", hash)); } /** * @dev Returns an Ethereum Signed Message, created from `s`. This * produces hash corresponding to the one signed with the * https://eth.wiki/json-rpc/API#eth_sign[`eth_sign`] * JSON-RPC method as part of EIP-191. * * See {recover}. */ function toEthSignedMessageHash(bytes memory s) internal pure returns (bytes32) { return keccak256(abi.encodePacked("\x19Ethereum Signed Message:\n", Strings.toString(s.length), s)); } /** * @dev Returns an Ethereum Signed Typed Data, created from a * `domainSeparator` and a `structHash`. This produces hash corresponding * to the one signed with the * https://eips.ethereum.org/EIPS/eip-712[`eth_signTypedData`] * JSON-RPC method as part of EIP-712. * * See {recover}. */ function toTypedDataHash(bytes32 domainSeparator, bytes32 structHash) internal pure returns (bytes32) { return keccak256(abi.encodePacked("\x19\x01", domainSeparator, structHash)); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.0) (access/Ownable.sol) pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _transferOwnership(_msgSender()); } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { _checkOwner(); _; } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if the sender is not the owner. */ function _checkOwner() internal view virtual { require(owner() == _msgSender(), "Ownable: caller is not the owner"); } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.0) (utils/Strings.sol) pragma solidity ^0.8.0; /** * @dev String operations. */ library Strings { bytes16 private constant _HEX_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) { // Inspired by OraclizeAPI's implementation - MIT licence // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol if (value == 0) { return "0"; } uint256 temp = value; uint256 digits; while (temp != 0) { digits++; temp /= 10; } bytes memory buffer = new bytes(digits); while (value != 0) { digits -= 1; buffer[digits] = bytes1(uint8(48 + uint256(value % 10))); value /= 10; } return string(buffer); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { if (value == 0) { return "0x00"; } uint256 temp = value; uint256 length = 0; while (temp != 0) { length++; temp >>= 8; } return toHexString(value, length); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length. */ function toHexString(uint256 value, uint256 length) internal pure returns (string memory) { bytes memory buffer = new bytes(2 * length + 2); buffer[0] = "0"; buffer[1] = "x"; for (uint256 i = 2 * length + 1; i > 1; --i) { buffer[i] = _HEX_SYMBOLS[value & 0xf]; value >>= 4; } require(value == 0, "Strings: hex length insufficient"); return string(buffer); } /** * @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 (last updated v4.7.0) (security/Pausable.sol) pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which allows children to implement an emergency stop * mechanism that can be triggered by an authorized account. * * This module is used through inheritance. It will make available the * modifiers `whenNotPaused` and `whenPaused`, which can be applied to * the functions of your contract. Note that they will not be pausable by * simply including this module, only once the modifiers are put in place. */ abstract contract Pausable is Context { /** * @dev Emitted when the pause is triggered by `account`. */ event Paused(address account); /** * @dev Emitted when the pause is lifted by `account`. */ event Unpaused(address account); bool private _paused; /** * @dev Initializes the contract in unpaused state. */ constructor() { _paused = false; } /** * @dev Modifier to make a function callable only when the contract is not paused. * * Requirements: * * - The contract must not be paused. */ modifier whenNotPaused() { _requireNotPaused(); _; } /** * @dev Modifier to make a function callable only when the contract is paused. * * Requirements: * * - The contract must be paused. */ modifier whenPaused() { _requirePaused(); _; } /** * @dev Returns true if the contract is paused, and false otherwise. */ function paused() public view virtual returns (bool) { return _paused; } /** * @dev Throws if the contract is paused. */ function _requireNotPaused() internal view virtual { require(!paused(), "Pausable: paused"); } /** * @dev Throws if the contract is not paused. */ function _requirePaused() internal view virtual { require(paused(), "Pausable: not paused"); } /** * @dev Triggers stopped state. * * Requirements: * * - The contract must not be paused. */ function _pause() internal virtual whenNotPaused { _paused = true; emit Paused(_msgSender()); } /** * @dev Returns to normal state. * * Requirements: * * - The contract must be paused. */ function _unpause() internal virtual whenPaused { _paused = false; emit Unpaused(_msgSender()); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.0) (token/ERC721/ERC721.sol) pragma solidity ^0.8.0; import "./IERC721.sol"; import "./IERC721Receiver.sol"; import "./extensions/IERC721Metadata.sol"; import "../../utils/Address.sol"; import "../../utils/Context.sol"; import "../../utils/Strings.sol"; import "../../utils/introspection/ERC165.sol"; /** * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including * the Metadata extension, but not including the Enumerable extension, which is available separately as * {ERC721Enumerable}. */ contract ERC721 is Context, ERC165, IERC721, IERC721Metadata { using Address for address; using Strings for uint256; // Token name string private _name; // Token symbol string private _symbol; // Mapping from token ID to owner address mapping(uint256 => address) private _owners; // Mapping owner address to token count mapping(address => uint256) private _balances; // Mapping from token ID to approved address mapping(uint256 => address) private _tokenApprovals; // Mapping from owner to operator approvals mapping(address => mapping(address => bool)) private _operatorApprovals; /** * @dev Initializes the contract by setting a `name` and a `symbol` to the token collection. */ constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) { return interfaceId == type(IERC721).interfaceId || interfaceId == type(IERC721Metadata).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC721-balanceOf}. */ function balanceOf(address owner) public view virtual override returns (uint256) { require(owner != address(0), "ERC721: address zero is not a valid owner"); return _balances[owner]; } /** * @dev See {IERC721-ownerOf}. */ function ownerOf(uint256 tokenId) public view virtual override returns (address) { address owner = _owners[tokenId]; require(owner != address(0), "ERC721: invalid token ID"); return owner; } /** * @dev See {IERC721Metadata-name}. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev See {IERC721Metadata-symbol}. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev See {IERC721Metadata-tokenURI}. */ function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { _requireMinted(tokenId); string memory baseURI = _baseURI(); return bytes(baseURI).length > 0 ? string(abi.encodePacked(baseURI, tokenId.toString())) : ""; } /** * @dev Base URI for computing {tokenURI}. If set, the resulting URI for each * token will be the concatenation of the `baseURI` and the `tokenId`. Empty * by default, can be overridden in child contracts. */ function _baseURI() internal view virtual returns (string memory) { return ""; } /** * @dev See {IERC721-approve}. */ function approve(address to, uint256 tokenId) public virtual override { address owner = ERC721.ownerOf(tokenId); require(to != owner, "ERC721: approval to current owner"); require( _msgSender() == owner || isApprovedForAll(owner, _msgSender()), "ERC721: approve caller is not token owner nor approved for all" ); _approve(to, tokenId); } /** * @dev See {IERC721-getApproved}. */ function getApproved(uint256 tokenId) public view virtual override returns (address) { _requireMinted(tokenId); return _tokenApprovals[tokenId]; } /** * @dev See {IERC721-setApprovalForAll}. */ function setApprovalForAll(address operator, bool approved) public virtual override { _setApprovalForAll(_msgSender(), operator, approved); } /** * @dev See {IERC721-isApprovedForAll}. */ function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) { return _operatorApprovals[owner][operator]; } /** * @dev See {IERC721-transferFrom}. */ function transferFrom( address from, address to, uint256 tokenId ) public virtual override { //solhint-disable-next-line max-line-length require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: caller is not token owner nor approved"); _transfer(from, to, tokenId); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId ) public virtual override { safeTransferFrom(from, to, tokenId, ""); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes memory data ) public virtual override { require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: caller is not token owner nor approved"); _safeTransfer(from, to, tokenId, data); } /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * `data` is additional data, it has no specified format and it is sent in call to `to`. * * This internal function is equivalent to {safeTransferFrom}, and can be used to e.g. * implement alternative mechanisms to perform token transfer, such as signature-based. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeTransfer( address from, address to, uint256 tokenId, bytes memory data ) internal virtual { _transfer(from, to, tokenId); require(_checkOnERC721Received(from, to, tokenId, data), "ERC721: transfer to non ERC721Receiver implementer"); } /** * @dev Returns whether `tokenId` exists. * * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}. * * Tokens start existing when they are minted (`_mint`), * and stop existing when they are burned (`_burn`). */ function _exists(uint256 tokenId) internal view virtual returns (bool) { return _owners[tokenId] != address(0); } /** * @dev Returns whether `spender` is allowed to manage `tokenId`. * * Requirements: * * - `tokenId` must exist. */ function _isApprovedOrOwner(address spender, uint256 tokenId) internal view virtual returns (bool) { address owner = ERC721.ownerOf(tokenId); return (spender == owner || isApprovedForAll(owner, spender) || getApproved(tokenId) == spender); } /** * @dev Safely mints `tokenId` and transfers it to `to`. * * Requirements: * * - `tokenId` must not exist. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeMint(address to, uint256 tokenId) internal virtual { _safeMint(to, tokenId, ""); } /** * @dev Same as {xref-ERC721-_safeMint-address-uint256-}[`_safeMint`], with an additional `data` parameter which is * forwarded in {IERC721Receiver-onERC721Received} to contract recipients. */ function _safeMint( address to, uint256 tokenId, bytes memory data ) internal virtual { _mint(to, tokenId); require( _checkOnERC721Received(address(0), to, tokenId, data), "ERC721: transfer to non ERC721Receiver implementer" ); } /** * @dev Mints `tokenId` and transfers it to `to`. * * WARNING: Usage of this method is discouraged, use {_safeMint} whenever possible * * Requirements: * * - `tokenId` must not exist. * - `to` cannot be the zero address. * * Emits a {Transfer} event. */ function _mint(address to, uint256 tokenId) internal virtual { require(to != address(0), "ERC721: mint to the zero address"); require(!_exists(tokenId), "ERC721: token already minted"); _beforeTokenTransfer(address(0), to, tokenId); _balances[to] += 1; _owners[tokenId] = to; emit Transfer(address(0), to, tokenId); _afterTokenTransfer(address(0), to, tokenId); } /** * @dev Destroys `tokenId`. * The approval is cleared when the token is burned. * * Requirements: * * - `tokenId` must exist. * * Emits a {Transfer} event. */ function _burn(uint256 tokenId) internal virtual { address owner = ERC721.ownerOf(tokenId); _beforeTokenTransfer(owner, address(0), tokenId); // Clear approvals _approve(address(0), tokenId); _balances[owner] -= 1; delete _owners[tokenId]; emit Transfer(owner, address(0), tokenId); _afterTokenTransfer(owner, address(0), tokenId); } /** * @dev Transfers `tokenId` from `from` to `to`. * As opposed to {transferFrom}, this imposes no restrictions on msg.sender. * * Requirements: * * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * * Emits a {Transfer} event. */ function _transfer( address from, address to, uint256 tokenId ) internal virtual { require(ERC721.ownerOf(tokenId) == from, "ERC721: transfer from incorrect owner"); require(to != address(0), "ERC721: transfer to the zero address"); _beforeTokenTransfer(from, to, tokenId); // Clear approvals from the previous owner _approve(address(0), tokenId); _balances[from] -= 1; _balances[to] += 1; _owners[tokenId] = to; emit Transfer(from, to, tokenId); _afterTokenTransfer(from, to, tokenId); } /** * @dev Approve `to` to operate on `tokenId` * * Emits an {Approval} event. */ function _approve(address to, uint256 tokenId) internal virtual { _tokenApprovals[tokenId] = to; emit Approval(ERC721.ownerOf(tokenId), to, tokenId); } /** * @dev Approve `operator` to operate on all of `owner` tokens * * Emits an {ApprovalForAll} event. */ function _setApprovalForAll( address owner, address operator, bool approved ) internal virtual { require(owner != operator, "ERC721: approve to caller"); _operatorApprovals[owner][operator] = approved; emit ApprovalForAll(owner, operator, approved); } /** * @dev Reverts if the `tokenId` has not been minted yet. */ function _requireMinted(uint256 tokenId) internal view virtual { require(_exists(tokenId), "ERC721: invalid token ID"); } /** * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target address. * The call is not executed if the target address is not a contract. * * @param from address representing the previous owner of the given token ID * @param to target address that will receive the tokens * @param tokenId uint256 ID of the token to be transferred * @param data bytes optional data to send along with the call * @return bool whether the call correctly returned the expected magic value */ function _checkOnERC721Received( address from, address to, uint256 tokenId, bytes memory data ) private returns (bool) { if (to.isContract()) { try IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, data) returns (bytes4 retval) { return retval == IERC721Receiver.onERC721Received.selector; } catch (bytes memory reason) { if (reason.length == 0) { revert("ERC721: transfer to non ERC721Receiver implementer"); } else { /// @solidity memory-safe-assembly assembly { revert(add(32, reason), mload(reason)) } } } } else { return true; } } /** * @dev Hook that is called before any token transfer. This includes minting * and burning. * * Calling conditions: * * - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, ``from``'s `tokenId` will be burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer( address from, address to, uint256 tokenId ) internal virtual {} /** * @dev Hook that is called after any transfer of tokens. This includes * minting and burning. * * Calling conditions: * * - when `from` and `to` are both non-zero. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _afterTokenTransfer( address from, address to, uint256 tokenId ) internal virtual {} }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Context.sol) pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol) pragma solidity ^0.8.0; import "./IERC165.sol"; /** * @dev Implementation of the {IERC165} interface. * * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check * for the additional interface id that will be supported. For example: * * ```solidity * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { * return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId); * } * ``` * * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation. */ abstract contract ERC165 is IERC165 { /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IERC165).interfaceId; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.0) (utils/Address.sol) pragma solidity ^0.8.1; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== * * [IMPORTANT] * ==== * You shouldn't rely on `isContract` to protect against flash loan attacks! * * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract * constructor. * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize/address.code.length, which returns 0 // for contracts in construction, since the code is only stored at the end // of the constructor execution. return account.code.length > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); (bool success, ) = recipient.call{value: amount}(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain `call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCall(target, data, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value ) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value, string memory errorMessage ) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); require(isContract(target), "Address: call to non-contract"); (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall( address target, bytes memory data, string memory errorMessage ) internal view returns (bytes memory) { require(isContract(target), "Address: static call to non-contract"); (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { require(isContract(target), "Address: delegate call to non-contract"); (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason using the provided one. * * _Available since v4.3._ */ function verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) internal pure returns (bytes memory) { if (success) { return returndata; } else { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly /// @solidity memory-safe-assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/IERC721Metadata.sol) pragma solidity ^0.8.0; import "../IERC721.sol"; /** * @title ERC-721 Non-Fungible Token Standard, optional metadata extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Metadata is IERC721 { /** * @dev Returns the token collection name. */ function name() external view returns (string memory); /** * @dev Returns the token collection symbol. */ function symbol() external view returns (string memory); /** * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token. */ function tokenURI(uint256 tokenId) external view returns (string memory); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.6.0) (token/ERC721/IERC721Receiver.sol) pragma solidity ^0.8.0; /** * @title ERC721 token receiver interface * @dev Interface for any contract that wants to support safeTransfers * from ERC721 asset contracts. */ interface IERC721Receiver { /** * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom} * by `operator` from `from`, this function is called. * * It must return its Solidity selector to confirm the token transfer. * If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted. * * The selector can be obtained in Solidity with `IERC721Receiver.onERC721Received.selector`. */ function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.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: Usage of this method is discouraged, use {safeTransferFrom} whenever possible. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) external; /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool _approved) external; /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll} */ function isApprovedForAll(address owner, address operator) external view returns (bool); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC165 standard, as defined in the * https://eips.ethereum.org/EIPS/eip-165[EIP]. * * Implementers can declare support of contract interfaces, which can then be * queried by others ({ERC165Checker}). * * For an implementation, see {ERC165}. */ interface IERC165 { /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] * to learn more about how these ids are created. * * This function call must use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); }
{ "optimizer": { "enabled": false, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } } }
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":"address","name":"newOwner","type":"address"},{"internalType":"address","name":"newSigner","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"oldSigner","type":"address"},{"indexed":false,"internalType":"address","name":"newSigner","type":"address"}],"name":"NewSigner","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":false,"internalType":"address","name":"account","type":"address"}],"name":"Paused","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"string","name":"oldBaseURI","type":"string"},{"indexed":false,"internalType":"string","name":"newBaseURI","type":"string"}],"name":"SetBaseURI","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Unpaused","type":"event"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"signature","type":"bytes"}],"name":"mint","outputs":[{"internalType":"bool","name":"","type":"bool"}],"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":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pause","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"newURI","type":"string"}],"name":"setBaseURI","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newSigner","type":"address"}],"name":"setSigner","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"signer","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":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"unpause","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
608060405260896009553480156200001657600080fd5b5060405162003ed938038062003ed983398181016040528101906200003c91906200040b565b83836200005e620000526200011960201b60201c565b6200012160201b60201c565b816001908051906020019062000076929190620002c6565b5080600290805190602001906200008f929190620002c6565b5050506000600760006101000a81548160ff021916908315150217905550620000be826200012160201b60201c565b620000ce620001e560201b60201c565b80600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550505050506200073e565b600033905090565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b620001f56200025a60201b60201c565b6001600760006101000a81548160ff0219169083151502179055507f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258620002416200011960201b60201c565b604051620002509190620004f3565b60405180910390a1565b6200026a620002af60201b60201c565b15620002ad576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620002a49062000510565b60405180910390fd5b565b6000600760009054906101000a900460ff16905090565b828054620002d4906200060c565b90600052602060002090601f016020900481019282620002f8576000855562000344565b82601f106200031357805160ff191683800117855562000344565b8280016001018555821562000344579182015b828111156200034357825182559160200191906001019062000326565b5b50905062000353919062000357565b5090565b5b808211156200037257600081600090555060010162000358565b5090565b60006200038d62000387846200055b565b62000532565b905082815260208101848484011115620003ac57620003ab620006db565b5b620003b9848285620005d6565b509392505050565b600081519050620003d28162000724565b92915050565b600082601f830112620003f057620003ef620006d6565b5b81516200040284826020860162000376565b91505092915050565b60008060008060808587031215620004285762000427620006e5565b5b600085015167ffffffffffffffff811115620004495762000448620006e0565b5b6200045787828801620003d8565b945050602085015167ffffffffffffffff8111156200047b576200047a620006e0565b5b6200048987828801620003d8565b93505060406200049c87828801620003c1565b9250506060620004af87828801620003c1565b91505092959194509250565b620004c681620005a2565b82525050565b6000620004db60108362000591565b9150620004e882620006fb565b602082019050919050565b60006020820190506200050a6000830184620004bb565b92915050565b600060208201905081810360008301526200052b81620004cc565b9050919050565b60006200053e62000551565b90506200054c828262000642565b919050565b6000604051905090565b600067ffffffffffffffff821115620005795762000578620006a7565b5b6200058482620006ea565b9050602081019050919050565b600082825260208201905092915050565b6000620005af82620005b6565b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60005b83811015620005f6578082015181840152602081019050620005d9565b8381111562000606576000848401525b50505050565b600060028204905060018216806200062557607f821691505b602082108114156200063c576200063b62000678565b5b50919050565b6200064d82620006ea565b810181811067ffffffffffffffff821117156200066f576200066e620006a7565b5b80604052505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f5061757361626c653a2070617573656400000000000000000000000000000000600082015250565b6200072f81620005a2565b81146200073b57600080fd5b50565b61378b806200074e6000396000f3fe608060405234801561001057600080fd5b50600436106101735760003560e01c80636c19e783116100de578063a22cb46511610097578063d5abeb0111610071578063d5abeb011461044e578063db7fd4081461046c578063e985e9c51461049c578063f2fde38b146104cc57610173565b8063a22cb465146103e6578063b88d4fde14610402578063c87b56dd1461041e57610173565b80636c19e7831461032257806370a0823114610352578063715018a6146103825780638456cb591461038c5780638da5cb5b146103aa57806395d89b41146103c857610173565b806323b872dd1161013057806323b872dd1461024e5780633f4ba83a1461026a57806342842e0e1461028857806355f804b3146102a45780635c975abb146102d45780636352211e146102f257610173565b806301ffc9a71461017857806306fdde03146101a8578063081812fc146101c6578063095ea7b3146101f657806318160ddd14610212578063238ac93314610230575b600080fd5b610192600480360381019061018d91906124b8565b6104e8565b60405161019f9190612a9f565b60405180910390f35b6101b06105ca565b6040516101bd9190612aff565b60405180910390f35b6101e060048036038101906101db919061255b565b61065c565b6040516101ed9190612a0f565b60405180910390f35b610210600480360381019061020b9190612478565b6106a2565b005b61021a6106b8565b6040516102279190612dd4565b60405180910390f35b6102386106be565b6040516102459190612a0f565b60405180910390f35b61026860048036038101906102639190612362565b6106e4565b005b610272610744565b60405161027f9190612a9f565b60405180910390f35b6102a2600480360381019061029d9190612362565b61075d565b005b6102be60048036038101906102b99190612512565b61077d565b6040516102cb9190612a9f565b60405180910390f35b6102dc6107e1565b6040516102e99190612a9f565b60405180910390f35b61030c6004803603810190610307919061255b565b6107f8565b6040516103199190612a0f565b60405180910390f35b61033c600480360381019061033791906122f5565b6108aa565b6040516103499190612a9f565b60405180910390f35b61036c600480360381019061036791906122f5565b610959565b6040516103799190612dd4565b60405180910390f35b61038a610a11565b005b610394610a25565b6040516103a19190612a9f565b60405180910390f35b6103b2610a3e565b6040516103bf9190612a0f565b60405180910390f35b6103d0610a67565b6040516103dd9190612aff565b60405180910390f35b61040060048036038101906103fb9190612438565b610af9565b005b61041c600480360381019061041791906123b5565b610b0f565b005b6104386004803603810190610433919061255b565b610b71565b6040516104459190612aff565b60405180910390f35b610456610bd9565b6040516104639190612dd4565b60405180910390f35b61048660048036038101906104819190612588565b610bdf565b6040516104939190612a9f565b60405180910390f35b6104b660048036038101906104b19190612322565b610d9b565b6040516104c39190612a9f565b60405180910390f35b6104e660048036038101906104e191906122f5565b610e2f565b005b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806105b357507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806105c357506105c282610eb3565b5b9050919050565b6060600180546105d990613056565b80601f016020809104026020016040519081016040528092919081815260200182805461060590613056565b80156106525780601f1061062757610100808354040283529160200191610652565b820191906000526020600020905b81548152906001019060200180831161063557829003601f168201915b5050505050905090565b600061066782610f1d565b6005600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6106aa610f68565b6106b48282610fb2565b5050565b60085481565b600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6106f56106ef6110ca565b826110d2565b610734576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161072b90612db4565b60405180910390fd5b61073f838383611167565b505050565b600061074e6113ce565b61075661144c565b6001905090565b61077883838360405180602001604052806000815250610b0f565b505050565b60006107876113ce565b7fc73341c723fd9197b17090f0c077cf2bbe4d89f2f7d71969b3a7e5c50d570a38600b836040516107b9929190612b21565b60405180910390a181600b90805190602001906107d7929190612109565b5060019050919050565b6000600760009054906101000a900460ff16905090565b6000806003600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156108a1576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161089890612d74565b60405180910390fd5b80915050919050565b60006108b46113ce565b7fd8566abab13c9e93c8e191dfb69d3c03ec14adb9eb4ec142617e76169db44e3d600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1683604051610907929190612a2a565b60405180910390a181600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060019050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156109ca576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109c190612c98565b60405180910390fd5b600460008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b610a196113ce565b610a2360006114af565b565b6000610a2f6113ce565b610a37611573565b6001905090565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b606060028054610a7690613056565b80601f0160208091040260200160405190810160405280929190818152602001828054610aa290613056565b8015610aef5780601f10610ac457610100808354040283529160200191610aef565b820191906000526020600020905b815481529060010190602001808311610ad257829003601f168201915b5050505050905090565b610b01610f68565b610b0b82826115d6565b5050565b610b20610b1a6110ca565b836110d2565b610b5f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b5690612db4565b60405180910390fd5b610b6b848484846115ec565b50505050565b6060610b7c82610f1d565b6000610b86611648565b90506000815111610ba65760405180602001604052806000815250610bd1565b80610bb0846116da565b604051602001610bc19291906129eb565b6040516020818303038152906040525b915050919050565b60095481565b60003273ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610c4f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c4690612c18565b60405180910390fd5b6009546001600854610c619190612ece565b1115610ca2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c9990612cb8565b60405180910390fd5b60003384604051602001610cb7929190612d38565b604051602081830303815290604052805190602001209050600080610cdc838661183b565b9150915060006004811115610cf457610cf3613191565b5b816004811115610d0757610d06613191565b5b148015610d615750600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16145b610d6a57600080fd5b610d74338761188d565b600160086000828254610d879190612ece565b925050819055506001935050505092915050565b6000600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b610e376113ce565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415610ea7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e9e90612bb8565b60405180910390fd5b610eb0816114af565b50565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b610f26816118ab565b610f65576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f5c90612d74565b60405180910390fd5b50565b610f706107e1565b15610fb0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fa790612c78565b60405180910390fd5b565b6000610fbd826107f8565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141561102e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161102590612d94565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff1661104d6110ca565b73ffffffffffffffffffffffffffffffffffffffff16148061107c575061107b816110766110ca565b610d9b565b5b6110bb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110b290612cd8565b60405180910390fd5b6110c58383611917565b505050565b600033905090565b6000806110de836107f8565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161480611120575061111f8185610d9b565b5b8061115e57508373ffffffffffffffffffffffffffffffffffffffff166111468461065c565b73ffffffffffffffffffffffffffffffffffffffff16145b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff16611187826107f8565b73ffffffffffffffffffffffffffffffffffffffff16146111dd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111d490612bd8565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561124d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161124490612c38565b60405180910390fd5b6112588383836119d0565b611263600082611917565b6001600460008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546112b39190612f55565b925050819055506001600460008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461130a9190612ece565b92505081905550816003600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46113c9838383611a52565b505050565b6113d66110ca565b73ffffffffffffffffffffffffffffffffffffffff166113f4610a3e565b73ffffffffffffffffffffffffffffffffffffffff161461144a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161144190612d18565b60405180910390fd5b565b611454611a57565b6000600760006101000a81548160ff0219169083151502179055507f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa6114986110ca565b6040516114a59190612a0f565b60405180910390a1565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b61157b610f68565b6001600760006101000a81548160ff0219169083151502179055507f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a2586115bf6110ca565b6040516115cc9190612a0f565b60405180910390a1565b6115e86115e16110ca565b8383611aa0565b5050565b6115f7848484611167565b61160384848484611c0d565b611642576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161163990612b98565b60405180910390fd5b50505050565b6060600b805461165790613056565b80601f016020809104026020016040519081016040528092919081815260200182805461168390613056565b80156116d05780601f106116a5576101008083540402835291602001916116d0565b820191906000526020600020905b8154815290600101906020018083116116b357829003601f168201915b5050505050905090565b60606000821415611722576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050611836565b600082905060005b6000821461175457808061173d906130b9565b915050600a8261174d9190612f24565b915061172a565b60008167ffffffffffffffff8111156117705761176f61321e565b5b6040519080825280601f01601f1916602001820160405280156117a25781602001600182028036833780820191505090505b5090505b6000851461182f576001826117bb9190612f55565b9150600a856117ca9190613102565b60306117d69190612ece565b60f81b8183815181106117ec576117eb6131ef565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856118289190612f24565b94506117a6565b8093505050505b919050565b60008060418351141561187d5760008060006020860151925060408601519150606086015160001a905061187187828585611da4565b94509450505050611886565b60006002915091505b9250929050565b6118a7828260405180602001604052806000815250611eb1565b5050565b60008073ffffffffffffffffffffffffffffffffffffffff166003600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b816005600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff1661198a836107f8565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614611a4d57611a0c6107e1565b15611a4c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a4390612b58565b60405180910390fd5b5b505050565b505050565b611a5f6107e1565b611a9e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a9590612b78565b60405180910390fd5b565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415611b0f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b0690612c58565b60405180910390fd5b80600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611c009190612a9f565b60405180910390a3505050565b6000611c2e8473ffffffffffffffffffffffffffffffffffffffff16611f0c565b15611d97578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02611c576110ca565b8786866040518563ffffffff1660e01b8152600401611c799493929190612a53565b602060405180830381600087803b158015611c9357600080fd5b505af1925050508015611cc457506040513d601f19601f82011682018060405250810190611cc191906124e5565b60015b611d47573d8060008114611cf4576040519150601f19603f3d011682016040523d82523d6000602084013e611cf9565b606091505b50600081511415611d3f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d3690612b98565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050611d9c565b600190505b949350505050565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a08360001c1115611ddf576000600391509150611ea8565b601b8560ff1614158015611df75750601c8560ff1614155b15611e09576000600491509150611ea8565b600060018787878760405160008152602001604052604051611e2e9493929190612aba565b6020604051602081039080840390855afa158015611e50573d6000803e3d6000fd5b505050602060405103519050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611e9f57600060019250925050611ea8565b80600092509250505b94509492505050565b611ebb8383611f2f565b611ec86000848484611c0d565b611f07576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611efe90612b98565b60405180910390fd5b505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611f9f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f9690612cf8565b60405180910390fd5b611fa8816118ab565b15611fe8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611fdf90612bf8565b60405180910390fd5b611ff4600083836119d0565b6001600460008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546120449190612ece565b92505081905550816003600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a461210560008383611a52565b5050565b82805461211590613056565b90600052602060002090601f016020900481019282612137576000855561217e565b82601f1061215057805160ff191683800117855561217e565b8280016001018555821561217e579182015b8281111561217d578251825591602001919060010190612162565b5b50905061218b919061218f565b5090565b5b808211156121a8576000816000905550600101612190565b5090565b60006121bf6121ba84612e14565b612def565b9050828152602081018484840111156121db576121da613252565b5b6121e6848285613014565b509392505050565b60006122016121fc84612e45565b612def565b90508281526020810184848401111561221d5761221c613252565b5b612228848285613014565b509392505050565b60008135905061223f816136f9565b92915050565b60008135905061225481613710565b92915050565b60008135905061226981613727565b92915050565b60008151905061227e81613727565b92915050565b600082601f8301126122995761229861324d565b5b81356122a98482602086016121ac565b91505092915050565b600082601f8301126122c7576122c661324d565b5b81356122d78482602086016121ee565b91505092915050565b6000813590506122ef8161373e565b92915050565b60006020828403121561230b5761230a61325c565b5b600061231984828501612230565b91505092915050565b600080604083850312156123395761233861325c565b5b600061234785828601612230565b925050602061235885828601612230565b9150509250929050565b60008060006060848603121561237b5761237a61325c565b5b600061238986828701612230565b935050602061239a86828701612230565b92505060406123ab868287016122e0565b9150509250925092565b600080600080608085870312156123cf576123ce61325c565b5b60006123dd87828801612230565b94505060206123ee87828801612230565b93505060406123ff878288016122e0565b925050606085013567ffffffffffffffff8111156124205761241f613257565b5b61242c87828801612284565b91505092959194509250565b6000806040838503121561244f5761244e61325c565b5b600061245d85828601612230565b925050602061246e85828601612245565b9150509250929050565b6000806040838503121561248f5761248e61325c565b5b600061249d85828601612230565b92505060206124ae858286016122e0565b9150509250929050565b6000602082840312156124ce576124cd61325c565b5b60006124dc8482850161225a565b91505092915050565b6000602082840312156124fb576124fa61325c565b5b60006125098482850161226f565b91505092915050565b6000602082840312156125285761252761325c565b5b600082013567ffffffffffffffff81111561254657612545613257565b5b612552848285016122b2565b91505092915050565b6000602082840312156125715761257061325c565b5b600061257f848285016122e0565b91505092915050565b6000806040838503121561259f5761259e61325c565b5b60006125ad858286016122e0565b925050602083013567ffffffffffffffff8111156125ce576125cd613257565b5b6125da85828601612284565b9150509250929050565b6125ed81612f89565b82525050565b6125fc81612f9b565b82525050565b61260b81612fa7565b82525050565b600061261c82612e8b565b6126268185612ea1565b9350612636818560208601613023565b61263f81613261565b840191505092915050565b600061265582612e96565b61265f8185612eb2565b935061266f818560208601613023565b61267881613261565b840191505092915050565b600061268e82612e96565b6126988185612ec3565b93506126a8818560208601613023565b80840191505092915050565b600081546126c181613056565b6126cb8186612eb2565b945060018216600081146126e657600181146126f85761272b565b60ff198316865260208601935061272b565b61270185612e76565b60005b8381101561272357815481890152600182019150602081019050612704565b808801955050505b50505092915050565b6000612741602b83612eb2565b915061274c82613272565b604082019050919050565b6000612764601483612eb2565b915061276f826132c1565b602082019050919050565b6000612787603283612eb2565b9150612792826132ea565b604082019050919050565b60006127aa602683612eb2565b91506127b582613339565b604082019050919050565b60006127cd602583612eb2565b91506127d882613388565b604082019050919050565b60006127f0601c83612eb2565b91506127fb826133d7565b602082019050919050565b6000612813601983612eb2565b915061281e82613400565b602082019050919050565b6000612836602483612eb2565b915061284182613429565b604082019050919050565b6000612859601983612eb2565b915061286482613478565b602082019050919050565b600061287c601083612eb2565b9150612887826134a1565b602082019050919050565b600061289f602983612eb2565b91506128aa826134ca565b604082019050919050565b60006128c2602583612eb2565b91506128cd82613519565b604082019050919050565b60006128e5603e83612eb2565b91506128f082613568565b604082019050919050565b6000612908602083612eb2565b9150612913826135b7565b602082019050919050565b600061292b602083612eb2565b9150612936826135e0565b602082019050919050565b600061294e601a83612eb2565b915061295982613609565b602082019050919050565b6000612971601883612eb2565b915061297c82613632565b602082019050919050565b6000612994602183612eb2565b915061299f8261365b565b604082019050919050565b60006129b7602e83612eb2565b91506129c2826136aa565b604082019050919050565b6129d681612ffd565b82525050565b6129e581613007565b82525050565b60006129f78285612683565b9150612a038284612683565b91508190509392505050565b6000602082019050612a2460008301846125e4565b92915050565b6000604082019050612a3f60008301856125e4565b612a4c60208301846125e4565b9392505050565b6000608082019050612a6860008301876125e4565b612a7560208301866125e4565b612a8260408301856129cd565b8181036060830152612a948184612611565b905095945050505050565b6000602082019050612ab460008301846125f3565b92915050565b6000608082019050612acf6000830187612602565b612adc60208301866129dc565b612ae96040830185612602565b612af66060830184612602565b95945050505050565b60006020820190508181036000830152612b19818461264a565b905092915050565b60006040820190508181036000830152612b3b81856126b4565b90508181036020830152612b4f818461264a565b90509392505050565b60006020820190508181036000830152612b7181612734565b9050919050565b60006020820190508181036000830152612b9181612757565b9050919050565b60006020820190508181036000830152612bb18161277a565b9050919050565b60006020820190508181036000830152612bd18161279d565b9050919050565b60006020820190508181036000830152612bf1816127c0565b9050919050565b60006020820190508181036000830152612c11816127e3565b9050919050565b60006020820190508181036000830152612c3181612806565b9050919050565b60006020820190508181036000830152612c5181612829565b9050919050565b60006020820190508181036000830152612c718161284c565b9050919050565b60006020820190508181036000830152612c918161286f565b9050919050565b60006020820190508181036000830152612cb181612892565b9050919050565b60006020820190508181036000830152612cd1816128b5565b9050919050565b60006020820190508181036000830152612cf1816128d8565b9050919050565b60006020820190508181036000830152612d11816128fb565b9050919050565b60006020820190508181036000830152612d318161291e565b9050919050565b60006060820190508181036000830152612d5181612941565b9050612d6060208301856125e4565b612d6d60408301846129cd565b9392505050565b60006020820190508181036000830152612d8d81612964565b9050919050565b60006020820190508181036000830152612dad81612987565b9050919050565b60006020820190508181036000830152612dcd816129aa565b9050919050565b6000602082019050612de960008301846129cd565b92915050565b6000612df9612e0a565b9050612e058282613088565b919050565b6000604051905090565b600067ffffffffffffffff821115612e2f57612e2e61321e565b5b612e3882613261565b9050602081019050919050565b600067ffffffffffffffff821115612e6057612e5f61321e565b5b612e6982613261565b9050602081019050919050565b60008190508160005260206000209050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b6000612ed982612ffd565b9150612ee483612ffd565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115612f1957612f18613133565b5b828201905092915050565b6000612f2f82612ffd565b9150612f3a83612ffd565b925082612f4a57612f49613162565b5b828204905092915050565b6000612f6082612ffd565b9150612f6b83612ffd565b925082821015612f7e57612f7d613133565b5b828203905092915050565b6000612f9482612fdd565b9050919050565b60008115159050919050565b6000819050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600060ff82169050919050565b82818337600083830152505050565b60005b83811015613041578082015181840152602081019050613026565b83811115613050576000848401525b50505050565b6000600282049050600182168061306e57607f821691505b60208210811415613082576130816131c0565b5b50919050565b61309182613261565b810181811067ffffffffffffffff821117156130b0576130af61321e565b5b80604052505050565b60006130c482612ffd565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156130f7576130f6613133565b5b600182019050919050565b600061310d82612ffd565b915061311883612ffd565b92508261312857613127613162565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4552433732315061757361626c653a20746f6b656e207472616e73666572207760008201527f68696c6520706175736564000000000000000000000000000000000000000000602082015250565b7f5061757361626c653a206e6f7420706175736564000000000000000000000000600082015250565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e736665722066726f6d20696e636f72726563742060008201527f6f776e6572000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f5468652063616c6c6572206d75737420626520616e20454f4100000000000000600082015250565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b7f5061757361626c653a2070617573656400000000000000000000000000000000600082015250565b7f4552433732313a2061646472657373207a65726f206973206e6f74206120766160008201527f6c6964206f776e65720000000000000000000000000000000000000000000000602082015250565b7f546f74616c20746f6b656e20737570706c792063616e6e6f742065786365656460008201527f2031303234000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f7420746f60008201527f6b656e206f776e6572206e6f7220617070726f76656420666f7220616c6c0000602082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f19457468657265756d205369676e6564204d6573736167653a0a000000000000600082015250565b7f4552433732313a20696e76616c696420746f6b656e2049440000000000000000600082015250565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6560008201527f72206e6f7220617070726f766564000000000000000000000000000000000000602082015250565b61370281612f89565b811461370d57600080fd5b50565b61371981612f9b565b811461372457600080fd5b50565b61373081612fb1565b811461373b57600080fd5b50565b61374781612ffd565b811461375257600080fd5b5056fea2646970667358221220635cb2126129903db45fa16ec0030ede02fe857c6366f7f338eb2a0545fb025064736f6c63430008070033000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c000000000000000000000000006a3f099e75720fd7415f87edc8cd9953b36d171000000000000000000000000d07142e293f8348d1eb718db1b77bfab8d7d024e00000000000000000000000000000000000000000000000000000000000000104461726b48616e64426f6f6b204e465400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000c4461726b48616e64426f6f6b0000000000000000000000000000000000000000
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106101735760003560e01c80636c19e783116100de578063a22cb46511610097578063d5abeb0111610071578063d5abeb011461044e578063db7fd4081461046c578063e985e9c51461049c578063f2fde38b146104cc57610173565b8063a22cb465146103e6578063b88d4fde14610402578063c87b56dd1461041e57610173565b80636c19e7831461032257806370a0823114610352578063715018a6146103825780638456cb591461038c5780638da5cb5b146103aa57806395d89b41146103c857610173565b806323b872dd1161013057806323b872dd1461024e5780633f4ba83a1461026a57806342842e0e1461028857806355f804b3146102a45780635c975abb146102d45780636352211e146102f257610173565b806301ffc9a71461017857806306fdde03146101a8578063081812fc146101c6578063095ea7b3146101f657806318160ddd14610212578063238ac93314610230575b600080fd5b610192600480360381019061018d91906124b8565b6104e8565b60405161019f9190612a9f565b60405180910390f35b6101b06105ca565b6040516101bd9190612aff565b60405180910390f35b6101e060048036038101906101db919061255b565b61065c565b6040516101ed9190612a0f565b60405180910390f35b610210600480360381019061020b9190612478565b6106a2565b005b61021a6106b8565b6040516102279190612dd4565b60405180910390f35b6102386106be565b6040516102459190612a0f565b60405180910390f35b61026860048036038101906102639190612362565b6106e4565b005b610272610744565b60405161027f9190612a9f565b60405180910390f35b6102a2600480360381019061029d9190612362565b61075d565b005b6102be60048036038101906102b99190612512565b61077d565b6040516102cb9190612a9f565b60405180910390f35b6102dc6107e1565b6040516102e99190612a9f565b60405180910390f35b61030c6004803603810190610307919061255b565b6107f8565b6040516103199190612a0f565b60405180910390f35b61033c600480360381019061033791906122f5565b6108aa565b6040516103499190612a9f565b60405180910390f35b61036c600480360381019061036791906122f5565b610959565b6040516103799190612dd4565b60405180910390f35b61038a610a11565b005b610394610a25565b6040516103a19190612a9f565b60405180910390f35b6103b2610a3e565b6040516103bf9190612a0f565b60405180910390f35b6103d0610a67565b6040516103dd9190612aff565b60405180910390f35b61040060048036038101906103fb9190612438565b610af9565b005b61041c600480360381019061041791906123b5565b610b0f565b005b6104386004803603810190610433919061255b565b610b71565b6040516104459190612aff565b60405180910390f35b610456610bd9565b6040516104639190612dd4565b60405180910390f35b61048660048036038101906104819190612588565b610bdf565b6040516104939190612a9f565b60405180910390f35b6104b660048036038101906104b19190612322565b610d9b565b6040516104c39190612a9f565b60405180910390f35b6104e660048036038101906104e191906122f5565b610e2f565b005b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806105b357507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806105c357506105c282610eb3565b5b9050919050565b6060600180546105d990613056565b80601f016020809104026020016040519081016040528092919081815260200182805461060590613056565b80156106525780601f1061062757610100808354040283529160200191610652565b820191906000526020600020905b81548152906001019060200180831161063557829003601f168201915b5050505050905090565b600061066782610f1d565b6005600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6106aa610f68565b6106b48282610fb2565b5050565b60085481565b600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6106f56106ef6110ca565b826110d2565b610734576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161072b90612db4565b60405180910390fd5b61073f838383611167565b505050565b600061074e6113ce565b61075661144c565b6001905090565b61077883838360405180602001604052806000815250610b0f565b505050565b60006107876113ce565b7fc73341c723fd9197b17090f0c077cf2bbe4d89f2f7d71969b3a7e5c50d570a38600b836040516107b9929190612b21565b60405180910390a181600b90805190602001906107d7929190612109565b5060019050919050565b6000600760009054906101000a900460ff16905090565b6000806003600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156108a1576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161089890612d74565b60405180910390fd5b80915050919050565b60006108b46113ce565b7fd8566abab13c9e93c8e191dfb69d3c03ec14adb9eb4ec142617e76169db44e3d600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1683604051610907929190612a2a565b60405180910390a181600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060019050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156109ca576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109c190612c98565b60405180910390fd5b600460008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b610a196113ce565b610a2360006114af565b565b6000610a2f6113ce565b610a37611573565b6001905090565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b606060028054610a7690613056565b80601f0160208091040260200160405190810160405280929190818152602001828054610aa290613056565b8015610aef5780601f10610ac457610100808354040283529160200191610aef565b820191906000526020600020905b815481529060010190602001808311610ad257829003601f168201915b5050505050905090565b610b01610f68565b610b0b82826115d6565b5050565b610b20610b1a6110ca565b836110d2565b610b5f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b5690612db4565b60405180910390fd5b610b6b848484846115ec565b50505050565b6060610b7c82610f1d565b6000610b86611648565b90506000815111610ba65760405180602001604052806000815250610bd1565b80610bb0846116da565b604051602001610bc19291906129eb565b6040516020818303038152906040525b915050919050565b60095481565b60003273ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610c4f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c4690612c18565b60405180910390fd5b6009546001600854610c619190612ece565b1115610ca2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c9990612cb8565b60405180910390fd5b60003384604051602001610cb7929190612d38565b604051602081830303815290604052805190602001209050600080610cdc838661183b565b9150915060006004811115610cf457610cf3613191565b5b816004811115610d0757610d06613191565b5b148015610d615750600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16145b610d6a57600080fd5b610d74338761188d565b600160086000828254610d879190612ece565b925050819055506001935050505092915050565b6000600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b610e376113ce565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415610ea7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e9e90612bb8565b60405180910390fd5b610eb0816114af565b50565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b610f26816118ab565b610f65576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f5c90612d74565b60405180910390fd5b50565b610f706107e1565b15610fb0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fa790612c78565b60405180910390fd5b565b6000610fbd826107f8565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141561102e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161102590612d94565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff1661104d6110ca565b73ffffffffffffffffffffffffffffffffffffffff16148061107c575061107b816110766110ca565b610d9b565b5b6110bb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110b290612cd8565b60405180910390fd5b6110c58383611917565b505050565b600033905090565b6000806110de836107f8565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161480611120575061111f8185610d9b565b5b8061115e57508373ffffffffffffffffffffffffffffffffffffffff166111468461065c565b73ffffffffffffffffffffffffffffffffffffffff16145b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff16611187826107f8565b73ffffffffffffffffffffffffffffffffffffffff16146111dd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111d490612bd8565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561124d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161124490612c38565b60405180910390fd5b6112588383836119d0565b611263600082611917565b6001600460008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546112b39190612f55565b925050819055506001600460008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461130a9190612ece565b92505081905550816003600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46113c9838383611a52565b505050565b6113d66110ca565b73ffffffffffffffffffffffffffffffffffffffff166113f4610a3e565b73ffffffffffffffffffffffffffffffffffffffff161461144a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161144190612d18565b60405180910390fd5b565b611454611a57565b6000600760006101000a81548160ff0219169083151502179055507f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa6114986110ca565b6040516114a59190612a0f565b60405180910390a1565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b61157b610f68565b6001600760006101000a81548160ff0219169083151502179055507f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a2586115bf6110ca565b6040516115cc9190612a0f565b60405180910390a1565b6115e86115e16110ca565b8383611aa0565b5050565b6115f7848484611167565b61160384848484611c0d565b611642576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161163990612b98565b60405180910390fd5b50505050565b6060600b805461165790613056565b80601f016020809104026020016040519081016040528092919081815260200182805461168390613056565b80156116d05780601f106116a5576101008083540402835291602001916116d0565b820191906000526020600020905b8154815290600101906020018083116116b357829003601f168201915b5050505050905090565b60606000821415611722576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050611836565b600082905060005b6000821461175457808061173d906130b9565b915050600a8261174d9190612f24565b915061172a565b60008167ffffffffffffffff8111156117705761176f61321e565b5b6040519080825280601f01601f1916602001820160405280156117a25781602001600182028036833780820191505090505b5090505b6000851461182f576001826117bb9190612f55565b9150600a856117ca9190613102565b60306117d69190612ece565b60f81b8183815181106117ec576117eb6131ef565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856118289190612f24565b94506117a6565b8093505050505b919050565b60008060418351141561187d5760008060006020860151925060408601519150606086015160001a905061187187828585611da4565b94509450505050611886565b60006002915091505b9250929050565b6118a7828260405180602001604052806000815250611eb1565b5050565b60008073ffffffffffffffffffffffffffffffffffffffff166003600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b816005600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff1661198a836107f8565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614611a4d57611a0c6107e1565b15611a4c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a4390612b58565b60405180910390fd5b5b505050565b505050565b611a5f6107e1565b611a9e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a9590612b78565b60405180910390fd5b565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415611b0f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b0690612c58565b60405180910390fd5b80600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611c009190612a9f565b60405180910390a3505050565b6000611c2e8473ffffffffffffffffffffffffffffffffffffffff16611f0c565b15611d97578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02611c576110ca565b8786866040518563ffffffff1660e01b8152600401611c799493929190612a53565b602060405180830381600087803b158015611c9357600080fd5b505af1925050508015611cc457506040513d601f19601f82011682018060405250810190611cc191906124e5565b60015b611d47573d8060008114611cf4576040519150601f19603f3d011682016040523d82523d6000602084013e611cf9565b606091505b50600081511415611d3f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d3690612b98565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050611d9c565b600190505b949350505050565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a08360001c1115611ddf576000600391509150611ea8565b601b8560ff1614158015611df75750601c8560ff1614155b15611e09576000600491509150611ea8565b600060018787878760405160008152602001604052604051611e2e9493929190612aba565b6020604051602081039080840390855afa158015611e50573d6000803e3d6000fd5b505050602060405103519050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611e9f57600060019250925050611ea8565b80600092509250505b94509492505050565b611ebb8383611f2f565b611ec86000848484611c0d565b611f07576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611efe90612b98565b60405180910390fd5b505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611f9f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f9690612cf8565b60405180910390fd5b611fa8816118ab565b15611fe8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611fdf90612bf8565b60405180910390fd5b611ff4600083836119d0565b6001600460008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546120449190612ece565b92505081905550816003600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a461210560008383611a52565b5050565b82805461211590613056565b90600052602060002090601f016020900481019282612137576000855561217e565b82601f1061215057805160ff191683800117855561217e565b8280016001018555821561217e579182015b8281111561217d578251825591602001919060010190612162565b5b50905061218b919061218f565b5090565b5b808211156121a8576000816000905550600101612190565b5090565b60006121bf6121ba84612e14565b612def565b9050828152602081018484840111156121db576121da613252565b5b6121e6848285613014565b509392505050565b60006122016121fc84612e45565b612def565b90508281526020810184848401111561221d5761221c613252565b5b612228848285613014565b509392505050565b60008135905061223f816136f9565b92915050565b60008135905061225481613710565b92915050565b60008135905061226981613727565b92915050565b60008151905061227e81613727565b92915050565b600082601f8301126122995761229861324d565b5b81356122a98482602086016121ac565b91505092915050565b600082601f8301126122c7576122c661324d565b5b81356122d78482602086016121ee565b91505092915050565b6000813590506122ef8161373e565b92915050565b60006020828403121561230b5761230a61325c565b5b600061231984828501612230565b91505092915050565b600080604083850312156123395761233861325c565b5b600061234785828601612230565b925050602061235885828601612230565b9150509250929050565b60008060006060848603121561237b5761237a61325c565b5b600061238986828701612230565b935050602061239a86828701612230565b92505060406123ab868287016122e0565b9150509250925092565b600080600080608085870312156123cf576123ce61325c565b5b60006123dd87828801612230565b94505060206123ee87828801612230565b93505060406123ff878288016122e0565b925050606085013567ffffffffffffffff8111156124205761241f613257565b5b61242c87828801612284565b91505092959194509250565b6000806040838503121561244f5761244e61325c565b5b600061245d85828601612230565b925050602061246e85828601612245565b9150509250929050565b6000806040838503121561248f5761248e61325c565b5b600061249d85828601612230565b92505060206124ae858286016122e0565b9150509250929050565b6000602082840312156124ce576124cd61325c565b5b60006124dc8482850161225a565b91505092915050565b6000602082840312156124fb576124fa61325c565b5b60006125098482850161226f565b91505092915050565b6000602082840312156125285761252761325c565b5b600082013567ffffffffffffffff81111561254657612545613257565b5b612552848285016122b2565b91505092915050565b6000602082840312156125715761257061325c565b5b600061257f848285016122e0565b91505092915050565b6000806040838503121561259f5761259e61325c565b5b60006125ad858286016122e0565b925050602083013567ffffffffffffffff8111156125ce576125cd613257565b5b6125da85828601612284565b9150509250929050565b6125ed81612f89565b82525050565b6125fc81612f9b565b82525050565b61260b81612fa7565b82525050565b600061261c82612e8b565b6126268185612ea1565b9350612636818560208601613023565b61263f81613261565b840191505092915050565b600061265582612e96565b61265f8185612eb2565b935061266f818560208601613023565b61267881613261565b840191505092915050565b600061268e82612e96565b6126988185612ec3565b93506126a8818560208601613023565b80840191505092915050565b600081546126c181613056565b6126cb8186612eb2565b945060018216600081146126e657600181146126f85761272b565b60ff198316865260208601935061272b565b61270185612e76565b60005b8381101561272357815481890152600182019150602081019050612704565b808801955050505b50505092915050565b6000612741602b83612eb2565b915061274c82613272565b604082019050919050565b6000612764601483612eb2565b915061276f826132c1565b602082019050919050565b6000612787603283612eb2565b9150612792826132ea565b604082019050919050565b60006127aa602683612eb2565b91506127b582613339565b604082019050919050565b60006127cd602583612eb2565b91506127d882613388565b604082019050919050565b60006127f0601c83612eb2565b91506127fb826133d7565b602082019050919050565b6000612813601983612eb2565b915061281e82613400565b602082019050919050565b6000612836602483612eb2565b915061284182613429565b604082019050919050565b6000612859601983612eb2565b915061286482613478565b602082019050919050565b600061287c601083612eb2565b9150612887826134a1565b602082019050919050565b600061289f602983612eb2565b91506128aa826134ca565b604082019050919050565b60006128c2602583612eb2565b91506128cd82613519565b604082019050919050565b60006128e5603e83612eb2565b91506128f082613568565b604082019050919050565b6000612908602083612eb2565b9150612913826135b7565b602082019050919050565b600061292b602083612eb2565b9150612936826135e0565b602082019050919050565b600061294e601a83612eb2565b915061295982613609565b602082019050919050565b6000612971601883612eb2565b915061297c82613632565b602082019050919050565b6000612994602183612eb2565b915061299f8261365b565b604082019050919050565b60006129b7602e83612eb2565b91506129c2826136aa565b604082019050919050565b6129d681612ffd565b82525050565b6129e581613007565b82525050565b60006129f78285612683565b9150612a038284612683565b91508190509392505050565b6000602082019050612a2460008301846125e4565b92915050565b6000604082019050612a3f60008301856125e4565b612a4c60208301846125e4565b9392505050565b6000608082019050612a6860008301876125e4565b612a7560208301866125e4565b612a8260408301856129cd565b8181036060830152612a948184612611565b905095945050505050565b6000602082019050612ab460008301846125f3565b92915050565b6000608082019050612acf6000830187612602565b612adc60208301866129dc565b612ae96040830185612602565b612af66060830184612602565b95945050505050565b60006020820190508181036000830152612b19818461264a565b905092915050565b60006040820190508181036000830152612b3b81856126b4565b90508181036020830152612b4f818461264a565b90509392505050565b60006020820190508181036000830152612b7181612734565b9050919050565b60006020820190508181036000830152612b9181612757565b9050919050565b60006020820190508181036000830152612bb18161277a565b9050919050565b60006020820190508181036000830152612bd18161279d565b9050919050565b60006020820190508181036000830152612bf1816127c0565b9050919050565b60006020820190508181036000830152612c11816127e3565b9050919050565b60006020820190508181036000830152612c3181612806565b9050919050565b60006020820190508181036000830152612c5181612829565b9050919050565b60006020820190508181036000830152612c718161284c565b9050919050565b60006020820190508181036000830152612c918161286f565b9050919050565b60006020820190508181036000830152612cb181612892565b9050919050565b60006020820190508181036000830152612cd1816128b5565b9050919050565b60006020820190508181036000830152612cf1816128d8565b9050919050565b60006020820190508181036000830152612d11816128fb565b9050919050565b60006020820190508181036000830152612d318161291e565b9050919050565b60006060820190508181036000830152612d5181612941565b9050612d6060208301856125e4565b612d6d60408301846129cd565b9392505050565b60006020820190508181036000830152612d8d81612964565b9050919050565b60006020820190508181036000830152612dad81612987565b9050919050565b60006020820190508181036000830152612dcd816129aa565b9050919050565b6000602082019050612de960008301846129cd565b92915050565b6000612df9612e0a565b9050612e058282613088565b919050565b6000604051905090565b600067ffffffffffffffff821115612e2f57612e2e61321e565b5b612e3882613261565b9050602081019050919050565b600067ffffffffffffffff821115612e6057612e5f61321e565b5b612e6982613261565b9050602081019050919050565b60008190508160005260206000209050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b6000612ed982612ffd565b9150612ee483612ffd565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115612f1957612f18613133565b5b828201905092915050565b6000612f2f82612ffd565b9150612f3a83612ffd565b925082612f4a57612f49613162565b5b828204905092915050565b6000612f6082612ffd565b9150612f6b83612ffd565b925082821015612f7e57612f7d613133565b5b828203905092915050565b6000612f9482612fdd565b9050919050565b60008115159050919050565b6000819050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600060ff82169050919050565b82818337600083830152505050565b60005b83811015613041578082015181840152602081019050613026565b83811115613050576000848401525b50505050565b6000600282049050600182168061306e57607f821691505b60208210811415613082576130816131c0565b5b50919050565b61309182613261565b810181811067ffffffffffffffff821117156130b0576130af61321e565b5b80604052505050565b60006130c482612ffd565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156130f7576130f6613133565b5b600182019050919050565b600061310d82612ffd565b915061311883612ffd565b92508261312857613127613162565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4552433732315061757361626c653a20746f6b656e207472616e73666572207760008201527f68696c6520706175736564000000000000000000000000000000000000000000602082015250565b7f5061757361626c653a206e6f7420706175736564000000000000000000000000600082015250565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e736665722066726f6d20696e636f72726563742060008201527f6f776e6572000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f5468652063616c6c6572206d75737420626520616e20454f4100000000000000600082015250565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b7f5061757361626c653a2070617573656400000000000000000000000000000000600082015250565b7f4552433732313a2061646472657373207a65726f206973206e6f74206120766160008201527f6c6964206f776e65720000000000000000000000000000000000000000000000602082015250565b7f546f74616c20746f6b656e20737570706c792063616e6e6f742065786365656460008201527f2031303234000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f7420746f60008201527f6b656e206f776e6572206e6f7220617070726f76656420666f7220616c6c0000602082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f19457468657265756d205369676e6564204d6573736167653a0a000000000000600082015250565b7f4552433732313a20696e76616c696420746f6b656e2049440000000000000000600082015250565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6560008201527f72206e6f7220617070726f766564000000000000000000000000000000000000602082015250565b61370281612f89565b811461370d57600080fd5b50565b61371981612f9b565b811461372457600080fd5b50565b61373081612fb1565b811461373b57600080fd5b50565b61374781612ffd565b811461375257600080fd5b5056fea2646970667358221220635cb2126129903db45fa16ec0030ede02fe857c6366f7f338eb2a0545fb025064736f6c63430008070033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c000000000000000000000000006a3f099e75720fd7415f87edc8cd9953b36d171000000000000000000000000d07142e293f8348d1eb718db1b77bfab8d7d024e00000000000000000000000000000000000000000000000000000000000000104461726b48616e64426f6f6b204e465400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000c4461726b48616e64426f6f6b0000000000000000000000000000000000000000
-----Decoded View---------------
Arg [0] : name (string): DarkHandBook NFT
Arg [1] : symbol (string): DarkHandBook
Arg [2] : newOwner (address): 0x06A3F099e75720FD7415f87EDc8cD9953B36D171
Arg [3] : newSigner (address): 0xD07142E293F8348d1eB718db1b77bfAb8d7d024E
-----Encoded View---------------
8 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000080
Arg [1] : 00000000000000000000000000000000000000000000000000000000000000c0
Arg [2] : 00000000000000000000000006a3f099e75720fd7415f87edc8cd9953b36d171
Arg [3] : 000000000000000000000000d07142e293f8348d1eb718db1b77bfab8d7d024e
Arg [4] : 0000000000000000000000000000000000000000000000000000000000000010
Arg [5] : 4461726b48616e64426f6f6b204e465400000000000000000000000000000000
Arg [6] : 000000000000000000000000000000000000000000000000000000000000000c
Arg [7] : 4461726b48616e64426f6f6b0000000000000000000000000000000000000000
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.