ERC-721
NFT
Overview
Max Total Supply
823 NOISE
Holders
258
Total Transfers
-
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
QuantumMemoriesNoise
Compiler Version
v0.8.9+commit.e5eed63a
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT pragma solidity ^0.8.9; import "@openzeppelin/contracts/token/ERC721/ERC721.sol"; import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol"; import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Burnable.sol"; import "@openzeppelin/contracts/utils/Counters.sol"; import "@openzeppelin/contracts/access/AccessControlEnumerable.sol"; import "../Signable.sol"; import "../royalties/ContractRoyalties.sol"; // Version: ReservedToken-1.0 // Investigate gas savings in ERC721Enumerable contract QuantumMemoriesNoise is ERC721, ERC721Enumerable, ERC721Burnable, ContractRoyalties, AccessControlEnumerable { // OpenSea metadata freeze event PermanentURI(string _value, uint256 indexed _id); address payable private immutable royaltyReceiver; uint256 private immutable royaltyBPS; string private _baseURIextended; bytes32 public constant MINTER_ROLE = keccak256("MINTER_ROLE"); bytes32 public constant MINTER_ROLE_ADMIN = keccak256("MINTER_ROLE_ADMIN"); constructor( string memory baseURI, string memory contractName, string memory tokenSymbol, address artist, address payable royaltyReceiver_, uint256 royaltyBPS_ ) ERC721(contractName, tokenSymbol) { require(royaltyBPS_ >= 0, "Royalties cannot be lower than 0"); _baseURIextended = baseURI; /** * @dev Minter admin is set as the artist meaning they have rights over the minter role * The minter admin role can be updated by the default admin only */ _setupRole(DEFAULT_ADMIN_ROLE, artist); _setupRole(MINTER_ROLE, artist); _setRoleAdmin(MINTER_ROLE, MINTER_ROLE_ADMIN); _setupRole(MINTER_ROLE_ADMIN, artist); royaltyReceiver = royaltyReceiver_; royaltyBPS = royaltyBPS_; } function _baseURI() internal view override returns (string memory) { return _baseURIextended; } /** * Required to allow the artist to administrate the contract on OpenSea. * Note if there are many addresses with the DEFAULT_ADMIN_ROLE, the one which is returned may be arbitrary. */ function owner() public view virtual returns (address) { return _getPrimaryAdmin(); } function _getPrimaryAdmin() internal view virtual returns (address) { if (getRoleMemberCount(DEFAULT_ADMIN_ROLE) == 0) { return address(0); } return getRoleMember(DEFAULT_ADMIN_ROLE, 0); } /** * @dev Throws if called by any account other than an approved minter. */ modifier onlyMinter() { require( hasRole(MINTER_ROLE, msg.sender), "Restricted to approved minters" ); _; } function mint(address to, uint256 tokenId) public onlyMinter { _mintSingle(to, tokenId); } function mintBatch(address to, uint256[] memory tokenIds) public onlyMinter { for (uint256 i = 0; i < tokenIds.length; i++) { _mintSingle(to, tokenIds[i]); } } function _mintSingle(address to, uint256 tokenId) internal { _safeMint(to, tokenId); emit PermanentURI(tokenURI(tokenId), tokenId); } function _getBps() internal view virtual override(ContractRoyalties) returns (uint256) { return royaltyBPS; } function _getReceiver() internal view virtual override(ContractRoyalties) returns (address payable) { return royaltyReceiver; } function _existsRoyalties(uint256 tokenId) internal view virtual override(ContractRoyalties) returns (bool) { return super._exists(tokenId); } // The following functions are overrides required by Solidity. function _beforeTokenTransfer( address from, address to, uint256 tokenId ) internal override(ERC721, ERC721Enumerable) { super._beforeTokenTransfer(from, to, tokenId); } function _burn(uint256 tokenId) internal override(ERC721) { super._burn(tokenId); } function supportsInterface(bytes4 interfaceId) public view override(ERC721, ERC721Enumerable, AccessControlEnumerable) returns (bool) { return super.supportsInterface(interfaceId) || _supportsRoyaltyInterfaces(interfaceId); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.9; library Signable { function recoverAddressBulk( uint256 tokenId, string[] memory _tokenURIs, uint8 v, bytes32 r, bytes32 s ) internal view returns (address) { bytes32 h = keccak256( abi.encode(this, tokenId, _tokenURIs) ); address _address = ecrecover(h, v, r, s); return _address; } function recoverAddress( uint256 tokenId, string memory _tokenURI, uint8 v, bytes32 r, bytes32 s ) internal view returns (address) { bytes32 h = keccak256(abi.encode(this, tokenId, _tokenURI)); address _address = ecrecover(h, v, r, s); return _address; } /** * @dev Personal: recovers the address from a personal sign from the user */ function recoverPersonalAddressBulk( uint256 tokenId, string[] memory _tokenURIs, uint8 v, bytes32 r, bytes32 s ) internal view returns (address) { bytes memory prefix = "\x19Ethereum Signed Message:\n32"; bytes32 h = keccak256( abi.encode(this, tokenId, _tokenURIs) ); bytes32 prefixedHash = keccak256(abi.encodePacked(prefix, h)); address _address = ecrecover(prefixedHash, v, r, s); return _address; } function recoverPersonalAddress( uint256 tokenId, string memory _tokenURI, uint8 v, bytes32 r, bytes32 s ) internal view returns (address) { bytes memory prefix = "\x19Ethereum Signed Message:\n32"; bytes32 h = keccak256(abi.encode(this, tokenId, _tokenURI)); bytes32 prefixedHash = keccak256(abi.encodePacked(prefix, h)); address _address = ecrecover(prefixedHash, v, r, s); return _address; } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.9; import "@openzeppelin/contracts/utils/introspection/ERC165.sol"; import "@openzeppelin/contracts/token/ERC721/ERC721.sol"; abstract contract ContractRoyalties { function _getBps() internal view virtual returns (uint256); function _getReceiver() internal view virtual returns (address payable); function _existsRoyalties(uint256 tokenId) internal view virtual returns (bool); /** * @dev Rarible: RoyaltiesV1 * * bytes4(keccak256('getFeeRecipients(uint256)')) == 0xb9c4d9fb * bytes4(keccak256('getFeeBps(uint256)')) == 0x0ebd4c7f * * => 0xb9c4d9fb ^ 0x0ebd4c7f = 0xb7799584 */ bytes4 private constant _INTERFACE_ID_ROYALTIES_RARIBLE = 0xb7799584; /** * @dev Foundation * * bytes4(keccak256('getFees(uint256)')) == 0xd5a06d4c * * => 0xd5a06d4c = 0xd5a06d4c */ bytes4 private constant _INTERFACE_ID_ROYALTIES_FOUNDATION = 0xd5a06d4c; /** * @dev EIP-2981 * * bytes4(keccak256("royaltyInfo(uint256,uint256)")) == 0x2a55205a * * => 0x2a55205a = 0x2a55205a */ bytes4 private constant _INTERFACE_ID_ROYALTIES_EIP2981 = 0x2a55205a; /** * @dev 3rd party Marketplace Royalty Support */ /** * @dev IFoundation */ function getFees(uint256 tokenId) external view virtual returns (address payable[] memory, uint256[] memory) { require(_existsRoyalties(tokenId), "Nonexistent token"); address payable[] memory receivers = new address payable[](1); uint256[] memory bps = new uint256[](1); receivers[0] = _getReceiver(); bps[0] = _getBps(); return (receivers, bps); } /** * @dev IRaribleV1 */ function getFeeRecipients(uint256 tokenId) external view virtual returns (address payable[] memory) { require(_existsRoyalties(tokenId), "Nonexistent token"); address payable[] memory receivers = new address payable[](1); receivers[0] = _getReceiver(); return receivers; } function getFeeBps(uint256 tokenId) external view virtual returns (uint256[] memory) { require(_existsRoyalties(tokenId), "Nonexistent token"); uint256[] memory bps = new uint256[](1); bps[0] = _getBps(); return bps; } /** * @dev EIP-2981 * Returns primary receiver i.e. receivers[0] */ function royaltyInfo(uint256 tokenId, uint256 value) external view virtual returns (address, uint256) { require(_existsRoyalties(tokenId), "Nonexistent token"); return _getRoyaltyInfo(value); } function _getRoyaltyInfo(uint256 value) internal view returns (address receiver, uint256 amount) { address _receiver = _getReceiver(); uint256 _bps = _getBps(); return (_receiver, (_bps * value) / 10000); } function _supportsRoyaltyInterfaces(bytes4 interfaceId) public pure returns (bool) { return interfaceId == _INTERFACE_ID_ROYALTIES_RARIBLE || interfaceId == _INTERFACE_ID_ROYALTIES_FOUNDATION || interfaceId == _INTERFACE_ID_ROYALTIES_EIP2981; } }
// SPDX-License-Identifier: MIT 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 overriden 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 { require(operator != _msgSender(), "ERC721: approve to caller"); _operatorApprovals[_msgSender()][operator] = approved; emit ApprovalForAll(_msgSender(), operator, approved); } /** * @dev See {IERC721-isApprovedForAll}. */ function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) { return _operatorApprovals[owner][operator]; } /** * @dev See {IERC721-transferFrom}. */ function transferFrom( address from, address to, uint256 tokenId ) public virtual override { //solhint-disable-next-line max-line-length require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved"); _transfer(from, to, tokenId); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId ) public virtual override { safeTransferFrom(from, to, tokenId, ""); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes memory _data ) public virtual override { require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved"); _safeTransfer(from, to, tokenId, _data); } /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * `_data` is additional data, it has no specified format and it is sent in call to `to`. * * This internal function is equivalent to {safeTransferFrom}, and can be used to e.g. * implement alternative mechanisms to perform token transfer, such as signature-based. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeTransfer( address from, address to, uint256 tokenId, bytes memory _data ) internal virtual { _transfer(from, to, tokenId); require(_checkOnERC721Received(from, to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer"); } /** * @dev Returns whether `tokenId` exists. * * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}. * * Tokens start existing when they are minted (`_mint`), * and stop existing when they are burned (`_burn`). */ function _exists(uint256 tokenId) internal view virtual returns (bool) { return _owners[tokenId] != address(0); } /** * @dev Returns whether `spender` is allowed to manage `tokenId`. * * Requirements: * * - `tokenId` must exist. */ function _isApprovedOrOwner(address spender, uint256 tokenId) internal view virtual returns (bool) { require(_exists(tokenId), "ERC721: operator query for nonexistent token"); address owner = ERC721.ownerOf(tokenId); return (spender == owner || getApproved(tokenId) == spender || isApprovedForAll(owner, spender)); } /** * @dev Safely mints `tokenId` and transfers it to `to`. * * Requirements: * * - `tokenId` must not exist. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeMint(address to, uint256 tokenId) internal virtual { _safeMint(to, tokenId, ""); } /** * @dev Same as {xref-ERC721-_safeMint-address-uint256-}[`_safeMint`], with an additional `data` parameter which is * forwarded in {IERC721Receiver-onERC721Received} to contract recipients. */ function _safeMint( address to, uint256 tokenId, bytes memory _data ) internal virtual { _mint(to, tokenId); require( _checkOnERC721Received(address(0), to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer" ); } /** * @dev Mints `tokenId` and transfers it to `to`. * * WARNING: Usage of this method is discouraged, use {_safeMint} whenever possible * * Requirements: * * - `tokenId` must not exist. * - `to` cannot be the zero address. * * Emits a {Transfer} event. */ function _mint(address to, uint256 tokenId) internal virtual { require(to != address(0), "ERC721: mint to the zero address"); require(!_exists(tokenId), "ERC721: token already minted"); _beforeTokenTransfer(address(0), to, tokenId); _balances[to] += 1; _owners[tokenId] = to; emit Transfer(address(0), to, tokenId); } /** * @dev Destroys `tokenId`. * The approval is cleared when the token is burned. * * Requirements: * * - `tokenId` must exist. * * Emits a {Transfer} event. */ function _burn(uint256 tokenId) internal virtual { address owner = ERC721.ownerOf(tokenId); _beforeTokenTransfer(owner, address(0), tokenId); // Clear approvals _approve(address(0), tokenId); _balances[owner] -= 1; delete _owners[tokenId]; emit Transfer(owner, address(0), tokenId); } /** * @dev Transfers `tokenId` from `from` to `to`. * As opposed to {transferFrom}, this imposes no restrictions on msg.sender. * * Requirements: * * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * * Emits a {Transfer} event. */ function _transfer( address from, address to, uint256 tokenId ) internal virtual { require(ERC721.ownerOf(tokenId) == from, "ERC721: transfer of token that is not own"); require(to != address(0), "ERC721: transfer to the zero address"); _beforeTokenTransfer(from, to, tokenId); // Clear approvals from the previous owner _approve(address(0), tokenId); _balances[from] -= 1; _balances[to] += 1; _owners[tokenId] = to; emit Transfer(from, to, tokenId); } /** * @dev Approve `to` to operate on `tokenId` * * Emits a {Approval} event. */ function _approve(address to, uint256 tokenId) internal virtual { _tokenApprovals[tokenId] = to; emit Approval(ERC721.ownerOf(tokenId), to, tokenId); } /** * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target address. * The call is not executed if the target address is not a contract. * * @param from address representing the previous owner of the given token ID * @param to target address that will receive the tokens * @param tokenId uint256 ID of the token to be transferred * @param _data bytes optional data to send along with the call * @return bool whether the call correctly returned the expected magic value */ function _checkOnERC721Received( address from, address to, uint256 tokenId, bytes memory _data ) private returns (bool) { if (to.isContract()) { try IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, _data) returns (bytes4 retval) { return retval == IERC721Receiver.onERC721Received.selector; } catch (bytes memory reason) { if (reason.length == 0) { revert("ERC721: transfer to non ERC721Receiver implementer"); } else { assembly { revert(add(32, reason), mload(reason)) } } } } else { return true; } } /** * @dev Hook that is called before any token transfer. This includes minting * and burning. * * Calling conditions: * * - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, ``from``'s `tokenId` will be burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer( address from, address to, uint256 tokenId ) internal virtual {} }
// SPDX-License-Identifier: MIT 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`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be have been allowed to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Transfers `tokenId` token from `from` to `to`. * * WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) external; /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool _approved) external; /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll} */ function isApprovedForAll(address owner, address operator) external view returns (bool); /** * @dev Safely transfers `tokenId` token from `from` to `to`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes calldata data ) external; }
// SPDX-License-Identifier: MIT 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 pragma solidity ^0.8.0; /** * @title ERC721 token receiver interface * @dev Interface for any contract that wants to support safeTransfers * from ERC721 asset contracts. */ interface IERC721Receiver { /** * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom} * by `operator` from `from`, this function is called. * * It must return its Solidity selector to confirm the token transfer. * If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted. * * The selector can be obtained in Solidity with `IERC721.onERC721Received.selector`. */ function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); }
// SPDX-License-Identifier: MIT 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 pragma solidity ^0.8.0; /** * @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 * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize, which returns 0 for contracts in // construction, since the code is only stored at the end of the // constructor execution. uint256 size; assembly { size := extcodesize(account) } return size > 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 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 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 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 pragma solidity ^0.8.0; import "../ERC721.sol"; import "./IERC721Enumerable.sol"; /** * @dev This implements an optional extension of {ERC721} defined in the EIP that adds * enumerability of all the token ids in the contract as well as all token ids owned by each * account. */ abstract contract ERC721Enumerable is ERC721, IERC721Enumerable { // Mapping from owner to list of owned token IDs mapping(address => mapping(uint256 => uint256)) private _ownedTokens; // Mapping from token ID to index of the owner tokens list mapping(uint256 => uint256) private _ownedTokensIndex; // Array with all token ids, used for enumeration uint256[] private _allTokens; // Mapping from token id to position in the allTokens array mapping(uint256 => uint256) private _allTokensIndex; /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(IERC165, ERC721) returns (bool) { return interfaceId == type(IERC721Enumerable).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC721Enumerable-tokenOfOwnerByIndex}. */ function tokenOfOwnerByIndex(address owner, uint256 index) public view virtual override returns (uint256) { require(index < ERC721.balanceOf(owner), "ERC721Enumerable: owner index out of bounds"); return _ownedTokens[owner][index]; } /** * @dev See {IERC721Enumerable-totalSupply}. */ function totalSupply() public view virtual override returns (uint256) { return _allTokens.length; } /** * @dev See {IERC721Enumerable-tokenByIndex}. */ function tokenByIndex(uint256 index) public view virtual override returns (uint256) { require(index < ERC721Enumerable.totalSupply(), "ERC721Enumerable: global index out of bounds"); return _allTokens[index]; } /** * @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` cannot be the zero address. * - `to` cannot be the zero address. * * 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 override { super._beforeTokenTransfer(from, to, tokenId); if (from == address(0)) { _addTokenToAllTokensEnumeration(tokenId); } else if (from != to) { _removeTokenFromOwnerEnumeration(from, tokenId); } if (to == address(0)) { _removeTokenFromAllTokensEnumeration(tokenId); } else if (to != from) { _addTokenToOwnerEnumeration(to, tokenId); } } /** * @dev Private function to add a token to this extension's ownership-tracking data structures. * @param to address representing the new owner of the given token ID * @param tokenId uint256 ID of the token to be added to the tokens list of the given address */ function _addTokenToOwnerEnumeration(address to, uint256 tokenId) private { uint256 length = ERC721.balanceOf(to); _ownedTokens[to][length] = tokenId; _ownedTokensIndex[tokenId] = length; } /** * @dev Private function to add a token to this extension's token tracking data structures. * @param tokenId uint256 ID of the token to be added to the tokens list */ function _addTokenToAllTokensEnumeration(uint256 tokenId) private { _allTokensIndex[tokenId] = _allTokens.length; _allTokens.push(tokenId); } /** * @dev Private function to remove a token from this extension's ownership-tracking data structures. Note that * while the token is not assigned a new owner, the `_ownedTokensIndex` mapping is _not_ updated: this allows for * gas optimizations e.g. when performing a transfer operation (avoiding double writes). * This has O(1) time complexity, but alters the order of the _ownedTokens array. * @param from address representing the previous owner of the given token ID * @param tokenId uint256 ID of the token to be removed from the tokens list of the given address */ function _removeTokenFromOwnerEnumeration(address from, uint256 tokenId) private { // To prevent a gap in from's tokens array, we store the last token in the index of the token to delete, and // then delete the last slot (swap and pop). uint256 lastTokenIndex = ERC721.balanceOf(from) - 1; uint256 tokenIndex = _ownedTokensIndex[tokenId]; // When the token to delete is the last token, the swap operation is unnecessary if (tokenIndex != lastTokenIndex) { uint256 lastTokenId = _ownedTokens[from][lastTokenIndex]; _ownedTokens[from][tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token _ownedTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index } // This also deletes the contents at the last position of the array delete _ownedTokensIndex[tokenId]; delete _ownedTokens[from][lastTokenIndex]; } /** * @dev Private function to remove a token from this extension's token tracking data structures. * This has O(1) time complexity, but alters the order of the _allTokens array. * @param tokenId uint256 ID of the token to be removed from the tokens list */ function _removeTokenFromAllTokensEnumeration(uint256 tokenId) private { // To prevent a gap in the tokens array, we store the last token in the index of the token to delete, and // then delete the last slot (swap and pop). uint256 lastTokenIndex = _allTokens.length - 1; uint256 tokenIndex = _allTokensIndex[tokenId]; // When the token to delete is the last token, the swap operation is unnecessary. However, since this occurs so // rarely (when the last minted token is burnt) that we still do the swap here to avoid the gas cost of adding // an 'if' statement (like in _removeTokenFromOwnerEnumeration) uint256 lastTokenId = _allTokens[lastTokenIndex]; _allTokens[tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token _allTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index // This also deletes the contents at the last position of the array delete _allTokensIndex[tokenId]; _allTokens.pop(); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../IERC721.sol"; /** * @title ERC-721 Non-Fungible Token Standard, optional enumeration extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Enumerable is IERC721 { /** * @dev Returns the total amount of tokens stored by the contract. */ function totalSupply() external view returns (uint256); /** * @dev Returns a token ID owned by `owner` at a given `index` of its token list. * Use along with {balanceOf} to enumerate all of ``owner``'s tokens. */ function tokenOfOwnerByIndex(address owner, uint256 index) external view returns (uint256 tokenId); /** * @dev Returns a token ID at a given `index` of all the tokens stored by the contract. * Use along with {totalSupply} to enumerate all tokens. */ function tokenByIndex(uint256 index) external view returns (uint256); }
// SPDX-License-Identifier: MIT 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 pragma solidity ^0.8.0; /** * @title Counters * @author Matt Condon (@shrugs) * @dev Provides counters that can only be incremented, decremented or reset. This can be used e.g. to track the number * of elements in a mapping, issuing ERC721 ids, or counting request ids. * * Include with `using Counters for Counters.Counter;` */ library Counters { struct Counter { // This variable should never be directly accessed by users of the library: interactions must be restricted to // the library's function. As of Solidity v0.5.2, this cannot be enforced, though there is a proposal to add // this feature: see https://github.com/ethereum/solidity/issues/4637 uint256 _value; // default: 0 } function current(Counter storage counter) internal view returns (uint256) { return counter._value; } function increment(Counter storage counter) internal { unchecked { counter._value += 1; } } function decrement(Counter storage counter) internal { uint256 value = counter._value; require(value > 0, "Counter: decrement overflow"); unchecked { counter._value = value - 1; } } function reset(Counter storage counter) internal { counter._value = 0; } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "./IAccessControlEnumerable.sol"; import "./AccessControl.sol"; import "../utils/structs/EnumerableSet.sol"; /** * @dev Extension of {AccessControl} that allows enumerating the members of each role. */ abstract contract AccessControlEnumerable is IAccessControlEnumerable, AccessControl { using EnumerableSet for EnumerableSet.AddressSet; mapping(bytes32 => EnumerableSet.AddressSet) private _roleMembers; /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IAccessControlEnumerable).interfaceId || super.supportsInterface(interfaceId); } /** * @dev Returns one of the accounts that have `role`. `index` must be a * value between 0 and {getRoleMemberCount}, non-inclusive. * * Role bearers are not sorted in any particular way, and their ordering may * change at any point. * * WARNING: When using {getRoleMember} and {getRoleMemberCount}, make sure * you perform all queries on the same block. See the following * https://forum.openzeppelin.com/t/iterating-over-elements-on-enumerableset-in-openzeppelin-contracts/2296[forum post] * for more information. */ function getRoleMember(bytes32 role, uint256 index) public view override returns (address) { return _roleMembers[role].at(index); } /** * @dev Returns the number of accounts that have `role`. Can be used * together with {getRoleMember} to enumerate all bearers of a role. */ function getRoleMemberCount(bytes32 role) public view override returns (uint256) { return _roleMembers[role].length(); } /** * @dev Overload {grantRole} to track enumerable memberships */ function grantRole(bytes32 role, address account) public virtual override(AccessControl, IAccessControl) { super.grantRole(role, account); _roleMembers[role].add(account); } /** * @dev Overload {revokeRole} to track enumerable memberships */ function revokeRole(bytes32 role, address account) public virtual override(AccessControl, IAccessControl) { super.revokeRole(role, account); _roleMembers[role].remove(account); } /** * @dev Overload {renounceRole} to track enumerable memberships */ function renounceRole(bytes32 role, address account) public virtual override(AccessControl, IAccessControl) { super.renounceRole(role, account); _roleMembers[role].remove(account); } /** * @dev Overload {_setupRole} to track enumerable memberships */ function _setupRole(bytes32 role, address account) internal virtual override { super._setupRole(role, account); _roleMembers[role].add(account); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "./IAccessControl.sol"; /** * @dev External interface of AccessControlEnumerable declared to support ERC165 detection. */ interface IAccessControlEnumerable is IAccessControl { /** * @dev Returns one of the accounts that have `role`. `index` must be a * value between 0 and {getRoleMemberCount}, non-inclusive. * * Role bearers are not sorted in any particular way, and their ordering may * change at any point. * * WARNING: When using {getRoleMember} and {getRoleMemberCount}, make sure * you perform all queries on the same block. See the following * https://forum.openzeppelin.com/t/iterating-over-elements-on-enumerableset-in-openzeppelin-contracts/2296[forum post] * for more information. */ function getRoleMember(bytes32 role, uint256 index) external view returns (address); /** * @dev Returns the number of accounts that have `role`. Can be used * together with {getRoleMember} to enumerate all bearers of a role. */ function getRoleMemberCount(bytes32 role) external view returns (uint256); }
// SPDX-License-Identifier: MIT 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 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, _msgSender()); _; } /** * @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 override returns (bool) { return _roles[role].members[account]; } /** * @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 { 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 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 granted `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}. * ==== */ 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); } function _grantRole(bytes32 role, address account) private { if (!hasRole(role, account)) { _roles[role].members[account] = true; emit RoleGranted(role, account, _msgSender()); } } function _revokeRole(bytes32 role, address account) private { if (hasRole(role, account)) { _roles[role].members[account] = false; emit RoleRevoked(role, account, _msgSender()); } } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @dev Library for managing * https://en.wikipedia.org/wiki/Set_(abstract_data_type)[sets] of primitive * types. * * Sets have the following properties: * * - Elements are added, removed, and checked for existence in constant time * (O(1)). * - Elements are enumerated in O(n). No guarantees are made on the ordering. * * ``` * contract Example { * // Add the library methods * using EnumerableSet for EnumerableSet.AddressSet; * * // Declare a set state variable * EnumerableSet.AddressSet private mySet; * } * ``` * * As of v3.3.0, sets of type `bytes32` (`Bytes32Set`), `address` (`AddressSet`) * and `uint256` (`UintSet`) are supported. */ library EnumerableSet { // To implement this library for multiple types with as little code // repetition as possible, we write it in terms of a generic Set type with // bytes32 values. // The Set implementation uses private functions, and user-facing // implementations (such as AddressSet) are just wrappers around the // underlying Set. // This means that we can only create new EnumerableSets for types that fit // in bytes32. struct Set { // Storage of set values bytes32[] _values; // Position of the value in the `values` array, plus 1 because index 0 // means a value is not in the set. mapping(bytes32 => uint256) _indexes; } /** * @dev Add a value to a set. O(1). * * Returns true if the value was added to the set, that is if it was not * already present. */ function _add(Set storage set, bytes32 value) private returns (bool) { if (!_contains(set, value)) { set._values.push(value); // The value is stored at length-1, but we add 1 to all indexes // and use 0 as a sentinel value set._indexes[value] = set._values.length; return true; } else { return false; } } /** * @dev Removes a value from a set. O(1). * * Returns true if the value was removed from the set, that is if it was * present. */ function _remove(Set storage set, bytes32 value) private returns (bool) { // We read and store the value's index to prevent multiple reads from the same storage slot uint256 valueIndex = set._indexes[value]; if (valueIndex != 0) { // Equivalent to contains(set, value) // To delete an element from the _values array in O(1), we swap the element to delete with the last one in // the array, and then remove the last element (sometimes called as 'swap and pop'). // This modifies the order of the array, as noted in {at}. uint256 toDeleteIndex = valueIndex - 1; uint256 lastIndex = set._values.length - 1; if (lastIndex != toDeleteIndex) { bytes32 lastvalue = set._values[lastIndex]; // Move the last value to the index where the value to delete is set._values[toDeleteIndex] = lastvalue; // Update the index for the moved value set._indexes[lastvalue] = valueIndex; // Replace lastvalue's index to valueIndex } // Delete the slot where the moved value was stored set._values.pop(); // Delete the index for the deleted slot delete set._indexes[value]; return true; } else { return false; } } /** * @dev Returns true if the value is in the set. O(1). */ function _contains(Set storage set, bytes32 value) private view returns (bool) { return set._indexes[value] != 0; } /** * @dev Returns the number of values on the set. O(1). */ function _length(Set storage set) private view returns (uint256) { return set._values.length; } /** * @dev Returns the value stored at position `index` in the set. O(1). * * Note that there are no guarantees on the ordering of values inside the * array, and it may change when more values are added or removed. * * Requirements: * * - `index` must be strictly less than {length}. */ function _at(Set storage set, uint256 index) private view returns (bytes32) { return set._values[index]; } /** * @dev Return the entire set in an array * * WARNING: This operation will copy the entire storage to memory, which can be quite expensive. This is designed * to mostly be used by view accessors that are queried without any gas fees. Developers should keep in mind that * this function has an unbounded cost, and using it as part of a state-changing function may render the function * uncallable if the set grows to a point where copying to memory consumes too much gas to fit in a block. */ function _values(Set storage set) private view returns (bytes32[] memory) { return set._values; } // Bytes32Set struct Bytes32Set { Set _inner; } /** * @dev Add a value to a set. O(1). * * Returns true if the value was added to the set, that is if it was not * already present. */ function add(Bytes32Set storage set, bytes32 value) internal returns (bool) { return _add(set._inner, value); } /** * @dev Removes a value from a set. O(1). * * Returns true if the value was removed from the set, that is if it was * present. */ function remove(Bytes32Set storage set, bytes32 value) internal returns (bool) { return _remove(set._inner, value); } /** * @dev Returns true if the value is in the set. O(1). */ function contains(Bytes32Set storage set, bytes32 value) internal view returns (bool) { return _contains(set._inner, value); } /** * @dev Returns the number of values in the set. O(1). */ function length(Bytes32Set storage set) internal view returns (uint256) { return _length(set._inner); } /** * @dev Returns the value stored at position `index` in the set. O(1). * * Note that there are no guarantees on the ordering of values inside the * array, and it may change when more values are added or removed. * * Requirements: * * - `index` must be strictly less than {length}. */ function at(Bytes32Set storage set, uint256 index) internal view returns (bytes32) { return _at(set._inner, index); } /** * @dev Return the entire set in an array * * WARNING: This operation will copy the entire storage to memory, which can be quite expensive. This is designed * to mostly be used by view accessors that are queried without any gas fees. Developers should keep in mind that * this function has an unbounded cost, and using it as part of a state-changing function may render the function * uncallable if the set grows to a point where copying to memory consumes too much gas to fit in a block. */ function values(Bytes32Set storage set) internal view returns (bytes32[] memory) { return _values(set._inner); } // AddressSet struct AddressSet { Set _inner; } /** * @dev Add a value to a set. O(1). * * Returns true if the value was added to the set, that is if it was not * already present. */ function add(AddressSet storage set, address value) internal returns (bool) { return _add(set._inner, bytes32(uint256(uint160(value)))); } /** * @dev Removes a value from a set. O(1). * * Returns true if the value was removed from the set, that is if it was * present. */ function remove(AddressSet storage set, address value) internal returns (bool) { return _remove(set._inner, bytes32(uint256(uint160(value)))); } /** * @dev Returns true if the value is in the set. O(1). */ function contains(AddressSet storage set, address value) internal view returns (bool) { return _contains(set._inner, bytes32(uint256(uint160(value)))); } /** * @dev Returns the number of values in the set. O(1). */ function length(AddressSet storage set) internal view returns (uint256) { return _length(set._inner); } /** * @dev Returns the value stored at position `index` in the set. O(1). * * Note that there are no guarantees on the ordering of values inside the * array, and it may change when more values are added or removed. * * Requirements: * * - `index` must be strictly less than {length}. */ function at(AddressSet storage set, uint256 index) internal view returns (address) { return address(uint160(uint256(_at(set._inner, index)))); } /** * @dev Return the entire set in an array * * WARNING: This operation will copy the entire storage to memory, which can be quite expensive. This is designed * to mostly be used by view accessors that are queried without any gas fees. Developers should keep in mind that * this function has an unbounded cost, and using it as part of a state-changing function may render the function * uncallable if the set grows to a point where copying to memory consumes too much gas to fit in a block. */ function values(AddressSet storage set) internal view returns (address[] memory) { bytes32[] memory store = _values(set._inner); address[] memory result; assembly { result := store } return result; } // UintSet struct UintSet { Set _inner; } /** * @dev Add a value to a set. O(1). * * Returns true if the value was added to the set, that is if it was not * already present. */ function add(UintSet storage set, uint256 value) internal returns (bool) { return _add(set._inner, bytes32(value)); } /** * @dev Removes a value from a set. O(1). * * Returns true if the value was removed from the set, that is if it was * present. */ function remove(UintSet storage set, uint256 value) internal returns (bool) { return _remove(set._inner, bytes32(value)); } /** * @dev Returns true if the value is in the set. O(1). */ function contains(UintSet storage set, uint256 value) internal view returns (bool) { return _contains(set._inner, bytes32(value)); } /** * @dev Returns the number of values on the set. O(1). */ function length(UintSet storage set) internal view returns (uint256) { return _length(set._inner); } /** * @dev Returns the value stored at position `index` in the set. O(1). * * Note that there are no guarantees on the ordering of values inside the * array, and it may change when more values are added or removed. * * Requirements: * * - `index` must be strictly less than {length}. */ function at(UintSet storage set, uint256 index) internal view returns (uint256) { return uint256(_at(set._inner, index)); } /** * @dev Return the entire set in an array * * WARNING: This operation will copy the entire storage to memory, which can be quite expensive. This is designed * to mostly be used by view accessors that are queried without any gas fees. Developers should keep in mind that * this function has an unbounded cost, and using it as part of a state-changing function may render the function * uncallable if the set grows to a point where copying to memory consumes too much gas to fit in a block. */ function values(UintSet storage set) internal view returns (uint256[] memory) { bytes32[] memory store = _values(set._inner); uint256[] memory result; assembly { result := store } return result; } }
{ "metadata": { "useLiteralContent": true }, "optimizer": { "enabled": true, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "abi" ] } } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"string","name":"baseURI","type":"string"},{"internalType":"string","name":"contractName","type":"string"},{"internalType":"string","name":"tokenSymbol","type":"string"},{"internalType":"address","name":"artist","type":"address"},{"internalType":"address payable","name":"royaltyReceiver_","type":"address"},{"internalType":"uint256","name":"royaltyBPS_","type":"uint256"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"string","name":"_value","type":"string"},{"indexed":true,"internalType":"uint256","name":"_id","type":"uint256"}],"name":"PermanentURI","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"},{"inputs":[],"name":"DEFAULT_ADMIN_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":"MINTER_ROLE_ADMIN","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"_supportsRoyaltyInterfaces","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"pure","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":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getFeeBps","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getFeeRecipients","outputs":[{"internalType":"address payable[]","name":"","type":"address[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getFees","outputs":[{"internalType":"address payable[]","name":"","type":"address[]"},{"internalType":"uint256[]","name":"","type":"uint256[]"}],"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":"uint256","name":"index","type":"uint256"}],"name":"getRoleMember","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"}],"name":"getRoleMemberCount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256[]","name":"tokenIds","type":"uint256[]"}],"name":"mintBatch","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"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":"value","type":"uint256"}],"name":"royaltyInfo","outputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"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":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
60c06040523480156200001157600080fd5b50604051620030093803806200300983398101604081905262000034916200046e565b8451859085906200004d906000906020850190620002e2565b50805162000063906001906020840190620002e2565b506200006d915050565b85516200008290600c906020890190620002e2565b50620000906000846200012e565b620000ab60008051602062002fe9833981519152846200012e565b620000e660008051602062002fe98339815191527f11c2020b6b4f4e00c2410234e0c72636b4739cf7cda4d8e24ef6b881350e670462000171565b620001127f11c2020b6b4f4e00c2410234e0c72636b4739cf7cda4d8e24ef6b881350e6704846200012e565b6001600160a01b0390911660805260a052506200057192505050565b620001458282620001bc60201b620011511760201c565b6000828152600b602090815260409091206200016c9183906200115b620001cc821b17901c565b505050565b6000828152600a6020526040808220600101805490849055905190918391839186917fbd79b86ffe0ab8e8776151514217cd7cacd52c909f66475c3af44e129f0b00ff9190a4505050565b620001c88282620001ec565b5050565b6000620001e3836001600160a01b03841662000290565b90505b92915050565b6000828152600a602090815260408083206001600160a01b038516845290915290205460ff16620001c8576000828152600a602090815260408083206001600160a01b03851684529091529020805460ff191660011790556200024c3390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b6000818152600183016020526040812054620002d957508154600181810184556000848152602080822090930184905584548482528286019093526040902091909155620001e6565b506000620001e6565b828054620002f09062000534565b90600052602060002090601f0160209004810192826200031457600085556200035f565b82601f106200032f57805160ff19168380011785556200035f565b828001600101855582156200035f579182015b828111156200035f57825182559160200191906001019062000342565b506200036d92915062000371565b5090565b5b808211156200036d576000815560010162000372565b634e487b7160e01b600052604160045260246000fd5b600082601f830112620003b057600080fd5b81516001600160401b0380821115620003cd57620003cd62000388565b604051601f8301601f19908116603f01168101908282118183101715620003f857620003f862000388565b816040528381526020925086838588010111156200041557600080fd5b600091505b838210156200043957858201830151818301840152908201906200041a565b838211156200044b5760008385830101525b9695505050505050565b6001600160a01b03811681146200046b57600080fd5b50565b60008060008060008060c087890312156200048857600080fd5b86516001600160401b0380821115620004a057600080fd5b620004ae8a838b016200039e565b97506020890151915080821115620004c557600080fd5b620004d38a838b016200039e565b96506040890151915080821115620004ea57600080fd5b50620004f989828a016200039e565b94505060608701516200050c8162000455565b60808801519093506200051f8162000455565b8092505060a087015190509295509295509295565b600181811c908216806200054957607f821691505b602082108114156200056b57634e487b7160e01b600052602260045260246000fd5b50919050565b60805160a051612a36620005b3600039600081816108170152818161110a01526114ea015260008181610f04015281816110be01526114c90152612a366000f3fe608060405234801561001057600080fd5b50600436106102115760003560e01c80634f6ccce711610125578063a22cb465116100ad578063ca15c8731161007c578063ca15c873146104c0578063d5391393146104d3578063d547741f146104fa578063d5a06d4c1461050d578063e985e9c51461052e57600080fd5b8063a22cb46514610467578063b88d4fde1461047a578063b9c4d9fb1461048d578063c87b56dd146104ad57600080fd5b80638da5cb5b116100f45780638da5cb5b146104295780639010d07c1461043157806391d148541461044457806395d89b4114610457578063a217fddf1461045f57600080fd5b80634f6ccce7146103dd5780636352211e146103f057806370a082311461040357806375ceb3411461041657600080fd5b806323b872dd116101a85780632f745c59116101775780632f745c591461037e57806336568abe1461039157806340c10f19146103a457806342842e0e146103b757806342966c68146103ca57600080fd5b806323b872dd14610303578063248a9ca3146103165780632a55205a146103395780632f2ff15d1461036b57600080fd5b80630ebd4c7f116101e45780630ebd4c7f1461029357806311d15e7a146102b3578063152fcb2e146102e857806318160ddd146102fb57600080fd5b806301ffc9a71461021657806306fdde031461023e578063081812fc14610253578063095ea7b31461027e575b600080fd5b61022961022436600461227f565b61056a565b60405190151581526020015b60405180910390f35b61024661058a565b60405161023591906122f4565b610266610261366004612307565b61061c565b6040516001600160a01b039091168152602001610235565b61029161028c36600461233c565b6106b6565b005b6102a66102a1366004612307565b6107cc565b60405161023591906123a1565b6102da7f11c2020b6b4f4e00c2410234e0c72636b4739cf7cda4d8e24ef6b881350e670481565b604051908152602001610235565b6102296102f636600461227f565b61085a565b6008546102da565b6102916103113660046123b4565b6108ab565b6102da610324366004612307565b6000908152600a602052604090206001015490565b61034c6103473660046123f0565b6108dd565b604080516001600160a01b039093168352602083019190915201610235565b610291610379366004612412565b610919565b6102da61038c36600461233c565b61093b565b61029161039f366004612412565b6109d1565b6102916103b236600461233c565b6109f3565b6102916103c53660046123b4565b610a77565b6102916103d8366004612307565b610a92565b6102da6103eb366004612307565b610b0c565b6102666103fe366004612307565b610b9f565b6102da61041136600461243e565b610c16565b6102916104243660046124a0565b610c9d565b610266610d54565b61026661043f3660046123f0565b610d63565b610229610452366004612412565b610d82565b610246610dad565b6102da600081565b610291610475366004612559565b610dbc565b610291610488366004612595565b610e81565b6104a061049b366004612307565b610eb9565b604051610235919061268e565b6102466104bb366004612307565b610f54565b6102da6104ce366004612307565b61102e565b6102da7f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a681565b610291610508366004612412565b611045565b61052061051b366004612307565b61104f565b6040516102359291906126a1565b61022961053c3660046126cf565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b600061057582611170565b8061058457506105848261085a565b92915050565b606060008054610599906126f9565b80601f01602080910402602001604051908101604052809291908181526020018280546105c5906126f9565b80156106125780601f106105e757610100808354040283529160200191610612565b820191906000526020600020905b8154815290600101906020018083116105f557829003601f168201915b5050505050905090565b6000818152600260205260408120546001600160a01b031661069a5760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084015b60405180910390fd5b506000908152600460205260409020546001600160a01b031690565b60006106c182610b9f565b9050806001600160a01b0316836001600160a01b0316141561072f5760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b6064820152608401610691565b336001600160a01b038216148061074b575061074b813361053c565b6107bd5760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c00000000000000006064820152608401610691565b6107c78383611195565b505050565b60606107d782611203565b6107f35760405162461bcd60e51b815260040161069190612734565b604080516001808252818301909252600091602080830190803683370190505090507f0000000000000000000000000000000000000000000000000000000000000000816000815181106108495761084961275f565b602090810291909101015292915050565b60006001600160e01b03198216632dde656160e21b148061088b57506001600160e01b031982166335681b5360e21b145b8061058457506001600160e01b0319821663152a902d60e11b1492915050565b6108b6335b82611222565b6108d25760405162461bcd60e51b815260040161069190612775565b6107c7838383611319565b6000806108e984611203565b6109055760405162461bcd60e51b815260040161069190612734565b61090e836114c4565b915091509250929050565b610923828261152c565b6000828152600b602052604090206107c7908261115b565b600061094683610c16565b82106109a85760405162461bcd60e51b815260206004820152602b60248201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560448201526a74206f6620626f756e647360a81b6064820152608401610691565b506001600160a01b03919091166000908152600660209081526040808320938352929052205490565b6109db8282611552565b6000828152600b602052604090206107c790826115cc565b610a1d7f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a633610d82565b610a695760405162461bcd60e51b815260206004820152601e60248201527f5265737472696374656420746f20617070726f766564206d696e7465727300006044820152606401610691565b610a7382826115e1565b5050565b6107c783838360405180602001604052806000815250610e81565b610a9b336108b0565b610b005760405162461bcd60e51b815260206004820152603060248201527f4552433732314275726e61626c653a2063616c6c6572206973206e6f74206f7760448201526f1b995c881b9bdc88185c1c1c9bdd995960821b6064820152608401610691565b610b098161162f565b50565b6000610b1760085490565b8210610b7a5760405162461bcd60e51b815260206004820152602c60248201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60448201526b7574206f6620626f756e647360a01b6064820152608401610691565b60088281548110610b8d57610b8d61275f565b90600052602060002001549050919050565b6000818152600260205260408120546001600160a01b0316806105845760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201526832b73a103a37b5b2b760b91b6064820152608401610691565b60006001600160a01b038216610c815760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b6064820152608401610691565b506001600160a01b031660009081526003602052604090205490565b610cc77f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a633610d82565b610d135760405162461bcd60e51b815260206004820152601e60248201527f5265737472696374656420746f20617070726f766564206d696e7465727300006044820152606401610691565b60005b81518110156107c757610d4283838381518110610d3557610d3561275f565b60200260200101516115e1565b80610d4c816127dc565b915050610d16565b6000610d5e611638565b905090565b6000828152600b60205260408120610d7b9083611658565b9392505050565b6000918252600a602090815260408084206001600160a01b0393909316845291905290205460ff1690565b606060018054610599906126f9565b6001600160a01b038216331415610e155760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c6572000000000000006044820152606401610691565b3360008181526005602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b610e8b3383611222565b610ea75760405162461bcd60e51b815260040161069190612775565b610eb384848484611664565b50505050565b6060610ec482611203565b610ee05760405162461bcd60e51b815260040161069190612734565b604080516001808252818301909252600091602080830190803683370190505090507f000000000000000000000000000000000000000000000000000000000000000081600081518110610f3657610f3661275f565b6001600160a01b039092166020928302919091019091015292915050565b6000818152600260205260409020546060906001600160a01b0316610fd35760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b6064820152608401610691565b6000610fdd611697565b90506000815111610ffd5760405180602001604052806000815250610d7b565b80611007846116a6565b6040516020016110189291906127f7565b6040516020818303038152906040529392505050565b6000818152600b60205260408120610584906117a4565b6109db82826117ae565b60608061105b83611203565b6110775760405162461bcd60e51b815260040161069190612734565b6040805160018082528183019092526000916020808301908036833750506040805160018082528183019092529293506000929150602080830190803683370190505090507f0000000000000000000000000000000000000000000000000000000000000000826000815181106110f0576110f061275f565b6001600160a01b03909216602092830291909101909101527f00000000000000000000000000000000000000000000000000000000000000008160008151811061113c5761113c61275f565b60209081029190910101529094909350915050565b610a7382826117d4565b6000610d7b836001600160a01b03841661185a565b60006001600160e01b03198216635a05180f60e01b14806105845750610584826118a9565b600081815260046020526040902080546001600160a01b0319166001600160a01b03841690811790915581906111ca82610b9f565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000818152600260205260408120546001600160a01b03161515610584565b6000818152600260205260408120546001600160a01b031661129b5760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b6064820152608401610691565b60006112a683610b9f565b9050806001600160a01b0316846001600160a01b031614806112e15750836001600160a01b03166112d68461061c565b6001600160a01b0316145b8061131157506001600160a01b0380821660009081526005602090815260408083209388168352929052205460ff165b949350505050565b826001600160a01b031661132c82610b9f565b6001600160a01b0316146113945760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201526839903737ba1037bbb760b91b6064820152608401610691565b6001600160a01b0382166113f65760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b6064820152608401610691565b6114018383836118ce565b61140c600082611195565b6001600160a01b0383166000908152600360205260408120805460019290611435908490612826565b90915550506001600160a01b038216600090815260036020526040812080546001929061146390849061283d565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b6000807f00000000000000000000000000000000000000000000000000000000000000007f0000000000000000000000000000000000000000000000000000000000000000816127106115178784612855565b611521919061288a565b935093505050915091565b6000828152600a602052604090206001015461154881336118d9565b6107c783836117d4565b6001600160a01b03811633146115c25760405162461bcd60e51b815260206004820152602f60248201527f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560448201526e103937b632b9903337b91039b2b63360891b6064820152608401610691565b610a73828261193d565b6000610d7b836001600160a01b0384166119a4565b6115eb8282611a97565b807fa109ba539900bf1b633f956d63c96fc89b814c7287f7aa50a9216d0b5565720761161683610f54565b60405161162391906122f4565b60405180910390a25050565b610b0981611ab1565b60006116438161102e565b61164d5750600090565b610d5e600080610d63565b6000610d7b8383611b58565b61166f848484611319565b61167b84848484611b82565b610eb35760405162461bcd60e51b81526004016106919061289e565b6060600c8054610599906126f9565b6060816116ca5750506040805180820190915260018152600360fc1b602082015290565b8160005b81156116f457806116de816127dc565b91506116ed9050600a8361288a565b91506116ce565b60008167ffffffffffffffff81111561170f5761170f612459565b6040519080825280601f01601f191660200182016040528015611739576020820181803683370190505b5090505b84156113115761174e600183612826565b915061175b600a866128f0565b61176690603061283d565b60f81b81838151811061177b5761177b61275f565b60200101906001600160f81b031916908160001a90535061179d600a8661288a565b945061173d565b6000610584825490565b6000828152600a60205260409020600101546117ca81336118d9565b6107c7838361193d565b6117de8282610d82565b610a73576000828152600a602090815260408083206001600160a01b03851684529091529020805460ff191660011790556118163390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b60008181526001830160205260408120546118a157508154600181810184556000848152602080822090930184905584548482528286019093526040902091909155610584565b506000610584565b60006001600160e01b03198216637965db0b60e01b1480610584575061058482611c8f565b6107c7838383611cb4565b6118e38282610d82565b610a73576118fb816001600160a01b03166014611d6c565b611906836020611d6c565b604051602001611917929190612904565b60408051601f198184030181529082905262461bcd60e51b8252610691916004016122f4565b6119478282610d82565b15610a73576000828152600a602090815260408083206001600160a01b0385168085529252808320805460ff1916905551339285917ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9190a45050565b60008181526001830160205260408120548015611a8d5760006119c8600183612826565b85549091506000906119dc90600190612826565b9050818114611a415760008660000182815481106119fc576119fc61275f565b9060005260206000200154905080876000018481548110611a1f57611a1f61275f565b6000918252602080832090910192909255918252600188019052604090208390555b8554869080611a5257611a52612979565b600190038181906000526020600020016000905590558560010160008681526020019081526020016000206000905560019350505050610584565b6000915050610584565b610a73828260405180602001604052806000815250611f08565b6000611abc82610b9f565b9050611aca816000846118ce565b611ad5600083611195565b6001600160a01b0381166000908152600360205260408120805460019290611afe908490612826565b909155505060008281526002602052604080822080546001600160a01b0319169055518391906001600160a01b038416907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908390a45050565b6000826000018281548110611b6f57611b6f61275f565b9060005260206000200154905092915050565b60006001600160a01b0384163b15611c8457604051630a85bd0160e11b81526001600160a01b0385169063150b7a0290611bc690339089908890889060040161298f565b602060405180830381600087803b158015611be057600080fd5b505af1925050508015611c10575060408051601f3d908101601f19168201909252611c0d918101906129cc565b60015b611c6a573d808015611c3e576040519150601f19603f3d011682016040523d82523d6000602084013e611c43565b606091505b508051611c625760405162461bcd60e51b81526004016106919061289e565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050611311565b506001949350505050565b60006001600160e01b0319821663780e9d6360e01b1480610584575061058482611f3b565b6001600160a01b038316611d0f57611d0a81600880546000838152600960205260408120829055600182018355919091527ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee30155565b611d32565b816001600160a01b0316836001600160a01b031614611d3257611d328382611f8b565b6001600160a01b038216611d49576107c781612028565b826001600160a01b0316826001600160a01b0316146107c7576107c782826120d7565b60606000611d7b836002612855565b611d8690600261283d565b67ffffffffffffffff811115611d9e57611d9e612459565b6040519080825280601f01601f191660200182016040528015611dc8576020820181803683370190505b509050600360fc1b81600081518110611de357611de361275f565b60200101906001600160f81b031916908160001a905350600f60fb1b81600181518110611e1257611e1261275f565b60200101906001600160f81b031916908160001a9053506000611e36846002612855565b611e4190600161283d565b90505b6001811115611eb9576f181899199a1a9b1b9c1cb0b131b232b360811b85600f1660108110611e7557611e7561275f565b1a60f81b828281518110611e8b57611e8b61275f565b60200101906001600160f81b031916908160001a90535060049490941c93611eb2816129e9565b9050611e44565b508315610d7b5760405162461bcd60e51b815260206004820181905260248201527f537472696e67733a20686578206c656e67746820696e73756666696369656e746044820152606401610691565b611f12838361211b565b611f1f6000848484611b82565b6107c75760405162461bcd60e51b81526004016106919061289e565b60006001600160e01b031982166380ac58cd60e01b1480611f6c57506001600160e01b03198216635b5e139f60e01b145b8061058457506301ffc9a760e01b6001600160e01b0319831614610584565b60006001611f9884610c16565b611fa29190612826565b600083815260076020526040902054909150808214611ff5576001600160a01b03841660009081526006602090815260408083208584528252808320548484528184208190558352600790915290208190555b5060009182526007602090815260408084208490556001600160a01b039094168352600681528383209183525290812055565b60085460009061203a90600190612826565b600083815260096020526040812054600880549394509092849081106120625761206261275f565b9060005260206000200154905080600883815481106120835761208361275f565b60009182526020808320909101929092558281526009909152604080822084905585825281205560088054806120bb576120bb612979565b6001900381819060005260206000200160009055905550505050565b60006120e283610c16565b6001600160a01b039093166000908152600660209081526040808320868452825280832085905593825260079052919091209190915550565b6001600160a01b0382166121715760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f20616464726573736044820152606401610691565b6000818152600260205260409020546001600160a01b0316156121d65760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606401610691565b6121e2600083836118ce565b6001600160a01b038216600090815260036020526040812080546001929061220b90849061283d565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b6001600160e01b031981168114610b0957600080fd5b60006020828403121561229157600080fd5b8135610d7b81612269565b60005b838110156122b757818101518382015260200161229f565b83811115610eb35750506000910152565b600081518084526122e081602086016020860161229c565b601f01601f19169290920160200192915050565b602081526000610d7b60208301846122c8565b60006020828403121561231957600080fd5b5035919050565b80356001600160a01b038116811461233757600080fd5b919050565b6000806040838503121561234f57600080fd5b61235883612320565b946020939093013593505050565b600081518084526020808501945080840160005b838110156123965781518752958201959082019060010161237a565b509495945050505050565b602081526000610d7b6020830184612366565b6000806000606084860312156123c957600080fd5b6123d284612320565b92506123e060208501612320565b9150604084013590509250925092565b6000806040838503121561240357600080fd5b50508035926020909101359150565b6000806040838503121561242557600080fd5b8235915061243560208401612320565b90509250929050565b60006020828403121561245057600080fd5b610d7b82612320565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f1916810167ffffffffffffffff8111828210171561249857612498612459565b604052919050565b600080604083850312156124b357600080fd5b6124bc83612320565b915060208084013567ffffffffffffffff808211156124da57600080fd5b818601915086601f8301126124ee57600080fd5b81358181111561250057612500612459565b8060051b915061251184830161246f565b818152918301840191848101908984111561252b57600080fd5b938501935b8385101561254957843582529385019390850190612530565b8096505050505050509250929050565b6000806040838503121561256c57600080fd5b61257583612320565b91506020830135801515811461258a57600080fd5b809150509250929050565b600080600080608085870312156125ab57600080fd5b6125b485612320565b935060206125c3818701612320565b935060408601359250606086013567ffffffffffffffff808211156125e757600080fd5b818801915088601f8301126125fb57600080fd5b81358181111561260d5761260d612459565b61261f601f8201601f1916850161246f565b9150808252898482850101111561263557600080fd5b808484018584013760008482840101525080935050505092959194509250565b600081518084526020808501945080840160005b838110156123965781516001600160a01b031687529582019590820190600101612669565b602081526000610d7b6020830184612655565b6040815260006126b46040830185612655565b82810360208401526126c68185612366565b95945050505050565b600080604083850312156126e257600080fd5b6126eb83612320565b915061243560208401612320565b600181811c9082168061270d57607f821691505b6020821081141561272e57634e487b7160e01b600052602260045260246000fd5b50919050565b6020808252601190820152702737b732bc34b9ba32b73a103a37b5b2b760791b604082015260600190565b634e487b7160e01b600052603260045260246000fd5b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b634e487b7160e01b600052601160045260246000fd5b60006000198214156127f0576127f06127c6565b5060010190565b6000835161280981846020880161229c565b83519083019061281d81836020880161229c565b01949350505050565b600082821015612838576128386127c6565b500390565b60008219821115612850576128506127c6565b500190565b600081600019048311821515161561286f5761286f6127c6565b500290565b634e487b7160e01b600052601260045260246000fd5b60008261289957612899612874565b500490565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b6000826128ff576128ff612874565b500690565b7f416363657373436f6e74726f6c3a206163636f756e742000000000000000000081526000835161293c81601785016020880161229c565b7001034b99036b4b9b9b4b733903937b6329607d1b601791840191820152835161296d81602884016020880161229c565b01602801949350505050565b634e487b7160e01b600052603160045260246000fd5b6001600160a01b03858116825284166020820152604081018390526080606082018190526000906129c2908301846122c8565b9695505050505050565b6000602082840312156129de57600080fd5b8151610d7b81612269565b6000816129f8576129f86127c6565b50600019019056fea2646970667358221220abf2a302cfa12da7443d2253b7d87f93a8bd603d70837f361c090aac737805a564736f6c634300080900339f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a600000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000001200000000000000000000000000000000000000000000000000000000000000160000000000000000000000000fa837c2e71888be99473a202804c353c4b24a24b00000000000000000000000024e87cf94a10dfadaab4701bf3d6ca35be4355ea00000000000000000000000000000000000000000000000000000000000003e80000000000000000000000000000000000000000000000000000000000000036697066733a2f2f516d4e7951397962757244454a48784a69353673775964373446797a794175667558745a386944584e62714841772f0000000000000000000000000000000000000000000000000000000000000000000000000000000000185175616e74756d204d656d6f72696573202d204e6f697365000000000000000000000000000000000000000000000000000000000000000000000000000000054e4f495345000000000000000000000000000000000000000000000000000000
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106102115760003560e01c80634f6ccce711610125578063a22cb465116100ad578063ca15c8731161007c578063ca15c873146104c0578063d5391393146104d3578063d547741f146104fa578063d5a06d4c1461050d578063e985e9c51461052e57600080fd5b8063a22cb46514610467578063b88d4fde1461047a578063b9c4d9fb1461048d578063c87b56dd146104ad57600080fd5b80638da5cb5b116100f45780638da5cb5b146104295780639010d07c1461043157806391d148541461044457806395d89b4114610457578063a217fddf1461045f57600080fd5b80634f6ccce7146103dd5780636352211e146103f057806370a082311461040357806375ceb3411461041657600080fd5b806323b872dd116101a85780632f745c59116101775780632f745c591461037e57806336568abe1461039157806340c10f19146103a457806342842e0e146103b757806342966c68146103ca57600080fd5b806323b872dd14610303578063248a9ca3146103165780632a55205a146103395780632f2ff15d1461036b57600080fd5b80630ebd4c7f116101e45780630ebd4c7f1461029357806311d15e7a146102b3578063152fcb2e146102e857806318160ddd146102fb57600080fd5b806301ffc9a71461021657806306fdde031461023e578063081812fc14610253578063095ea7b31461027e575b600080fd5b61022961022436600461227f565b61056a565b60405190151581526020015b60405180910390f35b61024661058a565b60405161023591906122f4565b610266610261366004612307565b61061c565b6040516001600160a01b039091168152602001610235565b61029161028c36600461233c565b6106b6565b005b6102a66102a1366004612307565b6107cc565b60405161023591906123a1565b6102da7f11c2020b6b4f4e00c2410234e0c72636b4739cf7cda4d8e24ef6b881350e670481565b604051908152602001610235565b6102296102f636600461227f565b61085a565b6008546102da565b6102916103113660046123b4565b6108ab565b6102da610324366004612307565b6000908152600a602052604090206001015490565b61034c6103473660046123f0565b6108dd565b604080516001600160a01b039093168352602083019190915201610235565b610291610379366004612412565b610919565b6102da61038c36600461233c565b61093b565b61029161039f366004612412565b6109d1565b6102916103b236600461233c565b6109f3565b6102916103c53660046123b4565b610a77565b6102916103d8366004612307565b610a92565b6102da6103eb366004612307565b610b0c565b6102666103fe366004612307565b610b9f565b6102da61041136600461243e565b610c16565b6102916104243660046124a0565b610c9d565b610266610d54565b61026661043f3660046123f0565b610d63565b610229610452366004612412565b610d82565b610246610dad565b6102da600081565b610291610475366004612559565b610dbc565b610291610488366004612595565b610e81565b6104a061049b366004612307565b610eb9565b604051610235919061268e565b6102466104bb366004612307565b610f54565b6102da6104ce366004612307565b61102e565b6102da7f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a681565b610291610508366004612412565b611045565b61052061051b366004612307565b61104f565b6040516102359291906126a1565b61022961053c3660046126cf565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b600061057582611170565b8061058457506105848261085a565b92915050565b606060008054610599906126f9565b80601f01602080910402602001604051908101604052809291908181526020018280546105c5906126f9565b80156106125780601f106105e757610100808354040283529160200191610612565b820191906000526020600020905b8154815290600101906020018083116105f557829003601f168201915b5050505050905090565b6000818152600260205260408120546001600160a01b031661069a5760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084015b60405180910390fd5b506000908152600460205260409020546001600160a01b031690565b60006106c182610b9f565b9050806001600160a01b0316836001600160a01b0316141561072f5760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b6064820152608401610691565b336001600160a01b038216148061074b575061074b813361053c565b6107bd5760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c00000000000000006064820152608401610691565b6107c78383611195565b505050565b60606107d782611203565b6107f35760405162461bcd60e51b815260040161069190612734565b604080516001808252818301909252600091602080830190803683370190505090507f00000000000000000000000000000000000000000000000000000000000003e8816000815181106108495761084961275f565b602090810291909101015292915050565b60006001600160e01b03198216632dde656160e21b148061088b57506001600160e01b031982166335681b5360e21b145b8061058457506001600160e01b0319821663152a902d60e11b1492915050565b6108b6335b82611222565b6108d25760405162461bcd60e51b815260040161069190612775565b6107c7838383611319565b6000806108e984611203565b6109055760405162461bcd60e51b815260040161069190612734565b61090e836114c4565b915091509250929050565b610923828261152c565b6000828152600b602052604090206107c7908261115b565b600061094683610c16565b82106109a85760405162461bcd60e51b815260206004820152602b60248201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560448201526a74206f6620626f756e647360a81b6064820152608401610691565b506001600160a01b03919091166000908152600660209081526040808320938352929052205490565b6109db8282611552565b6000828152600b602052604090206107c790826115cc565b610a1d7f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a633610d82565b610a695760405162461bcd60e51b815260206004820152601e60248201527f5265737472696374656420746f20617070726f766564206d696e7465727300006044820152606401610691565b610a7382826115e1565b5050565b6107c783838360405180602001604052806000815250610e81565b610a9b336108b0565b610b005760405162461bcd60e51b815260206004820152603060248201527f4552433732314275726e61626c653a2063616c6c6572206973206e6f74206f7760448201526f1b995c881b9bdc88185c1c1c9bdd995960821b6064820152608401610691565b610b098161162f565b50565b6000610b1760085490565b8210610b7a5760405162461bcd60e51b815260206004820152602c60248201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60448201526b7574206f6620626f756e647360a01b6064820152608401610691565b60088281548110610b8d57610b8d61275f565b90600052602060002001549050919050565b6000818152600260205260408120546001600160a01b0316806105845760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201526832b73a103a37b5b2b760b91b6064820152608401610691565b60006001600160a01b038216610c815760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b6064820152608401610691565b506001600160a01b031660009081526003602052604090205490565b610cc77f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a633610d82565b610d135760405162461bcd60e51b815260206004820152601e60248201527f5265737472696374656420746f20617070726f766564206d696e7465727300006044820152606401610691565b60005b81518110156107c757610d4283838381518110610d3557610d3561275f565b60200260200101516115e1565b80610d4c816127dc565b915050610d16565b6000610d5e611638565b905090565b6000828152600b60205260408120610d7b9083611658565b9392505050565b6000918252600a602090815260408084206001600160a01b0393909316845291905290205460ff1690565b606060018054610599906126f9565b6001600160a01b038216331415610e155760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c6572000000000000006044820152606401610691565b3360008181526005602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b610e8b3383611222565b610ea75760405162461bcd60e51b815260040161069190612775565b610eb384848484611664565b50505050565b6060610ec482611203565b610ee05760405162461bcd60e51b815260040161069190612734565b604080516001808252818301909252600091602080830190803683370190505090507f00000000000000000000000024e87cf94a10dfadaab4701bf3d6ca35be4355ea81600081518110610f3657610f3661275f565b6001600160a01b039092166020928302919091019091015292915050565b6000818152600260205260409020546060906001600160a01b0316610fd35760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b6064820152608401610691565b6000610fdd611697565b90506000815111610ffd5760405180602001604052806000815250610d7b565b80611007846116a6565b6040516020016110189291906127f7565b6040516020818303038152906040529392505050565b6000818152600b60205260408120610584906117a4565b6109db82826117ae565b60608061105b83611203565b6110775760405162461bcd60e51b815260040161069190612734565b6040805160018082528183019092526000916020808301908036833750506040805160018082528183019092529293506000929150602080830190803683370190505090507f00000000000000000000000024e87cf94a10dfadaab4701bf3d6ca35be4355ea826000815181106110f0576110f061275f565b6001600160a01b03909216602092830291909101909101527f00000000000000000000000000000000000000000000000000000000000003e88160008151811061113c5761113c61275f565b60209081029190910101529094909350915050565b610a7382826117d4565b6000610d7b836001600160a01b03841661185a565b60006001600160e01b03198216635a05180f60e01b14806105845750610584826118a9565b600081815260046020526040902080546001600160a01b0319166001600160a01b03841690811790915581906111ca82610b9f565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000818152600260205260408120546001600160a01b03161515610584565b6000818152600260205260408120546001600160a01b031661129b5760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b6064820152608401610691565b60006112a683610b9f565b9050806001600160a01b0316846001600160a01b031614806112e15750836001600160a01b03166112d68461061c565b6001600160a01b0316145b8061131157506001600160a01b0380821660009081526005602090815260408083209388168352929052205460ff165b949350505050565b826001600160a01b031661132c82610b9f565b6001600160a01b0316146113945760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201526839903737ba1037bbb760b91b6064820152608401610691565b6001600160a01b0382166113f65760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b6064820152608401610691565b6114018383836118ce565b61140c600082611195565b6001600160a01b0383166000908152600360205260408120805460019290611435908490612826565b90915550506001600160a01b038216600090815260036020526040812080546001929061146390849061283d565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b6000807f00000000000000000000000024e87cf94a10dfadaab4701bf3d6ca35be4355ea7f00000000000000000000000000000000000000000000000000000000000003e8816127106115178784612855565b611521919061288a565b935093505050915091565b6000828152600a602052604090206001015461154881336118d9565b6107c783836117d4565b6001600160a01b03811633146115c25760405162461bcd60e51b815260206004820152602f60248201527f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560448201526e103937b632b9903337b91039b2b63360891b6064820152608401610691565b610a73828261193d565b6000610d7b836001600160a01b0384166119a4565b6115eb8282611a97565b807fa109ba539900bf1b633f956d63c96fc89b814c7287f7aa50a9216d0b5565720761161683610f54565b60405161162391906122f4565b60405180910390a25050565b610b0981611ab1565b60006116438161102e565b61164d5750600090565b610d5e600080610d63565b6000610d7b8383611b58565b61166f848484611319565b61167b84848484611b82565b610eb35760405162461bcd60e51b81526004016106919061289e565b6060600c8054610599906126f9565b6060816116ca5750506040805180820190915260018152600360fc1b602082015290565b8160005b81156116f457806116de816127dc565b91506116ed9050600a8361288a565b91506116ce565b60008167ffffffffffffffff81111561170f5761170f612459565b6040519080825280601f01601f191660200182016040528015611739576020820181803683370190505b5090505b84156113115761174e600183612826565b915061175b600a866128f0565b61176690603061283d565b60f81b81838151811061177b5761177b61275f565b60200101906001600160f81b031916908160001a90535061179d600a8661288a565b945061173d565b6000610584825490565b6000828152600a60205260409020600101546117ca81336118d9565b6107c7838361193d565b6117de8282610d82565b610a73576000828152600a602090815260408083206001600160a01b03851684529091529020805460ff191660011790556118163390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b60008181526001830160205260408120546118a157508154600181810184556000848152602080822090930184905584548482528286019093526040902091909155610584565b506000610584565b60006001600160e01b03198216637965db0b60e01b1480610584575061058482611c8f565b6107c7838383611cb4565b6118e38282610d82565b610a73576118fb816001600160a01b03166014611d6c565b611906836020611d6c565b604051602001611917929190612904565b60408051601f198184030181529082905262461bcd60e51b8252610691916004016122f4565b6119478282610d82565b15610a73576000828152600a602090815260408083206001600160a01b0385168085529252808320805460ff1916905551339285917ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9190a45050565b60008181526001830160205260408120548015611a8d5760006119c8600183612826565b85549091506000906119dc90600190612826565b9050818114611a415760008660000182815481106119fc576119fc61275f565b9060005260206000200154905080876000018481548110611a1f57611a1f61275f565b6000918252602080832090910192909255918252600188019052604090208390555b8554869080611a5257611a52612979565b600190038181906000526020600020016000905590558560010160008681526020019081526020016000206000905560019350505050610584565b6000915050610584565b610a73828260405180602001604052806000815250611f08565b6000611abc82610b9f565b9050611aca816000846118ce565b611ad5600083611195565b6001600160a01b0381166000908152600360205260408120805460019290611afe908490612826565b909155505060008281526002602052604080822080546001600160a01b0319169055518391906001600160a01b038416907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908390a45050565b6000826000018281548110611b6f57611b6f61275f565b9060005260206000200154905092915050565b60006001600160a01b0384163b15611c8457604051630a85bd0160e11b81526001600160a01b0385169063150b7a0290611bc690339089908890889060040161298f565b602060405180830381600087803b158015611be057600080fd5b505af1925050508015611c10575060408051601f3d908101601f19168201909252611c0d918101906129cc565b60015b611c6a573d808015611c3e576040519150601f19603f3d011682016040523d82523d6000602084013e611c43565b606091505b508051611c625760405162461bcd60e51b81526004016106919061289e565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050611311565b506001949350505050565b60006001600160e01b0319821663780e9d6360e01b1480610584575061058482611f3b565b6001600160a01b038316611d0f57611d0a81600880546000838152600960205260408120829055600182018355919091527ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee30155565b611d32565b816001600160a01b0316836001600160a01b031614611d3257611d328382611f8b565b6001600160a01b038216611d49576107c781612028565b826001600160a01b0316826001600160a01b0316146107c7576107c782826120d7565b60606000611d7b836002612855565b611d8690600261283d565b67ffffffffffffffff811115611d9e57611d9e612459565b6040519080825280601f01601f191660200182016040528015611dc8576020820181803683370190505b509050600360fc1b81600081518110611de357611de361275f565b60200101906001600160f81b031916908160001a905350600f60fb1b81600181518110611e1257611e1261275f565b60200101906001600160f81b031916908160001a9053506000611e36846002612855565b611e4190600161283d565b90505b6001811115611eb9576f181899199a1a9b1b9c1cb0b131b232b360811b85600f1660108110611e7557611e7561275f565b1a60f81b828281518110611e8b57611e8b61275f565b60200101906001600160f81b031916908160001a90535060049490941c93611eb2816129e9565b9050611e44565b508315610d7b5760405162461bcd60e51b815260206004820181905260248201527f537472696e67733a20686578206c656e67746820696e73756666696369656e746044820152606401610691565b611f12838361211b565b611f1f6000848484611b82565b6107c75760405162461bcd60e51b81526004016106919061289e565b60006001600160e01b031982166380ac58cd60e01b1480611f6c57506001600160e01b03198216635b5e139f60e01b145b8061058457506301ffc9a760e01b6001600160e01b0319831614610584565b60006001611f9884610c16565b611fa29190612826565b600083815260076020526040902054909150808214611ff5576001600160a01b03841660009081526006602090815260408083208584528252808320548484528184208190558352600790915290208190555b5060009182526007602090815260408084208490556001600160a01b039094168352600681528383209183525290812055565b60085460009061203a90600190612826565b600083815260096020526040812054600880549394509092849081106120625761206261275f565b9060005260206000200154905080600883815481106120835761208361275f565b60009182526020808320909101929092558281526009909152604080822084905585825281205560088054806120bb576120bb612979565b6001900381819060005260206000200160009055905550505050565b60006120e283610c16565b6001600160a01b039093166000908152600660209081526040808320868452825280832085905593825260079052919091209190915550565b6001600160a01b0382166121715760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f20616464726573736044820152606401610691565b6000818152600260205260409020546001600160a01b0316156121d65760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606401610691565b6121e2600083836118ce565b6001600160a01b038216600090815260036020526040812080546001929061220b90849061283d565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b6001600160e01b031981168114610b0957600080fd5b60006020828403121561229157600080fd5b8135610d7b81612269565b60005b838110156122b757818101518382015260200161229f565b83811115610eb35750506000910152565b600081518084526122e081602086016020860161229c565b601f01601f19169290920160200192915050565b602081526000610d7b60208301846122c8565b60006020828403121561231957600080fd5b5035919050565b80356001600160a01b038116811461233757600080fd5b919050565b6000806040838503121561234f57600080fd5b61235883612320565b946020939093013593505050565b600081518084526020808501945080840160005b838110156123965781518752958201959082019060010161237a565b509495945050505050565b602081526000610d7b6020830184612366565b6000806000606084860312156123c957600080fd5b6123d284612320565b92506123e060208501612320565b9150604084013590509250925092565b6000806040838503121561240357600080fd5b50508035926020909101359150565b6000806040838503121561242557600080fd5b8235915061243560208401612320565b90509250929050565b60006020828403121561245057600080fd5b610d7b82612320565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f1916810167ffffffffffffffff8111828210171561249857612498612459565b604052919050565b600080604083850312156124b357600080fd5b6124bc83612320565b915060208084013567ffffffffffffffff808211156124da57600080fd5b818601915086601f8301126124ee57600080fd5b81358181111561250057612500612459565b8060051b915061251184830161246f565b818152918301840191848101908984111561252b57600080fd5b938501935b8385101561254957843582529385019390850190612530565b8096505050505050509250929050565b6000806040838503121561256c57600080fd5b61257583612320565b91506020830135801515811461258a57600080fd5b809150509250929050565b600080600080608085870312156125ab57600080fd5b6125b485612320565b935060206125c3818701612320565b935060408601359250606086013567ffffffffffffffff808211156125e757600080fd5b818801915088601f8301126125fb57600080fd5b81358181111561260d5761260d612459565b61261f601f8201601f1916850161246f565b9150808252898482850101111561263557600080fd5b808484018584013760008482840101525080935050505092959194509250565b600081518084526020808501945080840160005b838110156123965781516001600160a01b031687529582019590820190600101612669565b602081526000610d7b6020830184612655565b6040815260006126b46040830185612655565b82810360208401526126c68185612366565b95945050505050565b600080604083850312156126e257600080fd5b6126eb83612320565b915061243560208401612320565b600181811c9082168061270d57607f821691505b6020821081141561272e57634e487b7160e01b600052602260045260246000fd5b50919050565b6020808252601190820152702737b732bc34b9ba32b73a103a37b5b2b760791b604082015260600190565b634e487b7160e01b600052603260045260246000fd5b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b634e487b7160e01b600052601160045260246000fd5b60006000198214156127f0576127f06127c6565b5060010190565b6000835161280981846020880161229c565b83519083019061281d81836020880161229c565b01949350505050565b600082821015612838576128386127c6565b500390565b60008219821115612850576128506127c6565b500190565b600081600019048311821515161561286f5761286f6127c6565b500290565b634e487b7160e01b600052601260045260246000fd5b60008261289957612899612874565b500490565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b6000826128ff576128ff612874565b500690565b7f416363657373436f6e74726f6c3a206163636f756e742000000000000000000081526000835161293c81601785016020880161229c565b7001034b99036b4b9b9b4b733903937b6329607d1b601791840191820152835161296d81602884016020880161229c565b01602801949350505050565b634e487b7160e01b600052603160045260246000fd5b6001600160a01b03858116825284166020820152604081018390526080606082018190526000906129c2908301846122c8565b9695505050505050565b6000602082840312156129de57600080fd5b8151610d7b81612269565b6000816129f8576129f86127c6565b50600019019056fea2646970667358221220abf2a302cfa12da7443d2253b7d87f93a8bd603d70837f361c090aac737805a564736f6c63430008090033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
00000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000001200000000000000000000000000000000000000000000000000000000000000160000000000000000000000000fa837c2e71888be99473a202804c353c4b24a24b00000000000000000000000024e87cf94a10dfadaab4701bf3d6ca35be4355ea00000000000000000000000000000000000000000000000000000000000003e80000000000000000000000000000000000000000000000000000000000000036697066733a2f2f516d4e7951397962757244454a48784a69353673775964373446797a794175667558745a386944584e62714841772f0000000000000000000000000000000000000000000000000000000000000000000000000000000000185175616e74756d204d656d6f72696573202d204e6f697365000000000000000000000000000000000000000000000000000000000000000000000000000000054e4f495345000000000000000000000000000000000000000000000000000000
-----Decoded View---------------
Arg [0] : baseURI (string): ipfs://QmNyQ9yburDEJHxJi56swYd74FyzyAufuXtZ8iDXNbqHAw/
Arg [1] : contractName (string): Quantum Memories - Noise
Arg [2] : tokenSymbol (string): NOISE
Arg [3] : artist (address): 0xFa837C2E71888BE99473A202804c353C4b24A24b
Arg [4] : royaltyReceiver_ (address): 0x24e87cf94a10dfAdaAB4701Bf3D6Ca35BE4355ea
Arg [5] : royaltyBPS_ (uint256): 1000
-----Encoded View---------------
13 Constructor Arguments found :
Arg [0] : 00000000000000000000000000000000000000000000000000000000000000c0
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000120
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000160
Arg [3] : 000000000000000000000000fa837c2e71888be99473a202804c353c4b24a24b
Arg [4] : 00000000000000000000000024e87cf94a10dfadaab4701bf3d6ca35be4355ea
Arg [5] : 00000000000000000000000000000000000000000000000000000000000003e8
Arg [6] : 0000000000000000000000000000000000000000000000000000000000000036
Arg [7] : 697066733a2f2f516d4e7951397962757244454a48784a693536737759643734
Arg [8] : 46797a794175667558745a386944584e62714841772f00000000000000000000
Arg [9] : 0000000000000000000000000000000000000000000000000000000000000018
Arg [10] : 5175616e74756d204d656d6f72696573202d204e6f6973650000000000000000
Arg [11] : 0000000000000000000000000000000000000000000000000000000000000005
Arg [12] : 4e4f495345000000000000000000000000000000000000000000000000000000
Deployed Bytecode Sourcemap
542:3997:1:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4240:297;;;;;;:::i;:::-;;:::i;:::-;;;565:14:21;;558:22;540:41;;528:2;513:18;4240:297:1;;;;;;;;2414:98:7;;;:::i;:::-;;;;;;;:::i;3925:217::-;;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;1692:32:21;;;1674:51;;1662:2;1647:18;3925:217:7;1528:203:21;3463:401:7;;;;;;:::i;:::-;;:::i;:::-;;2202:291:2;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;982:74:1:-;;1026:30;982:74;;;;;3025:25:21;;;3013:2;2998:18;982:74:1;2879:177:21;3109:320:2;;;;;;:::i;:::-;;:::i;1535:111:11:-;1622:10;:17;1535:111;;4789:330:7;;;;;;:::i;:::-;;:::i;3917:121:3:-;;;;;;:::i;:::-;3983:7;4009:12;;;:6;:12;;;;;:22;;;;3917:121;2586:249:2;;;;;;:::i;:::-;;:::i;:::-;;;;-1:-1:-1;;;;;4206:32:21;;;4188:51;;4270:2;4255:18;;4248:34;;;;4161:18;2586:249:2;4014:274:21;1876:193:4;;;;;;:::i;:::-;;:::i;1211:253:11:-;;;;;;:::i;:::-;;:::i;2445:202:4:-;;;;;;:::i;:::-;;:::i;2809:102:1:-;;;;;;:::i;:::-;;:::i;5185:179:7:-;;;;;;:::i;:::-;;:::i;451:241:10:-;;;;;;:::i;:::-;;:::i;1718:230:11:-;;;;;;:::i;:::-;;:::i;2117:235:7:-;;;;;;:::i;:::-;;:::i;1855:205::-;;;;;;:::i;:::-;;:::i;2917:211:1:-;;;;;;:::i;:::-;;:::i;2216:97::-;;;:::i;1346:143:4:-;;;;;;:::i;:::-;;:::i;2834:137:3:-;;;;;;:::i;:::-;;:::i;2576:102:7:-;;;:::i;1952:49:3:-;;1997:4;1952:49;;4209:290:7;;;;;;:::i;:::-;;:::i;5430:320::-;;;;;;:::i;:::-;;:::i;1851:345:2:-;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;2744:329:7:-;;;;;;:::i;:::-;;:::i;1657:132:4:-;;;;;;:::i;:::-;;:::i;914:62:1:-;;952:24;914:62;;2157:198:4;;;;;;:::i;:::-;;:::i;1368:438:2:-;;;;;;:::i;:::-;;:::i;:::-;;;;;;;;:::i;4565:162:7:-;;;;;;:::i;:::-;-1:-1:-1;;;;;4685:25:7;;;4662:4;4685:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;4565:162;4240:297:1;4400:4;4439:36;4463:11;4439:23;:36::i;:::-;:91;;;;4491:39;4518:11;4491:26;:39::i;:::-;4420:110;4240:297;-1:-1:-1;;4240:297:1:o;2414:98:7:-;2468:13;2500:5;2493:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2414:98;:::o;3925:217::-;4001:7;7310:16;;;:7;:16;;;;;;-1:-1:-1;;;;;7310:16:7;4020:73;;;;-1:-1:-1;;;4020:73:7;;9880:2:21;4020:73:7;;;9862:21:21;9919:2;9899:18;;;9892:30;9958:34;9938:18;;;9931:62;-1:-1:-1;;;10009:18:21;;;10002:42;10061:19;;4020:73:7;;;;;;;;;-1:-1:-1;4111:24:7;;;;:15;:24;;;;;;-1:-1:-1;;;;;4111:24:7;;3925:217::o;3463:401::-;3543:13;3559:23;3574:7;3559:14;:23::i;:::-;3543:39;;3606:5;-1:-1:-1;;;;;3600:11:7;:2;-1:-1:-1;;;;;3600:11:7;;;3592:57;;;;-1:-1:-1;;;3592:57:7;;10293:2:21;3592:57:7;;;10275:21:21;10332:2;10312:18;;;10305:30;10371:34;10351:18;;;10344:62;-1:-1:-1;;;10422:18:21;;;10415:31;10463:19;;3592:57:7;10091:397:21;3592:57:7;666:10:15;-1:-1:-1;;;;;3681:21:7;;;;:62;;-1:-1:-1;3706:37:7;3723:5;666:10:15;4565:162:7;:::i;3706:37::-;3660:165;;;;-1:-1:-1;;;3660:165:7;;10695:2:21;3660:165:7;;;10677:21:21;10734:2;10714:18;;;10707:30;10773:34;10753:18;;;10746:62;10844:26;10824:18;;;10817:54;10888:19;;3660:165:7;10493:420:21;3660:165:7;3836:21;3845:2;3849:7;3836:8;:21::i;:::-;3533:331;3463:401;;:::o;2202:291:2:-;2301:16;2341:25;2358:7;2341:16;:25::i;:::-;2333:55;;;;-1:-1:-1;;;2333:55:2;;;;;;;:::i;:::-;2422:16;;;2436:1;2422:16;;;;;;;;;2399:20;;2422:16;;;;;;;;;;;-1:-1:-1;;2399:39:2;-1:-1:-1;3441:10:1;2448:3:2;2452:1;2448:6;;;;;;;;:::i;:::-;;;;;;;;;;:18;2483:3;2202:291;-1:-1:-1;;2202:291:2:o;3109:320::-;3210:4;-1:-1:-1;;;;;;3249:46:2;;-1:-1:-1;;;3249:46:2;;:111;;-1:-1:-1;;;;;;;3311:49:2;;-1:-1:-1;;;3311:49:2;3249:111;:173;;;-1:-1:-1;;;;;;;3376:46:2;;-1:-1:-1;;;3376:46:2;3230:192;3109:320;-1:-1:-1;;3109:320:2:o;4789:330:7:-;4978:41;666:10:15;4997:12:7;5011:7;4978:18;:41::i;:::-;4970:103;;;;-1:-1:-1;;;4970:103:7;;;;;;;:::i;:::-;5084:28;5094:4;5100:2;5104:7;5084:9;:28::i;2586:249:2:-;2702:7;2711;2742:25;2759:7;2742:16;:25::i;:::-;2734:55;;;;-1:-1:-1;;;2734:55:2;;;;;;;:::i;:::-;2806:22;2822:5;2806:15;:22::i;:::-;2799:29;;;;2586:249;;;;;:::o;1876:193:4:-;1991:30;2007:4;2013:7;1991:15;:30::i;:::-;2031:18;;;;:12;:18;;;;;:31;;2054:7;2031:22;:31::i;1211:253:11:-;1308:7;1343:23;1360:5;1343:16;:23::i;:::-;1335:5;:31;1327:87;;;;-1:-1:-1;;;1327:87:11;;12016:2:21;1327:87:11;;;11998:21:21;12055:2;12035:18;;;12028:30;12094:34;12074:18;;;12067:62;-1:-1:-1;;;12145:18:21;;;12138:41;12196:19;;1327:87:11;11814:407:21;1327:87:11;-1:-1:-1;;;;;;1431:19:11;;;;;;;;:12;:19;;;;;;;;:26;;;;;;;;;1211:253::o;2445:202:4:-;2563:33;2582:4;2588:7;2563:18;:33::i;:::-;2606:18;;;;:12;:18;;;;;:34;;2632:7;2606:25;:34::i;2809:102:1:-;2697:32;952:24;2718:10;2697:7;:32::i;:::-;2676:109;;;;-1:-1:-1;;;2676:109:1;;12428:2:21;2676:109:1;;;12410:21:21;12467:2;12447:18;;;12440:30;12506:32;12486:18;;;12479:60;12556:18;;2676:109:1;12226:354:21;2676:109:1;2880:24:::1;2892:2;2896:7;2880:11;:24::i;:::-;2809:102:::0;;:::o;5185:179:7:-;5318:39;5335:4;5341:2;5345:7;5318:39;;;;;;;;;;;;:16;:39::i;451:241:10:-;567:41;666:10:15;586:12:10;587:96:15;567:41:10;559:102;;;;-1:-1:-1;;;559:102:10;;12787:2:21;559:102:10;;;12769:21:21;12826:2;12806:18;;;12799:30;12865:34;12845:18;;;12838:62;-1:-1:-1;;;12916:18:21;;;12909:46;12972:19;;559:102:10;12585:412:21;559:102:10;671:14;677:7;671:5;:14::i;:::-;451:241;:::o;1718:230:11:-;1793:7;1828:30;1622:10;:17;;1535:111;1828:30;1820:5;:38;1812:95;;;;-1:-1:-1;;;1812:95:11;;13204:2:21;1812:95:11;;;13186:21:21;13243:2;13223:18;;;13216:30;13282:34;13262:18;;;13255:62;-1:-1:-1;;;13333:18:21;;;13326:42;13385:19;;1812:95:11;13002:408:21;1812:95:11;1924:10;1935:5;1924:17;;;;;;;;:::i;:::-;;;;;;;;;1917:24;;1718:230;;;:::o;2117:235:7:-;2189:7;2224:16;;;:7;:16;;;;;;-1:-1:-1;;;;;2224:16:7;2258:19;2250:73;;;;-1:-1:-1;;;2250:73:7;;13617:2:21;2250:73:7;;;13599:21:21;13656:2;13636:18;;;13629:30;13695:34;13675:18;;;13668:62;-1:-1:-1;;;13746:18:21;;;13739:39;13795:19;;2250:73:7;13415:405:21;1855:205:7;1927:7;-1:-1:-1;;;;;1954:19:7;;1946:74;;;;-1:-1:-1;;;1946:74:7;;14027:2:21;1946:74:7;;;14009:21:21;14066:2;14046:18;;;14039:30;14105:34;14085:18;;;14078:62;-1:-1:-1;;;14156:18:21;;;14149:40;14206:19;;1946:74:7;13825:406:21;1946:74:7;-1:-1:-1;;;;;;2037:16:7;;;;;:9;:16;;;;;;;1855:205::o;2917:211:1:-;2697:32;952:24;2718:10;2697:7;:32::i;:::-;2676:109;;;;-1:-1:-1;;;2676:109:1;;12428:2:21;2676:109:1;;;12410:21:21;12467:2;12447:18;;;12440:30;12506:32;12486:18;;;12479:60;12556:18;;2676:109:1;12226:354:21;2676:109:1;3028:9:::1;3023:99;3047:8;:15;3043:1;:19;3023:99;;;3083:28;3095:2;3099:8;3108:1;3099:11;;;;;;;;:::i;:::-;;;;;;;3083;:28::i;:::-;3064:3:::0;::::1;::::0;::::1;:::i;:::-;;;;3023:99;;2216:97:::0;2262:7;2288:18;:16;:18::i;:::-;2281:25;;2216:97;:::o;1346:143:4:-;1428:7;1454:18;;;:12;:18;;;;;:28;;1476:5;1454:21;:28::i;:::-;1447:35;1346:143;-1:-1:-1;;;1346:143:4:o;2834:137:3:-;2912:4;2935:12;;;:6;:12;;;;;;;;-1:-1:-1;;;;;2935:29:3;;;;;;;;;;;;;;;2834:137::o;2576:102:7:-;2632:13;2664:7;2657:14;;;;;:::i;4209:290::-;-1:-1:-1;;;;;4311:24:7;;666:10:15;4311:24:7;;4303:62;;;;-1:-1:-1;;;4303:62:7;;14710:2:21;4303:62:7;;;14692:21:21;14749:2;14729:18;;;14722:30;14788:27;14768:18;;;14761:55;14833:18;;4303:62:7;14508:349:21;4303:62:7;666:10:15;4376:32:7;;;;:18;:32;;;;;;;;-1:-1:-1;;;;;4376:42:7;;;;;;;;;;;;:53;;-1:-1:-1;;4376:53:7;;;;;;;;;;4444:48;;540:41:21;;;4376:42:7;;666:10:15;4444:48:7;;513:18:21;4444:48:7;;;;;;;4209:290;;:::o;5430:320::-;5599:41;666:10:15;5632:7:7;5599:18;:41::i;:::-;5591:103;;;;-1:-1:-1;;;5591:103:7;;;;;;;:::i;:::-;5704:39;5718:4;5724:2;5728:7;5737:5;5704:13;:39::i;:::-;5430:320;;;;:::o;1851:345:2:-;1957:24;2005:25;2022:7;2005:16;:25::i;:::-;1997:55;;;;-1:-1:-1;;;1997:55:2;;;;;;;:::i;:::-;2100:24;;;2122:1;2100:24;;;;;;;;;2063:34;;2100:24;;;;;;;;;;;-1:-1:-1;;2063:61:2;-1:-1:-1;3625:15:1;2134:9:2;2144:1;2134:12;;;;;;;;:::i;:::-;-1:-1:-1;;;;;2134:29:2;;;:12;;;;;;;;;;;:29;2180:9;1851:345;-1:-1:-1;;1851:345:2:o;2744:329:7:-;7287:4;7310:16;;;:7;:16;;;;;;2817:13;;-1:-1:-1;;;;;7310:16:7;2842:76;;;;-1:-1:-1;;;2842:76:7;;15064:2:21;2842:76:7;;;15046:21:21;15103:2;15083:18;;;15076:30;15142:34;15122:18;;;15115:62;-1:-1:-1;;;15193:18:21;;;15186:45;15248:19;;2842:76:7;14862:411:21;2842:76:7;2929:21;2953:10;:8;:10::i;:::-;2929:34;;3004:1;2986:7;2980:21;:25;:86;;;;;;;;;;;;;;;;;3032:7;3041:18;:7;:16;:18::i;:::-;3015:45;;;;;;;;;:::i;:::-;;;;;;;;;;;;;2973:93;2744:329;-1:-1:-1;;;2744:329:7:o;1657:132:4:-;1729:7;1755:18;;;:12;:18;;;;;:27;;:25;:27::i;2157:198::-;2273:31;2290:4;2296:7;2273:16;:31::i;1368:438:2:-;1465:24;1491:16;1531:25;1548:7;1531:16;:25::i;:::-;1523:55;;;;-1:-1:-1;;;1523:55:2;;;;;;;:::i;:::-;1626:24;;;1648:1;1626:24;;;;;;;;;1589:34;;1626:24;;;;;;;;;-1:-1:-1;;1683:16:2;;;1697:1;1683:16;;;;;;;;;1589:61;;-1:-1:-1;1660:20:2;;1683:16;-1:-1:-1;1683:16:2;;;;;;;;;;;-1:-1:-1;;1660:39:2;-1:-1:-1;3625:15:1;1709:9:2;1719:1;1709:12;;;;;;;;:::i;:::-;-1:-1:-1;;;;;1709:29:2;;;:12;;;;;;;;;;;:29;3441:10:1;1748:3:2;1752:1;1748:6;;;;;;;;:::i;:::-;;;;;;;;;;:18;1784:9;;1795:3;;-1:-1:-1;1368:438:2;-1:-1:-1;;1368:438:2:o;6084:110:3:-;6162:25;6173:4;6179:7;6162:10;:25::i;7545:150:20:-;7615:4;7638:50;7643:3;-1:-1:-1;;;;;7663:23:20;;7638:4;:50::i;549:212:4:-;634:4;-1:-1:-1;;;;;;657:57:4;;-1:-1:-1;;;657:57:4;;:97;;;718:36;742:11;718:23;:36::i;11073:171:7:-;11147:24;;;;:15;:24;;;;;:29;;-1:-1:-1;;;;;;11147:29:7;-1:-1:-1;;;;;11147:29:7;;;;;;;;:24;;11200:23;11147:24;11200:14;:23::i;:::-;-1:-1:-1;;;;;11191:46:7;;;;;;;;;;;11073:171;;:::o;3653:198:1:-;3795:4;7310:16:7;;;:7;:16;;;;;;-1:-1:-1;;;;;7310:16:7;:30;;3822:22:1;7222:125:7;7505:344;7598:4;7310:16;;;:7;:16;;;;;;-1:-1:-1;;;;;7310:16:7;7614:73;;;;-1:-1:-1;;;7614:73:7;;15955:2:21;7614:73:7;;;15937:21:21;15994:2;15974:18;;;15967:30;16033:34;16013:18;;;16006:62;-1:-1:-1;;;16084:18:21;;;16077:42;16136:19;;7614:73:7;15753:408:21;7614:73:7;7697:13;7713:23;7728:7;7713:14;:23::i;:::-;7697:39;;7765:5;-1:-1:-1;;;;;7754:16:7;:7;-1:-1:-1;;;;;7754:16:7;;:51;;;;7798:7;-1:-1:-1;;;;;7774:31:7;:20;7786:7;7774:11;:20::i;:::-;-1:-1:-1;;;;;7774:31:7;;7754:51;:87;;;-1:-1:-1;;;;;;4685:25:7;;;4662:4;4685:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;7809:32;7746:96;7505:344;-1:-1:-1;;;;7505:344:7:o;10402:560::-;10556:4;-1:-1:-1;;;;;10529:31:7;:23;10544:7;10529:14;:23::i;:::-;-1:-1:-1;;;;;10529:31:7;;10521:85;;;;-1:-1:-1;;;10521:85:7;;16368:2:21;10521:85:7;;;16350:21:21;16407:2;16387:18;;;16380:30;16446:34;16426:18;;;16419:62;-1:-1:-1;;;16497:18:21;;;16490:39;16546:19;;10521:85:7;16166:405:21;10521:85:7;-1:-1:-1;;;;;10624:16:7;;10616:65;;;;-1:-1:-1;;;10616:65:7;;16778:2:21;10616:65:7;;;16760:21:21;16817:2;16797:18;;;16790:30;16856:34;16836:18;;;16829:62;-1:-1:-1;;;16907:18:21;;;16900:34;16951:19;;10616:65:7;16576:400:21;10616:65:7;10692:39;10713:4;10719:2;10723:7;10692:20;:39::i;:::-;10793:29;10810:1;10814:7;10793:8;:29::i;:::-;-1:-1:-1;;;;;10833:15:7;;;;;;:9;:15;;;;;:20;;10852:1;;10833:15;:20;;10852:1;;10833:20;:::i;:::-;;;;-1:-1:-1;;;;;;;10863:13:7;;;;;;:9;:13;;;;;:18;;10880:1;;10863:13;:18;;10880:1;;10863:18;:::i;:::-;;;;-1:-1:-1;;10891:16:7;;;;:7;:16;;;;;;:21;;-1:-1:-1;;;;;;10891:21:7;-1:-1:-1;;;;;10891:21:7;;;;;;;;;10928:27;;10891:16;;10928:27;;;;;;;10402:560;;;:::o;2841:262:2:-;2928:16;;3625:15:1;3441:10;3625:15;3090:5:2;3074:12;3081:5;3441:10:1;3074:12:2;:::i;:::-;3073:22;;;;:::i;:::-;3054:42;;;;;;2841:262;;;:::o;4288:145:3:-;3983:7;4009:12;;;:6;:12;;;;;:22;;;2430:30;2441:4;666:10:15;2430::3;:30::i;:::-;4401:25:::1;4412:4;4418:7;4401:10;:25::i;5305:214::-:0;-1:-1:-1;;;;;5400:23:3;;666:10:15;5400:23:3;5392:83;;;;-1:-1:-1;;;5392:83:3;;17876:2:21;5392:83:3;;;17858:21:21;17915:2;17895:18;;;17888:30;17954:34;17934:18;;;17927:62;-1:-1:-1;;;18005:18:21;;;17998:45;18060:19;;5392:83:3;17674:411:21;5392:83:3;5486:26;5498:4;5504:7;5486:11;:26::i;7863:156:20:-;7936:4;7959:53;7967:3;-1:-1:-1;;;;;7987:23:20;;7959:7;:53::i;3134:153:1:-;3203:22;3213:2;3217:7;3203:9;:22::i;:::-;3272:7;3240:40;3253:17;3262:7;3253:8;:17::i;:::-;3240:40;;;;;;:::i;:::-;;;;;;;;3134:153;;:::o;4139:95::-;4207:20;4219:7;4207:11;:20::i;2319:228::-;2378:7;2401:38;2378:7;2401:18;:38::i;:::-;2397:91;;-1:-1:-1;2475:1:1;;2319:228::o;2397:91::-;2504:36;1997:4:3;;2504:13:1;:36::i;8803:156:20:-;8877:7;8927:22;8931:3;8943:5;8927:3;:22::i;6612:307:7:-;6763:28;6773:4;6779:2;6783:7;6763:9;:28::i;:::-;6809:48;6832:4;6838:2;6842:7;6851:5;6809:22;:48::i;:::-;6801:111;;;;-1:-1:-1;;;6801:111:7;;;;;;;:::i;1897:107:1:-;1949:13;1981:16;1974:23;;;;;:::i;275:703:17:-;331:13;548:10;544:51;;-1:-1:-1;;574:10:17;;;;;;;;;;;;-1:-1:-1;;;574:10:17;;;;;275:703::o;544:51::-;619:5;604:12;658:75;665:9;;658:75;;690:8;;;;:::i;:::-;;-1:-1:-1;712:10:17;;-1:-1:-1;720:2:17;712:10;;:::i;:::-;;;658:75;;;742:19;774:6;764:17;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;764:17:17;;742:39;;791:150;798:10;;791:150;;824:11;834:1;824:11;;:::i;:::-;;-1:-1:-1;892:10:17;900:2;892:5;:10;:::i;:::-;879:24;;:2;:24;:::i;:::-;866:39;;849:6;856;849:14;;;;;;;;:::i;:::-;;;;:56;-1:-1:-1;;;;;849:56:17;;;;;;;;-1:-1:-1;919:11:17;928:2;919:11;;:::i;:::-;;;791:150;;8346:115:20;8409:7;8435:19;8443:3;3961:18;;3879:107;4667:147:3;3983:7;4009:12;;;:6;:12;;;;;:22;;;2430:30;2441:4;666:10:15;2430::3;:30::i;:::-;4781:26:::1;4793:4;4799:7;4781:11;:26::i;6572:224::-:0;6646:22;6654:4;6660:7;6646;:22::i;:::-;6641:149;;6684:12;;;;:6;:12;;;;;;;;-1:-1:-1;;;;;6684:29:3;;;;;;;;;:36;;-1:-1:-1;;6684:36:3;6716:4;6684:36;;;6766:12;666:10:15;;587:96;6766:12:3;-1:-1:-1;;;;;6739:40:3;6757:7;-1:-1:-1;;;;;6739:40:3;6751:4;6739:40;;;;;;;;;;6572:224;;:::o;1630:404:20:-;1693:4;3767:19;;;:12;;;:19;;;;;;1709:319;;-1:-1:-1;1751:23:20;;;;;;;;:11;:23;;;;;;;;;;;;;1931:18;;1909:19;;;:12;;;:19;;;;;;:40;;;;1963:11;;1709:319;-1:-1:-1;2012:5:20;2005:12;;2545:202:3;2630:4;-1:-1:-1;;;;;;2653:47:3;;-1:-1:-1;;;2653:47:3;;:87;;;2704:36;2728:11;2704:23;:36::i;3924:209:1:-;4081:45;4108:4;4114:2;4118:7;4081:26;:45::i;3252:484:3:-;3332:22;3340:4;3346:7;3332;:22::i;:::-;3327:403;;3515:41;3543:7;-1:-1:-1;;;;;3515:41:3;3553:2;3515:19;:41::i;:::-;3627:38;3655:4;3662:2;3627:19;:38::i;:::-;3422:265;;;;;;;;;:::i;:::-;;;;-1:-1:-1;;3422:265:3;;;;;;;;;;-1:-1:-1;;;3370:349:3;;;;;;;:::i;6802:225::-;6876:22;6884:4;6890:7;6876;:22::i;:::-;6872:149;;;6946:5;6914:12;;;:6;:12;;;;;;;;-1:-1:-1;;;;;6914:29:3;;;;;;;;;;:37;;-1:-1:-1;;6914:37:3;;;6970:40;666:10:15;;6914:12:3;;6970:40;;6946:5;6970:40;6802:225;;:::o;2202:1388:20:-;2268:4;2405:19;;;:12;;;:19;;;;;;2439:15;;2435:1149;;2808:21;2832:14;2845:1;2832:10;:14;:::i;:::-;2880:18;;2808:38;;-1:-1:-1;2860:17:20;;2880:22;;2901:1;;2880:22;:::i;:::-;2860:42;;2934:13;2921:9;:26;2917:398;;2967:17;2987:3;:11;;2999:9;2987:22;;;;;;;;:::i;:::-;;;;;;;;;2967:42;;3138:9;3109:3;:11;;3121:13;3109:26;;;;;;;;:::i;:::-;;;;;;;;;;;;:38;;;;3221:23;;;:12;;;:23;;;;;:36;;;2917:398;3393:17;;:3;;:17;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;3485:3;:12;;:19;3498:5;3485:19;;;;;;;;;;;3478:26;;;3526:4;3519:11;;;;;;;2435:1149;3568:5;3561:12;;;;;8179:108:7;8254:26;8264:2;8268:7;8254:26;;;;;;;;;;;;:9;:26::i;9730:348::-;9789:13;9805:23;9820:7;9805:14;:23::i;:::-;9789:39;;9839:48;9860:5;9875:1;9879:7;9839:20;:48::i;:::-;9925:29;9942:1;9946:7;9925:8;:29::i;:::-;-1:-1:-1;;;;;9965:16:7;;;;;;:9;:16;;;;;:21;;9985:1;;9965:16;:21;;9985:1;;9965:21;:::i;:::-;;;;-1:-1:-1;;10003:16:7;;;;:7;:16;;;;;;9996:23;;-1:-1:-1;;;;;;9996:23:7;;;10035:36;10011:7;;10003:16;-1:-1:-1;;;;;10035:36:7;;;;;10003:16;;10035:36;9779:299;9730:348;:::o;4328:118:20:-;4395:7;4421:3;:11;;4433:5;4421:18;;;;;;;;:::i;:::-;;;;;;;;;4414:25;;4328:118;;;;:::o;11797:778:7:-;11947:4;-1:-1:-1;;;;;11967:13:7;;1034:20:14;1080:8;11963:606:7;;12002:72;;-1:-1:-1;;;12002:72:7;;-1:-1:-1;;;;;12002:36:7;;;;;:72;;666:10:15;;12053:4:7;;12059:7;;12068:5;;12002:72;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;12002:72:7;;;;;;;;-1:-1:-1;;12002:72:7;;;;;;;;;;;;:::i;:::-;;;11998:519;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;12241:13:7;;12237:266;;12283:60;;-1:-1:-1;;;12283:60:7;;;;;;;:::i;12237:266::-;12455:6;12449:13;12440:6;12436:2;12432:15;12425:38;11998:519;-1:-1:-1;;;;;;12124:51:7;-1:-1:-1;;;12124:51:7;;-1:-1:-1;12117:58:7;;11963:606;-1:-1:-1;12554:4:7;11797:778;;;;;;:::o;910:222:11:-;1012:4;-1:-1:-1;;;;;;1035:50:11;;-1:-1:-1;;;1035:50:11;;:90;;;1089:36;1113:11;1089:23;:36::i;2544:572::-;-1:-1:-1;;;;;2743:18:11;;2739:183;;2777:40;2809:7;3925:10;:17;;3898:24;;;;:15;:24;;;;;:44;;;3952:24;;;;;;;;;;;;3822:161;2777:40;2739:183;;;2846:2;-1:-1:-1;;;;;2838:10:11;:4;-1:-1:-1;;;;;2838:10:11;;2834:88;;2864:47;2897:4;2903:7;2864:32;:47::i;:::-;-1:-1:-1;;;;;2935:16:11;;2931:179;;2967:45;3004:7;2967:36;:45::i;2931:179::-;3039:4;-1:-1:-1;;;;;3033:10:11;:2;-1:-1:-1;;;;;3033:10:11;;3029:81;;3059:40;3087:2;3091:7;3059:27;:40::i;1535:441:17:-;1610:13;1635:19;1667:10;1671:6;1667:1;:10;:::i;:::-;:14;;1680:1;1667:14;:::i;:::-;1657:25;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;1657:25:17;;1635:47;;-1:-1:-1;;;1692:6:17;1699:1;1692:9;;;;;;;;:::i;:::-;;;;:15;-1:-1:-1;;;;;1692:15:17;;;;;;;;;-1:-1:-1;;;1717:6:17;1724:1;1717:9;;;;;;;;:::i;:::-;;;;:15;-1:-1:-1;;;;;1717:15:17;;;;;;;;-1:-1:-1;1747:9:17;1759:10;1763:6;1759:1;:10;:::i;:::-;:14;;1772:1;1759:14;:::i;:::-;1747:26;;1742:132;1779:1;1775;:5;1742:132;;;-1:-1:-1;;;1826:5:17;1834:3;1826:11;1813:25;;;;;;;:::i;:::-;;;;1801:6;1808:1;1801:9;;;;;;;;:::i;:::-;;;;:37;-1:-1:-1;;;;;1801:37:17;;;;;;;;-1:-1:-1;1862:1:17;1852:11;;;;;1782:3;;;:::i;:::-;;;1742:132;;;-1:-1:-1;1891:10:17;;1883:55;;;;-1:-1:-1;;;1883:55:17;;20640:2:21;1883:55:17;;;20622:21:21;;;20659:18;;;20652:30;20718:34;20698:18;;;20691:62;20770:18;;1883:55:17;20438:356:21;8508:311:7;8633:18;8639:2;8643:7;8633:5;:18::i;:::-;8682:54;8713:1;8717:2;8721:7;8730:5;8682:22;:54::i;:::-;8661:151;;;;-1:-1:-1;;;8661:151:7;;;;;;;:::i;1496:300::-;1598:4;-1:-1:-1;;;;;;1633:40:7;;-1:-1:-1;;;1633:40:7;;:104;;-1:-1:-1;;;;;;;1689:48:7;;-1:-1:-1;;;1689:48:7;1633:104;:156;;;-1:-1:-1;;;;;;;;;;871:40:18;;;1753:36:7;763:155:18;4600:970:11;4862:22;4912:1;4887:22;4904:4;4887:16;:22::i;:::-;:26;;;;:::i;:::-;4923:18;4944:26;;;:17;:26;;;;;;4862:51;;-1:-1:-1;5074:28:11;;;5070:323;;-1:-1:-1;;;;;5140:18:11;;5118:19;5140:18;;;:12;:18;;;;;;;;:34;;;;;;;;;5189:30;;;;;;:44;;;5305:30;;:17;:30;;;;;:43;;;5070:323;-1:-1:-1;5486:26:11;;;;:17;:26;;;;;;;;5479:33;;;-1:-1:-1;;;;;5529:18:11;;;;;:12;:18;;;;;:34;;;;;;;5522:41;4600:970::o;5858:1061::-;6132:10;:17;6107:22;;6132:21;;6152:1;;6132:21;:::i;:::-;6163:18;6184:24;;;:15;:24;;;;;;6552:10;:26;;6107:46;;-1:-1:-1;6184:24:11;;6107:46;;6552:26;;;;;;:::i;:::-;;;;;;;;;6530:48;;6614:11;6589:10;6600;6589:22;;;;;;;;:::i;:::-;;;;;;;;;;;;:36;;;;6693:28;;;:15;:28;;;;;;;:41;;;6862:24;;;;;6855:31;6896:10;:16;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;5929:990;;;5858:1061;:::o;3410:217::-;3494:14;3511:20;3528:2;3511:16;:20::i;:::-;-1:-1:-1;;;;;3541:16:11;;;;;;;:12;:16;;;;;;;;:24;;;;;;;;:34;;;3585:26;;;:17;:26;;;;;;:35;;;;-1:-1:-1;3410:217:11:o;9141:372:7:-;-1:-1:-1;;;;;9220:16:7;;9212:61;;;;-1:-1:-1;;;9212:61:7;;21001:2:21;9212:61:7;;;20983:21:21;;;21020:18;;;21013:30;21079:34;21059:18;;;21052:62;21131:18;;9212:61:7;20799:356:21;9212:61:7;7287:4;7310:16;;;:7;:16;;;;;;-1:-1:-1;;;;;7310:16:7;:30;9283:58;;;;-1:-1:-1;;;9283:58:7;;21362:2:21;9283:58:7;;;21344:21:21;21401:2;21381:18;;;21374:30;21440;21420:18;;;21413:58;21488:18;;9283:58:7;21160:352:21;9283:58:7;9352:45;9381:1;9385:2;9389:7;9352:20;:45::i;:::-;-1:-1:-1;;;;;9408:13:7;;;;;;:9;:13;;;;;:18;;9425:1;;9408:13;:18;;9425:1;;9408:18;:::i;:::-;;;;-1:-1:-1;;9436:16:7;;;;:7;:16;;;;;;:21;;-1:-1:-1;;;;;;9436:21:7;-1:-1:-1;;;;;9436:21:7;;;;;;;;9473:33;;9436:16;;;9473:33;;9436:16;;9473:33;9141:372;;:::o;14:131:21:-;-1:-1:-1;;;;;;88:32:21;;78:43;;68:71;;135:1;132;125:12;150:245;208:6;261:2;249:9;240:7;236:23;232:32;229:52;;;277:1;274;267:12;229:52;316:9;303:23;335:30;359:5;335:30;:::i;592:258::-;664:1;674:113;688:6;685:1;682:13;674:113;;;764:11;;;758:18;745:11;;;738:39;710:2;703:10;674:113;;;805:6;802:1;799:13;796:48;;;-1:-1:-1;;840:1:21;822:16;;815:27;592:258::o;855:::-;897:3;935:5;929:12;962:6;957:3;950:19;978:63;1034:6;1027:4;1022:3;1018:14;1011:4;1004:5;1000:16;978:63;:::i;:::-;1095:2;1074:15;-1:-1:-1;;1070:29:21;1061:39;;;;1102:4;1057:50;;855:258;-1:-1:-1;;855:258:21:o;1118:220::-;1267:2;1256:9;1249:21;1230:4;1287:45;1328:2;1317:9;1313:18;1305:6;1287:45;:::i;1343:180::-;1402:6;1455:2;1443:9;1434:7;1430:23;1426:32;1423:52;;;1471:1;1468;1461:12;1423:52;-1:-1:-1;1494:23:21;;1343:180;-1:-1:-1;1343:180:21:o;1736:173::-;1804:20;;-1:-1:-1;;;;;1853:31:21;;1843:42;;1833:70;;1899:1;1896;1889:12;1833:70;1736:173;;;:::o;1914:254::-;1982:6;1990;2043:2;2031:9;2022:7;2018:23;2014:32;2011:52;;;2059:1;2056;2049:12;2011:52;2082:29;2101:9;2082:29;:::i;:::-;2072:39;2158:2;2143:18;;;;2130:32;;-1:-1:-1;;;1914:254:21:o;2173:435::-;2226:3;2264:5;2258:12;2291:6;2286:3;2279:19;2317:4;2346:2;2341:3;2337:12;2330:19;;2383:2;2376:5;2372:14;2404:1;2414:169;2428:6;2425:1;2422:13;2414:169;;;2489:13;;2477:26;;2523:12;;;;2558:15;;;;2450:1;2443:9;2414:169;;;-1:-1:-1;2599:3:21;;2173:435;-1:-1:-1;;;;;2173:435:21:o;2613:261::-;2792:2;2781:9;2774:21;2755:4;2812:56;2864:2;2853:9;2849:18;2841:6;2812:56;:::i;3243:328::-;3320:6;3328;3336;3389:2;3377:9;3368:7;3364:23;3360:32;3357:52;;;3405:1;3402;3395:12;3357:52;3428:29;3447:9;3428:29;:::i;:::-;3418:39;;3476:38;3510:2;3499:9;3495:18;3476:38;:::i;:::-;3466:48;;3561:2;3550:9;3546:18;3533:32;3523:42;;3243:328;;;;;:::o;3761:248::-;3829:6;3837;3890:2;3878:9;3869:7;3865:23;3861:32;3858:52;;;3906:1;3903;3896:12;3858:52;-1:-1:-1;;3929:23:21;;;3999:2;3984:18;;;3971:32;;-1:-1:-1;3761:248:21:o;4293:254::-;4361:6;4369;4422:2;4410:9;4401:7;4397:23;4393:32;4390:52;;;4438:1;4435;4428:12;4390:52;4474:9;4461:23;4451:33;;4503:38;4537:2;4526:9;4522:18;4503:38;:::i;:::-;4493:48;;4293:254;;;;;:::o;4552:186::-;4611:6;4664:2;4652:9;4643:7;4639:23;4635:32;4632:52;;;4680:1;4677;4670:12;4632:52;4703:29;4722:9;4703:29;:::i;4743:127::-;4804:10;4799:3;4795:20;4792:1;4785:31;4835:4;4832:1;4825:15;4859:4;4856:1;4849:15;4875:275;4946:2;4940:9;5011:2;4992:13;;-1:-1:-1;;4988:27:21;4976:40;;5046:18;5031:34;;5067:22;;;5028:62;5025:88;;;5093:18;;:::i;:::-;5129:2;5122:22;4875:275;;-1:-1:-1;4875:275:21:o;5155:1020::-;5248:6;5256;5309:2;5297:9;5288:7;5284:23;5280:32;5277:52;;;5325:1;5322;5315:12;5277:52;5348:29;5367:9;5348:29;:::i;:::-;5338:39;;5396:2;5449;5438:9;5434:18;5421:32;5472:18;5513:2;5505:6;5502:14;5499:34;;;5529:1;5526;5519:12;5499:34;5567:6;5556:9;5552:22;5542:32;;5612:7;5605:4;5601:2;5597:13;5593:27;5583:55;;5634:1;5631;5624:12;5583:55;5670:2;5657:16;5692:2;5688;5685:10;5682:36;;;5698:18;;:::i;:::-;5744:2;5741:1;5737:10;5727:20;;5767:28;5791:2;5787;5783:11;5767:28;:::i;:::-;5829:15;;;5899:11;;;5895:20;;;5860:12;;;;5927:19;;;5924:39;;;5959:1;5956;5949:12;5924:39;5983:11;;;;6003:142;6019:6;6014:3;6011:15;6003:142;;;6085:17;;6073:30;;6036:12;;;;6123;;;;6003:142;;;6164:5;6154:15;;;;;;;;5155:1020;;;;;:::o;6433:347::-;6498:6;6506;6559:2;6547:9;6538:7;6534:23;6530:32;6527:52;;;6575:1;6572;6565:12;6527:52;6598:29;6617:9;6598:29;:::i;:::-;6588:39;;6677:2;6666:9;6662:18;6649:32;6724:5;6717:13;6710:21;6703:5;6700:32;6690:60;;6746:1;6743;6736:12;6690:60;6769:5;6759:15;;;6433:347;;;;;:::o;6785:980::-;6880:6;6888;6896;6904;6957:3;6945:9;6936:7;6932:23;6928:33;6925:53;;;6974:1;6971;6964:12;6925:53;6997:29;7016:9;6997:29;:::i;:::-;6987:39;;7045:2;7066:38;7100:2;7089:9;7085:18;7066:38;:::i;:::-;7056:48;;7151:2;7140:9;7136:18;7123:32;7113:42;;7206:2;7195:9;7191:18;7178:32;7229:18;7270:2;7262:6;7259:14;7256:34;;;7286:1;7283;7276:12;7256:34;7324:6;7313:9;7309:22;7299:32;;7369:7;7362:4;7358:2;7354:13;7350:27;7340:55;;7391:1;7388;7381:12;7340:55;7427:2;7414:16;7449:2;7445;7442:10;7439:36;;;7455:18;;:::i;:::-;7497:53;7540:2;7521:13;;-1:-1:-1;;7517:27:21;7513:36;;7497:53;:::i;:::-;7484:66;;7573:2;7566:5;7559:17;7613:7;7608:2;7603;7599;7595:11;7591:20;7588:33;7585:53;;;7634:1;7631;7624:12;7585:53;7689:2;7684;7680;7676:11;7671:2;7664:5;7660:14;7647:45;7733:1;7728:2;7723;7716:5;7712:14;7708:23;7701:34;;7754:5;7744:15;;;;;6785:980;;;;;;;:::o;7770:469::-;7831:3;7869:5;7863:12;7896:6;7891:3;7884:19;7922:4;7951:2;7946:3;7942:12;7935:19;;7988:2;7981:5;7977:14;8009:1;8019:195;8033:6;8030:1;8027:13;8019:195;;;8098:13;;-1:-1:-1;;;;;8094:39:21;8082:52;;8154:12;;;;8189:15;;;;8130:1;8048:9;8019:195;;8244:285;8439:2;8428:9;8421:21;8402:4;8459:64;8519:2;8508:9;8504:18;8496:6;8459:64;:::i;8534:489::-;8807:2;8796:9;8789:21;8770:4;8833:64;8893:2;8882:9;8878:18;8870:6;8833:64;:::i;:::-;8945:9;8937:6;8933:22;8928:2;8917:9;8913:18;8906:50;8973:44;9010:6;9002;8973:44;:::i;:::-;8965:52;8534:489;-1:-1:-1;;;;;8534:489:21:o;9028:260::-;9096:6;9104;9157:2;9145:9;9136:7;9132:23;9128:32;9125:52;;;9173:1;9170;9163:12;9125:52;9196:29;9215:9;9196:29;:::i;:::-;9186:39;;9244:38;9278:2;9267:9;9263:18;9244:38;:::i;9293:380::-;9372:1;9368:12;;;;9415;;;9436:61;;9490:4;9482:6;9478:17;9468:27;;9436:61;9543:2;9535:6;9532:14;9512:18;9509:38;9506:161;;;9589:10;9584:3;9580:20;9577:1;9570:31;9624:4;9621:1;9614:15;9652:4;9649:1;9642:15;9506:161;;9293:380;;;:::o;10918:341::-;11120:2;11102:21;;;11159:2;11139:18;;;11132:30;-1:-1:-1;;;11193:2:21;11178:18;;11171:47;11250:2;11235:18;;10918:341::o;11264:127::-;11325:10;11320:3;11316:20;11313:1;11306:31;11356:4;11353:1;11346:15;11380:4;11377:1;11370:15;11396:413;11598:2;11580:21;;;11637:2;11617:18;;;11610:30;11676:34;11671:2;11656:18;;11649:62;-1:-1:-1;;;11742:2:21;11727:18;;11720:47;11799:3;11784:19;;11396:413::o;14236:127::-;14297:10;14292:3;14288:20;14285:1;14278:31;14328:4;14325:1;14318:15;14352:4;14349:1;14342:15;14368:135;14407:3;-1:-1:-1;;14428:17:21;;14425:43;;;14448:18;;:::i;:::-;-1:-1:-1;14495:1:21;14484:13;;14368:135::o;15278:470::-;15457:3;15495:6;15489:13;15511:53;15557:6;15552:3;15545:4;15537:6;15533:17;15511:53;:::i;:::-;15627:13;;15586:16;;;;15649:57;15627:13;15586:16;15683:4;15671:17;;15649:57;:::i;:::-;15722:20;;15278:470;-1:-1:-1;;;;15278:470:21:o;16981:125::-;17021:4;17049:1;17046;17043:8;17040:34;;;17054:18;;:::i;:::-;-1:-1:-1;17091:9:21;;16981:125::o;17111:128::-;17151:3;17182:1;17178:6;17175:1;17172:13;17169:39;;;17188:18;;:::i;:::-;-1:-1:-1;17224:9:21;;17111:128::o;17244:168::-;17284:7;17350:1;17346;17342:6;17338:14;17335:1;17332:21;17327:1;17320:9;17313:17;17309:45;17306:71;;;17357:18;;:::i;:::-;-1:-1:-1;17397:9:21;;17244:168::o;17417:127::-;17478:10;17473:3;17469:20;17466:1;17459:31;17509:4;17506:1;17499:15;17533:4;17530:1;17523:15;17549:120;17589:1;17615;17605:35;;17620:18;;:::i;:::-;-1:-1:-1;17654:9:21;;17549:120::o;18090:414::-;18292:2;18274:21;;;18331:2;18311:18;;;18304:30;18370:34;18365:2;18350:18;;18343:62;-1:-1:-1;;;18436:2:21;18421:18;;18414:48;18494:3;18479:19;;18090:414::o;18509:112::-;18541:1;18567;18557:35;;18572:18;;:::i;:::-;-1:-1:-1;18606:9:21;;18509:112::o;18626:786::-;19037:25;19032:3;19025:38;19007:3;19092:6;19086:13;19108:62;19163:6;19158:2;19153:3;19149:12;19142:4;19134:6;19130:17;19108:62;:::i;:::-;-1:-1:-1;;;19229:2:21;19189:16;;;19221:11;;;19214:40;19279:13;;19301:63;19279:13;19350:2;19342:11;;19335:4;19323:17;;19301:63;:::i;:::-;19384:17;19403:2;19380:26;;18626:786;-1:-1:-1;;;;18626:786:21:o;19417:127::-;19478:10;19473:3;19469:20;19466:1;19459:31;19509:4;19506:1;19499:15;19533:4;19530:1;19523:15;19549:489;-1:-1:-1;;;;;19818:15:21;;;19800:34;;19870:15;;19865:2;19850:18;;19843:43;19917:2;19902:18;;19895:34;;;19965:3;19960:2;19945:18;;19938:31;;;19743:4;;19986:46;;20012:19;;20004:6;19986:46;:::i;:::-;19978:54;19549:489;-1:-1:-1;;;;;;19549:489:21:o;20043:249::-;20112:6;20165:2;20153:9;20144:7;20140:23;20136:32;20133:52;;;20181:1;20178;20171:12;20133:52;20213:9;20207:16;20232:30;20256:5;20232:30;:::i;20297:136::-;20336:3;20364:5;20354:39;;20373:18;;:::i;:::-;-1:-1:-1;;;20409:18:21;;20297:136::o
Swarm Source
ipfs://abf2a302cfa12da7443d2253b7d87f93a8bd603d70837f361c090aac737805a5
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.