Feature Tip: Add private address tag to any address under My Name Tag !
ERC-721
Overview
Max Total Supply
105 GROSSE
Holders
64
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
2 GROSSELoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
ReservedToken
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-2.0 contract ReservedToken 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"); 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); _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) internal 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":[{"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
60c06040523480156200001157600080fd5b5060405162002ef438038062002ef48339810160408190526200003491620003cd565b8451859085906200004d90600090602085019062000241565b5080516200006390600190602084019062000241565b506200006d915050565b85516200008290600c90602089019062000241565b5062000090600084620000d8565b620000bc7f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a684620000d8565b6001600160a01b0390911660805260a05250620004d092505050565b620000ef82826200011b60201b620010ac1760201c565b6000828152600b6020908152604090912062000116918390620010b66200012b821b17901c565b505050565b6200012782826200014b565b5050565b600062000142836001600160a01b038416620001ef565b90505b92915050565b6000828152600a602090815260408083206001600160a01b038516845290915290205460ff1662000127576000828152600a602090815260408083206001600160a01b03851684529091529020805460ff19166001179055620001ab3390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b6000818152600183016020526040812054620002385750815460018181018455600084815260208082209093018490558454848252828601909352604090209190915562000145565b50600062000145565b8280546200024f9062000493565b90600052602060002090601f016020900481019282620002735760008555620002be565b82601f106200028e57805160ff1916838001178555620002be565b82800160010185558215620002be579182015b82811115620002be578251825591602001919060010190620002a1565b50620002cc929150620002d0565b5090565b5b80821115620002cc5760008155600101620002d1565b634e487b7160e01b600052604160045260246000fd5b600082601f8301126200030f57600080fd5b81516001600160401b03808211156200032c576200032c620002e7565b604051601f8301601f19908116603f01168101908282118183101715620003575762000357620002e7565b816040528381526020925086838588010111156200037457600080fd5b600091505b8382101562000398578582018301518183018401529082019062000379565b83821115620003aa5760008385830101525b9695505050505050565b6001600160a01b0381168114620003ca57600080fd5b50565b60008060008060008060c08789031215620003e757600080fd5b86516001600160401b0380821115620003ff57600080fd5b6200040d8a838b01620002fd565b975060208901519150808211156200042457600080fd5b620004328a838b01620002fd565b965060408901519150808211156200044957600080fd5b506200045889828a01620002fd565b94505060608701516200046b81620003b4565b60808801519093506200047e81620003b4565b8092505060a087015190509295509295509295565b600181811c90821680620004a857607f821691505b60208210811415620004ca57634e487b7160e01b600052602260045260246000fd5b50919050565b60805160a0516129e262000512600039600081816107c3015281816110650152611496015260008181610e5f01528181611019015261147501526129e26000f3fe608060405234801561001057600080fd5b50600436106101fb5760003560e01c80636352211e1161011a578063a22cb465116100ad578063ca15c8731161007c578063ca15c8731461046c578063d53913931461047f578063d547741f146104a6578063d5a06d4c146104b9578063e985e9c5146104da57600080fd5b8063a22cb46514610413578063b88d4fde14610426578063b9c4d9fb14610439578063c87b56dd1461045957600080fd5b80639010d07c116100e95780639010d07c146103dd57806391d14854146103f057806395d89b4114610403578063a217fddf1461040b57600080fd5b80636352211e1461039c57806370a08231146103af57806375ceb341146103c25780638da5cb5b146103d557600080fd5b80632a55205a1161019257806340c10f191161016157806340c10f191461035057806342842e0e1461036357806342966c68146103765780634f6ccce71461038957600080fd5b80632a55205a146102e55780632f2ff15d146103175780632f745c591461032a57806336568abe1461033d57600080fd5b80630ebd4c7f116101ce5780630ebd4c7f1461027d57806318160ddd1461029d57806323b872dd146102af578063248a9ca3146102c257600080fd5b806301ffc9a71461020057806306fdde0314610228578063081812fc1461023d578063095ea7b314610268575b600080fd5b61021361020e36600461222b565b610516565b60405190151581526020015b60405180910390f35b610230610536565b60405161021f91906122a0565b61025061024b3660046122b3565b6105c8565b6040516001600160a01b03909116815260200161021f565b61027b6102763660046122e8565b610662565b005b61029061028b3660046122b3565b610778565b60405161021f919061234d565b6008545b60405190815260200161021f565b61027b6102bd366004612360565b610806565b6102a16102d03660046122b3565b6000908152600a602052604090206001015490565b6102f86102f336600461239c565b610838565b604080516001600160a01b03909316835260208301919091520161021f565b61027b6103253660046123be565b610874565b6102a16103383660046122e8565b610896565b61027b61034b3660046123be565b61092c565b61027b61035e3660046122e8565b61094e565b61027b610371366004612360565b6109d2565b61027b6103843660046122b3565b6109ed565b6102a16103973660046122b3565b610a67565b6102506103aa3660046122b3565b610afa565b6102a16103bd3660046123ea565b610b71565b61027b6103d036600461244c565b610bf8565b610250610caf565b6102506103eb36600461239c565b610cbe565b6102136103fe3660046123be565b610cdd565b610230610d08565b6102a1600081565b61027b610421366004612505565b610d17565b61027b610434366004612541565b610ddc565b61044c6104473660046122b3565b610e14565b60405161021f919061263a565b6102306104673660046122b3565b610eaf565b6102a161047a3660046122b3565b610f89565b6102a17f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a681565b61027b6104b43660046123be565b610fa0565b6104cc6104c73660046122b3565b610faa565b60405161021f92919061264d565b6102136104e836600461267b565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b6000610521826110cb565b806105305750610530826110f0565b92915050565b606060008054610545906126a5565b80601f0160208091040260200160405190810160405280929190818152602001828054610571906126a5565b80156105be5780601f10610593576101008083540402835291602001916105be565b820191906000526020600020905b8154815290600101906020018083116105a157829003601f168201915b5050505050905090565b6000818152600260205260408120546001600160a01b03166106465760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084015b60405180910390fd5b506000908152600460205260409020546001600160a01b031690565b600061066d82610afa565b9050806001600160a01b0316836001600160a01b031614156106db5760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b606482015260840161063d565b336001600160a01b03821614806106f757506106f781336104e8565b6107695760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000606482015260840161063d565b6107738383611141565b505050565b6060610783826111af565b61079f5760405162461bcd60e51b815260040161063d906126e0565b604080516001808252818301909252600091602080830190803683370190505090507f0000000000000000000000000000000000000000000000000000000000000000816000815181106107f5576107f561270b565b602090810291909101015292915050565b610811335b826111ce565b61082d5760405162461bcd60e51b815260040161063d90612721565b6107738383836112c5565b600080610844846111af565b6108605760405162461bcd60e51b815260040161063d906126e0565b61086983611470565b915091509250929050565b61087e82826114d8565b6000828152600b6020526040902061077390826110b6565b60006108a183610b71565b82106109035760405162461bcd60e51b815260206004820152602b60248201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560448201526a74206f6620626f756e647360a81b606482015260840161063d565b506001600160a01b03919091166000908152600660209081526040808320938352929052205490565b61093682826114fe565b6000828152600b602052604090206107739082611578565b6109787f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a633610cdd565b6109c45760405162461bcd60e51b815260206004820152601e60248201527f5265737472696374656420746f20617070726f766564206d696e746572730000604482015260640161063d565b6109ce828261158d565b5050565b61077383838360405180602001604052806000815250610ddc565b6109f63361080b565b610a5b5760405162461bcd60e51b815260206004820152603060248201527f4552433732314275726e61626c653a2063616c6c6572206973206e6f74206f7760448201526f1b995c881b9bdc88185c1c1c9bdd995960821b606482015260840161063d565b610a64816115db565b50565b6000610a7260085490565b8210610ad55760405162461bcd60e51b815260206004820152602c60248201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60448201526b7574206f6620626f756e647360a01b606482015260840161063d565b60088281548110610ae857610ae861270b565b90600052602060002001549050919050565b6000818152600260205260408120546001600160a01b0316806105305760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201526832b73a103a37b5b2b760b91b606482015260840161063d565b60006001600160a01b038216610bdc5760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b606482015260840161063d565b506001600160a01b031660009081526003602052604090205490565b610c227f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a633610cdd565b610c6e5760405162461bcd60e51b815260206004820152601e60248201527f5265737472696374656420746f20617070726f766564206d696e746572730000604482015260640161063d565b60005b815181101561077357610c9d83838381518110610c9057610c9061270b565b602002602001015161158d565b80610ca781612788565b915050610c71565b6000610cb96115e4565b905090565b6000828152600b60205260408120610cd69083611604565b9392505050565b6000918252600a602090815260408084206001600160a01b0393909316845291905290205460ff1690565b606060018054610545906126a5565b6001600160a01b038216331415610d705760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c657200000000000000604482015260640161063d565b3360008181526005602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b610de633836111ce565b610e025760405162461bcd60e51b815260040161063d90612721565b610e0e84848484611610565b50505050565b6060610e1f826111af565b610e3b5760405162461bcd60e51b815260040161063d906126e0565b604080516001808252818301909252600091602080830190803683370190505090507f000000000000000000000000000000000000000000000000000000000000000081600081518110610e9157610e9161270b565b6001600160a01b039092166020928302919091019091015292915050565b6000818152600260205260409020546060906001600160a01b0316610f2e5760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b606482015260840161063d565b6000610f38611643565b90506000815111610f585760405180602001604052806000815250610cd6565b80610f6284611652565b604051602001610f739291906127a3565b6040516020818303038152906040529392505050565b6000818152600b6020526040812061053090611750565b610936828261175a565b606080610fb6836111af565b610fd25760405162461bcd60e51b815260040161063d906126e0565b6040805160018082528183019092526000916020808301908036833750506040805160018082528183019092529293506000929150602080830190803683370190505090507f00000000000000000000000000000000000000000000000000000000000000008260008151811061104b5761104b61270b565b6001600160a01b03909216602092830291909101909101527f0000000000000000000000000000000000000000000000000000000000000000816000815181106110975761109761270b565b60209081029190910101529094909350915050565b6109ce8282611780565b6000610cd6836001600160a01b038416611806565b60006001600160e01b03198216635a05180f60e01b1480610530575061053082611855565b60006001600160e01b03198216632dde656160e21b148061112157506001600160e01b031982166335681b5360e21b145b8061053057506001600160e01b0319821663152a902d60e11b1492915050565b600081815260046020526040902080546001600160a01b0319166001600160a01b038416908117909155819061117682610afa565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000818152600260205260408120546001600160a01b03161515610530565b6000818152600260205260408120546001600160a01b03166112475760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b606482015260840161063d565b600061125283610afa565b9050806001600160a01b0316846001600160a01b0316148061128d5750836001600160a01b0316611282846105c8565b6001600160a01b0316145b806112bd57506001600160a01b0380821660009081526005602090815260408083209388168352929052205460ff165b949350505050565b826001600160a01b03166112d882610afa565b6001600160a01b0316146113405760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201526839903737ba1037bbb760b91b606482015260840161063d565b6001600160a01b0382166113a25760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b606482015260840161063d565b6113ad83838361187a565b6113b8600082611141565b6001600160a01b03831660009081526003602052604081208054600192906113e19084906127d2565b90915550506001600160a01b038216600090815260036020526040812080546001929061140f9084906127e9565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b6000807f00000000000000000000000000000000000000000000000000000000000000007f0000000000000000000000000000000000000000000000000000000000000000816127106114c38784612801565b6114cd9190612836565b935093505050915091565b6000828152600a60205260409020600101546114f48133611885565b6107738383611780565b6001600160a01b038116331461156e5760405162461bcd60e51b815260206004820152602f60248201527f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560448201526e103937b632b9903337b91039b2b63360891b606482015260840161063d565b6109ce82826118e9565b6000610cd6836001600160a01b038416611950565b6115978282611a43565b807fa109ba539900bf1b633f956d63c96fc89b814c7287f7aa50a9216d0b556572076115c283610eaf565b6040516115cf91906122a0565b60405180910390a25050565b610a6481611a5d565b60006115ef81610f89565b6115f95750600090565b610cb9600080610cbe565b6000610cd68383611b04565b61161b8484846112c5565b61162784848484611b2e565b610e0e5760405162461bcd60e51b815260040161063d9061284a565b6060600c8054610545906126a5565b6060816116765750506040805180820190915260018152600360fc1b602082015290565b8160005b81156116a0578061168a81612788565b91506116999050600a83612836565b915061167a565b60008167ffffffffffffffff8111156116bb576116bb612405565b6040519080825280601f01601f1916602001820160405280156116e5576020820181803683370190505b5090505b84156112bd576116fa6001836127d2565b9150611707600a8661289c565b6117129060306127e9565b60f81b8183815181106117275761172761270b565b60200101906001600160f81b031916908160001a905350611749600a86612836565b94506116e9565b6000610530825490565b6000828152600a60205260409020600101546117768133611885565b61077383836118e9565b61178a8282610cdd565b6109ce576000828152600a602090815260408083206001600160a01b03851684529091529020805460ff191660011790556117c23390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b600081815260018301602052604081205461184d57508154600181810184556000848152602080822090930184905584548482528286019093526040902091909155610530565b506000610530565b60006001600160e01b03198216637965db0b60e01b1480610530575061053082611c3b565b610773838383611c60565b61188f8282610cdd565b6109ce576118a7816001600160a01b03166014611d18565b6118b2836020611d18565b6040516020016118c39291906128b0565b60408051601f198184030181529082905262461bcd60e51b825261063d916004016122a0565b6118f38282610cdd565b156109ce576000828152600a602090815260408083206001600160a01b0385168085529252808320805460ff1916905551339285917ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9190a45050565b60008181526001830160205260408120548015611a395760006119746001836127d2565b8554909150600090611988906001906127d2565b90508181146119ed5760008660000182815481106119a8576119a861270b565b90600052602060002001549050808760000184815481106119cb576119cb61270b565b6000918252602080832090910192909255918252600188019052604090208390555b85548690806119fe576119fe612925565b600190038181906000526020600020016000905590558560010160008681526020019081526020016000206000905560019350505050610530565b6000915050610530565b6109ce828260405180602001604052806000815250611eb4565b6000611a6882610afa565b9050611a768160008461187a565b611a81600083611141565b6001600160a01b0381166000908152600360205260408120805460019290611aaa9084906127d2565b909155505060008281526002602052604080822080546001600160a01b0319169055518391906001600160a01b038416907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908390a45050565b6000826000018281548110611b1b57611b1b61270b565b9060005260206000200154905092915050565b60006001600160a01b0384163b15611c3057604051630a85bd0160e11b81526001600160a01b0385169063150b7a0290611b7290339089908890889060040161293b565b602060405180830381600087803b158015611b8c57600080fd5b505af1925050508015611bbc575060408051601f3d908101601f19168201909252611bb991810190612978565b60015b611c16573d808015611bea576040519150601f19603f3d011682016040523d82523d6000602084013e611bef565b606091505b508051611c0e5760405162461bcd60e51b815260040161063d9061284a565b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490506112bd565b506001949350505050565b60006001600160e01b0319821663780e9d6360e01b1480610530575061053082611ee7565b6001600160a01b038316611cbb57611cb681600880546000838152600960205260408120829055600182018355919091527ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee30155565b611cde565b816001600160a01b0316836001600160a01b031614611cde57611cde8382611f37565b6001600160a01b038216611cf55761077381611fd4565b826001600160a01b0316826001600160a01b031614610773576107738282612083565b60606000611d27836002612801565b611d329060026127e9565b67ffffffffffffffff811115611d4a57611d4a612405565b6040519080825280601f01601f191660200182016040528015611d74576020820181803683370190505b509050600360fc1b81600081518110611d8f57611d8f61270b565b60200101906001600160f81b031916908160001a905350600f60fb1b81600181518110611dbe57611dbe61270b565b60200101906001600160f81b031916908160001a9053506000611de2846002612801565b611ded9060016127e9565b90505b6001811115611e65576f181899199a1a9b1b9c1cb0b131b232b360811b85600f1660108110611e2157611e2161270b565b1a60f81b828281518110611e3757611e3761270b565b60200101906001600160f81b031916908160001a90535060049490941c93611e5e81612995565b9050611df0565b508315610cd65760405162461bcd60e51b815260206004820181905260248201527f537472696e67733a20686578206c656e67746820696e73756666696369656e74604482015260640161063d565b611ebe83836120c7565b611ecb6000848484611b2e565b6107735760405162461bcd60e51b815260040161063d9061284a565b60006001600160e01b031982166380ac58cd60e01b1480611f1857506001600160e01b03198216635b5e139f60e01b145b8061053057506301ffc9a760e01b6001600160e01b0319831614610530565b60006001611f4484610b71565b611f4e91906127d2565b600083815260076020526040902054909150808214611fa1576001600160a01b03841660009081526006602090815260408083208584528252808320548484528184208190558352600790915290208190555b5060009182526007602090815260408084208490556001600160a01b039094168352600681528383209183525290812055565b600854600090611fe6906001906127d2565b6000838152600960205260408120546008805493945090928490811061200e5761200e61270b565b90600052602060002001549050806008838154811061202f5761202f61270b565b600091825260208083209091019290925582815260099091526040808220849055858252812055600880548061206757612067612925565b6001900381819060005260206000200160009055905550505050565b600061208e83610b71565b6001600160a01b039093166000908152600660209081526040808320868452825280832085905593825260079052919091209190915550565b6001600160a01b03821661211d5760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f2061646472657373604482015260640161063d565b6000818152600260205260409020546001600160a01b0316156121825760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000604482015260640161063d565b61218e6000838361187a565b6001600160a01b03821660009081526003602052604081208054600192906121b79084906127e9565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b6001600160e01b031981168114610a6457600080fd5b60006020828403121561223d57600080fd5b8135610cd681612215565b60005b8381101561226357818101518382015260200161224b565b83811115610e0e5750506000910152565b6000815180845261228c816020860160208601612248565b601f01601f19169290920160200192915050565b602081526000610cd66020830184612274565b6000602082840312156122c557600080fd5b5035919050565b80356001600160a01b03811681146122e357600080fd5b919050565b600080604083850312156122fb57600080fd5b612304836122cc565b946020939093013593505050565b600081518084526020808501945080840160005b8381101561234257815187529582019590820190600101612326565b509495945050505050565b602081526000610cd66020830184612312565b60008060006060848603121561237557600080fd5b61237e846122cc565b925061238c602085016122cc565b9150604084013590509250925092565b600080604083850312156123af57600080fd5b50508035926020909101359150565b600080604083850312156123d157600080fd5b823591506123e1602084016122cc565b90509250929050565b6000602082840312156123fc57600080fd5b610cd6826122cc565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f1916810167ffffffffffffffff8111828210171561244457612444612405565b604052919050565b6000806040838503121561245f57600080fd5b612468836122cc565b915060208084013567ffffffffffffffff8082111561248657600080fd5b818601915086601f83011261249a57600080fd5b8135818111156124ac576124ac612405565b8060051b91506124bd84830161241b565b81815291830184019184810190898411156124d757600080fd5b938501935b838510156124f5578435825293850193908501906124dc565b8096505050505050509250929050565b6000806040838503121561251857600080fd5b612521836122cc565b91506020830135801515811461253657600080fd5b809150509250929050565b6000806000806080858703121561255757600080fd5b612560856122cc565b9350602061256f8187016122cc565b935060408601359250606086013567ffffffffffffffff8082111561259357600080fd5b818801915088601f8301126125a757600080fd5b8135818111156125b9576125b9612405565b6125cb601f8201601f1916850161241b565b915080825289848285010111156125e157600080fd5b808484018584013760008482840101525080935050505092959194509250565b600081518084526020808501945080840160005b838110156123425781516001600160a01b031687529582019590820190600101612615565b602081526000610cd66020830184612601565b6040815260006126606040830185612601565b82810360208401526126728185612312565b95945050505050565b6000806040838503121561268e57600080fd5b612697836122cc565b91506123e1602084016122cc565b600181811c908216806126b957607f821691505b602082108114156126da57634e487b7160e01b600052602260045260246000fd5b50919050565b6020808252601190820152702737b732bc34b9ba32b73a103a37b5b2b760791b604082015260600190565b634e487b7160e01b600052603260045260246000fd5b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b634e487b7160e01b600052601160045260246000fd5b600060001982141561279c5761279c612772565b5060010190565b600083516127b5818460208801612248565b8351908301906127c9818360208801612248565b01949350505050565b6000828210156127e4576127e4612772565b500390565b600082198211156127fc576127fc612772565b500190565b600081600019048311821515161561281b5761281b612772565b500290565b634e487b7160e01b600052601260045260246000fd5b60008261284557612845612820565b500490565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b6000826128ab576128ab612820565b500690565b7f416363657373436f6e74726f6c3a206163636f756e74200000000000000000008152600083516128e8816017850160208801612248565b7001034b99036b4b9b9b4b733903937b6329607d1b6017918401918201528351612919816028840160208801612248565b01602801949350505050565b634e487b7160e01b600052603160045260246000fd5b6001600160a01b038581168252841660208201526040810183905260806060820181905260009061296e90830184612274565b9695505050505050565b60006020828403121561298a57600080fd5b8151610cd681612215565b6000816129a4576129a4612772565b50600019019056fea26469706673582212206049466b45b2a5c6f5f58dd9ac92330ee1ee24f8cab672875a0106523a9e4b8c64736f6c6343000809003300000000000000000000000000000000000000000000000000000000000000c0000000000000000000000000000000000000000000000000000000000000012000000000000000000000000000000000000000000000000000000000000001600000000000000000000000006c37530945962ce32c7e0f88cf6c3e4b9d3979b3000000000000000000000000816feee8c2251e512cae967d3ea741bb8a60179000000000000000000000000000000000000000000000000000000000000003200000000000000000000000000000000000000000000000000000000000000036697066733a2f2f516d55636a464b5039515077424338366d6667334b346d66794d4c634376334e6a67486a33646e466545364866582f00000000000000000000000000000000000000000000000000000000000000000000000000000000001347726f737365202d204e756d626572204f6e6500000000000000000000000000000000000000000000000000000000000000000000000000000000000000000647524f5353450000000000000000000000000000000000000000000000000000
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106101fb5760003560e01c80636352211e1161011a578063a22cb465116100ad578063ca15c8731161007c578063ca15c8731461046c578063d53913931461047f578063d547741f146104a6578063d5a06d4c146104b9578063e985e9c5146104da57600080fd5b8063a22cb46514610413578063b88d4fde14610426578063b9c4d9fb14610439578063c87b56dd1461045957600080fd5b80639010d07c116100e95780639010d07c146103dd57806391d14854146103f057806395d89b4114610403578063a217fddf1461040b57600080fd5b80636352211e1461039c57806370a08231146103af57806375ceb341146103c25780638da5cb5b146103d557600080fd5b80632a55205a1161019257806340c10f191161016157806340c10f191461035057806342842e0e1461036357806342966c68146103765780634f6ccce71461038957600080fd5b80632a55205a146102e55780632f2ff15d146103175780632f745c591461032a57806336568abe1461033d57600080fd5b80630ebd4c7f116101ce5780630ebd4c7f1461027d57806318160ddd1461029d57806323b872dd146102af578063248a9ca3146102c257600080fd5b806301ffc9a71461020057806306fdde0314610228578063081812fc1461023d578063095ea7b314610268575b600080fd5b61021361020e36600461222b565b610516565b60405190151581526020015b60405180910390f35b610230610536565b60405161021f91906122a0565b61025061024b3660046122b3565b6105c8565b6040516001600160a01b03909116815260200161021f565b61027b6102763660046122e8565b610662565b005b61029061028b3660046122b3565b610778565b60405161021f919061234d565b6008545b60405190815260200161021f565b61027b6102bd366004612360565b610806565b6102a16102d03660046122b3565b6000908152600a602052604090206001015490565b6102f86102f336600461239c565b610838565b604080516001600160a01b03909316835260208301919091520161021f565b61027b6103253660046123be565b610874565b6102a16103383660046122e8565b610896565b61027b61034b3660046123be565b61092c565b61027b61035e3660046122e8565b61094e565b61027b610371366004612360565b6109d2565b61027b6103843660046122b3565b6109ed565b6102a16103973660046122b3565b610a67565b6102506103aa3660046122b3565b610afa565b6102a16103bd3660046123ea565b610b71565b61027b6103d036600461244c565b610bf8565b610250610caf565b6102506103eb36600461239c565b610cbe565b6102136103fe3660046123be565b610cdd565b610230610d08565b6102a1600081565b61027b610421366004612505565b610d17565b61027b610434366004612541565b610ddc565b61044c6104473660046122b3565b610e14565b60405161021f919061263a565b6102306104673660046122b3565b610eaf565b6102a161047a3660046122b3565b610f89565b6102a17f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a681565b61027b6104b43660046123be565b610fa0565b6104cc6104c73660046122b3565b610faa565b60405161021f92919061264d565b6102136104e836600461267b565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b6000610521826110cb565b806105305750610530826110f0565b92915050565b606060008054610545906126a5565b80601f0160208091040260200160405190810160405280929190818152602001828054610571906126a5565b80156105be5780601f10610593576101008083540402835291602001916105be565b820191906000526020600020905b8154815290600101906020018083116105a157829003601f168201915b5050505050905090565b6000818152600260205260408120546001600160a01b03166106465760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084015b60405180910390fd5b506000908152600460205260409020546001600160a01b031690565b600061066d82610afa565b9050806001600160a01b0316836001600160a01b031614156106db5760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b606482015260840161063d565b336001600160a01b03821614806106f757506106f781336104e8565b6107695760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000606482015260840161063d565b6107738383611141565b505050565b6060610783826111af565b61079f5760405162461bcd60e51b815260040161063d906126e0565b604080516001808252818301909252600091602080830190803683370190505090507f0000000000000000000000000000000000000000000000000000000000000320816000815181106107f5576107f561270b565b602090810291909101015292915050565b610811335b826111ce565b61082d5760405162461bcd60e51b815260040161063d90612721565b6107738383836112c5565b600080610844846111af565b6108605760405162461bcd60e51b815260040161063d906126e0565b61086983611470565b915091509250929050565b61087e82826114d8565b6000828152600b6020526040902061077390826110b6565b60006108a183610b71565b82106109035760405162461bcd60e51b815260206004820152602b60248201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560448201526a74206f6620626f756e647360a81b606482015260840161063d565b506001600160a01b03919091166000908152600660209081526040808320938352929052205490565b61093682826114fe565b6000828152600b602052604090206107739082611578565b6109787f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a633610cdd565b6109c45760405162461bcd60e51b815260206004820152601e60248201527f5265737472696374656420746f20617070726f766564206d696e746572730000604482015260640161063d565b6109ce828261158d565b5050565b61077383838360405180602001604052806000815250610ddc565b6109f63361080b565b610a5b5760405162461bcd60e51b815260206004820152603060248201527f4552433732314275726e61626c653a2063616c6c6572206973206e6f74206f7760448201526f1b995c881b9bdc88185c1c1c9bdd995960821b606482015260840161063d565b610a64816115db565b50565b6000610a7260085490565b8210610ad55760405162461bcd60e51b815260206004820152602c60248201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60448201526b7574206f6620626f756e647360a01b606482015260840161063d565b60088281548110610ae857610ae861270b565b90600052602060002001549050919050565b6000818152600260205260408120546001600160a01b0316806105305760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201526832b73a103a37b5b2b760b91b606482015260840161063d565b60006001600160a01b038216610bdc5760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b606482015260840161063d565b506001600160a01b031660009081526003602052604090205490565b610c227f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a633610cdd565b610c6e5760405162461bcd60e51b815260206004820152601e60248201527f5265737472696374656420746f20617070726f766564206d696e746572730000604482015260640161063d565b60005b815181101561077357610c9d83838381518110610c9057610c9061270b565b602002602001015161158d565b80610ca781612788565b915050610c71565b6000610cb96115e4565b905090565b6000828152600b60205260408120610cd69083611604565b9392505050565b6000918252600a602090815260408084206001600160a01b0393909316845291905290205460ff1690565b606060018054610545906126a5565b6001600160a01b038216331415610d705760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c657200000000000000604482015260640161063d565b3360008181526005602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b610de633836111ce565b610e025760405162461bcd60e51b815260040161063d90612721565b610e0e84848484611610565b50505050565b6060610e1f826111af565b610e3b5760405162461bcd60e51b815260040161063d906126e0565b604080516001808252818301909252600091602080830190803683370190505090507f000000000000000000000000816feee8c2251e512cae967d3ea741bb8a60179081600081518110610e9157610e9161270b565b6001600160a01b039092166020928302919091019091015292915050565b6000818152600260205260409020546060906001600160a01b0316610f2e5760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b606482015260840161063d565b6000610f38611643565b90506000815111610f585760405180602001604052806000815250610cd6565b80610f6284611652565b604051602001610f739291906127a3565b6040516020818303038152906040529392505050565b6000818152600b6020526040812061053090611750565b610936828261175a565b606080610fb6836111af565b610fd25760405162461bcd60e51b815260040161063d906126e0565b6040805160018082528183019092526000916020808301908036833750506040805160018082528183019092529293506000929150602080830190803683370190505090507f000000000000000000000000816feee8c2251e512cae967d3ea741bb8a6017908260008151811061104b5761104b61270b565b6001600160a01b03909216602092830291909101909101527f0000000000000000000000000000000000000000000000000000000000000320816000815181106110975761109761270b565b60209081029190910101529094909350915050565b6109ce8282611780565b6000610cd6836001600160a01b038416611806565b60006001600160e01b03198216635a05180f60e01b1480610530575061053082611855565b60006001600160e01b03198216632dde656160e21b148061112157506001600160e01b031982166335681b5360e21b145b8061053057506001600160e01b0319821663152a902d60e11b1492915050565b600081815260046020526040902080546001600160a01b0319166001600160a01b038416908117909155819061117682610afa565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000818152600260205260408120546001600160a01b03161515610530565b6000818152600260205260408120546001600160a01b03166112475760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b606482015260840161063d565b600061125283610afa565b9050806001600160a01b0316846001600160a01b0316148061128d5750836001600160a01b0316611282846105c8565b6001600160a01b0316145b806112bd57506001600160a01b0380821660009081526005602090815260408083209388168352929052205460ff165b949350505050565b826001600160a01b03166112d882610afa565b6001600160a01b0316146113405760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201526839903737ba1037bbb760b91b606482015260840161063d565b6001600160a01b0382166113a25760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b606482015260840161063d565b6113ad83838361187a565b6113b8600082611141565b6001600160a01b03831660009081526003602052604081208054600192906113e19084906127d2565b90915550506001600160a01b038216600090815260036020526040812080546001929061140f9084906127e9565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b6000807f000000000000000000000000816feee8c2251e512cae967d3ea741bb8a6017907f0000000000000000000000000000000000000000000000000000000000000320816127106114c38784612801565b6114cd9190612836565b935093505050915091565b6000828152600a60205260409020600101546114f48133611885565b6107738383611780565b6001600160a01b038116331461156e5760405162461bcd60e51b815260206004820152602f60248201527f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560448201526e103937b632b9903337b91039b2b63360891b606482015260840161063d565b6109ce82826118e9565b6000610cd6836001600160a01b038416611950565b6115978282611a43565b807fa109ba539900bf1b633f956d63c96fc89b814c7287f7aa50a9216d0b556572076115c283610eaf565b6040516115cf91906122a0565b60405180910390a25050565b610a6481611a5d565b60006115ef81610f89565b6115f95750600090565b610cb9600080610cbe565b6000610cd68383611b04565b61161b8484846112c5565b61162784848484611b2e565b610e0e5760405162461bcd60e51b815260040161063d9061284a565b6060600c8054610545906126a5565b6060816116765750506040805180820190915260018152600360fc1b602082015290565b8160005b81156116a0578061168a81612788565b91506116999050600a83612836565b915061167a565b60008167ffffffffffffffff8111156116bb576116bb612405565b6040519080825280601f01601f1916602001820160405280156116e5576020820181803683370190505b5090505b84156112bd576116fa6001836127d2565b9150611707600a8661289c565b6117129060306127e9565b60f81b8183815181106117275761172761270b565b60200101906001600160f81b031916908160001a905350611749600a86612836565b94506116e9565b6000610530825490565b6000828152600a60205260409020600101546117768133611885565b61077383836118e9565b61178a8282610cdd565b6109ce576000828152600a602090815260408083206001600160a01b03851684529091529020805460ff191660011790556117c23390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b600081815260018301602052604081205461184d57508154600181810184556000848152602080822090930184905584548482528286019093526040902091909155610530565b506000610530565b60006001600160e01b03198216637965db0b60e01b1480610530575061053082611c3b565b610773838383611c60565b61188f8282610cdd565b6109ce576118a7816001600160a01b03166014611d18565b6118b2836020611d18565b6040516020016118c39291906128b0565b60408051601f198184030181529082905262461bcd60e51b825261063d916004016122a0565b6118f38282610cdd565b156109ce576000828152600a602090815260408083206001600160a01b0385168085529252808320805460ff1916905551339285917ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9190a45050565b60008181526001830160205260408120548015611a395760006119746001836127d2565b8554909150600090611988906001906127d2565b90508181146119ed5760008660000182815481106119a8576119a861270b565b90600052602060002001549050808760000184815481106119cb576119cb61270b565b6000918252602080832090910192909255918252600188019052604090208390555b85548690806119fe576119fe612925565b600190038181906000526020600020016000905590558560010160008681526020019081526020016000206000905560019350505050610530565b6000915050610530565b6109ce828260405180602001604052806000815250611eb4565b6000611a6882610afa565b9050611a768160008461187a565b611a81600083611141565b6001600160a01b0381166000908152600360205260408120805460019290611aaa9084906127d2565b909155505060008281526002602052604080822080546001600160a01b0319169055518391906001600160a01b038416907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908390a45050565b6000826000018281548110611b1b57611b1b61270b565b9060005260206000200154905092915050565b60006001600160a01b0384163b15611c3057604051630a85bd0160e11b81526001600160a01b0385169063150b7a0290611b7290339089908890889060040161293b565b602060405180830381600087803b158015611b8c57600080fd5b505af1925050508015611bbc575060408051601f3d908101601f19168201909252611bb991810190612978565b60015b611c16573d808015611bea576040519150601f19603f3d011682016040523d82523d6000602084013e611bef565b606091505b508051611c0e5760405162461bcd60e51b815260040161063d9061284a565b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490506112bd565b506001949350505050565b60006001600160e01b0319821663780e9d6360e01b1480610530575061053082611ee7565b6001600160a01b038316611cbb57611cb681600880546000838152600960205260408120829055600182018355919091527ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee30155565b611cde565b816001600160a01b0316836001600160a01b031614611cde57611cde8382611f37565b6001600160a01b038216611cf55761077381611fd4565b826001600160a01b0316826001600160a01b031614610773576107738282612083565b60606000611d27836002612801565b611d329060026127e9565b67ffffffffffffffff811115611d4a57611d4a612405565b6040519080825280601f01601f191660200182016040528015611d74576020820181803683370190505b509050600360fc1b81600081518110611d8f57611d8f61270b565b60200101906001600160f81b031916908160001a905350600f60fb1b81600181518110611dbe57611dbe61270b565b60200101906001600160f81b031916908160001a9053506000611de2846002612801565b611ded9060016127e9565b90505b6001811115611e65576f181899199a1a9b1b9c1cb0b131b232b360811b85600f1660108110611e2157611e2161270b565b1a60f81b828281518110611e3757611e3761270b565b60200101906001600160f81b031916908160001a90535060049490941c93611e5e81612995565b9050611df0565b508315610cd65760405162461bcd60e51b815260206004820181905260248201527f537472696e67733a20686578206c656e67746820696e73756666696369656e74604482015260640161063d565b611ebe83836120c7565b611ecb6000848484611b2e565b6107735760405162461bcd60e51b815260040161063d9061284a565b60006001600160e01b031982166380ac58cd60e01b1480611f1857506001600160e01b03198216635b5e139f60e01b145b8061053057506301ffc9a760e01b6001600160e01b0319831614610530565b60006001611f4484610b71565b611f4e91906127d2565b600083815260076020526040902054909150808214611fa1576001600160a01b03841660009081526006602090815260408083208584528252808320548484528184208190558352600790915290208190555b5060009182526007602090815260408084208490556001600160a01b039094168352600681528383209183525290812055565b600854600090611fe6906001906127d2565b6000838152600960205260408120546008805493945090928490811061200e5761200e61270b565b90600052602060002001549050806008838154811061202f5761202f61270b565b600091825260208083209091019290925582815260099091526040808220849055858252812055600880548061206757612067612925565b6001900381819060005260206000200160009055905550505050565b600061208e83610b71565b6001600160a01b039093166000908152600660209081526040808320868452825280832085905593825260079052919091209190915550565b6001600160a01b03821661211d5760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f2061646472657373604482015260640161063d565b6000818152600260205260409020546001600160a01b0316156121825760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000604482015260640161063d565b61218e6000838361187a565b6001600160a01b03821660009081526003602052604081208054600192906121b79084906127e9565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b6001600160e01b031981168114610a6457600080fd5b60006020828403121561223d57600080fd5b8135610cd681612215565b60005b8381101561226357818101518382015260200161224b565b83811115610e0e5750506000910152565b6000815180845261228c816020860160208601612248565b601f01601f19169290920160200192915050565b602081526000610cd66020830184612274565b6000602082840312156122c557600080fd5b5035919050565b80356001600160a01b03811681146122e357600080fd5b919050565b600080604083850312156122fb57600080fd5b612304836122cc565b946020939093013593505050565b600081518084526020808501945080840160005b8381101561234257815187529582019590820190600101612326565b509495945050505050565b602081526000610cd66020830184612312565b60008060006060848603121561237557600080fd5b61237e846122cc565b925061238c602085016122cc565b9150604084013590509250925092565b600080604083850312156123af57600080fd5b50508035926020909101359150565b600080604083850312156123d157600080fd5b823591506123e1602084016122cc565b90509250929050565b6000602082840312156123fc57600080fd5b610cd6826122cc565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f1916810167ffffffffffffffff8111828210171561244457612444612405565b604052919050565b6000806040838503121561245f57600080fd5b612468836122cc565b915060208084013567ffffffffffffffff8082111561248657600080fd5b818601915086601f83011261249a57600080fd5b8135818111156124ac576124ac612405565b8060051b91506124bd84830161241b565b81815291830184019184810190898411156124d757600080fd5b938501935b838510156124f5578435825293850193908501906124dc565b8096505050505050509250929050565b6000806040838503121561251857600080fd5b612521836122cc565b91506020830135801515811461253657600080fd5b809150509250929050565b6000806000806080858703121561255757600080fd5b612560856122cc565b9350602061256f8187016122cc565b935060408601359250606086013567ffffffffffffffff8082111561259357600080fd5b818801915088601f8301126125a757600080fd5b8135818111156125b9576125b9612405565b6125cb601f8201601f1916850161241b565b915080825289848285010111156125e157600080fd5b808484018584013760008482840101525080935050505092959194509250565b600081518084526020808501945080840160005b838110156123425781516001600160a01b031687529582019590820190600101612615565b602081526000610cd66020830184612601565b6040815260006126606040830185612601565b82810360208401526126728185612312565b95945050505050565b6000806040838503121561268e57600080fd5b612697836122cc565b91506123e1602084016122cc565b600181811c908216806126b957607f821691505b602082108114156126da57634e487b7160e01b600052602260045260246000fd5b50919050565b6020808252601190820152702737b732bc34b9ba32b73a103a37b5b2b760791b604082015260600190565b634e487b7160e01b600052603260045260246000fd5b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b634e487b7160e01b600052601160045260246000fd5b600060001982141561279c5761279c612772565b5060010190565b600083516127b5818460208801612248565b8351908301906127c9818360208801612248565b01949350505050565b6000828210156127e4576127e4612772565b500390565b600082198211156127fc576127fc612772565b500190565b600081600019048311821515161561281b5761281b612772565b500290565b634e487b7160e01b600052601260045260246000fd5b60008261284557612845612820565b500490565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b6000826128ab576128ab612820565b500690565b7f416363657373436f6e74726f6c3a206163636f756e74200000000000000000008152600083516128e8816017850160208801612248565b7001034b99036b4b9b9b4b733903937b6329607d1b6017918401918201528351612919816028840160208801612248565b01602801949350505050565b634e487b7160e01b600052603160045260246000fd5b6001600160a01b038581168252841660208201526040810183905260806060820181905260009061296e90830184612274565b9695505050505050565b60006020828403121561298a57600080fd5b8151610cd681612215565b6000816129a4576129a4612772565b50600019019056fea26469706673582212206049466b45b2a5c6f5f58dd9ac92330ee1ee24f8cab672875a0106523a9e4b8c64736f6c63430008090033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
00000000000000000000000000000000000000000000000000000000000000c0000000000000000000000000000000000000000000000000000000000000012000000000000000000000000000000000000000000000000000000000000001600000000000000000000000006c37530945962ce32c7e0f88cf6c3e4b9d3979b3000000000000000000000000816feee8c2251e512cae967d3ea741bb8a60179000000000000000000000000000000000000000000000000000000000000003200000000000000000000000000000000000000000000000000000000000000036697066733a2f2f516d55636a464b5039515077424338366d6667334b346d66794d4c634376334e6a67486a33646e466545364866582f00000000000000000000000000000000000000000000000000000000000000000000000000000000001347726f737365202d204e756d626572204f6e6500000000000000000000000000000000000000000000000000000000000000000000000000000000000000000647524f5353450000000000000000000000000000000000000000000000000000
-----Decoded View---------------
Arg [0] : baseURI (string): ipfs://QmUcjFKP9QPwBC86mfg3K4mfyMLcCv3NjgHj3dnFeE6HfX/
Arg [1] : contractName (string): Grosse - Number One
Arg [2] : tokenSymbol (string): GROSSE
Arg [3] : artist (address): 0x6C37530945962ce32c7E0f88cf6C3E4B9D3979B3
Arg [4] : royaltyReceiver_ (address): 0x816feeE8C2251E512CAE967d3EA741bB8A601790
Arg [5] : royaltyBPS_ (uint256): 800
-----Encoded View---------------
13 Constructor Arguments found :
Arg [0] : 00000000000000000000000000000000000000000000000000000000000000c0
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000120
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000160
Arg [3] : 0000000000000000000000006c37530945962ce32c7e0f88cf6c3e4b9d3979b3
Arg [4] : 000000000000000000000000816feee8c2251e512cae967d3ea741bb8a601790
Arg [5] : 0000000000000000000000000000000000000000000000000000000000000320
Arg [6] : 0000000000000000000000000000000000000000000000000000000000000036
Arg [7] : 697066733a2f2f516d55636a464b5039515077424338366d6667334b346d6679
Arg [8] : 4d4c634376334e6a67486a33646e466545364866582f00000000000000000000
Arg [9] : 0000000000000000000000000000000000000000000000000000000000000013
Arg [10] : 47726f737365202d204e756d626572204f6e6500000000000000000000000000
Arg [11] : 0000000000000000000000000000000000000000000000000000000000000006
Arg [12] : 47524f5353450000000000000000000000000000000000000000000000000000
Deployed Bytecode Sourcemap
495:3814:1:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4010:297;;;;;;:::i;:::-;;:::i;:::-;;;565:14:21;;558:22;540:41;;528:2;513:18;4010: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;1535:111:11:-;1622:10;:17;1535:111;;;3025:25:21;;;3013:2;2998:18;1535:111:11;2879:177:21;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;2577: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;2685:211:1:-;;;;;;:::i;:::-;;:::i;1984: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;862:62:1:-;;900:24;862: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;4010:297:1;4170:4;4209:36;4233:11;4209:23;:36::i;:::-;:91;;;;4261:39;4288:11;4261:26;:39::i;:::-;4190:110;4010:297;-1:-1:-1;;4010: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;3209:11:1;2448:3:2;2452:1;2448:6;;;;;;;;:::i;:::-;;;;;;;;;;:18;2483:3;2202:291;-1:-1:-1;;2202:291: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;2577:102:1:-;2465:32;900:24;2486:10;2465:7;:32::i;:::-;2444:109;;;;-1:-1:-1;;;2444:109:1;;12428:2:21;2444:109:1;;;12410:21:21;12467:2;12447:18;;;12440:30;12506:32;12486:18;;;12479:60;12556:18;;2444:109:1;12226:354:21;2444:109:1;2648:24:::1;2660:2;2664:7;2648:11;:24::i;:::-;2577: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;2685:211:1:-;2465:32;900:24;2486:10;2465:7;:32::i;:::-;2444:109;;;;-1:-1:-1;;;2444:109:1;;12428:2:21;2444:109:1;;;12410:21:21;12467:2;12447:18;;;12440:30;12506:32;12486:18;;;12479:60;12556:18;;2444:109:1;12226:354:21;2444:109:1;2796:9:::1;2791:99;2815:8;:15;2811:1;:19;2791:99;;;2851:28;2863:2;2867:8;2876:1;2867:11;;;;;;;;:::i;:::-;;;;;;;2851;:28::i;:::-;2832:3:::0;::::1;::::0;::::1;:::i;:::-;;;;2791:99;;1984:97:::0;2030:7;2056:18;:16;:18::i;:::-;2049:25;;1984: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;3394:16: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;3394:16:1;1709:9:2;1719:1;1709:12;;;;;;;;:::i;:::-;-1:-1:-1;;;;;1709:29:2;;;:12;;;;;;;;;;;:29;3209:11: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;3109:322:2:-;3212:4;-1:-1:-1;;;;;;3251:46:2;;-1:-1:-1;;;3251:46:2;;:111;;-1:-1:-1;;;;;;;3313:49:2;;-1:-1:-1;;;3313:49:2;3251:111;:173;;;-1:-1:-1;;;;;;;3378:46:2;;-1:-1:-1;;;3378:46:2;3232:192;3109:322;-1:-1:-1;;3109:322:2:o;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;3423:198:1:-;3565:4;7310:16:7;;;:7;:16;;;;;;-1:-1:-1;;;;;7310:16:7;:30;;3592: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;;3394::1;3209:11;3394:16;3090:5:2;3074:12;3081:5;3209:11: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;2902:153:1:-;2971:22;2981:2;2985:7;2971:9;:22::i;:::-;3040:7;3008:40;3021:17;3030:7;3021:8;:17::i;:::-;3008:40;;;;;;:::i;:::-;;;;;;;;2902:153;;:::o;3909:95::-;3977:20;3989:7;3977:11;:20::i;2087:228::-;2146:7;2169:38;2146:7;2169:18;:38::i;:::-;2165:91;;-1:-1:-1;2243:1:1;;2087:228::o;2165:91::-;2272:36;1997:4:3;;2272: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;1665:107:1:-;1717:13;1749:16;1742: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;3694:209:1:-;3851:45;3878:4;3884:2;3888:7;3851: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;3061:328::-;3138:6;3146;3154;3207:2;3195:9;3186:7;3182:23;3178:32;3175:52;;;3223:1;3220;3213:12;3175:52;3246:29;3265:9;3246:29;:::i;:::-;3236:39;;3294:38;3328:2;3317:9;3313:18;3294:38;:::i;:::-;3284:48;;3379:2;3368:9;3364:18;3351:32;3341:42;;3061: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://6049466b45b2a5c6f5f58dd9ac92330ee1ee24f8cab672875a0106523a9e4b8c
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.