Feature Tip: Add private address tag to any address under My Name Tag !
ERC-721
NFT
Overview
Max Total Supply
0 RVPCG
Holders
3,102
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
1 RVPCGLoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
RealVisionProCryptoGenesis
Compiler Version
v0.8.13+commit.abaa5c0e
Optimization Enabled:
Yes with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT pragma solidity ^0.8.13; import "@openzeppelin/contracts/token/ERC721/ERC721.sol"; import "@openzeppelin/contracts/security/Pausable.sol"; import "@openzeppelin/contracts/access/AccessControl.sol"; import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Burnable.sol"; import "@openzeppelin/contracts/utils/cryptography/ECDSA.sol"; import "./ERC721URIStorage.sol"; import "./ERC2981GlobalRoyalties.sol"; import "./URIManager.sol"; import "./CryptographicUtils.sol"; contract RealVisionProCryptoGenesis is ERC721, CryptographicUtils, ERC721URIStorage, ERC2981GlobalRoyalties, URIManager, Pausable, AccessControl, ERC721Burnable { // create the hashes that identify various roles bytes32 public constant PAUSER_ROLE = keccak256("PAUSER_ROLE"); bytes32 public constant MINTER_ROLE = keccak256("MINTER_ROLE"); // create the hash that identifies a role that is allowed to issue signatures // which can be used to mint an NFT bytes32 public constant MINT_SIGNING_ROLE = keccak256("MINT_SIGNING_ROLE"); // create the hash that identifies a role that is allowed to issue signatures // which can be used to update the URI (location) of the metadata of an NFT bytes32 public constant URI_SIGNING_ROLE = keccak256("URI_SIGNING_ROLE"); bytes32 public constant ROYALTY_SETTING_ROLE = keccak256("ROYALTY_SETTING_ROLE"); bytes32 public constant METADATA_UPDATER_ROLE = keccak256("METADATA_UPDATER_ROLE"); bytes32 public constant METADATA_FREEZER_ROLE = keccak256("METADATA_FREEZER_ROLE"); // The owner variable below is 'honorary' in the sense that it serves no purpose // as far as the smart contract itself is concerned. The only reason for implementing this variable // is that OpenSea queries owner() (according to an article in their Help Center) in order to decide // who can login to the OpenSea interface and change collection-wide settings such as the collection // banner, or more importantly, royalty amount and destination (as of this writing, OpenSea // implements their own royalty settings, rather than EIP-2981.) // Semantically, for our purposes (because this contract uses AccessControl rather than Ownable) it // would be more accurate to call this variable something like 'openSeaCollectionAdmin' (but sadly // OpenSea is looking for 'owner' specifically.) address public owner; uint16 constant MAX_SUPPLY = 6000; uint16 public numTokensMinted; // From testing, it seems OpenSea will only honor a new collection-level administrator (the person who can // login to the interface and, for example, change royalty amount/destination), if an event // is emmitted, as coded in the OpenZeppelin Ownable contract, announcing the ownership transfer. event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); constructor(string memory name, string memory symbol, string memory domain, string memory version, string memory baseTokenURI) ERC721(name, symbol) CryptographicUtils(domain, version) URIManager(baseTokenURI) { // To start with we will only grant the DEFAULT_ADMIN_ROLE role to the msg.sender // The DEFAULT_ADMIN_ROLE is not granted any rights initially. The only privileges // the DEFAULT_ADMIN_ROLE has at contract deployment time are: the ability to grant other // roles, and the ability to set the 'honorary' contract owner (see comments above.) // For any functionality to be enabled, the DEFAULT_ADMIN_ROLE must explicitly grant those roles to // other accounts or to itself. _grantRole(DEFAULT_ADMIN_ROLE, msg.sender); setHonoraryOwner(msg.sender); } // The 'honorary' portion of this function's name refers to the fact that the 'owner' variable // serves no purpose in this smart contract itself. 'Ownership' (so to speak) is only implemented here // to allow for certain collection-wide admin functionality within the OpenSea web interface. function setHonoraryOwner(address honoraryOwner) public onlyRole(DEFAULT_ADMIN_ROLE) { require(honoraryOwner != address(0), "New owner cannot be the zero address."); address priorOwner = owner; owner = honoraryOwner; emit OwnershipTransferred(priorOwner, honoraryOwner); } // Capabilities of the PAUSER_ROLE // create a function which can be called externally by an acount with the // PAUSER_ROLE. This function, calls the internal _pause() function // inherited from Pausable contract, and its purpose is to pause all transfers // of tokens in the contract (which includes minting/burning/transferring) function pause() external onlyRole(PAUSER_ROLE) { _pause(); } // create a function which can be called externally by an acount with the // PAUSER_ROLE. This function, calls the internal _uppause() function // inherited from Pausable contract, and its purpose is to *un*pause all transfers // of tokens in the contract (which includes minting/burning/transferring) function unpause() external onlyRole(PAUSER_ROLE) { _unpause(); } // Capabilities of the MINTER_ROLE // a mint function we will keep in place in case we need to manually do any minting // but this will not be the main function used (by customers) to mint function safeMint(address to, uint256 tokenId) public onlyRole(MINTER_ROLE) { _internalMint(to, tokenId); } // Capabilities of the ROYALTY_SETTING_ROLE function setRoyaltyAmountInBips(uint16 newRoyaltyInBips) external onlyRole(ROYALTY_SETTING_ROLE) { _setRoyaltyAmountInBips(newRoyaltyInBips); } function setRoyaltyDestination(address newRoyaltyDestination) external onlyRole(ROYALTY_SETTING_ROLE) { _setRoyaltyDestination(newRoyaltyDestination); } // Capabilities of the METADATA_UPDATER_ROLE function setBaseURI(string calldata newURI) external onlyRole(METADATA_UPDATER_ROLE) allowIfNotFrozen { _setBaseURI(newURI); } function setCustomTokenURI(uint256 tokenId, string calldata newTokenURI) external onlyRole(METADATA_UPDATER_ROLE) allowIfNotFrozen{ _setCustomTokenURI(tokenId, newTokenURI); } function deleteCustomTokenURI(uint256 tokenId) external onlyRole(METADATA_UPDATER_ROLE) allowIfNotFrozen { _deleteCustomTokenURI(tokenId); } function setContractURI(string calldata newContractURI) external onlyRole(METADATA_UPDATER_ROLE) allowIfNotFrozen { _setContractURI(newContractURI); } // Capabilities of the METADATA_FREEZER_ROLE function freezeURIsForever() external onlyRole(METADATA_FREEZER_ROLE) allowIfNotFrozen { _freezeURIsForever(); } // Information fetching - external/public function royaltyInfo(uint256 tokenId, uint256 salePrice) public view override returns (address, uint256) { require(_exists(tokenId), "Royalty requested for non-existing token"); return _globalRoyaltyInfo(salePrice); } function tokenURI(uint256 tokenId) public view override(ERC721, ERC721URIStorage) returns (string memory) { return super.tokenURI(tokenId); } // Other public/external capabilities // This is the main minting function. This is the function customers will be calling // when they press the 'mint' button on our website. Their call to this function must // include a valid signature, created by an account that has the MINT_SIGNING_ROLE // in this contract. The signature must be created with an EIP712 domain, as well as // the tokenId to be issued to the NFT, and the EOA of the customer. function signatureBasedSafeMint(address to, uint256 tokenId, bytes calldata signature) external { // the line below calls a function which uses ECDSA to recover the account that created // the signature that allows the minting. address theSigner = _recoverSigner(to, tokenId, signature); require(hasRole(MINT_SIGNING_ROLE, theSigner), "Invalid Signature"); // if everything above checks-out, the safeMint function can be summoned. _internalMint(to, tokenId); } // This function allows for safe 'authorization' of the owner of a token to update // the URI for their token themselves, but ONLY to something that has been signed-off on // off-chain by an account that has the URI_SIGNING_ROLE (so that an owner cannot update the // URI to whatever they want. They must provided a valid signature.) // NOTE! The purpose of this function is to allow RV and/or the community to implement very specific, and // time-limited projects where an owner can update their metadata URI with some specific purpose in mind (as // envisioned and authorized by RV and/or the community.) After a specific project/timeframe/purpose has // ellapsed, the key of the URI_SIGNING_ROLE should be rotated to something new; otherwise a savvy owner // would be able to update the metadata URI to a previously authorized version. function signatureBasedSetTokenURI(uint256 tokenId, string calldata newTokenURI, bytes calldata signature) external allowIfNotFrozen { require(msg.sender == ownerOf(tokenId), "signatureBasedSetTokenURI: The caller of the function is not the owner of the token"); // the line below calls a function which uses ECDSA to recover the account that created // the signature that allows the minting. address theSigner = _recoverSigner(newTokenURI, tokenId, signature); require(hasRole(URI_SIGNING_ROLE, theSigner), "Invalid Signature"); _setCustomTokenURI(tokenId, newTokenURI); } // Internal/private functions function _baseURI() internal view override returns (string memory) { return _getBaseURI(); } function _internalMint(address to, uint256 tokenId) private { require(numTokensMinted < MAX_SUPPLY, "The maximum number of tokens that can ever be minted has been reached."); numTokensMinted += 1; _safeMint(to, tokenId); } // Required overrides function supportsInterface(bytes4 interfaceId) public view override(ERC721, AccessControl, ERC2981GlobalRoyalties) returns (bool) { return super.supportsInterface(interfaceId); } // Override the _beforeTokenTransfer hook implemented in ERC721 to require that // the contract be 'not paused' when this hook is called; which is before mints, // transfers, and burns. function _beforeTokenTransfer(address from, address to, uint256 tokenId) internal whenNotPaused override { super._beforeTokenTransfer(from, to, tokenId); } function _burn(uint256 tokenId) internal override(ERC721, ERC721URIStorage) { super._burn(tokenId); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.6.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: balance query for the zero address"); 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: owner query for nonexistent token"); return owner; } /** * @dev See {IERC721Metadata-name}. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev See {IERC721Metadata-symbol}. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev See {IERC721Metadata-tokenURI}. */ function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { require(_exists(tokenId), "ERC721Metadata: URI query for nonexistent token"); 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 owner nor approved for all" ); _approve(to, tokenId); } /** * @dev See {IERC721-getApproved}. */ function getApproved(uint256 tokenId) public view virtual override returns (address) { require(_exists(tokenId), "ERC721: approved query for nonexistent token"); return _tokenApprovals[tokenId]; } /** * @dev See {IERC721-setApprovalForAll}. */ function setApprovalForAll(address operator, bool approved) public virtual override { _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: transfer caller is not owner nor approved"); _transfer(from, to, tokenId); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId ) public virtual override { safeTransferFrom(from, to, tokenId, ""); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes memory _data ) public virtual override { require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved"); _safeTransfer(from, to, tokenId, _data); } /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * `_data` is additional data, it has no specified format and it is sent in call to `to`. * * This internal function is equivalent to {safeTransferFrom}, and can be used to e.g. * implement alternative mechanisms to perform token transfer, such as signature-based. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeTransfer( address from, address to, uint256 tokenId, bytes memory _data ) internal virtual { _transfer(from, to, tokenId); require(_checkOnERC721Received(from, to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer"); } /** * @dev Returns whether `tokenId` exists. * * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}. * * Tokens start existing when they are minted (`_mint`), * and stop existing when they are burned (`_burn`). */ function _exists(uint256 tokenId) internal view virtual returns (bool) { return _owners[tokenId] != address(0); } /** * @dev Returns whether `spender` is allowed to manage `tokenId`. * * Requirements: * * - `tokenId` must exist. */ function _isApprovedOrOwner(address spender, uint256 tokenId) internal view virtual returns (bool) { require(_exists(tokenId), "ERC721: operator query for nonexistent token"); address owner = ERC721.ownerOf(tokenId); return (spender == owner || 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 a {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 a {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 Internal function to invoke {IERC721Receiver-onERC721Received} on a target address. * The call is not executed if the target address is not a contract. * * @param from address representing the previous owner of the given token ID * @param to target address that will receive the tokens * @param tokenId uint256 ID of the token to be transferred * @param _data bytes optional data to send along with the call * @return bool whether the call correctly returned the expected magic value */ function _checkOnERC721Received( address from, address to, uint256 tokenId, bytes memory _data ) private returns (bool) { if (to.isContract()) { try IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, _data) returns (bytes4 retval) { return retval == IERC721Receiver.onERC721Received.selector; } catch (bytes memory reason) { if (reason.length == 0) { revert("ERC721: transfer to non ERC721Receiver implementer"); } else { assembly { revert(add(32, reason), mload(reason)) } } } } else { return true; } } /** * @dev Hook that is called before any token transfer. This includes minting * and burning. * * Calling conditions: * * - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, ``from``'s `tokenId` will be burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer( address from, address to, uint256 tokenId ) internal virtual {} /** * @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 (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 Returns true if the contract is paused, and false otherwise. */ function paused() public view virtual returns (bool) { return _paused; } /** * @dev Modifier to make a function callable only when the contract is not paused. * * Requirements: * * - The contract must not be paused. */ modifier whenNotPaused() { require(!paused(), "Pausable: paused"); _; } /** * @dev Modifier to make a function callable only when the contract is paused. * * Requirements: * * - The contract must be paused. */ modifier whenPaused() { 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.6.0) (access/AccessControl.sol) pragma solidity ^0.8.0; import "./IAccessControl.sol"; import "../utils/Context.sol"; import "../utils/Strings.sol"; import "../utils/introspection/ERC165.sol"; /** * @dev Contract module that allows children to implement role-based access * control mechanisms. This is a lightweight version that doesn't allow enumerating role * members except through off-chain means by accessing the contract event logs. Some * applications may benefit from on-chain enumerability, for those cases see * {AccessControlEnumerable}. * * Roles are referred to by their `bytes32` identifier. These should be exposed * in the external API and be unique. The best way to achieve this is by * using `public constant` hash digests: * * ``` * bytes32 public constant MY_ROLE = keccak256("MY_ROLE"); * ``` * * Roles can be used to represent a set of permissions. To restrict access to a * function call, use {hasRole}: * * ``` * function foo() public { * require(hasRole(MY_ROLE, msg.sender)); * ... * } * ``` * * Roles can be granted and revoked dynamically via the {grantRole} and * {revokeRole} functions. Each role has an associated admin role, and only * accounts that have a role's admin role can call {grantRole} and {revokeRole}. * * By default, the admin role for all roles is `DEFAULT_ADMIN_ROLE`, which means * that only accounts with this role will be able to grant or revoke other * roles. More complex role relationships can be created by using * {_setRoleAdmin}. * * WARNING: The `DEFAULT_ADMIN_ROLE` is also its own admin: it has permission to * grant and revoke this role. Extra precautions should be taken to secure * accounts that have been granted it. */ abstract contract AccessControl is Context, IAccessControl, ERC165 { struct RoleData { mapping(address => bool) members; bytes32 adminRole; } mapping(bytes32 => RoleData) private _roles; bytes32 public constant DEFAULT_ADMIN_ROLE = 0x00; /** * @dev Modifier that checks that an account has a specific role. Reverts * with a standardized message including the required role. * * The format of the revert reason is given by the following regular expression: * * /^AccessControl: account (0x[0-9a-f]{40}) is missing role (0x[0-9a-f]{64})$/ * * _Available since v4.1._ */ modifier onlyRole(bytes32 role) { _checkRole(role); _; } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IAccessControl).interfaceId || super.supportsInterface(interfaceId); } /** * @dev Returns `true` if `account` has been granted `role`. */ function hasRole(bytes32 role, address account) public view virtual override returns (bool) { return _roles[role].members[account]; } /** * @dev Revert with a standard message if `_msgSender()` is missing `role`. * Overriding this function changes the behavior of the {onlyRole} modifier. * * Format of the revert message is described in {_checkRole}. * * _Available since v4.6._ */ function _checkRole(bytes32 role) internal view virtual { _checkRole(role, _msgSender()); } /** * @dev Revert with a standard message if `account` is missing `role`. * * The format of the revert reason is given by the following regular expression: * * /^AccessControl: account (0x[0-9a-f]{40}) is missing role (0x[0-9a-f]{64})$/ */ function _checkRole(bytes32 role, address account) internal view virtual { if (!hasRole(role, account)) { revert( string( abi.encodePacked( "AccessControl: account ", Strings.toHexString(uint160(account), 20), " is missing role ", Strings.toHexString(uint256(role), 32) ) ) ); } } /** * @dev Returns the admin role that controls `role`. See {grantRole} and * {revokeRole}. * * To change a role's admin, use {_setRoleAdmin}. */ function getRoleAdmin(bytes32 role) public view virtual override returns (bytes32) { return _roles[role].adminRole; } /** * @dev Grants `role` to `account`. * * If `account` had not been already granted `role`, emits a {RoleGranted} * event. * * Requirements: * * - the caller must have ``role``'s admin role. */ function grantRole(bytes32 role, address account) public virtual override onlyRole(getRoleAdmin(role)) { _grantRole(role, account); } /** * @dev Revokes `role` from `account`. * * If `account` had been granted `role`, emits a {RoleRevoked} event. * * Requirements: * * - the caller must have ``role``'s admin role. */ function revokeRole(bytes32 role, address account) public virtual override onlyRole(getRoleAdmin(role)) { _revokeRole(role, account); } /** * @dev Revokes `role` from the calling account. * * Roles are often managed via {grantRole} and {revokeRole}: this function's * purpose is to provide a mechanism for accounts to lose their privileges * if they are compromised (such as when a trusted device is misplaced). * * If the calling account had been revoked `role`, emits a {RoleRevoked} * event. * * Requirements: * * - the caller must be `account`. */ function renounceRole(bytes32 role, address account) public virtual override { require(account == _msgSender(), "AccessControl: can only renounce roles for self"); _revokeRole(role, account); } /** * @dev Grants `role` to `account`. * * If `account` had not been already granted `role`, emits a {RoleGranted} * event. Note that unlike {grantRole}, this function doesn't perform any * checks on the calling account. * * [WARNING] * ==== * This function should only be called from the constructor when setting * up the initial roles for the system. * * Using this function in any other way is effectively circumventing the admin * system imposed by {AccessControl}. * ==== * * NOTE: This function is deprecated in favor of {_grantRole}. */ function _setupRole(bytes32 role, address account) internal virtual { _grantRole(role, account); } /** * @dev Sets `adminRole` as ``role``'s admin role. * * Emits a {RoleAdminChanged} event. */ function _setRoleAdmin(bytes32 role, bytes32 adminRole) internal virtual { bytes32 previousAdminRole = getRoleAdmin(role); _roles[role].adminRole = adminRole; emit RoleAdminChanged(role, previousAdminRole, adminRole); } /** * @dev Grants `role` to `account`. * * Internal function without access restriction. */ function _grantRole(bytes32 role, address account) internal virtual { if (!hasRole(role, account)) { _roles[role].members[account] = true; emit RoleGranted(role, account, _msgSender()); } } /** * @dev Revokes `role` from `account`. * * Internal function without access restriction. */ function _revokeRole(bytes32 role, address account) internal virtual { if (hasRole(role, account)) { _roles[role].members[account] = false; emit RoleRevoked(role, account, _msgSender()); } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/ERC721Burnable.sol) pragma solidity ^0.8.0; import "../ERC721.sol"; import "../../../utils/Context.sol"; /** * @title ERC721 Burnable Token * @dev ERC721 Token that can be irreversibly burned (destroyed). */ abstract contract ERC721Burnable is Context, ERC721 { /** * @dev Burns `tokenId`. See {ERC721-_burn}. * * Requirements: * * - The caller must own `tokenId` or be an approved operator. */ function burn(uint256 tokenId) public virtual { //solhint-disable-next-line max-line-length require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721Burnable: caller is not owner nor approved"); _burn(tokenId); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.5.0) (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) { // Check the signature length // - case 65: r,s,v signature (standard) // - case 64: r,vs signature (cf https://eips.ethereum.org/EIPS/eip-2098) _Available since v4.1._ 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. 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 if (signature.length == 64) { bytes32 r; bytes32 vs; // ecrecover takes the signature parameters, and the only way to get them // currently is to use assembly. assembly { r := mload(add(signature, 0x20)) vs := mload(add(signature, 0x40)) } return tryRecover(hash, r, vs); } 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 pragma solidity ^0.8.13; import "@openzeppelin/contracts/token/ERC721/ERC721.sol"; /** * @dev ERC721 token with storage based token URI management. * * This contract is almost entirely based on the OpenZeppelin implementation, but * it modifies the tokenURI() function because we don't think the contract should dictate * whether the metadata MUST all live in the same folder structure off-chain. The * developer should be able to decide if one token lives in one folder, and another * token is in an different folder. However, because OpenZeppelin's implementation * concatenates each token's URI with the baseURI (if it exists), their implementation * is not able to meet the following criteria: * - have a base URI where any non-customized NFTs will have their metadata * - allow any customized NFTs to have their metadata at an arbitrary * location (this could be a separate folder or separate infrastructure entirely * from the rest of the collection. Maybe not, but the choice should be available * to the developer; the contract should be agnostic and not enforce the same * location for all.) * For example, the openzeppelin implementation would make it very difficult to * change the metadata about one NFT in the collection if all NFT's metadata were initially * uploaded as a folder to IPFS. */ abstract contract ERC721URIStorage is ERC721 { using Strings for uint256; // Optional mapping for token URIs mapping(uint256 => string) private _customTokenURIs; /** * @dev See {IERC721Metadata-tokenURI}. */ function tokenURI(uint256 tokenId) public view virtual override returns (string memory _URIToReturn) { require(_exists(tokenId), "ERC721URIStorage: URI query for nonexistent token"); string memory _tokenURI = _customTokenURIs[tokenId]; // NOTE !!! // The behavior below is modified from the OpenZeppelin implementation. // OpenZeppelin concatenates customURIs for tokens to the baseURI // We do not concatenate those two things; if a custom URI is set for a token, // it should be a fully independent URI (not something that is dependent on some sort of 'base' string). // Concatenation with the tokenId is only performed for tokens using the baseURI. For tokens that // have had a unique URI set, no concatenation is performed, because this allows for unique URIs in // IPFS to work, for example (where concatenating a tokenId would change/break the CID.) // If a custom URI has been set for the token, use it if (bytes(_tokenURI).length > 0) { _URIToReturn = _tokenURI; } // otherwise, use the default/global baseURI else { _URIToReturn = string(abi.encodePacked(_baseURI(), tokenId.toString())); } } /** * @dev Sets `_tokenURI` as the tokenURI of `tokenId`. * * Requirements: * * - `tokenId` must exist. */ function _setCustomTokenURI(uint256 tokenId, string calldata _tokenURI) internal virtual { require(_exists(tokenId), "ERC721URIStorage: URI set of nonexistent token"); _customTokenURIs[tokenId] = _tokenURI; } /** * @dev Deletes custom base tokenURI, if one had previously been set for a specific token. * * Requirements: * * - a custom URI must have previously been set for the token. */ function _deleteCustomTokenURI(uint256 tokenId) internal virtual { require( bytes(_customTokenURIs[tokenId]).length != 0, "ERC721URIStorage: Token does not have a custom URI mapping."); delete _customTokenURIs[tokenId]; } /** * @dev Removes token-specific URI information if it exists, when a token is burned. */ function _burn(uint256 tokenId) internal virtual override { super._burn(tokenId); if (bytes(_customTokenURIs[tokenId]).length != 0) { delete _customTokenURIs[tokenId]; } } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.13; import "@openzeppelin/contracts/interfaces/IERC2981.sol"; import "@openzeppelin/contracts/utils/introspection/ERC165.sol"; /** * @dev Implementation of the NFT Royalty Standard, a standardized way to retrieve royalty payment information. * Implementation based off of OpenZeppelin's ERC2981.sol, with significant customization. * * IMPORTANT: ERC-2981 only specifies a way to signal royalty information and does not enforce its payment. See * https://eips.ethereum.org/EIPS/eip-2981#optional-royalty-payments[Rationale] in the EIP. Marketplaces are expected to * voluntarily pay royalties together with sales, but note that this standard is not yet widely supported. * */ abstract contract ERC2981GlobalRoyalties is IERC2981, ERC165 { // The 'Global' word in the name of this contract is there to signify // that this contract deliberately does not implement royalties at the level of // each token - it only allows for royalty destination and amount to be set // for ALL tokens in the collection. // NOTE that this contract is IERC2981, and yet, it does not implement the only function // that is required by IERC2981: royaltyInfo(). This task is left to the descendants // of this contract to implement. address private _royaltyDestination; uint16 private _royaltyInBips; uint16 private _bipsBasedFeeDenominator = 10000; /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) { return interfaceId == type(IERC2981).interfaceId || super.supportsInterface(interfaceId); } function _setRoyaltyAmountInBips(uint16 _newRoyaltyInBips) internal { require(_newRoyaltyInBips <= _bipsBasedFeeDenominator, "Royalty fee will exceed salePrice"); _royaltyInBips = _newRoyaltyInBips; } function _setRoyaltyDestination(address _newRoyaltyDestination) internal { _royaltyDestination = _newRoyaltyDestination; } /** * @dev The two functions below this comment offer the developer a choice of * ways to implement the compulsory (to meet the requirements of the Interface of EIP2981) * function called royaltyInfo() * (Both options require overriding the royaltyInfo() declaration of this contract.) * 1 - the first option is to override royaltyInfo() and implement the contents of the * function (in the child contract) from scratch in whatever way the developer sees fit. * 2 - the second option is to override, but instead of implementing from scratch, * inside the override (in the child), simply call the internal function _globalRoyaltyInfo() * which already has a working implementation coded below. */ function royaltyInfo(uint256 _tokenId, uint256 _salePrice) public view virtual returns (address, uint256); function _globalRoyaltyInfo(uint256 _salePrice) // Note that most implementations of 'royaltyInfo' also have a 'tokenId' parameter. // Because this contract is implementing royalties at the global level only, this parameter is not // neeeded here. Descendent contracts, can make use of this function to easily implement // royaltyInfo(), however, those contracts (that inherit from this contract) should make sure that // the 'royaltyInfo' function they implement has the 'tokenId' parameter in order to comply with // EIP2981 internal view returns (address, uint256) { // To understand why the denominator is 10,000 see the definition of // the unambiguous financial term: 'basis points' (bips) uint256 royaltyAmount = (_salePrice * _royaltyInBips) / _bipsBasedFeeDenominator; return (_royaltyDestination, royaltyAmount); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.13; /** * @dev Contract module which abstracts some aspects of URI management away from the main contract. * This contract: * * - Provides an adjustable 'default' URI for the location of the metadata (of tokens * in the collection). Typically this is a folder in IPFS or some sort of web server. * * - Enables eventual freezing of all metadata, which is useful if a project wants to start * with centralized metadata and eventually move it to a decentralized location and then 'freeze' * it there for posterity. */ abstract contract URIManager { string private _baseDefaultURI; string private _contractURI; bool private _URIsAreForeverFrozen; /** * @dev Initializes the contract in unfrozen state with a particular * baseURI (the default location for the data of all the NFTs) */ constructor(string memory initialBaseURI) { _baseDefaultURI = initialBaseURI; _URIsAreForeverFrozen = false; } function _setBaseURI(string calldata _uri) internal { _baseDefaultURI = _uri; } function _setContractURI(string calldata _newContractURI) internal { _contractURI = _newContractURI; } function _getBaseURI() internal view returns(string memory) { return _baseDefaultURI; } /** * @dev Opensea states that a contract may have a contractURI() function, which * returns metadata for the contract as a whole. */ function contractURI() public view returns (string memory) { return _contractURI; } /** * @dev Returns true if the metadata URIs have been finalized forever. */ function AreURIsForeverFrozen() public view virtual returns (bool) { return _URIsAreForeverFrozen; } /** * @dev Modifier to make a function callable only if the URIs have not been frozen forever. * * Requirements: * * - The contract must not be paused. */ modifier allowIfNotFrozen() { require(!AreURIsForeverFrozen(), "URIManager: URIs have been frozen forever"); _; } /** * @dev Freezes all future changes of the URIs. * * Requirements: * * - The URIs must not be frozen already. */ function _freezeURIsForever() internal virtual allowIfNotFrozen { _URIsAreForeverFrozen = true; } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.13; import "@openzeppelin/contracts/utils/cryptography/draft-EIP712.sol"; /** * @dev Contract module used to implement useful cryptography-related functionality. */ abstract contract CryptographicUtils is EIP712 { constructor(string memory domain, string memory version) EIP712(domain, version) {} // This version of this overloaded function is used to safeguard operations where the creation of a valid // signature (in addition to a tokenId, also) included a specific address function _recoverSigner(address relevantAddress, uint256 tokenId, bytes calldata signature) internal view returns (address) { // to best understand what is happening in the next line, it is most useful to read the // 712 EIP. bytes32 digest = _hashTypedDataV4( keccak256( abi.encode( keccak256( "RVNFTStructWithAddress(uint256 tokenId,address relevantAddress)"), tokenId, relevantAddress))); // with the signature provided, and the digest created above it is possible to 'recover' // the public address of the account that created the signature. return ECDSA.recover(digest, signature); } // This version of this overloaded function is used to safeguard operations where the creation of a valid // signature (in addition to a tokenId, also) included a specific string function _recoverSigner(string calldata relevantString, uint256 tokenId, bytes calldata signature) internal view returns (address) { // to best understand what is happening in the next line, it is most useful to read the // 712 EIP. bytes32 digest = _hashTypedDataV4( keccak256( abi.encode( keccak256( "RVNFTStructWithString(uint256 tokenId,string relevantString)"), tokenId, keccak256(bytes(relevantString))))); // with the signature provided, and the digest created above it is possible to 'recover' // the public address of the account that created the signature. return ECDSA.recover(digest, signature); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.6.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 be have been allowed to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Transfers `tokenId` token from `from` to `to`. * * WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) external; /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool _approved) external; /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll} */ function isApprovedForAll(address owner, address operator) external view returns (bool); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.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 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.5.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 assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } }
// 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/Strings.sol) pragma solidity ^0.8.0; /** * @dev String operations. */ library Strings { bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef"; /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function toString(uint256 value) internal pure returns (string memory) { // Inspired by OraclizeAPI's implementation - MIT licence // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol if (value == 0) { return "0"; } uint256 temp = value; uint256 digits; while (temp != 0) { digits++; temp /= 10; } bytes memory buffer = new bytes(digits); while (value != 0) { digits -= 1; buffer[digits] = bytes1(uint8(48 + uint256(value % 10))); value /= 10; } return string(buffer); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { if (value == 0) { return "0x00"; } uint256 temp = value; uint256 length = 0; while (temp != 0) { length++; temp >>= 8; } return toHexString(value, length); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length. */ function toHexString(uint256 value, uint256 length) internal pure returns (string memory) { bytes memory buffer = new bytes(2 * length + 2); buffer[0] = "0"; buffer[1] = "x"; for (uint256 i = 2 * length + 1; i > 1; --i) { buffer[i] = _HEX_SYMBOLS[value & 0xf]; value >>= 4; } require(value == 0, "Strings: hex length insufficient"); return string(buffer); } }
// 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 v4.4.1 (utils/introspection/IERC165.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC165 standard, as defined in the * https://eips.ethereum.org/EIPS/eip-165[EIP]. * * Implementers can declare support of contract interfaces, which can then be * queried by others ({ERC165Checker}). * * For an implementation, see {ERC165}. */ interface IERC165 { /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] * to learn more about how these ids are created. * * This function call must use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (access/IAccessControl.sol) pragma solidity ^0.8.0; /** * @dev External interface of AccessControl declared to support ERC165 detection. */ interface IAccessControl { /** * @dev Emitted when `newAdminRole` is set as ``role``'s admin role, replacing `previousAdminRole` * * `DEFAULT_ADMIN_ROLE` is the starting admin for all roles, despite * {RoleAdminChanged} not being emitted signaling this. * * _Available since v3.1._ */ event RoleAdminChanged(bytes32 indexed role, bytes32 indexed previousAdminRole, bytes32 indexed newAdminRole); /** * @dev Emitted when `account` is granted `role`. * * `sender` is the account that originated the contract call, an admin role * bearer except when using {AccessControl-_setupRole}. */ event RoleGranted(bytes32 indexed role, address indexed account, address indexed sender); /** * @dev Emitted when `account` is revoked `role`. * * `sender` is the account that originated the contract call: * - if using `revokeRole`, it is the admin role bearer * - if using `renounceRole`, it is the role bearer (i.e. `account`) */ event RoleRevoked(bytes32 indexed role, address indexed account, address indexed sender); /** * @dev Returns `true` if `account` has been granted `role`. */ function hasRole(bytes32 role, address account) external view returns (bool); /** * @dev Returns the admin role that controls `role`. See {grantRole} and * {revokeRole}. * * To change a role's admin, use {AccessControl-_setRoleAdmin}. */ function getRoleAdmin(bytes32 role) external view returns (bytes32); /** * @dev Grants `role` to `account`. * * If `account` had not been already granted `role`, emits a {RoleGranted} * event. * * Requirements: * * - the caller must have ``role``'s admin role. */ function grantRole(bytes32 role, address account) external; /** * @dev Revokes `role` from `account`. * * If `account` had been granted `role`, emits a {RoleRevoked} event. * * Requirements: * * - the caller must have ``role``'s admin role. */ function revokeRole(bytes32 role, address account) external; /** * @dev Revokes `role` from the calling account. * * Roles are often managed via {grantRole} and {revokeRole}: this function's * purpose is to provide a mechanism for accounts to lose their privileges * if they are compromised (such as when a trusted device is misplaced). * * If the calling account had been granted `role`, emits a {RoleRevoked} * event. * * Requirements: * * - the caller must be `account`. */ function renounceRole(bytes32 role, address account) external; }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.6.0) (interfaces/IERC2981.sol) pragma solidity ^0.8.0; import "../utils/introspection/IERC165.sol"; /** * @dev Interface for the NFT Royalty Standard. * * A standardized way to retrieve royalty payment information for non-fungible tokens (NFTs) to enable universal * support for royalty payments across all NFT marketplaces and ecosystem participants. * * _Available since v4.5._ */ interface IERC2981 is IERC165 { /** * @dev Returns how much royalty is owed and to whom, based on a sale price that may be denominated in any unit of * exchange. The royalty amount is denominated and should be paid in that same unit of exchange. */ function royaltyInfo(uint256 tokenId, uint256 salePrice) external view returns (address receiver, uint256 royaltyAmount); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/cryptography/draft-EIP712.sol) pragma solidity ^0.8.0; import "./ECDSA.sol"; /** * @dev https://eips.ethereum.org/EIPS/eip-712[EIP 712] is a standard for hashing and signing of typed structured data. * * The encoding specified in the EIP is very generic, and such a generic implementation in Solidity is not feasible, * thus this contract does not implement the encoding itself. Protocols need to implement the type-specific encoding * they need in their contracts using a combination of `abi.encode` and `keccak256`. * * This contract implements the EIP 712 domain separator ({_domainSeparatorV4}) that is used as part of the encoding * scheme, and the final step of the encoding to obtain the message digest that is then signed via ECDSA * ({_hashTypedDataV4}). * * The implementation of the domain separator was designed to be as efficient as possible while still properly updating * the chain id to protect against replay attacks on an eventual fork of the chain. * * NOTE: This contract implements the version of the encoding known as "v4", as implemented by the JSON RPC method * https://docs.metamask.io/guide/signing-data.html[`eth_signTypedDataV4` in MetaMask]. * * _Available since v3.4._ */ abstract contract EIP712 { /* solhint-disable var-name-mixedcase */ // Cache the domain separator as an immutable value, but also store the chain id that it corresponds to, in order to // invalidate the cached domain separator if the chain id changes. bytes32 private immutable _CACHED_DOMAIN_SEPARATOR; uint256 private immutable _CACHED_CHAIN_ID; address private immutable _CACHED_THIS; bytes32 private immutable _HASHED_NAME; bytes32 private immutable _HASHED_VERSION; bytes32 private immutable _TYPE_HASH; /* solhint-enable var-name-mixedcase */ /** * @dev Initializes the domain separator and parameter caches. * * The meaning of `name` and `version` is specified in * https://eips.ethereum.org/EIPS/eip-712#definition-of-domainseparator[EIP 712]: * * - `name`: the user readable name of the signing domain, i.e. the name of the DApp or the protocol. * - `version`: the current major version of the signing domain. * * NOTE: These parameters cannot be changed except through a xref:learn::upgrading-smart-contracts.adoc[smart * contract upgrade]. */ constructor(string memory name, string memory version) { bytes32 hashedName = keccak256(bytes(name)); bytes32 hashedVersion = keccak256(bytes(version)); bytes32 typeHash = keccak256( "EIP712Domain(string name,string version,uint256 chainId,address verifyingContract)" ); _HASHED_NAME = hashedName; _HASHED_VERSION = hashedVersion; _CACHED_CHAIN_ID = block.chainid; _CACHED_DOMAIN_SEPARATOR = _buildDomainSeparator(typeHash, hashedName, hashedVersion); _CACHED_THIS = address(this); _TYPE_HASH = typeHash; } /** * @dev Returns the domain separator for the current chain. */ function _domainSeparatorV4() internal view returns (bytes32) { if (address(this) == _CACHED_THIS && block.chainid == _CACHED_CHAIN_ID) { return _CACHED_DOMAIN_SEPARATOR; } else { return _buildDomainSeparator(_TYPE_HASH, _HASHED_NAME, _HASHED_VERSION); } } function _buildDomainSeparator( bytes32 typeHash, bytes32 nameHash, bytes32 versionHash ) private view returns (bytes32) { return keccak256(abi.encode(typeHash, nameHash, versionHash, block.chainid, address(this))); } /** * @dev Given an already https://eips.ethereum.org/EIPS/eip-712#definition-of-hashstruct[hashed struct], this * function returns the hash of the fully encoded EIP712 message for this domain. * * This hash can be used together with {ECDSA-recover} to obtain the signer of a message. For example: * * ```solidity * bytes32 digest = _hashTypedDataV4(keccak256(abi.encode( * keccak256("Mail(address to,string contents)"), * mailTo, * keccak256(bytes(mailContents)) * ))); * address signer = ECDSA.recover(digest, signature); * ``` */ function _hashTypedDataV4(bytes32 structHash) internal view virtual returns (bytes32) { return ECDSA.toTypedDataHash(_domainSeparatorV4(), structHash); } }
{ "optimizer": { "enabled": true, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"string","name":"name","type":"string"},{"internalType":"string","name":"symbol","type":"string"},{"internalType":"string","name":"domain","type":"string"},{"internalType":"string","name":"version","type":"string"},{"internalType":"string","name":"baseTokenURI","type":"string"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Paused","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"previousAdminRole","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"newAdminRole","type":"bytes32"}],"name":"RoleAdminChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"RoleGranted","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"RoleRevoked","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":[],"name":"AreURIsForeverFrozen","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"DEFAULT_ADMIN_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"METADATA_FREEZER_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"METADATA_UPDATER_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MINTER_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MINT_SIGNING_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PAUSER_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"ROYALTY_SETTING_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"URI_SIGNING_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"contractURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"deleteCustomTokenURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"freezeURIsForever","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"}],"name":"getRoleAdmin","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"grantRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"hasRole","outputs":[{"internalType":"bool","name":"","type":"bool"}],"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":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"numTokensMinted","outputs":[{"internalType":"uint16","name":"","type":"uint16"}],"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":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"renounceRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"revokeRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"uint256","name":"salePrice","type":"uint256"}],"name":"royaltyInfo","outputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeMint","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":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"newContractURI","type":"string"}],"name":"setContractURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"string","name":"newTokenURI","type":"string"}],"name":"setCustomTokenURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"honoraryOwner","type":"address"}],"name":"setHonoraryOwner","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint16","name":"newRoyaltyInBips","type":"uint16"}],"name":"setRoyaltyAmountInBips","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newRoyaltyDestination","type":"address"}],"name":"setRoyaltyDestination","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"signature","type":"bytes"}],"name":"signatureBasedSafeMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"string","name":"newTokenURI","type":"string"},{"internalType":"bytes","name":"signature","type":"bytes"}],"name":"signatureBasedSetTokenURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"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":[],"name":"unpause","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
6101406040526007805461ffff60b01b191661027160b41b1790553480156200002757600080fd5b5060405162003cc838038062003cc88339810160408190526200004a91620006b2565b825160208085019190912083518483012060e08290526101008190524660a0818152604080517f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f818801819052818301969096526060810194909452608080850193909352308483018190528151808603909301835260c0948501909152815191860191909120909152905261012052855182918591859189918991620000f79160009185019062000532565b5080516200010d90600190602084019062000532565b505083516200012793506008925060208501915062000532565b5050600a805461ffff191690556200014160003362000157565b6200014c33620001fc565b505050505062000900565b6000828152600b602090815260408083206001600160a01b038516845290915290205460ff16620001f8576000828152600b602090815260408083206001600160a01b03851684529091529020805460ff19166001179055620001b73390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45b5050565b60006200020981620002c6565b6001600160a01b038216620002735760405162461bcd60e51b815260206004820152602560248201527f4e6577206f776e65722063616e6e6f7420626520746865207a65726f206164646044820152643932b9b99760d91b60648201526084015b60405180910390fd5b600c80546001600160a01b038481166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3505050565b620002d28133620002d5565b50565b6000828152600b602090815260408083206001600160a01b038516845290915290205460ff16620001f85762000321816001600160a01b031660146200037260201b620011df1760201c565b62000337836020620011df62000372821b17811c565b6040516020016200034a92919062000793565b60408051601f198184030181529082905262461bcd60e51b82526200026a916004016200080c565b606060006200038383600262000857565b6200039090600262000879565b6001600160401b03811115620003aa57620003aa620005d8565b6040519080825280601f01601f191660200182016040528015620003d5576020820181803683370190505b509050600360fc1b81600081518110620003f357620003f362000894565b60200101906001600160f81b031916908160001a905350600f60fb1b8160018151811062000425576200042562000894565b60200101906001600160f81b031916908160001a90535060006200044b84600262000857565b6200045890600162000879565b90505b6001811115620004da576f181899199a1a9b1b9c1cb0b131b232b360811b85600f166010811062000490576200049062000894565b1a60f81b828281518110620004a957620004a962000894565b60200101906001600160f81b031916908160001a90535060049490941c93620004d281620008aa565b90506200045b565b5083156200052b5760405162461bcd60e51b815260206004820181905260248201527f537472696e67733a20686578206c656e67746820696e73756666696369656e7460448201526064016200026a565b9392505050565b8280546200054090620008c4565b90600052602060002090601f016020900481019282620005645760008555620005af565b82601f106200057f57805160ff1916838001178555620005af565b82800160010185558215620005af579182015b82811115620005af57825182559160200191906001019062000592565b50620005bd929150620005c1565b5090565b5b80821115620005bd5760008155600101620005c2565b634e487b7160e01b600052604160045260246000fd5b60005b838110156200060b578181015183820152602001620005f1565b838111156200061b576000848401525b50505050565b600082601f8301126200063357600080fd5b81516001600160401b0380821115620006505762000650620005d8565b604051601f8301601f19908116603f011681019082821181831017156200067b576200067b620005d8565b816040528381528660208588010111156200069557600080fd5b620006a8846020830160208901620005ee565b9695505050505050565b600080600080600060a08688031215620006cb57600080fd5b85516001600160401b0380821115620006e357600080fd5b620006f189838a0162000621565b965060208801519150808211156200070857600080fd5b6200071689838a0162000621565b955060408801519150808211156200072d57600080fd5b6200073b89838a0162000621565b945060608801519150808211156200075257600080fd5b6200076089838a0162000621565b935060808801519150808211156200077757600080fd5b50620007868882890162000621565b9150509295509295909350565b7f416363657373436f6e74726f6c3a206163636f756e7420000000000000000000815260008351620007cd816017850160208801620005ee565b7001034b99036b4b9b9b4b733903937b6329607d1b601791840191820152835162000800816028840160208801620005ee565b01602801949350505050565b60208152600082518060208401526200082d816040850160208701620005ee565b601f01601f19169190910160400192915050565b634e487b7160e01b600052601160045260246000fd5b600081600019048311821515161562000874576200087462000841565b500290565b600082198211156200088f576200088f62000841565b500190565b634e487b7160e01b600052603260045260246000fd5b600081620008bc57620008bc62000841565b506000190190565b600181811c90821680620008d957607f821691505b602082108103620008fa57634e487b7160e01b600052602260045260246000fd5b50919050565b60805160a05160c05160e05161010051610120516133786200095060003960006124460152600061249501526000612470015260006123c9015260006123f30152600061241d01526133786000f3fe608060405234801561001057600080fd5b506004361061028a5760003560e01c80637ba05c1e1161015c578063a217fddf116100ce578063d547741f11610087578063d547741f14610639578063dde367191461064c578063ddead0eb1461065f578063e63ab1e914610667578063e8a3d4851461068e578063e985e9c51461069657600080fd5b8063a217fddf146105aa578063a22cb465146105b2578063b88d4fde146105c5578063bb9688c0146105d8578063c87b56dd146105ff578063d53913931461061257600080fd5b806391d148541161012057806391d1485414610537578063938e3d7b1461054a57806395d89b411461055d578063982f60db1461056557806399f336d914610570578063a14481941461059757600080fd5b80637ba05c1e146104e15780638456cb59146104f4578063851fc4b6146104fc578063890257501461050f5780638da5cb5b1461052457600080fd5b80633746e9481161020057806355f804b3116101b957806355f804b31461045e5780635c975abb146104715780636352211e1461048157806370a08231146104945780637982618b146104a75780637aba0313146104ce57600080fd5b80633746e948146103e25780633f4ba83a146103f55780634230baee146103fd57806342842e0e1461042557806342966c681461043857806355b7c4431461044b57600080fd5b806323b872dd1161025257806323b872dd1461031f578063248a9ca31461033257806328ae2f4b146103635780632a55205a1461038a5780632f2ff15d146103bc57806336568abe146103cf57600080fd5b806301ffc9a71461028f57806306fdde03146102b7578063081812fc146102cc578063095ea7b3146102f757806320d0ce5b1461030c575b600080fd5b6102a261029d366004612b37565b6106d2565b60405190151581526020015b60405180910390f35b6102bf6106e3565b6040516102ae9190612bac565b6102df6102da366004612bbf565b610775565b6040516001600160a01b0390911681526020016102ae565b61030a610305366004612bf4565b610802565b005b61030a61031a366004612c60565b610917565b61030a61032d366004612cda565b610a73565b610355610340366004612bbf565b6000908152600b602052604090206001015490565b6040519081526020016102ae565b6103557f9c81316a7649676dc8f158fdf85ae0ee3f978748af0e7356559dfe5fd1504d8b81565b61039d610398366004612d16565b610aa5565b604080516001600160a01b0390931683526020830191909152016102ae565b61030a6103ca366004612d38565b610b23565b61030a6103dd366004612d38565b610b48565b61030a6103f0366004612d64565b610bc6565b61030a610bf9565b600c5461041290600160a01b900461ffff1681565b60405161ffff90911681526020016102ae565b61030a610433366004612cda565b610c2e565b61030a610446366004612bbf565b610c49565b61030a610459366004612d88565b610cc0565b61030a61046c366004612da3565b610d82565b600a54610100900460ff166102a2565b6102df61048f366004612bbf565b610dc7565b6103556104a2366004612d88565b610e3e565b6103557fc7b18b498a11ca60f08aa692fe3f9d34182ecde6cd3a30b262d48da0d91f4ef881565b61030a6104dc366004612de5565b610ec5565b61030a6104ef366004612bbf565b610f50565b61030a610f94565b61030a61050a366004612e3f565b610fc6565b61035560008051602061332383398151915281565b600c546102df906001600160a01b031681565b6102a2610545366004612d38565b611012565b61030a610558366004612da3565b61103d565b6102bf611082565b600a5460ff166102a2565b6103557fc9508410bfaa58ec74f50cbc9a5a670768be39a567fb4405d57667042ad367e381565b61030a6105a5366004612bf4565b611091565b610355600081565b61030a6105c0366004612e8b565b6110c5565b61030a6105d3366004612edd565b6110d0565b6103557f95de18ea82670e9ce57214120c1cb23f6fa0c60e13eb7b5b09df06345163ed6581565b6102bf61060d366004612bbf565b611102565b6103557f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a681565b61030a610647366004612d38565b61110d565b61030a61065a366004612d88565b611132565b61030a61117b565b6103557f65d7a28e3265b37a6474929f336521b332c1681b933f6cb9f3376673440d862a81565b6102bf6111d0565b6102a26106a4366004612fb9565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b60006106dd82611382565b92915050565b6060600080546106f290612fe3565b80601f016020809104026020016040519081016040528092919081815260200182805461071e90612fe3565b801561076b5780601f106107405761010080835404028352916020019161076b565b820191906000526020600020905b81548152906001019060200180831161074e57829003601f168201915b5050505050905090565b6000610780826113a7565b6107e65760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084015b60405180910390fd5b506000908152600460205260409020546001600160a01b031690565b600061080d82610dc7565b9050806001600160a01b0316836001600160a01b03160361087a5760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b60648201526084016107dd565b336001600160a01b0382161480610896575061089681336106a4565b6109085760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c000000000000000060648201526084016107dd565b61091283836113c4565b505050565b600a5460ff161561093a5760405162461bcd60e51b81526004016107dd90613017565b61094385610dc7565b6001600160a01b0316336001600160a01b0316146109e55760405162461bcd60e51b815260206004820152605360248201527f7369676e61747572654261736564536574546f6b656e5552493a20546865206360448201527f616c6c6572206f66207468652066756e6374696f6e206973206e6f74207468656064820152721037bbb732b91037b3103a3432903a37b5b2b760691b608482015260a4016107dd565b60006109f48585888686611432565b9050610a207fc7b18b498a11ca60f08aa692fe3f9d34182ecde6cd3a30b262d48da0d91f4ef882611012565b610a605760405162461bcd60e51b8152602060048201526011602482015270496e76616c6964205369676e617475726560781b60448201526064016107dd565b610a6b8686866114fa565b505050505050565b610a7e335b8261157f565b610a9a5760405162461bcd60e51b81526004016107dd90613060565b610912838383611669565b600080610ab1846113a7565b610b0e5760405162461bcd60e51b815260206004820152602860248201527f526f79616c74792072657175657374656420666f72206e6f6e2d6578697374696044820152673733903a37b5b2b760c11b60648201526084016107dd565b610b1783611810565b915091505b9250929050565b6000828152600b6020526040902060010154610b3e8161185a565b6109128383611864565b6001600160a01b0381163314610bb85760405162461bcd60e51b815260206004820152602f60248201527f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560448201526e103937b632b9903337b91039b2b63360891b60648201526084016107dd565b610bc282826118ea565b5050565b7f9c81316a7649676dc8f158fdf85ae0ee3f978748af0e7356559dfe5fd1504d8b610bf08161185a565b610bc282611951565b7f65d7a28e3265b37a6474929f336521b332c1681b933f6cb9f3376673440d862a610c238161185a565b610c2b6119de565b50565b610912838383604051806020016040528060008152506110d0565b610c5233610a78565b610cb75760405162461bcd60e51b815260206004820152603060248201527f4552433732314275726e61626c653a2063616c6c6572206973206e6f74206f7760448201526f1b995c881b9bdc88185c1c1c9bdd995960821b60648201526084016107dd565b610c2b81611a77565b6000610ccb8161185a565b6001600160a01b038216610d2f5760405162461bcd60e51b815260206004820152602560248201527f4e6577206f776e65722063616e6e6f7420626520746865207a65726f206164646044820152643932b9b99760d91b60648201526084016107dd565b600c80546001600160a01b038481166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3505050565b600080516020613323833981519152610d9a8161185a565b600a5460ff1615610dbd5760405162461bcd60e51b81526004016107dd90613017565b6109128383611a80565b6000818152600260205260408120546001600160a01b0316806106dd5760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201526832b73a103a37b5b2b760b91b60648201526084016107dd565b60006001600160a01b038216610ea95760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b60648201526084016107dd565b506001600160a01b031660009081526003602052604090205490565b6000610ed385858585611a8c565b9050610eff7fc9508410bfaa58ec74f50cbc9a5a670768be39a567fb4405d57667042ad367e382611012565b610f3f5760405162461bcd60e51b8152602060048201526011602482015270496e76616c6964205369676e617475726560781b60448201526064016107dd565b610f498585611b28565b5050505050565b600080516020613323833981519152610f688161185a565b600a5460ff1615610f8b5760405162461bcd60e51b81526004016107dd90613017565b610bc282611c00565b7f65d7a28e3265b37a6474929f336521b332c1681b933f6cb9f3376673440d862a610fbe8161185a565b610c2b611ca7565b600080516020613323833981519152610fde8161185a565b600a5460ff16156110015760405162461bcd60e51b81526004016107dd90613017565b61100c8484846114fa565b50505050565b6000918252600b602090815260408084206001600160a01b0393909316845291905290205460ff1690565b6000805160206133238339815191526110558161185a565b600a5460ff16156110785760405162461bcd60e51b81526004016107dd90613017565b6109128383611d29565b6060600180546106f290612fe3565b7f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a66110bb8161185a565b6109128383611b28565b610bc2338383611d35565b6110da338361157f565b6110f65760405162461bcd60e51b81526004016107dd90613060565b61100c84848484611e03565b60606106dd82611e36565b6000828152600b60205260409020600101546111288161185a565b61091283836118ea565b7f9c81316a7649676dc8f158fdf85ae0ee3f978748af0e7356559dfe5fd1504d8b61115c8161185a565b600780546001600160a01b0319166001600160a01b0384161790555050565b7f95de18ea82670e9ce57214120c1cb23f6fa0c60e13eb7b5b09df06345163ed656111a58161185a565b600a5460ff16156111c85760405162461bcd60e51b81526004016107dd90613017565b610c2b611f8c565b6060600980546106f290612fe3565b606060006111ee8360026130c7565b6111f99060026130e6565b67ffffffffffffffff81111561121157611211612ec7565b6040519080825280601f01601f19166020018201604052801561123b576020820181803683370190505b509050600360fc1b81600081518110611256576112566130fe565b60200101906001600160f81b031916908160001a905350600f60fb1b81600181518110611285576112856130fe565b60200101906001600160f81b031916908160001a90535060006112a98460026130c7565b6112b49060016130e6565b90505b600181111561132c576f181899199a1a9b1b9c1cb0b131b232b360811b85600f16601081106112e8576112e86130fe565b1a60f81b8282815181106112fe576112fe6130fe565b60200101906001600160f81b031916908160001a90535060049490941c9361132581613114565b90506112b7565b50831561137b5760405162461bcd60e51b815260206004820181905260248201527f537472696e67733a20686578206c656e67746820696e73756666696369656e7460448201526064016107dd565b9392505050565b60006001600160e01b03198216637965db0b60e01b14806106dd57506106dd82611fbe565b6000908152600260205260409020546001600160a01b0316151590565b600081815260046020526040902080546001600160a01b0319166001600160a01b03841690811790915581906113f982610dc7565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000806114ad7fe69964f6d6e7bfc7c6289ec7ac11fae8917c7f274c5f21ac4241bf776d807bb286898960405161146a92919061312b565b6040519081900381206114929392916020019283526020830191909152604082015260600190565b60405160208183030381529060405280519060200120611fe3565b90506114ef8185858080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525061203192505050565b979650505050505050565b611503836113a7565b6115665760405162461bcd60e51b815260206004820152602e60248201527f45524337323155524953746f726167653a2055524920736574206f66206e6f6e60448201526d32bc34b9ba32b73a103a37b5b2b760911b60648201526084016107dd565b600083815260066020526040902061100c908383612a52565b600061158a826113a7565b6115eb5760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084016107dd565b60006115f683610dc7565b9050806001600160a01b0316846001600160a01b0316148061163d57506001600160a01b0380821660009081526005602090815260408083209388168352929052205460ff165b806116615750836001600160a01b031661165684610775565b6001600160a01b0316145b949350505050565b826001600160a01b031661167c82610dc7565b6001600160a01b0316146116e05760405162461bcd60e51b815260206004820152602560248201527f4552433732313a207472616e736665722066726f6d20696e636f72726563742060448201526437bbb732b960d91b60648201526084016107dd565b6001600160a01b0382166117425760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b60648201526084016107dd565b61174d838383612055565b6117586000826113c4565b6001600160a01b038316600090815260036020526040812080546001929061178190849061313b565b90915550506001600160a01b03821660009081526003602052604081208054600192906117af9084906130e6565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b6007546000908190819061ffff600160b01b820481169161183a91600160a01b90910416866130c7565b6118449190613168565b6007546001600160a01b03169590945092505050565b610c2b81336120a0565b61186e8282611012565b610bc2576000828152600b602090815260408083206001600160a01b03851684529091529020805460ff191660011790556118a63390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b6118f48282611012565b15610bc2576000828152600b602090815260408083206001600160a01b0385168085529252808320805460ff1916905551339285917ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9190a45050565b60075461ffff600160b01b909104811690821611156119bc5760405162461bcd60e51b815260206004820152602160248201527f526f79616c7479206665652077696c6c206578636565642073616c65507269636044820152606560f81b60648201526084016107dd565b6007805461ffff909216600160a01b0261ffff60a01b19909216919091179055565b600a54610100900460ff16611a2c5760405162461bcd60e51b815260206004820152601460248201527314185d5cd8589b194e881b9bdd081c185d5cd95960621b60448201526064016107dd565b600a805461ff00191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa335b6040516001600160a01b03909116815260200160405180910390a1565b610c2b81612104565b61091260088383612a52565b604080517fa03595d80fb398fb8336ca6862d9151c3e5bc6f3bc26768e42d61ce4fbe1dfa560208201529081018490526001600160a01b03851660608201526000908190611adc90608001611492565b9050611b1e8185858080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525061203192505050565b9695505050505050565b600c54611770600160a01b90910461ffff1610611bbc5760405162461bcd60e51b815260206004820152604660248201527f546865206d6178696d756d206e756d626572206f6620746f6b656e732074686160448201527f742063616e2065766572206265206d696e74656420686173206265656e20726560648201526530b1b432b21760d11b608482015260a4016107dd565b6001600c60148282829054906101000a900461ffff16611bdc919061317c565b92506101000a81548161ffff021916908361ffff160217905550610bc28282612144565b60008181526006602052604090208054611c1990612fe3565b9050600003611c905760405162461bcd60e51b815260206004820152603b60248201527f45524337323155524953746f726167653a20546f6b656e20646f6573206e6f7460448201527f2068617665206120637573746f6d20555249206d617070696e672e000000000060648201526084016107dd565b6000818152600660205260408120610c2b91612ad6565b600a54610100900460ff1615611cf25760405162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b60448201526064016107dd565b600a805461ff0019166101001790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258611a5a3390565b61091260098383612a52565b816001600160a01b0316836001600160a01b031603611d965760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c65720000000000000060448201526064016107dd565b6001600160a01b03838116600081815260056020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b611e0e848484611669565b611e1a8484848461215e565b61100c5760405162461bcd60e51b81526004016107dd906131a2565b6060611e41826113a7565b611ea75760405162461bcd60e51b815260206004820152603160248201527f45524337323155524953746f726167653a2055524920717565727920666f72206044820152703737b732bc34b9ba32b73a103a37b5b2b760791b60648201526084016107dd565b60008281526006602052604081208054611ec090612fe3565b80601f0160208091040260200160405190810160405280929190818152602001828054611eec90612fe3565b8015611f395780601f10611f0e57610100808354040283529160200191611f39565b820191906000526020600020905b815481529060010190602001808311611f1c57829003601f168201915b50505050509050600081511115611f5257809150611f86565b611f5a61225c565b611f638461226b565b604051602001611f749291906131f4565b60405160208183030381529060405291505b50919050565b600a5460ff1615611faf5760405162461bcd60e51b81526004016107dd90613017565b600a805460ff19166001179055565b60006001600160e01b0319821663152a902d60e11b14806106dd57506106dd8261236c565b60006106dd611ff06123bc565b8360405161190160f01b6020820152602281018390526042810182905260009060620160405160208183030381529060405280519060200120905092915050565b600080600061204085856124e3565b9150915061204d8161254e565b509392505050565b600a54610100900460ff16156109125760405162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b60448201526064016107dd565b6120aa8282611012565b610bc2576120c2816001600160a01b031660146111df565b6120cd8360206111df565b6040516020016120de92919061321a565b60408051601f198184030181529082905262461bcd60e51b82526107dd91600401612bac565b61210d81612704565b6000818152600660205260409020805461212690612fe3565b159050610c2b576000818152600660205260408120610c2b91612ad6565b610bc28282604051806020016040528060008152506127ab565b60006001600160a01b0384163b1561225457604051630a85bd0160e11b81526001600160a01b0385169063150b7a02906121a290339089908890889060040161328f565b6020604051808303816000875af19250505080156121dd575060408051601f3d908101601f191682019092526121da918101906132c2565b60015b61223a573d80801561220b576040519150601f19603f3d011682016040523d82523d6000602084013e612210565b606091505b5080516000036122325760405162461bcd60e51b81526004016107dd906131a2565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050611661565b506001611661565b60606122666127de565b905090565b6060816000036122925750506040805180820190915260018152600360fc1b602082015290565b8160005b81156122bc57806122a6816132df565b91506122b59050600a83613168565b9150612296565b60008167ffffffffffffffff8111156122d7576122d7612ec7565b6040519080825280601f01601f191660200182016040528015612301576020820181803683370190505b5090505b84156116615761231660018361313b565b9150612323600a866132f8565b61232e9060306130e6565b60f81b818381518110612343576123436130fe565b60200101906001600160f81b031916908160001a905350612365600a86613168565b9450612305565b60006001600160e01b031982166380ac58cd60e01b148061239d57506001600160e01b03198216635b5e139f60e01b145b806106dd57506301ffc9a760e01b6001600160e01b03198316146106dd565b6000306001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001614801561241557507f000000000000000000000000000000000000000000000000000000000000000046145b1561243f57507f000000000000000000000000000000000000000000000000000000000000000090565b50604080517f00000000000000000000000000000000000000000000000000000000000000006020808301919091527f0000000000000000000000000000000000000000000000000000000000000000828401527f000000000000000000000000000000000000000000000000000000000000000060608301524660808301523060a0808401919091528351808403909101815260c0909201909252805191012090565b60008082516041036125195760208301516040840151606085015160001a61250d878285856127ed565b94509450505050610b1c565b825160400361254257602083015160408401516125378683836128da565b935093505050610b1c565b50600090506002610b1c565b60008160048111156125625761256261330c565b0361256a5750565b600181600481111561257e5761257e61330c565b036125cb5760405162461bcd60e51b815260206004820152601860248201527f45434453413a20696e76616c6964207369676e6174757265000000000000000060448201526064016107dd565b60028160048111156125df576125df61330c565b0361262c5760405162461bcd60e51b815260206004820152601f60248201527f45434453413a20696e76616c6964207369676e6174757265206c656e6774680060448201526064016107dd565b60038160048111156126405761264061330c565b036126985760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202773272076616c604482015261756560f01b60648201526084016107dd565b60048160048111156126ac576126ac61330c565b03610c2b5760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202776272076616c604482015261756560f01b60648201526084016107dd565b600061270f82610dc7565b905061271d81600084612055565b6127286000836113c4565b6001600160a01b038116600090815260036020526040812080546001929061275190849061313b565b909155505060008281526002602052604080822080546001600160a01b0319169055518391906001600160a01b038416907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908390a45050565b6127b58383612913565b6127c2600084848461215e565b6109125760405162461bcd60e51b81526004016107dd906131a2565b6060600880546106f290612fe3565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a083111561282457506000905060036128d1565b8460ff16601b1415801561283c57508460ff16601c14155b1561284d57506000905060046128d1565b6040805160008082526020820180845289905260ff881692820192909252606081018690526080810185905260019060a0016020604051602081039080840390855afa1580156128a1573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b0381166128ca576000600192509250506128d1565b9150600090505b94509492505050565b6000806001600160ff1b038316816128f760ff86901c601b6130e6565b9050612905878288856127ed565b935093505050935093915050565b6001600160a01b0382166129695760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f206164647265737360448201526064016107dd565b612972816113a7565b156129bf5760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e7465640000000060448201526064016107dd565b6129cb60008383612055565b6001600160a01b03821660009081526003602052604081208054600192906129f49084906130e6565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b828054612a5e90612fe3565b90600052602060002090601f016020900481019282612a805760008555612ac6565b82601f10612a995782800160ff19823516178555612ac6565b82800160010185558215612ac6579182015b82811115612ac6578235825591602001919060010190612aab565b50612ad2929150612b0c565b5090565b508054612ae290612fe3565b6000825580601f10612af2575050565b601f016020900490600052602060002090810190610c2b91905b5b80821115612ad25760008155600101612b0d565b6001600160e01b031981168114610c2b57600080fd5b600060208284031215612b4957600080fd5b813561137b81612b21565b60005b83811015612b6f578181015183820152602001612b57565b8381111561100c5750506000910152565b60008151808452612b98816020860160208601612b54565b601f01601f19169290920160200192915050565b60208152600061137b6020830184612b80565b600060208284031215612bd157600080fd5b5035919050565b80356001600160a01b0381168114612bef57600080fd5b919050565b60008060408385031215612c0757600080fd5b612c1083612bd8565b946020939093013593505050565b60008083601f840112612c3057600080fd5b50813567ffffffffffffffff811115612c4857600080fd5b602083019150836020828501011115610b1c57600080fd5b600080600080600060608688031215612c7857600080fd5b85359450602086013567ffffffffffffffff80821115612c9757600080fd5b612ca389838a01612c1e565b90965094506040880135915080821115612cbc57600080fd5b50612cc988828901612c1e565b969995985093965092949392505050565b600080600060608486031215612cef57600080fd5b612cf884612bd8565b9250612d0660208501612bd8565b9150604084013590509250925092565b60008060408385031215612d2957600080fd5b50508035926020909101359150565b60008060408385031215612d4b57600080fd5b82359150612d5b60208401612bd8565b90509250929050565b600060208284031215612d7657600080fd5b813561ffff8116811461137b57600080fd5b600060208284031215612d9a57600080fd5b61137b82612bd8565b60008060208385031215612db657600080fd5b823567ffffffffffffffff811115612dcd57600080fd5b612dd985828601612c1e565b90969095509350505050565b60008060008060608587031215612dfb57600080fd5b612e0485612bd8565b935060208501359250604085013567ffffffffffffffff811115612e2757600080fd5b612e3387828801612c1e565b95989497509550505050565b600080600060408486031215612e5457600080fd5b83359250602084013567ffffffffffffffff811115612e7257600080fd5b612e7e86828701612c1e565b9497909650939450505050565b60008060408385031215612e9e57600080fd5b612ea783612bd8565b915060208301358015158114612ebc57600080fd5b809150509250929050565b634e487b7160e01b600052604160045260246000fd5b60008060008060808587031215612ef357600080fd5b612efc85612bd8565b9350612f0a60208601612bd8565b925060408501359150606085013567ffffffffffffffff80821115612f2e57600080fd5b818701915087601f830112612f4257600080fd5b813581811115612f5457612f54612ec7565b604051601f8201601f19908116603f01168101908382118183101715612f7c57612f7c612ec7565b816040528281528a6020848701011115612f9557600080fd5b82602086016020830137600060208483010152809550505050505092959194509250565b60008060408385031215612fcc57600080fd5b612fd583612bd8565b9150612d5b60208401612bd8565b600181811c90821680612ff757607f821691505b602082108103611f8657634e487b7160e01b600052602260045260246000fd5b60208082526029908201527f5552494d616e616765723a20555249732068617665206265656e2066726f7a6560408201526837103337b932bb32b960b91b606082015260800190565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b634e487b7160e01b600052601160045260246000fd5b60008160001904831182151516156130e1576130e16130b1565b500290565b600082198211156130f9576130f96130b1565b500190565b634e487b7160e01b600052603260045260246000fd5b600081613123576131236130b1565b506000190190565b8183823760009101908152919050565b60008282101561314d5761314d6130b1565b500390565b634e487b7160e01b600052601260045260246000fd5b60008261317757613177613152565b500490565b600061ffff808316818516808303821115613199576131996130b1565b01949350505050565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b60008351613206818460208801612b54565b835190830190613199818360208801612b54565b7f416363657373436f6e74726f6c3a206163636f756e7420000000000000000000815260008351613252816017850160208801612b54565b7001034b99036b4b9b9b4b733903937b6329607d1b6017918401918201528351613283816028840160208801612b54565b01602801949350505050565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090611b1e90830184612b80565b6000602082840312156132d457600080fd5b815161137b81612b21565b6000600182016132f1576132f16130b1565b5060010190565b60008261330757613307613152565b500690565b634e487b7160e01b600052602160045260246000fdfe7f5260842512b02356ff92de24be96e7e1aac2e234d9371b076ac2b4cddda61ea2646970667358221220ac233f87626d713e4a4aa352f9e51de6581408d5e83f686cc2e69c0456d2258c64736f6c634300080d003300000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000e00000000000000000000000000000000000000000000000000000000000000120000000000000000000000000000000000000000000000000000000000000018000000000000000000000000000000000000000000000000000000000000001c0000000000000000000000000000000000000000000000000000000000000001a5265616c566973696f6e50726f43727970746f47656e6573697300000000000000000000000000000000000000000000000000000000000000000000000000055256504347000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002f5245414c20564953494f4e202d204e4654202d2050524f2043525950544f202d204541524c592041444f505445525300000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000005312e302e30000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002568747470733a2f2f706365612e6e66742e7265616c766973696f6e2e636f6d2f6a736f6e2f000000000000000000000000000000000000000000000000000000
Deployed Bytecode
0x608060405234801561001057600080fd5b506004361061028a5760003560e01c80637ba05c1e1161015c578063a217fddf116100ce578063d547741f11610087578063d547741f14610639578063dde367191461064c578063ddead0eb1461065f578063e63ab1e914610667578063e8a3d4851461068e578063e985e9c51461069657600080fd5b8063a217fddf146105aa578063a22cb465146105b2578063b88d4fde146105c5578063bb9688c0146105d8578063c87b56dd146105ff578063d53913931461061257600080fd5b806391d148541161012057806391d1485414610537578063938e3d7b1461054a57806395d89b411461055d578063982f60db1461056557806399f336d914610570578063a14481941461059757600080fd5b80637ba05c1e146104e15780638456cb59146104f4578063851fc4b6146104fc578063890257501461050f5780638da5cb5b1461052457600080fd5b80633746e9481161020057806355f804b3116101b957806355f804b31461045e5780635c975abb146104715780636352211e1461048157806370a08231146104945780637982618b146104a75780637aba0313146104ce57600080fd5b80633746e948146103e25780633f4ba83a146103f55780634230baee146103fd57806342842e0e1461042557806342966c681461043857806355b7c4431461044b57600080fd5b806323b872dd1161025257806323b872dd1461031f578063248a9ca31461033257806328ae2f4b146103635780632a55205a1461038a5780632f2ff15d146103bc57806336568abe146103cf57600080fd5b806301ffc9a71461028f57806306fdde03146102b7578063081812fc146102cc578063095ea7b3146102f757806320d0ce5b1461030c575b600080fd5b6102a261029d366004612b37565b6106d2565b60405190151581526020015b60405180910390f35b6102bf6106e3565b6040516102ae9190612bac565b6102df6102da366004612bbf565b610775565b6040516001600160a01b0390911681526020016102ae565b61030a610305366004612bf4565b610802565b005b61030a61031a366004612c60565b610917565b61030a61032d366004612cda565b610a73565b610355610340366004612bbf565b6000908152600b602052604090206001015490565b6040519081526020016102ae565b6103557f9c81316a7649676dc8f158fdf85ae0ee3f978748af0e7356559dfe5fd1504d8b81565b61039d610398366004612d16565b610aa5565b604080516001600160a01b0390931683526020830191909152016102ae565b61030a6103ca366004612d38565b610b23565b61030a6103dd366004612d38565b610b48565b61030a6103f0366004612d64565b610bc6565b61030a610bf9565b600c5461041290600160a01b900461ffff1681565b60405161ffff90911681526020016102ae565b61030a610433366004612cda565b610c2e565b61030a610446366004612bbf565b610c49565b61030a610459366004612d88565b610cc0565b61030a61046c366004612da3565b610d82565b600a54610100900460ff166102a2565b6102df61048f366004612bbf565b610dc7565b6103556104a2366004612d88565b610e3e565b6103557fc7b18b498a11ca60f08aa692fe3f9d34182ecde6cd3a30b262d48da0d91f4ef881565b61030a6104dc366004612de5565b610ec5565b61030a6104ef366004612bbf565b610f50565b61030a610f94565b61030a61050a366004612e3f565b610fc6565b61035560008051602061332383398151915281565b600c546102df906001600160a01b031681565b6102a2610545366004612d38565b611012565b61030a610558366004612da3565b61103d565b6102bf611082565b600a5460ff166102a2565b6103557fc9508410bfaa58ec74f50cbc9a5a670768be39a567fb4405d57667042ad367e381565b61030a6105a5366004612bf4565b611091565b610355600081565b61030a6105c0366004612e8b565b6110c5565b61030a6105d3366004612edd565b6110d0565b6103557f95de18ea82670e9ce57214120c1cb23f6fa0c60e13eb7b5b09df06345163ed6581565b6102bf61060d366004612bbf565b611102565b6103557f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a681565b61030a610647366004612d38565b61110d565b61030a61065a366004612d88565b611132565b61030a61117b565b6103557f65d7a28e3265b37a6474929f336521b332c1681b933f6cb9f3376673440d862a81565b6102bf6111d0565b6102a26106a4366004612fb9565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b60006106dd82611382565b92915050565b6060600080546106f290612fe3565b80601f016020809104026020016040519081016040528092919081815260200182805461071e90612fe3565b801561076b5780601f106107405761010080835404028352916020019161076b565b820191906000526020600020905b81548152906001019060200180831161074e57829003601f168201915b5050505050905090565b6000610780826113a7565b6107e65760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084015b60405180910390fd5b506000908152600460205260409020546001600160a01b031690565b600061080d82610dc7565b9050806001600160a01b0316836001600160a01b03160361087a5760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b60648201526084016107dd565b336001600160a01b0382161480610896575061089681336106a4565b6109085760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c000000000000000060648201526084016107dd565b61091283836113c4565b505050565b600a5460ff161561093a5760405162461bcd60e51b81526004016107dd90613017565b61094385610dc7565b6001600160a01b0316336001600160a01b0316146109e55760405162461bcd60e51b815260206004820152605360248201527f7369676e61747572654261736564536574546f6b656e5552493a20546865206360448201527f616c6c6572206f66207468652066756e6374696f6e206973206e6f74207468656064820152721037bbb732b91037b3103a3432903a37b5b2b760691b608482015260a4016107dd565b60006109f48585888686611432565b9050610a207fc7b18b498a11ca60f08aa692fe3f9d34182ecde6cd3a30b262d48da0d91f4ef882611012565b610a605760405162461bcd60e51b8152602060048201526011602482015270496e76616c6964205369676e617475726560781b60448201526064016107dd565b610a6b8686866114fa565b505050505050565b610a7e335b8261157f565b610a9a5760405162461bcd60e51b81526004016107dd90613060565b610912838383611669565b600080610ab1846113a7565b610b0e5760405162461bcd60e51b815260206004820152602860248201527f526f79616c74792072657175657374656420666f72206e6f6e2d6578697374696044820152673733903a37b5b2b760c11b60648201526084016107dd565b610b1783611810565b915091505b9250929050565b6000828152600b6020526040902060010154610b3e8161185a565b6109128383611864565b6001600160a01b0381163314610bb85760405162461bcd60e51b815260206004820152602f60248201527f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560448201526e103937b632b9903337b91039b2b63360891b60648201526084016107dd565b610bc282826118ea565b5050565b7f9c81316a7649676dc8f158fdf85ae0ee3f978748af0e7356559dfe5fd1504d8b610bf08161185a565b610bc282611951565b7f65d7a28e3265b37a6474929f336521b332c1681b933f6cb9f3376673440d862a610c238161185a565b610c2b6119de565b50565b610912838383604051806020016040528060008152506110d0565b610c5233610a78565b610cb75760405162461bcd60e51b815260206004820152603060248201527f4552433732314275726e61626c653a2063616c6c6572206973206e6f74206f7760448201526f1b995c881b9bdc88185c1c1c9bdd995960821b60648201526084016107dd565b610c2b81611a77565b6000610ccb8161185a565b6001600160a01b038216610d2f5760405162461bcd60e51b815260206004820152602560248201527f4e6577206f776e65722063616e6e6f7420626520746865207a65726f206164646044820152643932b9b99760d91b60648201526084016107dd565b600c80546001600160a01b038481166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3505050565b600080516020613323833981519152610d9a8161185a565b600a5460ff1615610dbd5760405162461bcd60e51b81526004016107dd90613017565b6109128383611a80565b6000818152600260205260408120546001600160a01b0316806106dd5760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201526832b73a103a37b5b2b760b91b60648201526084016107dd565b60006001600160a01b038216610ea95760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b60648201526084016107dd565b506001600160a01b031660009081526003602052604090205490565b6000610ed385858585611a8c565b9050610eff7fc9508410bfaa58ec74f50cbc9a5a670768be39a567fb4405d57667042ad367e382611012565b610f3f5760405162461bcd60e51b8152602060048201526011602482015270496e76616c6964205369676e617475726560781b60448201526064016107dd565b610f498585611b28565b5050505050565b600080516020613323833981519152610f688161185a565b600a5460ff1615610f8b5760405162461bcd60e51b81526004016107dd90613017565b610bc282611c00565b7f65d7a28e3265b37a6474929f336521b332c1681b933f6cb9f3376673440d862a610fbe8161185a565b610c2b611ca7565b600080516020613323833981519152610fde8161185a565b600a5460ff16156110015760405162461bcd60e51b81526004016107dd90613017565b61100c8484846114fa565b50505050565b6000918252600b602090815260408084206001600160a01b0393909316845291905290205460ff1690565b6000805160206133238339815191526110558161185a565b600a5460ff16156110785760405162461bcd60e51b81526004016107dd90613017565b6109128383611d29565b6060600180546106f290612fe3565b7f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a66110bb8161185a565b6109128383611b28565b610bc2338383611d35565b6110da338361157f565b6110f65760405162461bcd60e51b81526004016107dd90613060565b61100c84848484611e03565b60606106dd82611e36565b6000828152600b60205260409020600101546111288161185a565b61091283836118ea565b7f9c81316a7649676dc8f158fdf85ae0ee3f978748af0e7356559dfe5fd1504d8b61115c8161185a565b600780546001600160a01b0319166001600160a01b0384161790555050565b7f95de18ea82670e9ce57214120c1cb23f6fa0c60e13eb7b5b09df06345163ed656111a58161185a565b600a5460ff16156111c85760405162461bcd60e51b81526004016107dd90613017565b610c2b611f8c565b6060600980546106f290612fe3565b606060006111ee8360026130c7565b6111f99060026130e6565b67ffffffffffffffff81111561121157611211612ec7565b6040519080825280601f01601f19166020018201604052801561123b576020820181803683370190505b509050600360fc1b81600081518110611256576112566130fe565b60200101906001600160f81b031916908160001a905350600f60fb1b81600181518110611285576112856130fe565b60200101906001600160f81b031916908160001a90535060006112a98460026130c7565b6112b49060016130e6565b90505b600181111561132c576f181899199a1a9b1b9c1cb0b131b232b360811b85600f16601081106112e8576112e86130fe565b1a60f81b8282815181106112fe576112fe6130fe565b60200101906001600160f81b031916908160001a90535060049490941c9361132581613114565b90506112b7565b50831561137b5760405162461bcd60e51b815260206004820181905260248201527f537472696e67733a20686578206c656e67746820696e73756666696369656e7460448201526064016107dd565b9392505050565b60006001600160e01b03198216637965db0b60e01b14806106dd57506106dd82611fbe565b6000908152600260205260409020546001600160a01b0316151590565b600081815260046020526040902080546001600160a01b0319166001600160a01b03841690811790915581906113f982610dc7565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000806114ad7fe69964f6d6e7bfc7c6289ec7ac11fae8917c7f274c5f21ac4241bf776d807bb286898960405161146a92919061312b565b6040519081900381206114929392916020019283526020830191909152604082015260600190565b60405160208183030381529060405280519060200120611fe3565b90506114ef8185858080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525061203192505050565b979650505050505050565b611503836113a7565b6115665760405162461bcd60e51b815260206004820152602e60248201527f45524337323155524953746f726167653a2055524920736574206f66206e6f6e60448201526d32bc34b9ba32b73a103a37b5b2b760911b60648201526084016107dd565b600083815260066020526040902061100c908383612a52565b600061158a826113a7565b6115eb5760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084016107dd565b60006115f683610dc7565b9050806001600160a01b0316846001600160a01b0316148061163d57506001600160a01b0380821660009081526005602090815260408083209388168352929052205460ff165b806116615750836001600160a01b031661165684610775565b6001600160a01b0316145b949350505050565b826001600160a01b031661167c82610dc7565b6001600160a01b0316146116e05760405162461bcd60e51b815260206004820152602560248201527f4552433732313a207472616e736665722066726f6d20696e636f72726563742060448201526437bbb732b960d91b60648201526084016107dd565b6001600160a01b0382166117425760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b60648201526084016107dd565b61174d838383612055565b6117586000826113c4565b6001600160a01b038316600090815260036020526040812080546001929061178190849061313b565b90915550506001600160a01b03821660009081526003602052604081208054600192906117af9084906130e6565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b6007546000908190819061ffff600160b01b820481169161183a91600160a01b90910416866130c7565b6118449190613168565b6007546001600160a01b03169590945092505050565b610c2b81336120a0565b61186e8282611012565b610bc2576000828152600b602090815260408083206001600160a01b03851684529091529020805460ff191660011790556118a63390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b6118f48282611012565b15610bc2576000828152600b602090815260408083206001600160a01b0385168085529252808320805460ff1916905551339285917ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9190a45050565b60075461ffff600160b01b909104811690821611156119bc5760405162461bcd60e51b815260206004820152602160248201527f526f79616c7479206665652077696c6c206578636565642073616c65507269636044820152606560f81b60648201526084016107dd565b6007805461ffff909216600160a01b0261ffff60a01b19909216919091179055565b600a54610100900460ff16611a2c5760405162461bcd60e51b815260206004820152601460248201527314185d5cd8589b194e881b9bdd081c185d5cd95960621b60448201526064016107dd565b600a805461ff00191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa335b6040516001600160a01b03909116815260200160405180910390a1565b610c2b81612104565b61091260088383612a52565b604080517fa03595d80fb398fb8336ca6862d9151c3e5bc6f3bc26768e42d61ce4fbe1dfa560208201529081018490526001600160a01b03851660608201526000908190611adc90608001611492565b9050611b1e8185858080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525061203192505050565b9695505050505050565b600c54611770600160a01b90910461ffff1610611bbc5760405162461bcd60e51b815260206004820152604660248201527f546865206d6178696d756d206e756d626572206f6620746f6b656e732074686160448201527f742063616e2065766572206265206d696e74656420686173206265656e20726560648201526530b1b432b21760d11b608482015260a4016107dd565b6001600c60148282829054906101000a900461ffff16611bdc919061317c565b92506101000a81548161ffff021916908361ffff160217905550610bc28282612144565b60008181526006602052604090208054611c1990612fe3565b9050600003611c905760405162461bcd60e51b815260206004820152603b60248201527f45524337323155524953746f726167653a20546f6b656e20646f6573206e6f7460448201527f2068617665206120637573746f6d20555249206d617070696e672e000000000060648201526084016107dd565b6000818152600660205260408120610c2b91612ad6565b600a54610100900460ff1615611cf25760405162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b60448201526064016107dd565b600a805461ff0019166101001790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258611a5a3390565b61091260098383612a52565b816001600160a01b0316836001600160a01b031603611d965760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c65720000000000000060448201526064016107dd565b6001600160a01b03838116600081815260056020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b611e0e848484611669565b611e1a8484848461215e565b61100c5760405162461bcd60e51b81526004016107dd906131a2565b6060611e41826113a7565b611ea75760405162461bcd60e51b815260206004820152603160248201527f45524337323155524953746f726167653a2055524920717565727920666f72206044820152703737b732bc34b9ba32b73a103a37b5b2b760791b60648201526084016107dd565b60008281526006602052604081208054611ec090612fe3565b80601f0160208091040260200160405190810160405280929190818152602001828054611eec90612fe3565b8015611f395780601f10611f0e57610100808354040283529160200191611f39565b820191906000526020600020905b815481529060010190602001808311611f1c57829003601f168201915b50505050509050600081511115611f5257809150611f86565b611f5a61225c565b611f638461226b565b604051602001611f749291906131f4565b60405160208183030381529060405291505b50919050565b600a5460ff1615611faf5760405162461bcd60e51b81526004016107dd90613017565b600a805460ff19166001179055565b60006001600160e01b0319821663152a902d60e11b14806106dd57506106dd8261236c565b60006106dd611ff06123bc565b8360405161190160f01b6020820152602281018390526042810182905260009060620160405160208183030381529060405280519060200120905092915050565b600080600061204085856124e3565b9150915061204d8161254e565b509392505050565b600a54610100900460ff16156109125760405162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b60448201526064016107dd565b6120aa8282611012565b610bc2576120c2816001600160a01b031660146111df565b6120cd8360206111df565b6040516020016120de92919061321a565b60408051601f198184030181529082905262461bcd60e51b82526107dd91600401612bac565b61210d81612704565b6000818152600660205260409020805461212690612fe3565b159050610c2b576000818152600660205260408120610c2b91612ad6565b610bc28282604051806020016040528060008152506127ab565b60006001600160a01b0384163b1561225457604051630a85bd0160e11b81526001600160a01b0385169063150b7a02906121a290339089908890889060040161328f565b6020604051808303816000875af19250505080156121dd575060408051601f3d908101601f191682019092526121da918101906132c2565b60015b61223a573d80801561220b576040519150601f19603f3d011682016040523d82523d6000602084013e612210565b606091505b5080516000036122325760405162461bcd60e51b81526004016107dd906131a2565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050611661565b506001611661565b60606122666127de565b905090565b6060816000036122925750506040805180820190915260018152600360fc1b602082015290565b8160005b81156122bc57806122a6816132df565b91506122b59050600a83613168565b9150612296565b60008167ffffffffffffffff8111156122d7576122d7612ec7565b6040519080825280601f01601f191660200182016040528015612301576020820181803683370190505b5090505b84156116615761231660018361313b565b9150612323600a866132f8565b61232e9060306130e6565b60f81b818381518110612343576123436130fe565b60200101906001600160f81b031916908160001a905350612365600a86613168565b9450612305565b60006001600160e01b031982166380ac58cd60e01b148061239d57506001600160e01b03198216635b5e139f60e01b145b806106dd57506301ffc9a760e01b6001600160e01b03198316146106dd565b6000306001600160a01b037f00000000000000000000000076236b6f13f687d0bbedbbce0e30e9f07d071c1c1614801561241557507f000000000000000000000000000000000000000000000000000000000000000146145b1561243f57507f2cddbd5acd7cef6b669ec8d8f0514237c4731af2584ea29d698b582c26c59aad90565b50604080517f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f6020808301919091527ff86db855c2f2b5b11d44ec1e31b580dba9e4a6418d5b574ebbb575b2a536b63c828401527f06c015bd22b4c69690933c1058878ebdfef31f9aaae40bbe86d8a09fe1b2972c60608301524660808301523060a0808401919091528351808403909101815260c0909201909252805191012090565b60008082516041036125195760208301516040840151606085015160001a61250d878285856127ed565b94509450505050610b1c565b825160400361254257602083015160408401516125378683836128da565b935093505050610b1c565b50600090506002610b1c565b60008160048111156125625761256261330c565b0361256a5750565b600181600481111561257e5761257e61330c565b036125cb5760405162461bcd60e51b815260206004820152601860248201527f45434453413a20696e76616c6964207369676e6174757265000000000000000060448201526064016107dd565b60028160048111156125df576125df61330c565b0361262c5760405162461bcd60e51b815260206004820152601f60248201527f45434453413a20696e76616c6964207369676e6174757265206c656e6774680060448201526064016107dd565b60038160048111156126405761264061330c565b036126985760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202773272076616c604482015261756560f01b60648201526084016107dd565b60048160048111156126ac576126ac61330c565b03610c2b5760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202776272076616c604482015261756560f01b60648201526084016107dd565b600061270f82610dc7565b905061271d81600084612055565b6127286000836113c4565b6001600160a01b038116600090815260036020526040812080546001929061275190849061313b565b909155505060008281526002602052604080822080546001600160a01b0319169055518391906001600160a01b038416907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908390a45050565b6127b58383612913565b6127c2600084848461215e565b6109125760405162461bcd60e51b81526004016107dd906131a2565b6060600880546106f290612fe3565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a083111561282457506000905060036128d1565b8460ff16601b1415801561283c57508460ff16601c14155b1561284d57506000905060046128d1565b6040805160008082526020820180845289905260ff881692820192909252606081018690526080810185905260019060a0016020604051602081039080840390855afa1580156128a1573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b0381166128ca576000600192509250506128d1565b9150600090505b94509492505050565b6000806001600160ff1b038316816128f760ff86901c601b6130e6565b9050612905878288856127ed565b935093505050935093915050565b6001600160a01b0382166129695760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f206164647265737360448201526064016107dd565b612972816113a7565b156129bf5760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e7465640000000060448201526064016107dd565b6129cb60008383612055565b6001600160a01b03821660009081526003602052604081208054600192906129f49084906130e6565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b828054612a5e90612fe3565b90600052602060002090601f016020900481019282612a805760008555612ac6565b82601f10612a995782800160ff19823516178555612ac6565b82800160010185558215612ac6579182015b82811115612ac6578235825591602001919060010190612aab565b50612ad2929150612b0c565b5090565b508054612ae290612fe3565b6000825580601f10612af2575050565b601f016020900490600052602060002090810190610c2b91905b5b80821115612ad25760008155600101612b0d565b6001600160e01b031981168114610c2b57600080fd5b600060208284031215612b4957600080fd5b813561137b81612b21565b60005b83811015612b6f578181015183820152602001612b57565b8381111561100c5750506000910152565b60008151808452612b98816020860160208601612b54565b601f01601f19169290920160200192915050565b60208152600061137b6020830184612b80565b600060208284031215612bd157600080fd5b5035919050565b80356001600160a01b0381168114612bef57600080fd5b919050565b60008060408385031215612c0757600080fd5b612c1083612bd8565b946020939093013593505050565b60008083601f840112612c3057600080fd5b50813567ffffffffffffffff811115612c4857600080fd5b602083019150836020828501011115610b1c57600080fd5b600080600080600060608688031215612c7857600080fd5b85359450602086013567ffffffffffffffff80821115612c9757600080fd5b612ca389838a01612c1e565b90965094506040880135915080821115612cbc57600080fd5b50612cc988828901612c1e565b969995985093965092949392505050565b600080600060608486031215612cef57600080fd5b612cf884612bd8565b9250612d0660208501612bd8565b9150604084013590509250925092565b60008060408385031215612d2957600080fd5b50508035926020909101359150565b60008060408385031215612d4b57600080fd5b82359150612d5b60208401612bd8565b90509250929050565b600060208284031215612d7657600080fd5b813561ffff8116811461137b57600080fd5b600060208284031215612d9a57600080fd5b61137b82612bd8565b60008060208385031215612db657600080fd5b823567ffffffffffffffff811115612dcd57600080fd5b612dd985828601612c1e565b90969095509350505050565b60008060008060608587031215612dfb57600080fd5b612e0485612bd8565b935060208501359250604085013567ffffffffffffffff811115612e2757600080fd5b612e3387828801612c1e565b95989497509550505050565b600080600060408486031215612e5457600080fd5b83359250602084013567ffffffffffffffff811115612e7257600080fd5b612e7e86828701612c1e565b9497909650939450505050565b60008060408385031215612e9e57600080fd5b612ea783612bd8565b915060208301358015158114612ebc57600080fd5b809150509250929050565b634e487b7160e01b600052604160045260246000fd5b60008060008060808587031215612ef357600080fd5b612efc85612bd8565b9350612f0a60208601612bd8565b925060408501359150606085013567ffffffffffffffff80821115612f2e57600080fd5b818701915087601f830112612f4257600080fd5b813581811115612f5457612f54612ec7565b604051601f8201601f19908116603f01168101908382118183101715612f7c57612f7c612ec7565b816040528281528a6020848701011115612f9557600080fd5b82602086016020830137600060208483010152809550505050505092959194509250565b60008060408385031215612fcc57600080fd5b612fd583612bd8565b9150612d5b60208401612bd8565b600181811c90821680612ff757607f821691505b602082108103611f8657634e487b7160e01b600052602260045260246000fd5b60208082526029908201527f5552494d616e616765723a20555249732068617665206265656e2066726f7a6560408201526837103337b932bb32b960b91b606082015260800190565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b634e487b7160e01b600052601160045260246000fd5b60008160001904831182151516156130e1576130e16130b1565b500290565b600082198211156130f9576130f96130b1565b500190565b634e487b7160e01b600052603260045260246000fd5b600081613123576131236130b1565b506000190190565b8183823760009101908152919050565b60008282101561314d5761314d6130b1565b500390565b634e487b7160e01b600052601260045260246000fd5b60008261317757613177613152565b500490565b600061ffff808316818516808303821115613199576131996130b1565b01949350505050565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b60008351613206818460208801612b54565b835190830190613199818360208801612b54565b7f416363657373436f6e74726f6c3a206163636f756e7420000000000000000000815260008351613252816017850160208801612b54565b7001034b99036b4b9b9b4b733903937b6329607d1b6017918401918201528351613283816028840160208801612b54565b01602801949350505050565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090611b1e90830184612b80565b6000602082840312156132d457600080fd5b815161137b81612b21565b6000600182016132f1576132f16130b1565b5060010190565b60008261330757613307613152565b500690565b634e487b7160e01b600052602160045260246000fdfe7f5260842512b02356ff92de24be96e7e1aac2e234d9371b076ac2b4cddda61ea2646970667358221220ac233f87626d713e4a4aa352f9e51de6581408d5e83f686cc2e69c0456d2258c64736f6c634300080d0033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
00000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000e00000000000000000000000000000000000000000000000000000000000000120000000000000000000000000000000000000000000000000000000000000018000000000000000000000000000000000000000000000000000000000000001c0000000000000000000000000000000000000000000000000000000000000001a5265616c566973696f6e50726f43727970746f47656e6573697300000000000000000000000000000000000000000000000000000000000000000000000000055256504347000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002f5245414c20564953494f4e202d204e4654202d2050524f2043525950544f202d204541524c592041444f505445525300000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000005312e302e30000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002568747470733a2f2f706365612e6e66742e7265616c766973696f6e2e636f6d2f6a736f6e2f000000000000000000000000000000000000000000000000000000
-----Decoded View---------------
Arg [0] : name (string): RealVisionProCryptoGenesis
Arg [1] : symbol (string): RVPCG
Arg [2] : domain (string): REAL VISION - NFT - PRO CRYPTO - EARLY ADOPTERS
Arg [3] : version (string): 1.0.0
Arg [4] : baseTokenURI (string): https://pcea.nft.realvision.com/json/
-----Encoded View---------------
17 Constructor Arguments found :
Arg [0] : 00000000000000000000000000000000000000000000000000000000000000a0
Arg [1] : 00000000000000000000000000000000000000000000000000000000000000e0
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000120
Arg [3] : 0000000000000000000000000000000000000000000000000000000000000180
Arg [4] : 00000000000000000000000000000000000000000000000000000000000001c0
Arg [5] : 000000000000000000000000000000000000000000000000000000000000001a
Arg [6] : 5265616c566973696f6e50726f43727970746f47656e65736973000000000000
Arg [7] : 0000000000000000000000000000000000000000000000000000000000000005
Arg [8] : 5256504347000000000000000000000000000000000000000000000000000000
Arg [9] : 000000000000000000000000000000000000000000000000000000000000002f
Arg [10] : 5245414c20564953494f4e202d204e4654202d2050524f2043525950544f202d
Arg [11] : 204541524c592041444f50544552530000000000000000000000000000000000
Arg [12] : 0000000000000000000000000000000000000000000000000000000000000005
Arg [13] : 312e302e30000000000000000000000000000000000000000000000000000000
Arg [14] : 0000000000000000000000000000000000000000000000000000000000000025
Arg [15] : 68747470733a2f2f706365612e6e66742e7265616c766973696f6e2e636f6d2f
Arg [16] : 6a736f6e2f000000000000000000000000000000000000000000000000000000
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.