Token DarkNFT
Overview CRC721
Total Supply:
828 DarkNFT
Holders:
238 addresses
Contract:
Balance
21 DarkNFT
[ Download CSV Export ]
[ Download CSV Export ]
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
DarkNFT
Compiler Version
v0.8.6+commit.11564f7e
Contract Source Code (Solidity)
/** *Submitted for verification at cronoscan.com on 2022-06-03 */ pragma solidity 0.8.6; // SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol) /** * @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); } // OpenZeppelin Contracts (last updated v4.6.0) (token/ERC721/IERC721.sol) /** * @dev Required interface of an ERC721 compliant contract. */ interface IERC721 is IERC165 { /** * @dev Emitted when `tokenId` token is transferred from `from` to `to`. */ event Transfer(address indexed from, address indexed to, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token. */ event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets. */ event ApprovalForAll(address indexed owner, address indexed operator, bool approved); /** * @dev Returns the number of tokens in ``owner``'s account. */ function balanceOf(address owner) external view returns (uint256 balance); /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) external view returns (address owner); /** * @dev Safely transfers `tokenId` token from `from` to `to`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes calldata data ) external; /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be have been allowed to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Transfers `tokenId` token from `from` to `to`. * * WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) external; /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool _approved) external; /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll} */ function isApprovedForAll(address owner, address operator) external view returns (bool); } // OpenZeppelin Contracts (last updated v4.6.0) (token/ERC721/IERC721Receiver.sol) /** * @title ERC721 token receiver interface * @dev Interface for any contract that wants to support safeTransfers * from ERC721 asset contracts. */ interface IERC721Receiver { /** * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom} * by `operator` from `from`, this function is called. * * It must return its Solidity selector to confirm the token transfer. * If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted. * * The selector can be obtained in Solidity with `IERC721Receiver.onERC721Received.selector`. */ function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); } // OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/IERC721Metadata.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); } // OpenZeppelin Contracts (last updated v4.5.0) (utils/Address.sol) /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== * * [IMPORTANT] * ==== * You shouldn't rely on `isContract` to protect against flash loan attacks! * * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract * constructor. * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize/address.code.length, which returns 0 // for contracts in construction, since the code is only stored at the end // of the constructor execution. return account.code.length > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); (bool success, ) = recipient.call{value: amount}(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain `call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCall(target, data, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value ) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value, string memory errorMessage ) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); require(isContract(target), "Address: call to non-contract"); (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall( address target, bytes memory data, string memory errorMessage ) internal view returns (bytes memory) { require(isContract(target), "Address: static call to non-contract"); (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { require(isContract(target), "Address: delegate call to non-contract"); (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason using the provided one. * * _Available since v4.3._ */ function verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) internal pure returns (bytes memory) { if (success) { return returndata; } else { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } } // OpenZeppelin Contracts v4.4.1 (utils/Context.sol) /** * @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; } } // OpenZeppelin Contracts v4.4.1 (utils/Strings.sol) /** * @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); } } // OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.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; } } // OpenZeppelin Contracts (last updated v4.6.0) (token/ERC721/ERC721.sol) /** * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including * the Metadata extension, but not including the Enumerable extension, which is available separately as * {ERC721Enumerable}. */ contract ERC721 is Context, ERC165, IERC721, IERC721Metadata { using Address for address; using Strings for uint256; // Token name string private _name; // Token symbol string private _symbol; // Mapping from token ID to owner address mapping(uint256 => address) private _owners; // Mapping owner address to token count mapping(address => uint256) private _balances; // Mapping from token ID to approved address mapping(uint256 => address) private _tokenApprovals; // Mapping from owner to operator approvals mapping(address => mapping(address => bool)) private _operatorApprovals; /** * @dev Initializes the contract by setting a `name` and a `symbol` to the token collection. */ constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) { return interfaceId == type(IERC721).interfaceId || interfaceId == type(IERC721Metadata).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC721-balanceOf}. */ function balanceOf(address owner) public view virtual override returns (uint256) { require(owner != address(0), "ERC721: balance query for the zero address"); return _balances[owner]; } /** * @dev See {IERC721-ownerOf}. */ function ownerOf(uint256 tokenId) public view virtual override returns (address) { address owner = _owners[tokenId]; require(owner != address(0), "ERC721: owner query for nonexistent token"); return owner; } /** * @dev See {IERC721Metadata-name}. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev See {IERC721Metadata-symbol}. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev See {IERC721Metadata-tokenURI}. */ function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { require(_exists(tokenId), "ERC721Metadata: URI query for nonexistent token"); string memory baseURI = _baseURI(); return bytes(baseURI).length > 0 ? string(abi.encodePacked(baseURI, tokenId.toString())) : ""; } /** * @dev Base URI for computing {tokenURI}. If set, the resulting URI for each * token will be the concatenation of the `baseURI` and the `tokenId`. Empty * by default, can be overridden in child contracts. */ function _baseURI() internal view virtual returns (string memory) { return ""; } /** * @dev See {IERC721-approve}. */ function approve(address to, uint256 tokenId) public virtual override { address owner = ERC721.ownerOf(tokenId); require(to != owner, "ERC721: approval to current owner"); require( _msgSender() == owner || isApprovedForAll(owner, _msgSender()), "ERC721: approve caller is not owner nor approved for all" ); _approve(to, tokenId); } /** * @dev See {IERC721-getApproved}. */ function getApproved(uint256 tokenId) public view virtual override returns (address) { require(_exists(tokenId), "ERC721: approved query for nonexistent token"); return _tokenApprovals[tokenId]; } /** * @dev See {IERC721-setApprovalForAll}. */ function setApprovalForAll(address operator, bool approved) public virtual override { _setApprovalForAll(_msgSender(), operator, approved); } /** * @dev See {IERC721-isApprovedForAll}. */ function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) { return _operatorApprovals[owner][operator]; } /** * @dev See {IERC721-transferFrom}. */ function transferFrom( address from, address to, uint256 tokenId ) public virtual override { //solhint-disable-next-line max-line-length require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved"); _transfer(from, to, tokenId); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId ) public virtual override { safeTransferFrom(from, to, tokenId, ""); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes memory _data ) public virtual override { require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved"); _safeTransfer(from, to, tokenId, _data); } /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * `_data` is additional data, it has no specified format and it is sent in call to `to`. * * This internal function is equivalent to {safeTransferFrom}, and can be used to e.g. * implement alternative mechanisms to perform token transfer, such as signature-based. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeTransfer( address from, address to, uint256 tokenId, bytes memory _data ) internal virtual { _transfer(from, to, tokenId); require(_checkOnERC721Received(from, to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer"); } /** * @dev Returns whether `tokenId` exists. * * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}. * * Tokens start existing when they are minted (`_mint`), * and stop existing when they are burned (`_burn`). */ function _exists(uint256 tokenId) internal view virtual returns (bool) { return _owners[tokenId] != address(0); } /** * @dev Returns whether `spender` is allowed to manage `tokenId`. * * Requirements: * * - `tokenId` must exist. */ function _isApprovedOrOwner(address spender, uint256 tokenId) internal view virtual returns (bool) { require(_exists(tokenId), "ERC721: operator query for nonexistent token"); address owner = ERC721.ownerOf(tokenId); return (spender == owner || isApprovedForAll(owner, spender) || getApproved(tokenId) == spender); } /** * @dev Safely mints `tokenId` and transfers it to `to`. * * Requirements: * * - `tokenId` must not exist. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeMint(address to, uint256 tokenId) internal virtual { _safeMint(to, tokenId, ""); } /** * @dev Same as {xref-ERC721-_safeMint-address-uint256-}[`_safeMint`], with an additional `data` parameter which is * forwarded in {IERC721Receiver-onERC721Received} to contract recipients. */ function _safeMint( address to, uint256 tokenId, bytes memory _data ) internal virtual { _mint(to, tokenId); require( _checkOnERC721Received(address(0), to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer" ); } /** * @dev Mints `tokenId` and transfers it to `to`. * * WARNING: Usage of this method is discouraged, use {_safeMint} whenever possible * * Requirements: * * - `tokenId` must not exist. * - `to` cannot be the zero address. * * Emits a {Transfer} event. */ function _mint(address to, uint256 tokenId) internal virtual { require(to != address(0), "ERC721: mint to the zero address"); require(!_exists(tokenId), "ERC721: token already minted"); _beforeTokenTransfer(address(0), to, tokenId); _balances[to] += 1; _owners[tokenId] = to; emit Transfer(address(0), to, tokenId); _afterTokenTransfer(address(0), to, tokenId); } /** * @dev Destroys `tokenId`. * The approval is cleared when the token is burned. * * Requirements: * * - `tokenId` must exist. * * Emits a {Transfer} event. */ function _burn(uint256 tokenId) internal virtual { address owner = ERC721.ownerOf(tokenId); _beforeTokenTransfer(owner, address(0), tokenId); // Clear approvals _approve(address(0), tokenId); _balances[owner] -= 1; delete _owners[tokenId]; emit Transfer(owner, address(0), tokenId); _afterTokenTransfer(owner, address(0), tokenId); } /** * @dev Transfers `tokenId` from `from` to `to`. * As opposed to {transferFrom}, this imposes no restrictions on msg.sender. * * Requirements: * * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * * Emits a {Transfer} event. */ function _transfer( address from, address to, uint256 tokenId ) internal virtual { require(ERC721.ownerOf(tokenId) == from, "ERC721: transfer from incorrect owner"); require(to != address(0), "ERC721: transfer to the zero address"); _beforeTokenTransfer(from, to, tokenId); // Clear approvals from the previous owner _approve(address(0), tokenId); _balances[from] -= 1; _balances[to] += 1; _owners[tokenId] = to; emit Transfer(from, to, tokenId); _afterTokenTransfer(from, to, tokenId); } /** * @dev Approve `to` to operate on `tokenId` * * Emits a {Approval} event. */ function _approve(address to, uint256 tokenId) internal virtual { _tokenApprovals[tokenId] = to; emit Approval(ERC721.ownerOf(tokenId), to, tokenId); } /** * @dev Approve `operator` to operate on all of `owner` tokens * * Emits a {ApprovalForAll} event. */ function _setApprovalForAll( address owner, address operator, bool approved ) internal virtual { require(owner != operator, "ERC721: approve to caller"); _operatorApprovals[owner][operator] = approved; emit ApprovalForAll(owner, operator, approved); } /** * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target address. * The call is not executed if the target address is not a contract. * * @param from address representing the previous owner of the given token ID * @param to target address that will receive the tokens * @param tokenId uint256 ID of the token to be transferred * @param _data bytes optional data to send along with the call * @return bool whether the call correctly returned the expected magic value */ function _checkOnERC721Received( address from, address to, uint256 tokenId, bytes memory _data ) private returns (bool) { if (to.isContract()) { try IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, _data) returns (bytes4 retval) { return retval == IERC721Receiver.onERC721Received.selector; } catch (bytes memory reason) { if (reason.length == 0) { revert("ERC721: transfer to non ERC721Receiver implementer"); } else { assembly { revert(add(32, reason), mload(reason)) } } } } else { return true; } } /** * @dev Hook that is called before any token transfer. This includes minting * and burning. * * Calling conditions: * * - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, ``from``'s `tokenId` will be burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer( address from, address to, uint256 tokenId ) internal virtual {} /** * @dev Hook that is called after any transfer of tokens. This includes * minting and burning. * * Calling conditions: * * - when `from` and `to` are both non-zero. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _afterTokenTransfer( address from, address to, uint256 tokenId ) internal virtual {} } // OpenZeppelin Contracts (last updated v4.5.0) (token/ERC721/extensions/IERC721Enumerable.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); /** * @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); } // OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/ERC721Enumerable.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(); } } // OpenZeppelin Contracts v4.4.1 (access/IAccessControl.sol) /** * @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; } // OpenZeppelin Contracts v4.4.1 (access/IAccessControlEnumerable.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); } // OpenZeppelin Contracts (last updated v4.6.0) (access/AccessControl.sol) /** * @dev Contract module that allows children to implement role-based access * control mechanisms. This is a lightweight version that doesn't allow enumerating role * members except through off-chain means by accessing the contract event logs. Some * applications may benefit from on-chain enumerability, for those cases see * {AccessControlEnumerable}. * * Roles are referred to by their `bytes32` identifier. These should be exposed * in the external API and be unique. The best way to achieve this is by * using `public constant` hash digests: * * ``` * bytes32 public constant MY_ROLE = keccak256("MY_ROLE"); * ``` * * Roles can be used to represent a set of permissions. To restrict access to a * function call, use {hasRole}: * * ``` * function foo() public { * require(hasRole(MY_ROLE, msg.sender)); * ... * } * ``` * * Roles can be granted and revoked dynamically via the {grantRole} and * {revokeRole} functions. Each role has an associated admin role, and only * accounts that have a role's admin role can call {grantRole} and {revokeRole}. * * By default, the admin role for all roles is `DEFAULT_ADMIN_ROLE`, which means * that only accounts with this role will be able to grant or revoke other * roles. More complex role relationships can be created by using * {_setRoleAdmin}. * * WARNING: The `DEFAULT_ADMIN_ROLE` is also its own admin: it has permission to * grant and revoke this role. Extra precautions should be taken to secure * accounts that have been granted it. */ abstract contract AccessControl is Context, IAccessControl, ERC165 { struct RoleData { mapping(address => bool) members; bytes32 adminRole; } mapping(bytes32 => RoleData) private _roles; bytes32 public constant DEFAULT_ADMIN_ROLE = 0x00; /** * @dev Modifier that checks that an account has a specific role. Reverts * with a standardized message including the required role. * * The format of the revert reason is given by the following regular expression: * * /^AccessControl: account (0x[0-9a-f]{40}) is missing role (0x[0-9a-f]{64})$/ * * _Available since v4.1._ */ modifier onlyRole(bytes32 role) { _checkRole(role); _; } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IAccessControl).interfaceId || super.supportsInterface(interfaceId); } /** * @dev Returns `true` if `account` has been granted `role`. */ function hasRole(bytes32 role, address account) public view virtual override returns (bool) { return _roles[role].members[account]; } /** * @dev Revert with a standard message if `_msgSender()` is missing `role`. * Overriding this function changes the behavior of the {onlyRole} modifier. * * Format of the revert message is described in {_checkRole}. * * _Available since v4.6._ */ function _checkRole(bytes32 role) internal view virtual { _checkRole(role, _msgSender()); } /** * @dev Revert with a standard message if `account` is missing `role`. * * The format of the revert reason is given by the following regular expression: * * /^AccessControl: account (0x[0-9a-f]{40}) is missing role (0x[0-9a-f]{64})$/ */ function _checkRole(bytes32 role, address account) internal view virtual { if (!hasRole(role, account)) { revert( string( abi.encodePacked( "AccessControl: account ", Strings.toHexString(uint160(account), 20), " is missing role ", Strings.toHexString(uint256(role), 32) ) ) ); } } /** * @dev Returns the admin role that controls `role`. See {grantRole} and * {revokeRole}. * * To change a role's admin, use {_setRoleAdmin}. */ function getRoleAdmin(bytes32 role) public view virtual override returns (bytes32) { return _roles[role].adminRole; } /** * @dev Grants `role` to `account`. * * If `account` had not been already granted `role`, emits a {RoleGranted} * event. * * Requirements: * * - the caller must have ``role``'s admin role. */ function grantRole(bytes32 role, address account) public virtual override onlyRole(getRoleAdmin(role)) { _grantRole(role, account); } /** * @dev Revokes `role` from `account`. * * If `account` had been granted `role`, emits a {RoleRevoked} event. * * Requirements: * * - the caller must have ``role``'s admin role. */ function revokeRole(bytes32 role, address account) public virtual override onlyRole(getRoleAdmin(role)) { _revokeRole(role, account); } /** * @dev Revokes `role` from the calling account. * * Roles are often managed via {grantRole} and {revokeRole}: this function's * purpose is to provide a mechanism for accounts to lose their privileges * if they are compromised (such as when a trusted device is misplaced). * * If the calling account had been revoked `role`, emits a {RoleRevoked} * event. * * Requirements: * * - the caller must be `account`. */ function renounceRole(bytes32 role, address account) public virtual override { require(account == _msgSender(), "AccessControl: can only renounce roles for self"); _revokeRole(role, account); } /** * @dev Grants `role` to `account`. * * If `account` had not been already granted `role`, emits a {RoleGranted} * event. Note that unlike {grantRole}, this function doesn't perform any * checks on the calling account. * * [WARNING] * ==== * This function should only be called from the constructor when setting * up the initial roles for the system. * * Using this function in any other way is effectively circumventing the admin * system imposed by {AccessControl}. * ==== * * NOTE: This function is deprecated in favor of {_grantRole}. */ function _setupRole(bytes32 role, address account) internal virtual { _grantRole(role, account); } /** * @dev Sets `adminRole` as ``role``'s admin role. * * Emits a {RoleAdminChanged} event. */ function _setRoleAdmin(bytes32 role, bytes32 adminRole) internal virtual { bytes32 previousAdminRole = getRoleAdmin(role); _roles[role].adminRole = adminRole; emit RoleAdminChanged(role, previousAdminRole, adminRole); } /** * @dev Grants `role` to `account`. * * Internal function without access restriction. */ function _grantRole(bytes32 role, address account) internal virtual { if (!hasRole(role, account)) { _roles[role].members[account] = true; emit RoleGranted(role, account, _msgSender()); } } /** * @dev Revokes `role` from `account`. * * Internal function without access restriction. */ function _revokeRole(bytes32 role, address account) internal virtual { if (hasRole(role, account)) { _roles[role].members[account] = false; emit RoleRevoked(role, account, _msgSender()); } } } // OpenZeppelin Contracts (last updated v4.6.0) (utils/structs/EnumerableSet.sol) /** * @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; } } // OpenZeppelin Contracts (last updated v4.5.0) (access/AccessControlEnumerable.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 virtual 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 virtual override returns (uint256) { return _roleMembers[role].length(); } /** * @dev Overload {_grantRole} to track enumerable memberships */ function _grantRole(bytes32 role, address account) internal virtual override { super._grantRole(role, account); _roleMembers[role].add(account); } /** * @dev Overload {_revokeRole} to track enumerable memberships */ function _revokeRole(bytes32 role, address account) internal virtual override { super._revokeRole(role, account); _roleMembers[role].remove(account); } } // OpenZeppelin Contracts v4.4.1 (utils/Counters.sol) /** * @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; } } contract DarkNFT is Context, AccessControlEnumerable, ERC721Enumerable { using Counters for Counters.Counter; bytes32 public constant MINTER_ROLE = keccak256("MINTER_ROLE"); Counters.Counter private _tokenIdTracker; string private _baseTokenURI; /// @notice Collection of NFA details to describe each NFA struct NFTDetails { string name; uint32 level; uint32 attack; uint32 luck; uint32 productivity; } /// @notice Use the NFA tokenId to read NFA details mapping(uint256 => NFTDetails) public getNFTDetailsById; event UpdateBaseURI(string indexed previousBaseUri, string indexed newBaseUri); constructor(string memory name, string memory symbol, string memory baseTokenURI) ERC721(name, symbol) { _baseTokenURI = baseTokenURI; _setupRole(DEFAULT_ADMIN_ROLE, _msgSender()); _setupRole(MINTER_ROLE, _msgSender()); } /// @notice Get level of a specific ID /// @param tokenId The ID of the NFA to check /// @return (uint) function getTokenLevel(uint256 tokenId) external view returns (uint32) { NFTDetails memory currentNFTDetails = getNFTDetailsById[tokenId]; return currentNFTDetails.level; } /// @notice Update the baseTokenURI of the NFT /// @dev The admin of this function is expected to renounce ownership once the base url has been tested and is working /// @param baseTokenURI The new bse uri for the contract function updateBaseTokenURI(string memory baseTokenURI) external onlyRole(DEFAULT_ADMIN_ROLE) { emit UpdateBaseURI(_baseTokenURI, baseTokenURI); _baseTokenURI = baseTokenURI; } /// @notice mint a new NFA to an address /// @dev must be called by an account with MINTER_ROLE /// @param to Address to mint the NFA to /// @param name Name of the NFA /// @param level Level of the NFA function mint( uint256 tokenId, address to, string memory name, uint32 level, uint32 attack, uint32 luck, uint32 productivity ) public virtual onlyRole(MINTER_ROLE) { _tokenIdTracker.increment(); _mint(to, tokenId); getNFTDetailsById[tokenId] = NFTDetails( name, level, attack, luck, productivity ); } function _baseURI() internal view virtual override returns (string memory) { return _baseTokenURI; } function _beforeTokenTransfer(address from, address to, uint256 tokenId) internal virtual override(ERC721Enumerable) { super._beforeTokenTransfer(from, to, tokenId); } function supportsInterface(bytes4 interfaceId) public view virtual override(AccessControlEnumerable, ERC721Enumerable) returns (bool) { return super.supportsInterface(interfaceId); } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"string","name":"name","type":"string"},{"internalType":"string","name":"symbol","type":"string"},{"internalType":"string","name":"baseTokenURI","type":"string"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"previousAdminRole","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"newAdminRole","type":"bytes32"}],"name":"RoleAdminChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"RoleGranted","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"RoleRevoked","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"string","name":"previousBaseUri","type":"string"},{"indexed":true,"internalType":"string","name":"newBaseUri","type":"string"}],"name":"UpdateBaseURI","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":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"getNFTDetailsById","outputs":[{"internalType":"string","name":"name","type":"string"},{"internalType":"uint32","name":"level","type":"uint32"},{"internalType":"uint32","name":"attack","type":"uint32"},{"internalType":"uint32","name":"luck","type":"uint32"},{"internalType":"uint32","name":"productivity","type":"uint32"}],"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":"uint256","name":"tokenId","type":"uint256"}],"name":"getTokenLevel","outputs":[{"internalType":"uint32","name":"","type":"uint32"}],"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":"uint256","name":"tokenId","type":"uint256"},{"internalType":"address","name":"to","type":"address"},{"internalType":"string","name":"name","type":"string"},{"internalType":"uint32","name":"level","type":"uint32"},{"internalType":"uint32","name":"attack","type":"uint32"},{"internalType":"uint32","name":"luck","type":"uint32"},{"internalType":"uint32","name":"productivity","type":"uint32"}],"name":"mint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"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":"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"},{"inputs":[{"internalType":"string","name":"baseTokenURI","type":"string"}],"name":"updateBaseTokenURI","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
60806040523480156200001157600080fd5b506040516200377938038062003779833981016040819052620000349162000380565b8251839083906200004d90600290602085019062000223565b5080516200006390600390602084019062000223565b505081516200007b9150600d90602084019062000223565b5062000089600033620000be565b620000b57f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a633620000be565b50505062000464565b620000ca8282620000ce565b5050565b620000e582826200011160201b620012711760201c565b60008281526001602090815260409091206200010c91839062001361620001b1821b17901c565b505050565b6000828152602081815260408083206001600160a01b038516845290915290205460ff16620000ca576000828152602081815260408083206001600160a01b03851684529091529020805460ff191660011790556200016d3390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b6000620001c8836001600160a01b038416620001d1565b90505b92915050565b60008181526001830160205260408120546200021a57508154600181810184556000848152602080822090930184905584548482528286019093526040902091909155620001cb565b506000620001cb565b828054620002319062000411565b90600052602060002090601f016020900481019282620002555760008555620002a0565b82601f106200027057805160ff1916838001178555620002a0565b82800160010185558215620002a0579182015b82811115620002a057825182559160200191906001019062000283565b50620002ae929150620002b2565b5090565b5b80821115620002ae5760008155600101620002b3565b600082601f830112620002db57600080fd5b81516001600160401b0380821115620002f857620002f86200044e565b604051601f8301601f19908116603f011681019082821181831017156200032357620003236200044e565b816040528381526020925086838588010111156200034057600080fd5b600091505b8382101562000364578582018301518183018401529082019062000345565b83821115620003765760008385830101525b9695505050505050565b6000806000606084860312156200039657600080fd5b83516001600160401b0380821115620003ae57600080fd5b620003bc87838801620002c9565b94506020860151915080821115620003d357600080fd5b620003e187838801620002c9565b93506040860151915080821115620003f857600080fd5b506200040786828701620002c9565b9150509250925092565b600181811c908216806200042657607f821691505b602082108114156200044857634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052604160045260246000fd5b61330580620004746000396000f3fe608060405234801561001057600080fd5b50600436106101cf5760003560e01c806370a0823111610104578063b88d4fde116100a2578063d539139311610071578063d53913931461043d578063d547741f14610464578063e890d2b214610477578063e985e9c51461048a57600080fd5b8063b88d4fde146103dc578063c87b56dd146103ef578063ca15c87314610402578063d011645c1461041557600080fd5b806395d89b41116100de57806395d89b4114610395578063a217fddf1461039d578063a22cb465146103a5578063ae5340fb146103b857600080fd5b806370a082311461032b5780639010d07c1461033e57806391d148541461035157600080fd5b80632f2ff15d1161017157806342842e0e1161014b57806342842e0e146102df5780634f6ccce7146102f25780636352211e14610305578063655391c91461031857600080fd5b80632f2ff15d146102a65780632f745c59146102b957806336568abe146102cc57600080fd5b8063095ea7b3116101ad578063095ea7b31461024957806318160ddd1461025e57806323b872dd14610270578063248a9ca31461028357600080fd5b806301ffc9a7146101d457806306fdde03146101fc578063081812fc14610211575b600080fd5b6101e76101e2366004612ca4565b6104d3565b60405190151581526020015b60405180910390f35b6102046104e4565b6040516101f39190612fdf565b61022461021f366004612c46565b610576565b60405173ffffffffffffffffffffffffffffffffffffffff90911681526020016101f3565b61025c610257366004612c1c565b610655565b005b600a545b6040519081526020016101f3565b61025c61027e366004612b28565b6107e2565b610262610291366004612c46565b60009081526020819052604090206001015490565b61025c6102b4366004612c5f565b610883565b6102626102c7366004612c1c565b6108a8565b61025c6102da366004612c5f565b610977565b61025c6102ed366004612b28565b610a2a565b610262610300366004612c46565b610a45565b610224610313366004612c46565b610b03565b61025c610326366004612cde565b610bb5565b610262610339366004612ada565b610c28565b61022461034c366004612c82565b610cf6565b6101e761035f366004612c5f565b60009182526020828152604080842073ffffffffffffffffffffffffffffffffffffffff93909316845291905290205460ff1690565b610204610d15565b610262600081565b61025c6103b3366004612be0565b610d24565b6103cb6103c6366004612c46565b610d2f565b6040516101f3959493929190612ff2565b61025c6103ea366004612b64565b610e07565b6102046103fd366004612c46565b610eaf565b610262610410366004612c46565b610fbe565b610428610423366004612c46565b610fd5565b60405163ffffffff90911681526020016101f3565b6102627f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a681565b61025c610472366004612c5f565b6110df565b61025c610485366004612d13565b611104565b6101e7610498366004612af5565b73ffffffffffffffffffffffffffffffffffffffff918216600090815260076020908152604080832093909416825291909152205460ff1690565b60006104de82611383565b92915050565b6060600280546104f390613115565b80601f016020809104026020016040519081016040528092919081815260200182805461051f90613115565b801561056c5780601f106105415761010080835404028352916020019161056c565b820191906000526020600020905b81548152906001019060200180831161054f57829003601f168201915b5050505050905090565b60008181526004602052604081205473ffffffffffffffffffffffffffffffffffffffff1661062c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201527f697374656e7420746f6b656e000000000000000000000000000000000000000060648201526084015b60405180910390fd5b5060009081526006602052604090205473ffffffffffffffffffffffffffffffffffffffff1690565b600061066082610b03565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141561071e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560448201527f72000000000000000000000000000000000000000000000000000000000000006064820152608401610623565b3373ffffffffffffffffffffffffffffffffffffffff8216148061074757506107478133610498565b6107d3576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c00000000000000006064820152608401610623565b6107dd83836113d9565b505050565b6107ec3382611479565b610878576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603160248201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60448201527f776e6572206e6f7220617070726f7665640000000000000000000000000000006064820152608401610623565b6107dd8383836115e9565b60008281526020819052604090206001015461089e8161185b565b6107dd8383611868565b60006108b383610c28565b8210610941576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602b60248201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560448201527f74206f6620626f756e64730000000000000000000000000000000000000000006064820152608401610623565b5073ffffffffffffffffffffffffffffffffffffffff919091166000908152600860209081526040808320938352929052205490565b73ffffffffffffffffffffffffffffffffffffffff81163314610a1c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602f60248201527f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560448201527f20726f6c657320666f722073656c6600000000000000000000000000000000006064820152608401610623565b610a26828261188a565b5050565b6107dd83838360405180602001604052806000815250610e07565b6000610a50600a5490565b8210610ade576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602c60248201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60448201527f7574206f6620626f756e647300000000000000000000000000000000000000006064820152608401610623565b600a8281548110610af157610af1613243565b90600052602060002001549050919050565b60008181526004602052604081205473ffffffffffffffffffffffffffffffffffffffff16806104de576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201527f656e7420746f6b656e00000000000000000000000000000000000000000000006064820152608401610623565b6000610bc08161185b565b81604051610bce9190612df7565b6040518091039020600d604051610be59190612e42565b604051908190038120907f8df4f488121a100577506716b83a42d04585c6b7b93941484c5b63b503e1806d90600090a381516107dd90600d906020850190612950565b600073ffffffffffffffffffffffffffffffffffffffff8216610ccd576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a6560448201527f726f2061646472657373000000000000000000000000000000000000000000006064820152608401610623565b5073ffffffffffffffffffffffffffffffffffffffff1660009081526005602052604090205490565b6000828152600160205260408120610d0e90836118ac565b9392505050565b6060600380546104f390613115565b610a263383836118b8565b600e60205260009081526040902080548190610d4a90613115565b80601f0160208091040260200160405190810160405280929190818152602001828054610d7690613115565b8015610dc35780601f10610d9857610100808354040283529160200191610dc3565b820191906000526020600020905b815481529060010190602001808311610da657829003601f168201915b5050506001909301549192505063ffffffff8082169164010000000081048216916801000000000000000082048116916c0100000000000000000000000090041685565b610e113383611479565b610e9d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603160248201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60448201527f776e6572206e6f7220617070726f7665640000000000000000000000000000006064820152608401610623565b610ea9848484846119e6565b50505050565b60008181526004602052604090205460609073ffffffffffffffffffffffffffffffffffffffff16610f63576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201527f6e6578697374656e7420746f6b656e00000000000000000000000000000000006064820152608401610623565b6000610f6d611a89565b90506000815111610f8d5760405180602001604052806000815250610d0e565b80610f9784611a98565b604051602001610fa8929190612e13565b6040516020818303038152906040529392505050565b60008181526001602052604081206104de90611bca565b6000818152600e6020526040808220815160a081019092528054839291908290829061100090613115565b80601f016020809104026020016040519081016040528092919081815260200182805461102c90613115565b80156110795780601f1061104e57610100808354040283529160200191611079565b820191906000526020600020905b81548152906001019060200180831161105c57829003601f168201915b50505091835250506001919091015463ffffffff808216602080850191909152640100000000830482166040850152680100000000000000008304821660608501526c010000000000000000000000009092041660809092019190915201519392505050565b6000828152602081905260409020600101546110fa8161185b565b6107dd838361188a565b7f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a661112e8161185b565b61113c600c80546001019055565b6111468789611bd4565b6040805160a08101825287815263ffffffff808816602080840191909152878216838501528682166060840152908516608083015260008b8152600e825292909220815180519293919261119d9284920190612950565b506020820151600190910180546040840151606085015160809095015163ffffffff9081166c01000000000000000000000000027fffffffffffffffffffffffffffffffff00000000ffffffffffffffffffffffff9682166801000000000000000002969096167fffffffffffffffffffffffffffffffff0000000000000000ffffffffffffffff928216640100000000027fffffffffffffffffffffffffffffffffffffffffffffffff000000000000000090941691909516179190911716919091179190911790555050505050505050565b60008281526020818152604080832073ffffffffffffffffffffffffffffffffffffffff8516845290915290205460ff16610a265760008281526020818152604080832073ffffffffffffffffffffffffffffffffffffffff85168452909152902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001660011790556113033390565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b6000610d0e8373ffffffffffffffffffffffffffffffffffffffff8416611da2565b60007fffffffff0000000000000000000000000000000000000000000000000000000082167f780e9d630000000000000000000000000000000000000000000000000000000014806104de57506104de82611df1565b600081815260066020526040902080547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff8416908117909155819061143382610b03565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b60008181526004602052604081205473ffffffffffffffffffffffffffffffffffffffff1661152a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201527f697374656e7420746f6b656e00000000000000000000000000000000000000006064820152608401610623565b600061153583610b03565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614806115a3575073ffffffffffffffffffffffffffffffffffffffff80821660009081526007602090815260408083209388168352929052205460ff165b806115e157508373ffffffffffffffffffffffffffffffffffffffff166115c984610576565b73ffffffffffffffffffffffffffffffffffffffff16145b949350505050565b8273ffffffffffffffffffffffffffffffffffffffff1661160982610b03565b73ffffffffffffffffffffffffffffffffffffffff16146116ac576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602560248201527f4552433732313a207472616e736665722066726f6d20696e636f72726563742060448201527f6f776e65720000000000000000000000000000000000000000000000000000006064820152608401610623565b73ffffffffffffffffffffffffffffffffffffffff821661174e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f2061646460448201527f72657373000000000000000000000000000000000000000000000000000000006064820152608401610623565b611759838383611e93565b6117646000826113d9565b73ffffffffffffffffffffffffffffffffffffffff8316600090815260056020526040812080546001929061179a90849061309d565b909155505073ffffffffffffffffffffffffffffffffffffffff821660009081526005602052604081208054600192906117d5908490613034565b909155505060008181526004602052604080822080547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff86811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b6118658133611e9e565b50565b6118728282611271565b60008281526001602052604090206107dd9082611361565b6118948282611f6e565b60008281526001602052604090206107dd9082612025565b6000610d0e8383612047565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141561194e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c6572000000000000006044820152606401610623565b73ffffffffffffffffffffffffffffffffffffffff83811660008181526007602090815260408083209487168084529482529182902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b6119f18484846115e9565b6119fd84848484612071565b610ea9576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527f63656976657220696d706c656d656e74657200000000000000000000000000006064820152608401610623565b6060600d80546104f390613115565b606081611ad857505060408051808201909152600181527f3000000000000000000000000000000000000000000000000000000000000000602082015290565b8160005b8115611b025780611aec81613169565b9150611afb9050600a8361304c565b9150611adc565b60008167ffffffffffffffff811115611b1d57611b1d613272565b6040519080825280601f01601f191660200182016040528015611b47576020820181803683370190505b5090505b84156115e157611b5c60018361309d565b9150611b69600a866131a2565b611b74906030613034565b60f81b818381518110611b8957611b89613243565b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350611bc3600a8661304c565b9450611b4b565b60006104de825490565b73ffffffffffffffffffffffffffffffffffffffff8216611c51576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f20616464726573736044820152606401610623565b60008181526004602052604090205473ffffffffffffffffffffffffffffffffffffffff1615611cdd576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606401610623565b611ce960008383611e93565b73ffffffffffffffffffffffffffffffffffffffff82166000908152600560205260408120805460019290611d1f908490613034565b909155505060008181526004602052604080822080547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b6000818152600183016020526040812054611de9575081546001818101845560008481526020808220909301849055845484825282860190935260409020919091556104de565b5060006104de565b60007fffffffff0000000000000000000000000000000000000000000000000000000082167f80ac58cd000000000000000000000000000000000000000000000000000000001480611e8457507fffffffff0000000000000000000000000000000000000000000000000000000082167f5b5e139f00000000000000000000000000000000000000000000000000000000145b806104de57506104de82612270565b6107dd8383836122c6565b60008281526020818152604080832073ffffffffffffffffffffffffffffffffffffffff8516845290915290205460ff16610a2657611ef48173ffffffffffffffffffffffffffffffffffffffff1660146123cc565b611eff8360206123cc565b604051602001611f10929190612f15565b604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0818403018152908290527f08c379a000000000000000000000000000000000000000000000000000000000825261062391600401612fdf565b60008281526020818152604080832073ffffffffffffffffffffffffffffffffffffffff8516845290915290205460ff1615610a265760008281526020818152604080832073ffffffffffffffffffffffffffffffffffffffff8516808552925280832080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0016905551339285917ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9190a45050565b6000610d0e8373ffffffffffffffffffffffffffffffffffffffff841661260f565b600082600001828154811061205e5761205e613243565b9060005260206000200154905092915050565b600073ffffffffffffffffffffffffffffffffffffffff84163b15612265576040517f150b7a0200000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff85169063150b7a02906120e8903390899088908890600401612f96565b602060405180830381600087803b15801561210257600080fd5b505af1925050508015612150575060408051601f3d9081017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016820190925261214d91810190612cc1565b60015b61221a573d80801561217e576040519150601f19603f3d011682016040523d82523d6000602084013e612183565b606091505b508051612212576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527f63656976657220696d706c656d656e74657200000000000000000000000000006064820152608401610623565b805181602001fd5b7fffffffff00000000000000000000000000000000000000000000000000000000167f150b7a02000000000000000000000000000000000000000000000000000000001490506115e1565b506001949350505050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082167f5a05180f0000000000000000000000000000000000000000000000000000000014806104de57506104de82612702565b73ffffffffffffffffffffffffffffffffffffffff831661232e5761232981600a80546000838152600b60205260408120829055600182018355919091527fc65a7bb8d6351c1cf70c95a316cc6a92839c986682d98bc35f958f4883f9d2a80155565b61236b565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161461236b5761236b8382612799565b73ffffffffffffffffffffffffffffffffffffffff821661238f576107dd81612850565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16146107dd576107dd82826128ff565b606060006123db836002613060565b6123e6906002613034565b67ffffffffffffffff8111156123fe576123fe613272565b6040519080825280601f01601f191660200182016040528015612428576020820181803683370190505b5090507f30000000000000000000000000000000000000000000000000000000000000008160008151811061245f5761245f613243565b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053507f7800000000000000000000000000000000000000000000000000000000000000816001815181106124c2576124c2613243565b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a90535060006124fe846002613060565b612509906001613034565b90505b60018111156125a6577f303132333435363738396162636465660000000000000000000000000000000085600f166010811061254a5761254a613243565b1a60f81b82828151811061256057612560613243565b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a90535060049490941c9361259f816130e0565b905061250c565b508315610d0e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f537472696e67733a20686578206c656e67746820696e73756666696369656e746044820152606401610623565b600081815260018301602052604081205480156126f857600061263360018361309d565b85549091506000906126479060019061309d565b90508181146126ac57600086600001828154811061266757612667613243565b906000526020600020015490508087600001848154811061268a5761268a613243565b6000918252602080832090910192909255918252600188019052604090208390555b85548690806126bd576126bd613214565b6001900381819060005260206000200160009055905585600101600086815260200190815260200160002060009055600193505050506104de565b60009150506104de565b60007fffffffff0000000000000000000000000000000000000000000000000000000082167f7965db0b0000000000000000000000000000000000000000000000000000000014806104de57507f01ffc9a7000000000000000000000000000000000000000000000000000000007fffffffff000000000000000000000000000000000000000000000000000000008316146104de565b600060016127a684610c28565b6127b0919061309d565b6000838152600960205260409020549091508082146128105773ffffffffffffffffffffffffffffffffffffffff841660009081526008602090815260408083208584528252808320548484528184208190558352600990915290208190555b50600091825260096020908152604080842084905573ffffffffffffffffffffffffffffffffffffffff9094168352600881528383209183525290812055565b600a546000906128629060019061309d565b6000838152600b6020526040812054600a805493945090928490811061288a5761288a613243565b9060005260206000200154905080600a83815481106128ab576128ab613243565b6000918252602080832090910192909255828152600b9091526040808220849055858252812055600a8054806128e3576128e3613214565b6001900381819060005260206000200160009055905550505050565b600061290a83610c28565b73ffffffffffffffffffffffffffffffffffffffff9093166000908152600860209081526040808320868452825280832085905593825260099052919091209190915550565b82805461295c90613115565b90600052602060002090601f01602090048101928261297e57600085556129c4565b82601f1061299757805160ff19168380011785556129c4565b828001600101855582156129c4579182015b828111156129c45782518255916020019190600101906129a9565b506129d09291506129d4565b5090565b5b808211156129d057600081556001016129d5565b600067ffffffffffffffff80841115612a0457612a04613272565b604051601f85017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0908116603f01168101908282118183101715612a4a57612a4a613272565b81604052809350858152868686011115612a6357600080fd5b858560208301376000602087830101525050509392505050565b803573ffffffffffffffffffffffffffffffffffffffff81168114612aa157600080fd5b919050565b600082601f830112612ab757600080fd5b610d0e838335602085016129e9565b803563ffffffff81168114612aa157600080fd5b600060208284031215612aec57600080fd5b610d0e82612a7d565b60008060408385031215612b0857600080fd5b612b1183612a7d565b9150612b1f60208401612a7d565b90509250929050565b600080600060608486031215612b3d57600080fd5b612b4684612a7d565b9250612b5460208501612a7d565b9150604084013590509250925092565b60008060008060808587031215612b7a57600080fd5b612b8385612a7d565b9350612b9160208601612a7d565b925060408501359150606085013567ffffffffffffffff811115612bb457600080fd5b8501601f81018713612bc557600080fd5b612bd4878235602084016129e9565b91505092959194509250565b60008060408385031215612bf357600080fd5b612bfc83612a7d565b915060208301358015158114612c1157600080fd5b809150509250929050565b60008060408385031215612c2f57600080fd5b612c3883612a7d565b946020939093013593505050565b600060208284031215612c5857600080fd5b5035919050565b60008060408385031215612c7257600080fd5b82359150612b1f60208401612a7d565b60008060408385031215612c9557600080fd5b50508035926020909101359150565b600060208284031215612cb657600080fd5b8135610d0e816132a1565b600060208284031215612cd357600080fd5b8151610d0e816132a1565b600060208284031215612cf057600080fd5b813567ffffffffffffffff811115612d0757600080fd5b6115e184828501612aa6565b600080600080600080600060e0888a031215612d2e57600080fd5b87359650612d3e60208901612a7d565b9550604088013567ffffffffffffffff811115612d5a57600080fd5b612d668a828b01612aa6565b955050612d7560608901612ac6565b9350612d8360808901612ac6565b9250612d9160a08901612ac6565b9150612d9f60c08901612ac6565b905092959891949750929550565b60008151808452612dc58160208601602086016130b4565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169290920160200192915050565b60008251612e098184602087016130b4565b9190910192915050565b60008351612e258184602088016130b4565b835190830190612e398183602088016130b4565b01949350505050565b600080835481600182811c915080831680612e5e57607f831692505b6020808410821415612e97577f4e487b710000000000000000000000000000000000000000000000000000000086526022600452602486fd5b818015612eab5760018114612eda57612f07565b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00861689528489019650612f07565b60008a81526020902060005b86811015612eff5781548b820152908501908301612ee6565b505084890196505b509498975050505050505050565b7f416363657373436f6e74726f6c3a206163636f756e7420000000000000000000815260008351612f4d8160178501602088016130b4565b7f206973206d697373696e6720726f6c65200000000000000000000000000000006017918401918201528351612f8a8160288401602088016130b4565b01602801949350505050565b600073ffffffffffffffffffffffffffffffffffffffff808716835280861660208401525083604083015260806060830152612fd56080830184612dad565b9695505050505050565b602081526000610d0e6020830184612dad565b60a08152600061300560a0830188612dad565b63ffffffff96871660208401529486166040830152509184166060830152909216608090920191909152919050565b60008219821115613047576130476131b6565b500190565b60008261305b5761305b6131e5565b500490565b6000817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615613098576130986131b6565b500290565b6000828210156130af576130af6131b6565b500390565b60005b838110156130cf5781810151838201526020016130b7565b83811115610ea95750506000910152565b6000816130ef576130ef6131b6565b507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0190565b600181811c9082168061312957607f821691505b60208210811415613163577f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b50919050565b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141561319b5761319b6131b6565b5060010190565b6000826131b1576131b16131e5565b500690565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b7fffffffff000000000000000000000000000000000000000000000000000000008116811461186557600080fdfea26469706673582212205cd1b1df0ad2bd2fb0b4248479f818ca34c16042e822ad4a857ec87cf4686a4c64736f6c63430008060033000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000e000000000000000000000000000000000000000000000000000000000000000074461726b4e46540000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000074461726b4e465400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003c68747470733a2f2f6170692e6461726b63727970746f2e66696e616e63652f7374617469632f6e66742f43524f4e4f532f4461726b43727970746f2f00000000
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106101cf5760003560e01c806370a0823111610104578063b88d4fde116100a2578063d539139311610071578063d53913931461043d578063d547741f14610464578063e890d2b214610477578063e985e9c51461048a57600080fd5b8063b88d4fde146103dc578063c87b56dd146103ef578063ca15c87314610402578063d011645c1461041557600080fd5b806395d89b41116100de57806395d89b4114610395578063a217fddf1461039d578063a22cb465146103a5578063ae5340fb146103b857600080fd5b806370a082311461032b5780639010d07c1461033e57806391d148541461035157600080fd5b80632f2ff15d1161017157806342842e0e1161014b57806342842e0e146102df5780634f6ccce7146102f25780636352211e14610305578063655391c91461031857600080fd5b80632f2ff15d146102a65780632f745c59146102b957806336568abe146102cc57600080fd5b8063095ea7b3116101ad578063095ea7b31461024957806318160ddd1461025e57806323b872dd14610270578063248a9ca31461028357600080fd5b806301ffc9a7146101d457806306fdde03146101fc578063081812fc14610211575b600080fd5b6101e76101e2366004612ca4565b6104d3565b60405190151581526020015b60405180910390f35b6102046104e4565b6040516101f39190612fdf565b61022461021f366004612c46565b610576565b60405173ffffffffffffffffffffffffffffffffffffffff90911681526020016101f3565b61025c610257366004612c1c565b610655565b005b600a545b6040519081526020016101f3565b61025c61027e366004612b28565b6107e2565b610262610291366004612c46565b60009081526020819052604090206001015490565b61025c6102b4366004612c5f565b610883565b6102626102c7366004612c1c565b6108a8565b61025c6102da366004612c5f565b610977565b61025c6102ed366004612b28565b610a2a565b610262610300366004612c46565b610a45565b610224610313366004612c46565b610b03565b61025c610326366004612cde565b610bb5565b610262610339366004612ada565b610c28565b61022461034c366004612c82565b610cf6565b6101e761035f366004612c5f565b60009182526020828152604080842073ffffffffffffffffffffffffffffffffffffffff93909316845291905290205460ff1690565b610204610d15565b610262600081565b61025c6103b3366004612be0565b610d24565b6103cb6103c6366004612c46565b610d2f565b6040516101f3959493929190612ff2565b61025c6103ea366004612b64565b610e07565b6102046103fd366004612c46565b610eaf565b610262610410366004612c46565b610fbe565b610428610423366004612c46565b610fd5565b60405163ffffffff90911681526020016101f3565b6102627f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a681565b61025c610472366004612c5f565b6110df565b61025c610485366004612d13565b611104565b6101e7610498366004612af5565b73ffffffffffffffffffffffffffffffffffffffff918216600090815260076020908152604080832093909416825291909152205460ff1690565b60006104de82611383565b92915050565b6060600280546104f390613115565b80601f016020809104026020016040519081016040528092919081815260200182805461051f90613115565b801561056c5780601f106105415761010080835404028352916020019161056c565b820191906000526020600020905b81548152906001019060200180831161054f57829003601f168201915b5050505050905090565b60008181526004602052604081205473ffffffffffffffffffffffffffffffffffffffff1661062c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201527f697374656e7420746f6b656e000000000000000000000000000000000000000060648201526084015b60405180910390fd5b5060009081526006602052604090205473ffffffffffffffffffffffffffffffffffffffff1690565b600061066082610b03565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141561071e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560448201527f72000000000000000000000000000000000000000000000000000000000000006064820152608401610623565b3373ffffffffffffffffffffffffffffffffffffffff8216148061074757506107478133610498565b6107d3576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c00000000000000006064820152608401610623565b6107dd83836113d9565b505050565b6107ec3382611479565b610878576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603160248201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60448201527f776e6572206e6f7220617070726f7665640000000000000000000000000000006064820152608401610623565b6107dd8383836115e9565b60008281526020819052604090206001015461089e8161185b565b6107dd8383611868565b60006108b383610c28565b8210610941576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602b60248201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560448201527f74206f6620626f756e64730000000000000000000000000000000000000000006064820152608401610623565b5073ffffffffffffffffffffffffffffffffffffffff919091166000908152600860209081526040808320938352929052205490565b73ffffffffffffffffffffffffffffffffffffffff81163314610a1c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602f60248201527f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560448201527f20726f6c657320666f722073656c6600000000000000000000000000000000006064820152608401610623565b610a26828261188a565b5050565b6107dd83838360405180602001604052806000815250610e07565b6000610a50600a5490565b8210610ade576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602c60248201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60448201527f7574206f6620626f756e647300000000000000000000000000000000000000006064820152608401610623565b600a8281548110610af157610af1613243565b90600052602060002001549050919050565b60008181526004602052604081205473ffffffffffffffffffffffffffffffffffffffff16806104de576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201527f656e7420746f6b656e00000000000000000000000000000000000000000000006064820152608401610623565b6000610bc08161185b565b81604051610bce9190612df7565b6040518091039020600d604051610be59190612e42565b604051908190038120907f8df4f488121a100577506716b83a42d04585c6b7b93941484c5b63b503e1806d90600090a381516107dd90600d906020850190612950565b600073ffffffffffffffffffffffffffffffffffffffff8216610ccd576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a6560448201527f726f2061646472657373000000000000000000000000000000000000000000006064820152608401610623565b5073ffffffffffffffffffffffffffffffffffffffff1660009081526005602052604090205490565b6000828152600160205260408120610d0e90836118ac565b9392505050565b6060600380546104f390613115565b610a263383836118b8565b600e60205260009081526040902080548190610d4a90613115565b80601f0160208091040260200160405190810160405280929190818152602001828054610d7690613115565b8015610dc35780601f10610d9857610100808354040283529160200191610dc3565b820191906000526020600020905b815481529060010190602001808311610da657829003601f168201915b5050506001909301549192505063ffffffff8082169164010000000081048216916801000000000000000082048116916c0100000000000000000000000090041685565b610e113383611479565b610e9d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603160248201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60448201527f776e6572206e6f7220617070726f7665640000000000000000000000000000006064820152608401610623565b610ea9848484846119e6565b50505050565b60008181526004602052604090205460609073ffffffffffffffffffffffffffffffffffffffff16610f63576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201527f6e6578697374656e7420746f6b656e00000000000000000000000000000000006064820152608401610623565b6000610f6d611a89565b90506000815111610f8d5760405180602001604052806000815250610d0e565b80610f9784611a98565b604051602001610fa8929190612e13565b6040516020818303038152906040529392505050565b60008181526001602052604081206104de90611bca565b6000818152600e6020526040808220815160a081019092528054839291908290829061100090613115565b80601f016020809104026020016040519081016040528092919081815260200182805461102c90613115565b80156110795780601f1061104e57610100808354040283529160200191611079565b820191906000526020600020905b81548152906001019060200180831161105c57829003601f168201915b50505091835250506001919091015463ffffffff808216602080850191909152640100000000830482166040850152680100000000000000008304821660608501526c010000000000000000000000009092041660809092019190915201519392505050565b6000828152602081905260409020600101546110fa8161185b565b6107dd838361188a565b7f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a661112e8161185b565b61113c600c80546001019055565b6111468789611bd4565b6040805160a08101825287815263ffffffff808816602080840191909152878216838501528682166060840152908516608083015260008b8152600e825292909220815180519293919261119d9284920190612950565b506020820151600190910180546040840151606085015160809095015163ffffffff9081166c01000000000000000000000000027fffffffffffffffffffffffffffffffff00000000ffffffffffffffffffffffff9682166801000000000000000002969096167fffffffffffffffffffffffffffffffff0000000000000000ffffffffffffffff928216640100000000027fffffffffffffffffffffffffffffffffffffffffffffffff000000000000000090941691909516179190911716919091179190911790555050505050505050565b60008281526020818152604080832073ffffffffffffffffffffffffffffffffffffffff8516845290915290205460ff16610a265760008281526020818152604080832073ffffffffffffffffffffffffffffffffffffffff85168452909152902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001660011790556113033390565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b6000610d0e8373ffffffffffffffffffffffffffffffffffffffff8416611da2565b60007fffffffff0000000000000000000000000000000000000000000000000000000082167f780e9d630000000000000000000000000000000000000000000000000000000014806104de57506104de82611df1565b600081815260066020526040902080547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff8416908117909155819061143382610b03565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b60008181526004602052604081205473ffffffffffffffffffffffffffffffffffffffff1661152a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201527f697374656e7420746f6b656e00000000000000000000000000000000000000006064820152608401610623565b600061153583610b03565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614806115a3575073ffffffffffffffffffffffffffffffffffffffff80821660009081526007602090815260408083209388168352929052205460ff165b806115e157508373ffffffffffffffffffffffffffffffffffffffff166115c984610576565b73ffffffffffffffffffffffffffffffffffffffff16145b949350505050565b8273ffffffffffffffffffffffffffffffffffffffff1661160982610b03565b73ffffffffffffffffffffffffffffffffffffffff16146116ac576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602560248201527f4552433732313a207472616e736665722066726f6d20696e636f72726563742060448201527f6f776e65720000000000000000000000000000000000000000000000000000006064820152608401610623565b73ffffffffffffffffffffffffffffffffffffffff821661174e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f2061646460448201527f72657373000000000000000000000000000000000000000000000000000000006064820152608401610623565b611759838383611e93565b6117646000826113d9565b73ffffffffffffffffffffffffffffffffffffffff8316600090815260056020526040812080546001929061179a90849061309d565b909155505073ffffffffffffffffffffffffffffffffffffffff821660009081526005602052604081208054600192906117d5908490613034565b909155505060008181526004602052604080822080547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff86811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b6118658133611e9e565b50565b6118728282611271565b60008281526001602052604090206107dd9082611361565b6118948282611f6e565b60008281526001602052604090206107dd9082612025565b6000610d0e8383612047565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141561194e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c6572000000000000006044820152606401610623565b73ffffffffffffffffffffffffffffffffffffffff83811660008181526007602090815260408083209487168084529482529182902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b6119f18484846115e9565b6119fd84848484612071565b610ea9576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527f63656976657220696d706c656d656e74657200000000000000000000000000006064820152608401610623565b6060600d80546104f390613115565b606081611ad857505060408051808201909152600181527f3000000000000000000000000000000000000000000000000000000000000000602082015290565b8160005b8115611b025780611aec81613169565b9150611afb9050600a8361304c565b9150611adc565b60008167ffffffffffffffff811115611b1d57611b1d613272565b6040519080825280601f01601f191660200182016040528015611b47576020820181803683370190505b5090505b84156115e157611b5c60018361309d565b9150611b69600a866131a2565b611b74906030613034565b60f81b818381518110611b8957611b89613243565b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350611bc3600a8661304c565b9450611b4b565b60006104de825490565b73ffffffffffffffffffffffffffffffffffffffff8216611c51576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f20616464726573736044820152606401610623565b60008181526004602052604090205473ffffffffffffffffffffffffffffffffffffffff1615611cdd576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606401610623565b611ce960008383611e93565b73ffffffffffffffffffffffffffffffffffffffff82166000908152600560205260408120805460019290611d1f908490613034565b909155505060008181526004602052604080822080547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b6000818152600183016020526040812054611de9575081546001818101845560008481526020808220909301849055845484825282860190935260409020919091556104de565b5060006104de565b60007fffffffff0000000000000000000000000000000000000000000000000000000082167f80ac58cd000000000000000000000000000000000000000000000000000000001480611e8457507fffffffff0000000000000000000000000000000000000000000000000000000082167f5b5e139f00000000000000000000000000000000000000000000000000000000145b806104de57506104de82612270565b6107dd8383836122c6565b60008281526020818152604080832073ffffffffffffffffffffffffffffffffffffffff8516845290915290205460ff16610a2657611ef48173ffffffffffffffffffffffffffffffffffffffff1660146123cc565b611eff8360206123cc565b604051602001611f10929190612f15565b604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0818403018152908290527f08c379a000000000000000000000000000000000000000000000000000000000825261062391600401612fdf565b60008281526020818152604080832073ffffffffffffffffffffffffffffffffffffffff8516845290915290205460ff1615610a265760008281526020818152604080832073ffffffffffffffffffffffffffffffffffffffff8516808552925280832080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0016905551339285917ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9190a45050565b6000610d0e8373ffffffffffffffffffffffffffffffffffffffff841661260f565b600082600001828154811061205e5761205e613243565b9060005260206000200154905092915050565b600073ffffffffffffffffffffffffffffffffffffffff84163b15612265576040517f150b7a0200000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff85169063150b7a02906120e8903390899088908890600401612f96565b602060405180830381600087803b15801561210257600080fd5b505af1925050508015612150575060408051601f3d9081017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016820190925261214d91810190612cc1565b60015b61221a573d80801561217e576040519150601f19603f3d011682016040523d82523d6000602084013e612183565b606091505b508051612212576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527f63656976657220696d706c656d656e74657200000000000000000000000000006064820152608401610623565b805181602001fd5b7fffffffff00000000000000000000000000000000000000000000000000000000167f150b7a02000000000000000000000000000000000000000000000000000000001490506115e1565b506001949350505050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082167f5a05180f0000000000000000000000000000000000000000000000000000000014806104de57506104de82612702565b73ffffffffffffffffffffffffffffffffffffffff831661232e5761232981600a80546000838152600b60205260408120829055600182018355919091527fc65a7bb8d6351c1cf70c95a316cc6a92839c986682d98bc35f958f4883f9d2a80155565b61236b565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161461236b5761236b8382612799565b73ffffffffffffffffffffffffffffffffffffffff821661238f576107dd81612850565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16146107dd576107dd82826128ff565b606060006123db836002613060565b6123e6906002613034565b67ffffffffffffffff8111156123fe576123fe613272565b6040519080825280601f01601f191660200182016040528015612428576020820181803683370190505b5090507f30000000000000000000000000000000000000000000000000000000000000008160008151811061245f5761245f613243565b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053507f7800000000000000000000000000000000000000000000000000000000000000816001815181106124c2576124c2613243565b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a90535060006124fe846002613060565b612509906001613034565b90505b60018111156125a6577f303132333435363738396162636465660000000000000000000000000000000085600f166010811061254a5761254a613243565b1a60f81b82828151811061256057612560613243565b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a90535060049490941c9361259f816130e0565b905061250c565b508315610d0e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f537472696e67733a20686578206c656e67746820696e73756666696369656e746044820152606401610623565b600081815260018301602052604081205480156126f857600061263360018361309d565b85549091506000906126479060019061309d565b90508181146126ac57600086600001828154811061266757612667613243565b906000526020600020015490508087600001848154811061268a5761268a613243565b6000918252602080832090910192909255918252600188019052604090208390555b85548690806126bd576126bd613214565b6001900381819060005260206000200160009055905585600101600086815260200190815260200160002060009055600193505050506104de565b60009150506104de565b60007fffffffff0000000000000000000000000000000000000000000000000000000082167f7965db0b0000000000000000000000000000000000000000000000000000000014806104de57507f01ffc9a7000000000000000000000000000000000000000000000000000000007fffffffff000000000000000000000000000000000000000000000000000000008316146104de565b600060016127a684610c28565b6127b0919061309d565b6000838152600960205260409020549091508082146128105773ffffffffffffffffffffffffffffffffffffffff841660009081526008602090815260408083208584528252808320548484528184208190558352600990915290208190555b50600091825260096020908152604080842084905573ffffffffffffffffffffffffffffffffffffffff9094168352600881528383209183525290812055565b600a546000906128629060019061309d565b6000838152600b6020526040812054600a805493945090928490811061288a5761288a613243565b9060005260206000200154905080600a83815481106128ab576128ab613243565b6000918252602080832090910192909255828152600b9091526040808220849055858252812055600a8054806128e3576128e3613214565b6001900381819060005260206000200160009055905550505050565b600061290a83610c28565b73ffffffffffffffffffffffffffffffffffffffff9093166000908152600860209081526040808320868452825280832085905593825260099052919091209190915550565b82805461295c90613115565b90600052602060002090601f01602090048101928261297e57600085556129c4565b82601f1061299757805160ff19168380011785556129c4565b828001600101855582156129c4579182015b828111156129c45782518255916020019190600101906129a9565b506129d09291506129d4565b5090565b5b808211156129d057600081556001016129d5565b600067ffffffffffffffff80841115612a0457612a04613272565b604051601f85017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0908116603f01168101908282118183101715612a4a57612a4a613272565b81604052809350858152868686011115612a6357600080fd5b858560208301376000602087830101525050509392505050565b803573ffffffffffffffffffffffffffffffffffffffff81168114612aa157600080fd5b919050565b600082601f830112612ab757600080fd5b610d0e838335602085016129e9565b803563ffffffff81168114612aa157600080fd5b600060208284031215612aec57600080fd5b610d0e82612a7d565b60008060408385031215612b0857600080fd5b612b1183612a7d565b9150612b1f60208401612a7d565b90509250929050565b600080600060608486031215612b3d57600080fd5b612b4684612a7d565b9250612b5460208501612a7d565b9150604084013590509250925092565b60008060008060808587031215612b7a57600080fd5b612b8385612a7d565b9350612b9160208601612a7d565b925060408501359150606085013567ffffffffffffffff811115612bb457600080fd5b8501601f81018713612bc557600080fd5b612bd4878235602084016129e9565b91505092959194509250565b60008060408385031215612bf357600080fd5b612bfc83612a7d565b915060208301358015158114612c1157600080fd5b809150509250929050565b60008060408385031215612c2f57600080fd5b612c3883612a7d565b946020939093013593505050565b600060208284031215612c5857600080fd5b5035919050565b60008060408385031215612c7257600080fd5b82359150612b1f60208401612a7d565b60008060408385031215612c9557600080fd5b50508035926020909101359150565b600060208284031215612cb657600080fd5b8135610d0e816132a1565b600060208284031215612cd357600080fd5b8151610d0e816132a1565b600060208284031215612cf057600080fd5b813567ffffffffffffffff811115612d0757600080fd5b6115e184828501612aa6565b600080600080600080600060e0888a031215612d2e57600080fd5b87359650612d3e60208901612a7d565b9550604088013567ffffffffffffffff811115612d5a57600080fd5b612d668a828b01612aa6565b955050612d7560608901612ac6565b9350612d8360808901612ac6565b9250612d9160a08901612ac6565b9150612d9f60c08901612ac6565b905092959891949750929550565b60008151808452612dc58160208601602086016130b4565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169290920160200192915050565b60008251612e098184602087016130b4565b9190910192915050565b60008351612e258184602088016130b4565b835190830190612e398183602088016130b4565b01949350505050565b600080835481600182811c915080831680612e5e57607f831692505b6020808410821415612e97577f4e487b710000000000000000000000000000000000000000000000000000000086526022600452602486fd5b818015612eab5760018114612eda57612f07565b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00861689528489019650612f07565b60008a81526020902060005b86811015612eff5781548b820152908501908301612ee6565b505084890196505b509498975050505050505050565b7f416363657373436f6e74726f6c3a206163636f756e7420000000000000000000815260008351612f4d8160178501602088016130b4565b7f206973206d697373696e6720726f6c65200000000000000000000000000000006017918401918201528351612f8a8160288401602088016130b4565b01602801949350505050565b600073ffffffffffffffffffffffffffffffffffffffff808716835280861660208401525083604083015260806060830152612fd56080830184612dad565b9695505050505050565b602081526000610d0e6020830184612dad565b60a08152600061300560a0830188612dad565b63ffffffff96871660208401529486166040830152509184166060830152909216608090920191909152919050565b60008219821115613047576130476131b6565b500190565b60008261305b5761305b6131e5565b500490565b6000817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615613098576130986131b6565b500290565b6000828210156130af576130af6131b6565b500390565b60005b838110156130cf5781810151838201526020016130b7565b83811115610ea95750506000910152565b6000816130ef576130ef6131b6565b507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0190565b600181811c9082168061312957607f821691505b60208210811415613163577f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b50919050565b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141561319b5761319b6131b6565b5060010190565b6000826131b1576131b16131e5565b500690565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b7fffffffff000000000000000000000000000000000000000000000000000000008116811461186557600080fdfea26469706673582212205cd1b1df0ad2bd2fb0b4248479f818ca34c16042e822ad4a857ec87cf4686a4c64736f6c63430008060033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000e000000000000000000000000000000000000000000000000000000000000000074461726b4e46540000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000074461726b4e465400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003c68747470733a2f2f6170692e6461726b63727970746f2e66696e616e63652f7374617469632f6e66742f43524f4e4f532f4461726b43727970746f2f00000000
-----Decoded View---------------
Arg [0] : name (string): DarkNFT
Arg [1] : symbol (string): DarkNFT
Arg [2] : baseTokenURI (string): https://api.darkcrypto.finance/static/nft/CRONOS/DarkCrypto/
-----Encoded View---------------
10 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000060
Arg [1] : 00000000000000000000000000000000000000000000000000000000000000a0
Arg [2] : 00000000000000000000000000000000000000000000000000000000000000e0
Arg [3] : 0000000000000000000000000000000000000000000000000000000000000007
Arg [4] : 4461726b4e465400000000000000000000000000000000000000000000000000
Arg [5] : 0000000000000000000000000000000000000000000000000000000000000007
Arg [6] : 4461726b4e465400000000000000000000000000000000000000000000000000
Arg [7] : 000000000000000000000000000000000000000000000000000000000000003c
Arg [8] : 68747470733a2f2f6170692e6461726b63727970746f2e66696e616e63652f73
Arg [9] : 74617469632f6e66742f43524f4e4f532f4461726b43727970746f2f00000000
Deployed ByteCode Sourcemap
70047:2955:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;72803:196;;;;;;:::i;:::-;;:::i;:::-;;;9848:14:1;;9841:22;9823:41;;9811:2;9796:18;72803:196:0;;;;;;;;21761:100;;;:::i;:::-;;;;;;;:::i;23321:221::-;;;;;;:::i;:::-;;:::i;:::-;;;9112:42:1;9100:55;;;9082:74;;9070:2;9055:18;23321:221:0;9037:125:1;22844:411:0;;;;;;:::i;:::-;;:::i;:::-;;36435:113;36523:10;:17;36435:113;;;10021:25:1;;;10009:2;9994:18;36435:113:0;9976:76:1;24071:339:0;;;;;;:::i;:::-;;:::i;50343:131::-;;;;;;:::i;:::-;50417:7;50444:12;;;;;;;;;;:22;;;;50343:131;50736:147;;;;;;:::i;:::-;;:::i;36103:256::-;;;;;;:::i;:::-;;:::i;51784:218::-;;;;;;:::i;:::-;;:::i;24481:185::-;;;;;;:::i;:::-;;:::i;36625:233::-;;;;;;:::i;:::-;;:::i;21455:239::-;;;;;;:::i;:::-;;:::i;71572:199::-;;;;;;:::i;:::-;;:::i;21185:208::-;;;;;;:::i;:::-;;:::i;67682:153::-;;;;;;:::i;:::-;;:::i;48835:147::-;;;;;;:::i;:::-;48921:4;48945:12;;;;;;;;;;;:29;;;;;;;;;;;;;;;;48835:147;21930:104;;;:::i;47940:49::-;;47985:4;47940:49;;23614:155;;;;;;:::i;:::-;;:::i;70598:55::-;;;;;;:::i;:::-;;:::i;:::-;;;;;;;;;;;:::i;24737:328::-;;;;;;:::i;:::-;;:::i;22105:334::-;;;;;;:::i;:::-;;:::i;68009:142::-;;;;;;:::i;:::-;;:::i;71131:195::-;;;;;;:::i;:::-;;:::i;:::-;;;18417:10:1;18405:23;;;18387:42;;18375:2;18360:18;71131:195:0;18342:93:1;70169:62:0;;70207:24;70169:62;;51128:149;;;;;;:::i;:::-;;:::i;72007:477::-;;;;;;:::i;:::-;;:::i;23840:164::-;;;;;;:::i;:::-;23961:25;;;;23937:4;23961:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;23840:164;72803:196;72931:4;72955:36;72979:11;72955:23;:36::i;:::-;72948:43;72803:196;-1:-1:-1;;72803:196:0:o;21761:100::-;21815:13;21848:5;21841:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;21761:100;:::o;23321:221::-;23397:7;26664:16;;;:7;:16;;;;;;:30;:16;23417:73;;;;;;;15785:2:1;23417:73:0;;;15767:21:1;15824:2;15804:18;;;15797:30;15863:34;15843:18;;;15836:62;15934:14;15914:18;;;15907:42;15966:19;;23417:73:0;;;;;;;;;-1:-1:-1;23510:24:0;;;;:15;:24;;;;;;;;;23321:221::o;22844:411::-;22925:13;22941:23;22956:7;22941:14;:23::i;:::-;22925:39;;22989:5;22983:11;;:2;:11;;;;22975:57;;;;;;;16614:2:1;22975:57:0;;;16596:21:1;16653:2;16633:18;;;16626:30;16692:34;16672:18;;;16665:62;16763:3;16743:18;;;16736:31;16784:19;;22975:57:0;16586:223:1;22975:57:0;16418:10;23067:21;;;;;:62;;-1:-1:-1;23092:37:0;23109:5;16418:10;23840:164;:::i;23092:37::-;23045:168;;;;;;;14178:2:1;23045:168:0;;;14160:21:1;14217:2;14197:18;;;14190:30;14256:34;14236:18;;;14229:62;14327:26;14307:18;;;14300:54;14371:19;;23045:168:0;14150:246:1;23045:168:0;23226:21;23235:2;23239:7;23226:8;:21::i;:::-;22914:341;22844:411;;:::o;24071:339::-;24266:41;16418:10;24299:7;24266:18;:41::i;:::-;24258:103;;;;;;;17016:2:1;24258:103:0;;;16998:21:1;17055:2;17035:18;;;17028:30;17094:34;17074:18;;;17067:62;17165:19;17145:18;;;17138:47;17202:19;;24258:103:0;16988:239:1;24258:103:0;24374:28;24384:4;24390:2;24394:7;24374:9;:28::i;50736:147::-;50417:7;50444:12;;;;;;;;;;:22;;;48431:16;48442:4;48431:10;:16::i;:::-;50850:25:::1;50861:4;50867:7;50850:10;:25::i;36103:256::-:0;36200:7;36236:23;36253:5;36236:16;:23::i;:::-;36228:5;:31;36220:87;;;;;;;11412:2:1;36220:87:0;;;11394:21:1;11451:2;11431:18;;;11424:30;11490:34;11470:18;;;11463:62;11561:13;11541:18;;;11534:41;11592:19;;36220:87:0;11384:233:1;36220:87:0;-1:-1:-1;36325:19:0;;;;;;;;;:12;:19;;;;;;;;:26;;;;;;;;;36103:256::o;51784:218::-;51880:23;;;16418:10;51880:23;51872:83;;;;;;;17847:2:1;51872:83:0;;;17829:21:1;17886:2;17866:18;;;17859:30;17925:34;17905:18;;;17898:62;17996:17;17976:18;;;17969:45;18031:19;;51872:83:0;17819:237:1;51872:83:0;51968:26;51980:4;51986:7;51968:11;:26::i;:::-;51784:218;;:::o;24481:185::-;24619:39;24636:4;24642:2;24646:7;24619:39;;;;;;;;;;;;:16;:39::i;36625:233::-;36700:7;36736:30;36523:10;:17;;36435:113;36736:30;36728:5;:38;36720:95;;;;;;;17434:2:1;36720:95:0;;;17416:21:1;17473:2;17453:18;;;17446:30;17512:34;17492:18;;;17485:62;17583:14;17563:18;;;17556:42;17615:19;;36720:95:0;17406:234:1;36720:95:0;36833:10;36844:5;36833:17;;;;;;;;:::i;:::-;;;;;;;;;36826:24;;36625:233;;;:::o;21455:239::-;21527:7;21563:16;;;:7;:16;;;;;;;;21598:19;21590:73;;;;;;;15014:2:1;21590:73:0;;;14996:21:1;15053:2;15033:18;;;15026:30;15092:34;15072:18;;;15065:62;15163:11;15143:18;;;15136:39;15192:19;;21590:73:0;14986:231:1;71572:199:0;47985:4;48431:16;47985:4;48431:10;:16::i;:::-;71711:12:::1;71682:42;;;;;;:::i;:::-;;;;;;;;71696:13;71682:42;;;;;;:::i;:::-;;::::0;;;;::::1;::::0;;;::::1;::::0;;;::::1;71735:28:::0;;::::1;::::0;:13:::1;::::0;:28:::1;::::0;::::1;::::0;::::1;:::i;21185:208::-:0;21257:7;21285:19;;;21277:74;;;;;;;14603:2:1;21277:74:0;;;14585:21:1;14642:2;14622:18;;;14615:30;14681:34;14661:18;;;14654:62;14752:12;14732:18;;;14725:40;14782:19;;21277:74:0;14575:232:1;21277:74:0;-1:-1:-1;21369:16:0;;;;;;:9;:16;;;;;;;21185:208::o;67682:153::-;67772:7;67799:18;;;:12;:18;;;;;:28;;67821:5;67799:21;:28::i;:::-;67792:35;67682:153;-1:-1:-1;;;67682:153:0:o;21930:104::-;21986:13;22019:7;22012:14;;;;;:::i;23614:155::-;23709:52;16418:10;23742:8;23752;23709:18;:52::i;70598:55::-;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;70598:55:0;;;;;;;-1:-1:-1;;70598:55:0;;;;;;;;;;;;;;;;;;;;;;:::o;24737:328::-;24912:41;16418:10;24945:7;24912:18;:41::i;:::-;24904:103;;;;;;;17016:2:1;24904:103:0;;;16998:21:1;17055:2;17035:18;;;17028:30;17094:34;17074:18;;;17067:62;17165:19;17145:18;;;17138:47;17202:19;;24904:103:0;16988:239:1;24904:103:0;25018:39;25032:4;25038:2;25042:7;25051:5;25018:13;:39::i;:::-;24737:328;;;;:::o;22105:334::-;26640:4;26664:16;;;:7;:16;;;;;;22178:13;;26664:30;:16;22204:76;;;;;;;16198:2:1;22204:76:0;;;16180:21:1;16237:2;16217:18;;;16210:30;16276:34;16256:18;;;16249:62;16347:17;16327:18;;;16320:45;16382:19;;22204:76:0;16170:237:1;22204:76:0;22293:21;22317:10;:8;:10::i;:::-;22293:34;;22369:1;22351:7;22345:21;:25;:86;;;;;;;;;;;;;;;;;22397:7;22406:18;:7;:16;:18::i;:::-;22380:45;;;;;;;;;:::i;:::-;;;;;;;;;;;;;22338:93;22105:334;-1:-1:-1;;;22105:334:0:o;68009:142::-;68089:7;68116:18;;;:12;:18;;;;;:27;;:25;:27::i;71131:195::-;71194:6;71251:26;;;:17;:26;;;;;;71213:64;;;;;;;;;;71194:6;;71213:64;71251:26;71213:64;;71251:26;;71213:64;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;71213:64:0;;;-1:-1:-1;;71213:64:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;71295:23;;;71131:195;-1:-1:-1;;;71131:195:0:o;51128:149::-;50417:7;50444:12;;;;;;;;;;:22;;;48431:16;48442:4;48431:10;:16::i;:::-;51243:26:::1;51255:4;51261:7;51243:11;:26::i;72007:477::-:0;70207:24;48431:16;48442:4;48431:10;:16::i;:::-;72251:27:::1;:15;69679:19:::0;;69697:1;69679:19;;;69598:115;72251:27:::1;72289:18;72295:2;72299:7;72289:5;:18::i;:::-;72347:127;::::0;;::::1;::::0;::::1;::::0;;;;;::::1;::::0;;::::1;;::::0;;::::1;::::0;;;;;;::::1;::::0;;;;;;::::1;::::0;;;;;;::::1;::::0;;;;-1:-1:-1;72318:26:0;;;:17:::1;:26:::0;;;;;;:156;;;;72347:127;;72318:26;;:156:::1;::::0;:26;;:156:::1;::::0;::::1;:::i;:::-;-1:-1:-1::0;72318:156:0::1;::::0;::::1;::::0;::::1;::::0;;::::1;::::0;;::::1;::::0;::::1;::::0;::::1;::::0;::::1;::::0;::::1;::::0;;::::1;::::0;::::1;::::0;;::::1;::::0;::::1;::::0;;;::::1;::::0;::::1;::::0;;;;;;;::::1;::::0;::::1;::::0;;;;;;;::::1;::::0;;;;::::1;::::0;;;;;;;;::::1;::::0;;-1:-1:-1;;;;;;;;72007:477:0:o;53285:238::-;48921:4;48945:12;;;;;;;;;;;:29;;;;;;;;;;;;;53364:152;;53408:6;:12;;;;;;;;;;;:29;;;;;;;;;;:36;;;;53440:4;53408:36;;;53491:12;16418:10;;16338:98;53491:12;53464:40;;53482:7;53464:40;;53476:4;53464:40;;;;;;;;;;53285:238;;:::o;61691:152::-;61761:4;61785:50;61790:3;61810:23;;;61785:4;:50::i;35795:224::-;35897:4;35921:50;;;35936:35;35921:50;;:90;;;35975:36;35999:11;35975:23;:36::i;30721:174::-;30796:24;;;;:15;:24;;;;;:29;;;;;;;;;;;;;:24;;30850:23;30796:24;30850:14;:23::i;:::-;30841:46;;;;;;;;;;;;30721:174;;:::o;26869:348::-;26962:4;26664:16;;;:7;:16;;;;;;:30;:16;26979:73;;;;;;;13765:2:1;26979:73:0;;;13747:21:1;13804:2;13784:18;;;13777:30;13843:34;13823:18;;;13816:62;13914:14;13894:18;;;13887:42;13946:19;;26979:73:0;13737:234:1;26979:73:0;27063:13;27079:23;27094:7;27079:14;:23::i;:::-;27063:39;;27132:5;27121:16;;:7;:16;;;:52;;;-1:-1:-1;23961:25:0;;;;23937:4;23961:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;27141:32;27121:87;;;;27201:7;27177:31;;:20;27189:7;27177:11;:20::i;:::-;:31;;;27121:87;27113:96;26869:348;-1:-1:-1;;;;26869:348:0:o;29978:625::-;30137:4;30110:31;;:23;30125:7;30110:14;:23::i;:::-;:31;;;30102:81;;;;;;;12243:2:1;30102:81:0;;;12225:21:1;12282:2;12262:18;;;12255:30;12321:34;12301:18;;;12294:62;12392:7;12372:18;;;12365:35;12417:19;;30102:81:0;12215:227:1;30102:81:0;30202:16;;;30194:65;;;;;;;13006:2:1;30194:65:0;;;12988:21:1;13045:2;13025:18;;;13018:30;13084:34;13064:18;;;13057:62;13155:6;13135:18;;;13128:34;13179:19;;30194:65:0;12978:226:1;30194:65:0;30272:39;30293:4;30299:2;30303:7;30272:20;:39::i;:::-;30376:29;30393:1;30397:7;30376:8;:29::i;:::-;30418:15;;;;;;;:9;:15;;;;;:20;;30437:1;;30418:15;:20;;30437:1;;30418:20;:::i;:::-;;;;-1:-1:-1;;30449:13:0;;;;;;;:9;:13;;;;;:18;;30466:1;;30449:13;:18;;30466:1;;30449:18;:::i;:::-;;;;-1:-1:-1;;30478:16:0;;;;:7;:16;;;;;;:21;;;;;;;;;;;;;;30517:27;;30478:16;;30517:27;;;;;;;22914:341;22844:411;;:::o;49286:105::-;49353:30;49364:4;16418:10;49353;:30::i;:::-;49286:105;:::o;68244:169::-;68332:31;68349:4;68355:7;68332:16;:31::i;:::-;68374:18;;;;:12;:18;;;;;:31;;68397:7;68374:22;:31::i;68507:174::-;68596:32;68614:4;68620:7;68596:17;:32::i;:::-;68639:18;;;;:12;:18;;;;;:34;;68665:7;68639:25;:34::i;62987:158::-;63061:7;63112:22;63116:3;63128:5;63112:3;:22::i;31037:315::-;31192:8;31183:17;;:5;:17;;;;31175:55;;;;;;;13411:2:1;31175:55:0;;;13393:21:1;13450:2;13430:18;;;13423:30;13489:27;13469:18;;;13462:55;13534:18;;31175:55:0;13383:175:1;31175:55:0;31241:25;;;;;;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;:46;;;;;;;;;;;;;31303:41;;9823::1;;;31303::0;;9796:18:1;31303:41:0;;;;;;;31037:315;;;:::o;25947:::-;26104:28;26114:4;26120:2;26124:7;26104:9;:28::i;:::-;26151:48;26174:4;26180:2;26184:7;26193:5;26151:22;:48::i;:::-;26143:111;;;;;;;11824:2:1;26143:111:0;;;11806:21:1;11863:2;11843:18;;;11836:30;11902:34;11882:18;;;11875:62;11973:20;11953:18;;;11946:48;12011:19;;26143:111:0;11796:240:1;72492:114:0;72552:13;72585;72578:20;;;;;:::i;16834:723::-;16890:13;17111:10;17107:53;;-1:-1:-1;;17138:10:0;;;;;;;;;;;;;;;;;;16834:723::o;17107:53::-;17185:5;17170:12;17226:78;17233:9;;17226:78;;17259:8;;;;:::i;:::-;;-1:-1:-1;17282:10:0;;-1:-1:-1;17290:2:0;17282:10;;:::i;:::-;;;17226:78;;;17314:19;17346:6;17336:17;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;17336:17:0;;17314:39;;17364:154;17371:10;;17364:154;;17398:11;17408:1;17398:11;;:::i;:::-;;-1:-1:-1;17467:10:0;17475:2;17467:5;:10;:::i;:::-;17454:24;;:2;:24;:::i;:::-;17441:39;;17424:6;17431;17424:14;;;;;;;;:::i;:::-;;;;:56;;;;;;;;;;-1:-1:-1;17495:11:0;17504:2;17495:11;;:::i;:::-;;;17364:154;;62516:117;62579:7;62606:19;62614:3;58000:18;;57917:109;28553:439;28633:16;;;28625:61;;;;;;;15424:2:1;28625:61:0;;;15406:21:1;;;15443:18;;;15436:30;15502:34;15482:18;;;15475:62;15554:18;;28625:61:0;15396:182:1;28625:61:0;26640:4;26664:16;;;:7;:16;;;;;;:30;:16;:30;28697:58;;;;;;;12649:2:1;28697:58:0;;;12631:21:1;12688:2;12668:18;;;12661:30;12727;12707:18;;;12700:58;12775:18;;28697:58:0;12621:178:1;28697:58:0;28768:45;28797:1;28801:2;28805:7;28768:20;:45::i;:::-;28826:13;;;;;;;:9;:13;;;;;:18;;28843:1;;28826:13;:18;;28843:1;;28826:18;:::i;:::-;;;;-1:-1:-1;;28855:16:0;;;;:7;:16;;;;;;:21;;;;;;;;;;;;;28894:33;;28855:16;;;28894:33;;28855:16;;28894:33;51784:218;;:::o;55606:414::-;55669:4;57799:19;;;:12;;;:19;;;;;;55686:327;;-1:-1:-1;55729:23:0;;;;;;;;:11;:23;;;;;;;;;;;;;55912:18;;55890:19;;;:12;;;:19;;;;;;:40;;;;55945:11;;55686:327;-1:-1:-1;55996:5:0;55989:12;;20828:293;20930:4;20963:40;;;20978:25;20963:40;;:101;;-1:-1:-1;21016:48:0;;;21031:33;21016:48;20963:101;:150;;;;21077:36;21101:11;21077:23;:36::i;72614:181::-;72742:45;72769:4;72775:2;72779:7;72742:26;:45::i;49681:473::-;48921:4;48945:12;;;;;;;;;;;:29;;;;;;;;;;;;;49765:382;;49942:41;49970:7;49942:41;;49980:2;49942:19;:41::i;:::-;50048:38;50076:4;50083:2;50048:19;:38::i;:::-;49855:250;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;49809:326;;;;;;;;:::i;53655:239::-;48921:4;48945:12;;;;;;;;;;;:29;;;;;;;;;;;;;53735:152;;;53810:5;53778:12;;;;;;;;;;;:29;;;;;;;;;;;:37;;;;;;53835:40;16418:10;;53778:12;;53835:40;;53810:5;53835:40;53655:239;;:::o;62019:158::-;62092:4;62116:53;62124:3;62144:23;;;62116:7;:53::i;58380:120::-;58447:7;58474:3;:11;;58486:5;58474:18;;;;;;;;:::i;:::-;;;;;;;;;58467:25;;58380:120;;;;:::o;31917:799::-;32072:4;32093:13;;;8767:19;:23;32089:620;;32129:72;;;;;:36;;;;;;:72;;16418:10;;32180:4;;32186:7;;32195:5;;32129:72;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;32129:72:0;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;32125:529;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;32371:13:0;;32367:272;;32414:60;;;;;11824:2:1;32414:60:0;;;11806:21:1;11863:2;11843:18;;;11836:30;11902:34;11882:18;;;11875:62;11973:20;11953:18;;;11946:48;12011:19;;32414:60:0;11796:240:1;32367:272:0;32589:6;32583:13;32574:6;32570:2;32566:15;32559:38;32125:529;32252:51;;32262:41;32252:51;;-1:-1:-1;32245:58:0;;32089:620;-1:-1:-1;32693:4:0;31917:799;;;;;;:::o;66869:214::-;66954:4;66978:57;;;66993:42;66978:57;;:97;;;67039:36;67063:11;67039:23;:36::i;37471:589::-;37677:18;;;37673:187;;37712:40;37744:7;38887:10;:17;;38860:24;;;;:15;:24;;;;;:44;;;38915:24;;;;;;;;;;;;38783:164;37712:40;37673:187;;;37782:2;37774:10;;:4;:10;;;37770:90;;37801:47;37834:4;37840:7;37801:32;:47::i;:::-;37874:16;;;37870:183;;37907:45;37944:7;37907:36;:45::i;37870:183::-;37980:4;37974:10;;:2;:10;;;37970:83;;38001:40;38029:2;38033:7;38001:27;:40::i;18135:451::-;18210:13;18236:19;18268:10;18272:6;18268:1;:10;:::i;:::-;:14;;18281:1;18268:14;:::i;:::-;18258:25;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;18258:25:0;;18236:47;;18294:15;:6;18301:1;18294:9;;;;;;;;:::i;:::-;;;;:15;;;;;;;;;;;18320;:6;18327:1;18320:9;;;;;;;;:::i;:::-;;;;:15;;;;;;;;;;-1:-1:-1;18351:9:0;18363:10;18367:6;18363:1;:10;:::i;:::-;:14;;18376:1;18363:14;:::i;:::-;18351:26;;18346:135;18383:1;18379;:5;18346:135;;;18418:12;18431:5;18439:3;18431:11;18418:25;;;;;;;:::i;:::-;;;;18406:6;18413:1;18406:9;;;;;;;;:::i;:::-;;;;:37;;;;;;;;;;-1:-1:-1;18468:1:0;18458:11;;;;;18386:3;;;:::i;:::-;;;18346:135;;;-1:-1:-1;18499:10:0;;18491:55;;;;;;;11051:2:1;18491:55:0;;;11033:21:1;;;11070:18;;;11063:30;11129:34;11109:18;;;11102:62;11181:18;;18491:55:0;11023:182:1;56196:1420:0;56262:4;56401:19;;;:12;;;:19;;;;;;56437:15;;56433:1176;;56812:21;56836:14;56849:1;56836:10;:14;:::i;:::-;56885:18;;56812:38;;-1:-1:-1;56865:17:0;;56885:22;;56906:1;;56885:22;:::i;:::-;56865:42;;56941:13;56928:9;:26;56924:405;;56975:17;56995:3;:11;;57007:9;56995:22;;;;;;;;:::i;:::-;;;;;;;;;56975:42;;57149:9;57120:3;:11;;57132:13;57120:26;;;;;;;;:::i;:::-;;;;;;;;;;;;:38;;;;57234:23;;;:12;;;:23;;;;;:36;;;56924:405;57410:17;;:3;;:17;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;57505:3;:12;;:19;57518:5;57505:19;;;;;;;;;;;57498:26;;;57548:4;57541:11;;;;;;;56433:1176;57592:5;57585:12;;;;;48539:204;48624:4;48648:47;;;48663:32;48648:47;;:87;;-1:-1:-1;19484:25:0;19469:40;;;;48699:36;19360:157;39574:988;39840:22;39890:1;39865:22;39882:4;39865:16;:22::i;:::-;:26;;;;:::i;:::-;39902:18;39923:26;;;:17;:26;;;;;;39840:51;;-1:-1:-1;40056:28:0;;;40052:328;;40123:18;;;40101:19;40123:18;;;:12;:18;;;;;;;;:34;;;;;;;;;40174:30;;;;;;:44;;;40291:30;;:17;:30;;;;;:43;;;40052:328;-1:-1:-1;40476:26:0;;;;:17;:26;;;;;;;;40469:33;;;40520:18;;;;;;:12;:18;;;;;:34;;;;;;;40513:41;39574:988::o;40857:1079::-;41135:10;:17;41110:22;;41135:21;;41155:1;;41135:21;:::i;:::-;41167:18;41188:24;;;:15;:24;;;;;;41561:10;:26;;41110:46;;-1:-1:-1;41188:24:0;;41110:46;;41561:26;;;;;;:::i;:::-;;;;;;;;;41539:48;;41625:11;41600:10;41611;41600:22;;;;;;;;:::i;:::-;;;;;;;;;;;;:36;;;;41705:28;;;:15;:28;;;;;;;:41;;;41877:24;;;;;41870:31;41912:10;:16;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;40928:1008;;;40857:1079;:::o;38361:221::-;38446:14;38463:20;38480:2;38463:16;:20::i;:::-;38494:16;;;;;;;;:12;:16;;;;;;;;:24;;;;;;;;:34;;;38539:26;;;:17;:26;;;;;;:35;;;;-1:-1:-1;38361:221:0:o;-1:-1:-1:-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;14:690:1;78:5;108:18;149:2;141:6;138:14;135:2;;;155:18;;:::i;:::-;289:2;283:9;355:2;343:15;;194:66;339:24;;;365:2;335:33;331:42;319:55;;;389:18;;;409:22;;;386:46;383:2;;;435:18;;:::i;:::-;475:10;471:2;464:22;504:6;495:15;;534:6;526;519:22;574:3;565:6;560:3;556:16;553:25;550:2;;;591:1;588;581:12;550:2;641:6;636:3;629:4;621:6;617:17;604:44;696:1;689:4;680:6;672;668:19;664:30;657:41;;;;88:616;;;;;:::o;709:196::-;777:20;;837:42;826:54;;816:65;;806:2;;895:1;892;885:12;806:2;758:147;;;:::o;910:221::-;953:5;1006:3;999:4;991:6;987:17;983:27;973:2;;1024:1;1021;1014:12;973:2;1046:79;1121:3;1112:6;1099:20;1092:4;1084:6;1080:17;1046:79;:::i;1136:163::-;1203:20;;1263:10;1252:22;;1242:33;;1232:2;;1289:1;1286;1279:12;1304:186;1363:6;1416:2;1404:9;1395:7;1391:23;1387:32;1384:2;;;1432:1;1429;1422:12;1384:2;1455:29;1474:9;1455:29;:::i;1495:260::-;1563:6;1571;1624:2;1612:9;1603:7;1599:23;1595:32;1592:2;;;1640:1;1637;1630:12;1592:2;1663:29;1682:9;1663:29;:::i;:::-;1653:39;;1711:38;1745:2;1734:9;1730:18;1711:38;:::i;:::-;1701:48;;1582:173;;;;;:::o;1760:328::-;1837:6;1845;1853;1906:2;1894:9;1885:7;1881:23;1877:32;1874:2;;;1922:1;1919;1912:12;1874:2;1945:29;1964:9;1945:29;:::i;:::-;1935:39;;1993:38;2027:2;2016:9;2012:18;1993:38;:::i;:::-;1983:48;;2078:2;2067:9;2063:18;2050:32;2040:42;;1864:224;;;;;:::o;2093:666::-;2188:6;2196;2204;2212;2265:3;2253:9;2244:7;2240:23;2236:33;2233:2;;;2282:1;2279;2272:12;2233:2;2305:29;2324:9;2305:29;:::i;:::-;2295:39;;2353:38;2387:2;2376:9;2372:18;2353:38;:::i;:::-;2343:48;;2438:2;2427:9;2423:18;2410:32;2400:42;;2493:2;2482:9;2478:18;2465:32;2520:18;2512:6;2509:30;2506:2;;;2552:1;2549;2542:12;2506:2;2575:22;;2628:4;2620:13;;2616:27;-1:-1:-1;2606:2:1;;2657:1;2654;2647:12;2606:2;2680:73;2745:7;2740:2;2727:16;2722:2;2718;2714:11;2680:73;:::i;:::-;2670:83;;;2223:536;;;;;;;:::o;2764:347::-;2829:6;2837;2890:2;2878:9;2869:7;2865:23;2861:32;2858:2;;;2906:1;2903;2896:12;2858:2;2929:29;2948:9;2929:29;:::i;:::-;2919:39;;3008:2;2997:9;2993:18;2980:32;3055:5;3048:13;3041:21;3034:5;3031:32;3021:2;;3077:1;3074;3067:12;3021:2;3100:5;3090:15;;;2848:263;;;;;:::o;3116:254::-;3184:6;3192;3245:2;3233:9;3224:7;3220:23;3216:32;3213:2;;;3261:1;3258;3251:12;3213:2;3284:29;3303:9;3284:29;:::i;:::-;3274:39;3360:2;3345:18;;;;3332:32;;-1:-1:-1;;;3203:167:1:o;3375:180::-;3434:6;3487:2;3475:9;3466:7;3462:23;3458:32;3455:2;;;3503:1;3500;3493:12;3455:2;-1:-1:-1;3526:23:1;;3445:110;-1:-1:-1;3445:110:1:o;3560:254::-;3628:6;3636;3689:2;3677:9;3668:7;3664:23;3660:32;3657:2;;;3705:1;3702;3695:12;3657:2;3741:9;3728:23;3718:33;;3770:38;3804:2;3793:9;3789:18;3770:38;:::i;3819:248::-;3887:6;3895;3948:2;3936:9;3927:7;3923:23;3919:32;3916:2;;;3964:1;3961;3954:12;3916:2;-1:-1:-1;;3987:23:1;;;4057:2;4042:18;;;4029:32;;-1:-1:-1;3906:161:1:o;4072:245::-;4130:6;4183:2;4171:9;4162:7;4158:23;4154:32;4151:2;;;4199:1;4196;4189:12;4151:2;4238:9;4225:23;4257:30;4281:5;4257:30;:::i;4322:249::-;4391:6;4444:2;4432:9;4423:7;4419:23;4415:32;4412:2;;;4460:1;4457;4450:12;4412:2;4492:9;4486:16;4511:30;4535:5;4511:30;:::i;4576:322::-;4645:6;4698:2;4686:9;4677:7;4673:23;4669:32;4666:2;;;4714:1;4711;4704:12;4666:2;4754:9;4741:23;4787:18;4779:6;4776:30;4773:2;;;4819:1;4816;4809:12;4773:2;4842:50;4884:7;4875:6;4864:9;4860:22;4842:50;:::i;5088:756::-;5207:6;5215;5223;5231;5239;5247;5255;5308:3;5296:9;5287:7;5283:23;5279:33;5276:2;;;5325:1;5322;5315:12;5276:2;5361:9;5348:23;5338:33;;5390:38;5424:2;5413:9;5409:18;5390:38;:::i;:::-;5380:48;;5479:2;5468:9;5464:18;5451:32;5506:18;5498:6;5495:30;5492:2;;;5538:1;5535;5528:12;5492:2;5561:50;5603:7;5594:6;5583:9;5579:22;5561:50;:::i;:::-;5551:60;;;5630:37;5663:2;5652:9;5648:18;5630:37;:::i;:::-;5620:47;;5686:38;5719:3;5708:9;5704:19;5686:38;:::i;:::-;5676:48;;5743:38;5776:3;5765:9;5761:19;5743:38;:::i;:::-;5733:48;;5800:38;5833:3;5822:9;5818:19;5800:38;:::i;:::-;5790:48;;5266:578;;;;;;;;;;:::o;5849:316::-;5890:3;5928:5;5922:12;5955:6;5950:3;5943:19;5971:63;6027:6;6020:4;6015:3;6011:14;6004:4;5997:5;5993:16;5971:63;:::i;:::-;6079:2;6067:15;6084:66;6063:88;6054:98;;;;6154:4;6050:109;;5898:267;-1:-1:-1;;5898:267:1:o;6170:276::-;6301:3;6339:6;6333:13;6355:53;6401:6;6396:3;6389:4;6381:6;6377:17;6355:53;:::i;:::-;6424:16;;;;;6309:137;-1:-1:-1;;6309:137:1:o;6451:470::-;6630:3;6668:6;6662:13;6684:53;6730:6;6725:3;6718:4;6710:6;6706:17;6684:53;:::i;:::-;6800:13;;6759:16;;;;6822:57;6800:13;6759:16;6856:4;6844:17;;6822:57;:::i;:::-;6895:20;;6638:283;-1:-1:-1;;;;6638:283:1:o;6926:1214::-;7054:3;7083:1;7116:6;7110:13;7146:3;7168:1;7196:9;7192:2;7188:18;7178:28;;7256:2;7245:9;7241:18;7278;7268:2;;7322:4;7314:6;7310:17;7300:27;;7268:2;7348;7396;7388:6;7385:14;7365:18;7362:38;7359:2;;;7435:77;7430:3;7423:90;7536:4;7533:1;7526:15;7566:4;7561:3;7554:17;7359:2;7597:18;7624:162;;;;7800:1;7795:320;;;;7590:525;;7624:162;7672:66;7661:9;7657:82;7652:3;7645:95;7769:6;7764:3;7760:16;7753:23;;7624:162;;7795:320;18513:1;18506:14;;;18550:4;18537:18;;7890:1;7904:165;7918:6;7915:1;7912:13;7904:165;;;7996:14;;7983:11;;;7976:35;8039:16;;;;7933:10;;7904:165;;;7908:3;;8098:6;8093:3;8089:16;8082:23;;7590:525;-1:-1:-1;8131:3:1;;7062:1078;-1:-1:-1;;;;;;;;7062:1078:1:o;8145:786::-;8556:25;8551:3;8544:38;8526:3;8611:6;8605:13;8627:62;8682:6;8677:2;8672:3;8668:12;8661:4;8653:6;8649:17;8627:62;:::i;:::-;8753:19;8748:2;8708:16;;;8740:11;;;8733:40;8798:13;;8820:63;8798:13;8869:2;8861:11;;8854:4;8842:17;;8820:63;:::i;:::-;8903:17;8922:2;8899:26;;8534:397;-1:-1:-1;;;;8534:397:1:o;9167:511::-;9361:4;9390:42;9471:2;9463:6;9459:15;9448:9;9441:34;9523:2;9515:6;9511:15;9506:2;9495:9;9491:18;9484:43;;9563:6;9558:2;9547:9;9543:18;9536:34;9606:3;9601:2;9590:9;9586:18;9579:31;9627:45;9667:3;9656:9;9652:19;9644:6;9627:45;:::i;:::-;9619:53;9370:308;-1:-1:-1;;;;;;9370:308:1:o;10057:219::-;10206:2;10195:9;10188:21;10169:4;10226:44;10266:2;10255:9;10251:18;10243:6;10226:44;:::i;10281:563::-;10534:3;10523:9;10516:22;10497:4;10555:45;10595:3;10584:9;10580:19;10572:6;10555:45;:::i;:::-;10619:10;10665:15;;;10660:2;10645:18;;10638:43;10717:15;;;10712:2;10697:18;;10690:43;-1:-1:-1;10769:15:1;;;10764:2;10749:18;;10742:43;10822:15;;;10816:3;10801:19;;;10794:44;;;;10547:53;10506:338;-1:-1:-1;10506:338:1:o;18566:128::-;18606:3;18637:1;18633:6;18630:1;18627:13;18624:2;;;18643:18;;:::i;:::-;-1:-1:-1;18679:9:1;;18614:80::o;18699:120::-;18739:1;18765;18755:2;;18770:18;;:::i;:::-;-1:-1:-1;18804:9:1;;18745:74::o;18824:228::-;18864:7;18990:1;18922:66;18918:74;18915:1;18912:81;18907:1;18900:9;18893:17;18889:105;18886:2;;;18997:18;;:::i;:::-;-1:-1:-1;19037:9:1;;18876:176::o;19057:125::-;19097:4;19125:1;19122;19119:8;19116:2;;;19130:18;;:::i;:::-;-1:-1:-1;19167:9:1;;19106:76::o;19187:258::-;19259:1;19269:113;19283:6;19280:1;19277:13;19269:113;;;19359:11;;;19353:18;19340:11;;;19333:39;19305:2;19298:10;19269:113;;;19400:6;19397:1;19394:13;19391:2;;;-1:-1:-1;;19435:1:1;19417:16;;19410:27;19240:205::o;19450:196::-;19489:3;19517:5;19507:2;;19526:18;;:::i;:::-;-1:-1:-1;19573:66:1;19562:78;;19497:149::o;19651:437::-;19730:1;19726:12;;;;19773;;;19794:2;;19848:4;19840:6;19836:17;19826:27;;19794:2;19901;19893:6;19890:14;19870:18;19867:38;19864:2;;;19938:77;19935:1;19928:88;20039:4;20036:1;20029:15;20067:4;20064:1;20057:15;19864:2;;19706:382;;;:::o;20093:195::-;20132:3;20163:66;20156:5;20153:77;20150:2;;;20233:18;;:::i;:::-;-1:-1:-1;20280:1:1;20269:13;;20140:148::o;20293:112::-;20325:1;20351;20341:2;;20356:18;;:::i;:::-;-1:-1:-1;20390:9:1;;20331:74::o;20410:184::-;20462:77;20459:1;20452:88;20559:4;20556:1;20549:15;20583:4;20580:1;20573:15;20599:184;20651:77;20648:1;20641:88;20748:4;20745:1;20738:15;20772:4;20769:1;20762:15;20788:184;20840:77;20837:1;20830:88;20937:4;20934:1;20927:15;20961:4;20958:1;20951:15;20977:184;21029:77;21026:1;21019:88;21126:4;21123:1;21116:15;21150:4;21147:1;21140:15;21166:184;21218:77;21215:1;21208:88;21315:4;21312:1;21305:15;21339:4;21336:1;21329:15;21355:177;21440:66;21433:5;21429:78;21422:5;21419:89;21409:2;;21522:1;21519;21512:12
Swarm Source
ipfs://5cd1b1df0ad2bd2fb0b4248479f818ca34c16042e822ad4a857ec87cf4686a4c