Feature Tip: Add private address tag to any address under My Name Tag !
ERC-721
Overview
Max Total Supply
2,195 PASSCARD
Holders
2,102
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
1 PASSCARDLoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
NicePasscard
Compiler Version
v0.8.2+commit.661d1103
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2022-07-22 */ // File: @openzeppelin/contracts/utils/introspection/IERC165.sol // SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC165 standard, as defined in the * https://eips.ethereum.org/EIPS/eip-165[EIP]. * * Implementers can declare support of contract interfaces, which can then be * queried by others ({ERC165Checker}). * * For an implementation, see {ERC165}. */ interface IERC165 { /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] * to learn more about how these ids are created. * * This function call must use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); } // File: @openzeppelin/contracts/token/ERC721/IERC721.sol // OpenZeppelin Contracts (last updated v4.7.0) (token/ERC721/IERC721.sol) pragma solidity ^0.8.0; /** * @dev Required interface of an ERC721 compliant contract. */ interface IERC721 is IERC165 { /** * @dev Emitted when `tokenId` token is transferred from `from` to `to`. */ event Transfer(address indexed from, address indexed to, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token. */ event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets. */ event ApprovalForAll(address indexed owner, address indexed operator, bool approved); /** * @dev Returns the number of tokens in ``owner``'s account. */ function balanceOf(address owner) external view returns (uint256 balance); /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) external view returns (address owner); /** * @dev Safely transfers `tokenId` token from `from` to `to`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes calldata data ) external; /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must have been allowed to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Transfers `tokenId` token from `from` to `to`. * * WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) external; /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool _approved) external; /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll} */ function isApprovedForAll(address owner, address operator) external view returns (bool); } // File: @openzeppelin/contracts/token/ERC721/IERC721Receiver.sol // OpenZeppelin Contracts (last updated v4.6.0) (token/ERC721/IERC721Receiver.sol) pragma solidity ^0.8.0; /** * @title ERC721 token receiver interface * @dev Interface for any contract that wants to support safeTransfers * from ERC721 asset contracts. */ interface IERC721Receiver { /** * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom} * by `operator` from `from`, this function is called. * * It must return its Solidity selector to confirm the token transfer. * If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted. * * The selector can be obtained in Solidity with `IERC721Receiver.onERC721Received.selector`. */ function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); } // File: @openzeppelin/contracts/token/ERC721/extensions/IERC721Metadata.sol // OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/IERC721Metadata.sol) pragma solidity ^0.8.0; /** * @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); } // File: @openzeppelin/contracts/utils/Address.sol // OpenZeppelin Contracts (last updated v4.7.0) (utils/Address.sol) pragma solidity ^0.8.1; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== * * [IMPORTANT] * ==== * You shouldn't rely on `isContract` to protect against flash loan attacks! * * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract * constructor. * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize/address.code.length, which returns 0 // for contracts in construction, since the code is only stored at the end // of the constructor execution. return account.code.length > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); (bool success, ) = recipient.call{value: amount}(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain `call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCall(target, data, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value ) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value, string memory errorMessage ) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); require(isContract(target), "Address: call to non-contract"); (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall( address target, bytes memory data, string memory errorMessage ) internal view returns (bytes memory) { require(isContract(target), "Address: static call to non-contract"); (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { require(isContract(target), "Address: delegate call to non-contract"); (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason using the provided one. * * _Available since v4.3._ */ function verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) internal pure returns (bytes memory) { if (success) { return returndata; } else { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly /// @solidity memory-safe-assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } } // File: @openzeppelin/contracts/utils/Context.sol // OpenZeppelin Contracts v4.4.1 (utils/Context.sol) pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } } // File: @openzeppelin/contracts/utils/Strings.sol // OpenZeppelin Contracts (last updated v4.7.0) (utils/Strings.sol) pragma solidity ^0.8.0; /** * @dev String operations. */ library Strings { bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef"; uint8 private constant _ADDRESS_LENGTH = 20; /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function toString(uint256 value) internal pure returns (string memory) { // Inspired by OraclizeAPI's implementation - MIT licence // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol if (value == 0) { return "0"; } uint256 temp = value; uint256 digits; while (temp != 0) { digits++; temp /= 10; } bytes memory buffer = new bytes(digits); while (value != 0) { digits -= 1; buffer[digits] = bytes1(uint8(48 + uint256(value % 10))); value /= 10; } return string(buffer); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { if (value == 0) { return "0x00"; } uint256 temp = value; uint256 length = 0; while (temp != 0) { length++; temp >>= 8; } return toHexString(value, length); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length. */ function toHexString(uint256 value, uint256 length) internal pure returns (string memory) { bytes memory buffer = new bytes(2 * length + 2); buffer[0] = "0"; buffer[1] = "x"; for (uint256 i = 2 * length + 1; i > 1; --i) { buffer[i] = _HEX_SYMBOLS[value & 0xf]; value >>= 4; } require(value == 0, "Strings: hex length insufficient"); return string(buffer); } /** * @dev Converts an `address` with fixed length of 20 bytes to its not checksummed ASCII `string` hexadecimal representation. */ function toHexString(address addr) internal pure returns (string memory) { return toHexString(uint256(uint160(addr)), _ADDRESS_LENGTH); } } // File: @openzeppelin/contracts/utils/introspection/ERC165.sol // OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol) pragma solidity ^0.8.0; /** * @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; } } // File: @openzeppelin/contracts/token/ERC721/ERC721.sol // OpenZeppelin Contracts (last updated v4.7.0) (token/ERC721/ERC721.sol) pragma solidity ^0.8.0; /** * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including * the Metadata extension, but not including the Enumerable extension, which is available separately as * {ERC721Enumerable}. */ contract ERC721 is Context, ERC165, IERC721, IERC721Metadata { using Address for address; using Strings for uint256; // Token name string private _name; // Token symbol string private _symbol; // Mapping from token ID to owner address mapping(uint256 => address) private _owners; // Mapping owner address to token count mapping(address => uint256) private _balances; // Mapping from token ID to approved address mapping(uint256 => address) private _tokenApprovals; // Mapping from owner to operator approvals mapping(address => mapping(address => bool)) private _operatorApprovals; /** * @dev Initializes the contract by setting a `name` and a `symbol` to the token collection. */ constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) { return interfaceId == type(IERC721).interfaceId || interfaceId == type(IERC721Metadata).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC721-balanceOf}. */ function balanceOf(address owner) public view virtual override returns (uint256) { require(owner != address(0), "ERC721: address zero is not a valid owner"); return _balances[owner]; } /** * @dev See {IERC721-ownerOf}. */ function ownerOf(uint256 tokenId) public view virtual override returns (address) { address owner = _owners[tokenId]; require(owner != address(0), "ERC721: invalid token ID"); return owner; } /** * @dev See {IERC721Metadata-name}. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev See {IERC721Metadata-symbol}. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev See {IERC721Metadata-tokenURI}. */ function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { _requireMinted(tokenId); string memory baseURI = _baseURI(); return bytes(baseURI).length > 0 ? string(abi.encodePacked(baseURI, tokenId.toString())) : ""; } /** * @dev Base URI for computing {tokenURI}. If set, the resulting URI for each * token will be the concatenation of the `baseURI` and the `tokenId`. Empty * by default, can be overridden in child contracts. */ function _baseURI() internal view virtual returns (string memory) { return ""; } /** * @dev See {IERC721-approve}. */ function approve(address to, uint256 tokenId) public virtual override { address owner = ERC721.ownerOf(tokenId); require(to != owner, "ERC721: approval to current owner"); require( _msgSender() == owner || isApprovedForAll(owner, _msgSender()), "ERC721: approve caller is not token owner nor approved for all" ); _approve(to, tokenId); } /** * @dev See {IERC721-getApproved}. */ function getApproved(uint256 tokenId) public view virtual override returns (address) { _requireMinted(tokenId); return _tokenApprovals[tokenId]; } /** * @dev See {IERC721-setApprovalForAll}. */ function setApprovalForAll(address operator, bool approved) public virtual override { _setApprovalForAll(_msgSender(), operator, approved); } /** * @dev See {IERC721-isApprovedForAll}. */ function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) { return _operatorApprovals[owner][operator]; } /** * @dev See {IERC721-transferFrom}. */ function transferFrom( address from, address to, uint256 tokenId ) public virtual override { //solhint-disable-next-line max-line-length require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: caller is not token owner nor approved"); _transfer(from, to, tokenId); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId ) public virtual override { safeTransferFrom(from, to, tokenId, ""); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes memory data ) public virtual override { require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: caller is not token owner nor approved"); _safeTransfer(from, to, tokenId, data); } /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * `data` is additional data, it has no specified format and it is sent in call to `to`. * * This internal function is equivalent to {safeTransferFrom}, and can be used to e.g. * implement alternative mechanisms to perform token transfer, such as signature-based. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeTransfer( address from, address to, uint256 tokenId, bytes memory data ) internal virtual { _transfer(from, to, tokenId); require(_checkOnERC721Received(from, to, tokenId, data), "ERC721: transfer to non ERC721Receiver implementer"); } /** * @dev Returns whether `tokenId` exists. * * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}. * * Tokens start existing when they are minted (`_mint`), * and stop existing when they are burned (`_burn`). */ function _exists(uint256 tokenId) internal view virtual returns (bool) { return _owners[tokenId] != address(0); } /** * @dev Returns whether `spender` is allowed to manage `tokenId`. * * Requirements: * * - `tokenId` must exist. */ function _isApprovedOrOwner(address spender, uint256 tokenId) internal view virtual returns (bool) { address owner = ERC721.ownerOf(tokenId); return (spender == owner || isApprovedForAll(owner, spender) || getApproved(tokenId) == spender); } /** * @dev Safely mints `tokenId` and transfers it to `to`. * * Requirements: * * - `tokenId` must not exist. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeMint(address to, uint256 tokenId) internal virtual { _safeMint(to, tokenId, ""); } /** * @dev Same as {xref-ERC721-_safeMint-address-uint256-}[`_safeMint`], with an additional `data` parameter which is * forwarded in {IERC721Receiver-onERC721Received} to contract recipients. */ function _safeMint( address to, uint256 tokenId, bytes memory data ) internal virtual { _mint(to, tokenId); require( _checkOnERC721Received(address(0), to, tokenId, data), "ERC721: transfer to non ERC721Receiver implementer" ); } /** * @dev Mints `tokenId` and transfers it to `to`. * * WARNING: Usage of this method is discouraged, use {_safeMint} whenever possible * * Requirements: * * - `tokenId` must not exist. * - `to` cannot be the zero address. * * Emits a {Transfer} event. */ function _mint(address to, uint256 tokenId) internal virtual { require(to != address(0), "ERC721: mint to the zero address"); require(!_exists(tokenId), "ERC721: token already minted"); _beforeTokenTransfer(address(0), to, tokenId); _balances[to] += 1; _owners[tokenId] = to; emit Transfer(address(0), to, tokenId); _afterTokenTransfer(address(0), to, tokenId); } /** * @dev Destroys `tokenId`. * The approval is cleared when the token is burned. * * Requirements: * * - `tokenId` must exist. * * Emits a {Transfer} event. */ function _burn(uint256 tokenId) internal virtual { address owner = ERC721.ownerOf(tokenId); _beforeTokenTransfer(owner, address(0), tokenId); // Clear approvals _approve(address(0), tokenId); _balances[owner] -= 1; delete _owners[tokenId]; emit Transfer(owner, address(0), tokenId); _afterTokenTransfer(owner, address(0), tokenId); } /** * @dev Transfers `tokenId` from `from` to `to`. * As opposed to {transferFrom}, this imposes no restrictions on msg.sender. * * Requirements: * * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * * Emits a {Transfer} event. */ function _transfer( address from, address to, uint256 tokenId ) internal virtual { require(ERC721.ownerOf(tokenId) == from, "ERC721: transfer from incorrect owner"); require(to != address(0), "ERC721: transfer to the zero address"); _beforeTokenTransfer(from, to, tokenId); // Clear approvals from the previous owner _approve(address(0), tokenId); _balances[from] -= 1; _balances[to] += 1; _owners[tokenId] = to; emit Transfer(from, to, tokenId); _afterTokenTransfer(from, to, tokenId); } /** * @dev Approve `to` to operate on `tokenId` * * Emits an {Approval} event. */ function _approve(address to, uint256 tokenId) internal virtual { _tokenApprovals[tokenId] = to; emit Approval(ERC721.ownerOf(tokenId), to, tokenId); } /** * @dev Approve `operator` to operate on all of `owner` tokens * * Emits an {ApprovalForAll} event. */ function _setApprovalForAll( address owner, address operator, bool approved ) internal virtual { require(owner != operator, "ERC721: approve to caller"); _operatorApprovals[owner][operator] = approved; emit ApprovalForAll(owner, operator, approved); } /** * @dev Reverts if the `tokenId` has not been minted yet. */ function _requireMinted(uint256 tokenId) internal view virtual { require(_exists(tokenId), "ERC721: invalid token ID"); } /** * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target address. * The call is not executed if the target address is not a contract. * * @param from address representing the previous owner of the given token ID * @param to target address that will receive the tokens * @param tokenId uint256 ID of the token to be transferred * @param data bytes optional data to send along with the call * @return bool whether the call correctly returned the expected magic value */ function _checkOnERC721Received( address from, address to, uint256 tokenId, bytes memory data ) private returns (bool) { if (to.isContract()) { try IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, data) returns (bytes4 retval) { return retval == IERC721Receiver.onERC721Received.selector; } catch (bytes memory reason) { if (reason.length == 0) { revert("ERC721: transfer to non ERC721Receiver implementer"); } else { /// @solidity memory-safe-assembly assembly { revert(add(32, reason), mload(reason)) } } } } else { return true; } } /** * @dev Hook that is called before any token transfer. This includes minting * and burning. * * Calling conditions: * * - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, ``from``'s `tokenId` will be burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer( address from, address to, uint256 tokenId ) internal virtual {} /** * @dev Hook that is called after any transfer of tokens. This includes * minting and burning. * * Calling conditions: * * - when `from` and `to` are both non-zero. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _afterTokenTransfer( address from, address to, uint256 tokenId ) internal virtual {} } // File: @openzeppelin/contracts/token/ERC721/extensions/IERC721Enumerable.sol // OpenZeppelin Contracts (last updated v4.5.0) (token/ERC721/extensions/IERC721Enumerable.sol) pragma solidity ^0.8.0; /** * @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); } // File: @openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol // OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/ERC721Enumerable.sol) pragma solidity ^0.8.0; /** * @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(); } } // File: @openzeppelin/contracts/utils/Counters.sol // OpenZeppelin Contracts v4.4.1 (utils/Counters.sol) pragma solidity ^0.8.0; /** * @title Counters * @author Matt Condon (@shrugs) * @dev Provides counters that can only be incremented, decremented or reset. This can be used e.g. to track the number * of elements in a mapping, issuing ERC721 ids, or counting request ids. * * Include with `using Counters for Counters.Counter;` */ library Counters { struct Counter { // This variable should never be directly accessed by users of the library: interactions must be restricted to // the library's function. As of Solidity v0.5.2, this cannot be enforced, though there is a proposal to add // this feature: see https://github.com/ethereum/solidity/issues/4637 uint256 _value; // default: 0 } function current(Counter storage counter) internal view returns (uint256) { return counter._value; } function increment(Counter storage counter) internal { unchecked { counter._value += 1; } } function decrement(Counter storage counter) internal { uint256 value = counter._value; require(value > 0, "Counter: decrement overflow"); unchecked { counter._value = value - 1; } } function reset(Counter storage counter) internal { counter._value = 0; } } // File: @openzeppelin/contracts/access/Ownable.sol // OpenZeppelin Contracts (last updated v4.7.0) (access/Ownable.sol) pragma solidity ^0.8.0; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _transferOwnership(_msgSender()); } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { _checkOwner(); _; } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if the sender is not the owner. */ function _checkOwner() internal view virtual { require(owner() == _msgSender(), "Ownable: caller is not the owner"); } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } } // File: @openzeppelin/contracts/utils/math/SafeMath.sol // OpenZeppelin Contracts (last updated v4.6.0) (utils/math/SafeMath.sol) pragma solidity ^0.8.0; // CAUTION // This version of SafeMath should only be used with Solidity 0.8 or later, // because it relies on the compiler's built in overflow checks. /** * @dev Wrappers over Solidity's arithmetic operations. * * NOTE: `SafeMath` is generally not needed starting with Solidity 0.8, since the compiler * now has built in overflow checking. */ library SafeMath { /** * @dev Returns the addition of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { uint256 c = a + b; if (c < a) return (false, 0); return (true, c); } } /** * @dev Returns the subtraction of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b > a) return (false, 0); return (true, a - b); } } /** * @dev Returns the multiplication of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { // Gas optimization: this is cheaper than requiring 'a' not being zero, but the // benefit is lost if 'b' is also tested. // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522 if (a == 0) return (true, 0); uint256 c = a * b; if (c / a != b) return (false, 0); return (true, c); } } /** * @dev Returns the division of two unsigned integers, with a division by zero flag. * * _Available since v3.4._ */ function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b == 0) return (false, 0); return (true, a / b); } } /** * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag. * * _Available since v3.4._ */ function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b == 0) return (false, 0); return (true, a % b); } } /** * @dev Returns the addition of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `+` operator. * * Requirements: * * - Addition cannot overflow. */ function add(uint256 a, uint256 b) internal pure returns (uint256) { return a + b; } /** * @dev Returns the subtraction of two unsigned integers, reverting on * overflow (when the result is negative). * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub(uint256 a, uint256 b) internal pure returns (uint256) { return a - b; } /** * @dev Returns the multiplication of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `*` operator. * * Requirements: * * - Multiplication cannot overflow. */ function mul(uint256 a, uint256 b) internal pure returns (uint256) { return a * b; } /** * @dev Returns the integer division of two unsigned integers, reverting on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. * * Requirements: * * - The divisor cannot be zero. */ function div(uint256 a, uint256 b) internal pure returns (uint256) { return a / b; } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * reverting when dividing by zero. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod(uint256 a, uint256 b) internal pure returns (uint256) { return a % b; } /** * @dev Returns the subtraction of two unsigned integers, reverting with custom message on * overflow (when the result is negative). * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {trySub}. * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { unchecked { require(b <= a, errorMessage); return a - b; } } /** * @dev Returns the integer division of two unsigned integers, reverting with custom message on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. Note: this function uses a * `revert` opcode (which leaves remaining gas untouched) while Solidity * uses an invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function div( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { unchecked { require(b > 0, errorMessage); return a / b; } } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * reverting with custom message when dividing by zero. * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {tryMod}. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { unchecked { require(b > 0, errorMessage); return a % b; } } } // File: @openzeppelin/contracts/token/ERC20/IERC20.sol // OpenZeppelin Contracts (last updated v4.6.0) (token/ERC20/IERC20.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC20 standard as defined in the EIP. */ interface IERC20 { /** * @dev Emitted when `value` tokens are moved from one account (`from`) to * another (`to`). * * Note that `value` may be zero. */ event Transfer(address indexed from, address indexed to, uint256 value); /** * @dev Emitted when the allowance of a `spender` for an `owner` is set by * a call to {approve}. `value` is the new allowance. */ event Approval(address indexed owner, address indexed spender, uint256 value); /** * @dev Returns the amount of tokens in existence. */ function totalSupply() external view returns (uint256); /** * @dev Returns the amount of tokens owned by `account`. */ function balanceOf(address account) external view returns (uint256); /** * @dev Moves `amount` tokens from the caller's account to `to`. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transfer(address to, uint256 amount) external returns (bool); /** * @dev Returns the remaining number of tokens that `spender` will be * allowed to spend on behalf of `owner` through {transferFrom}. This is * zero by default. * * This value changes when {approve} or {transferFrom} are called. */ function allowance(address owner, address spender) external view returns (uint256); /** * @dev Sets `amount` as the allowance of `spender` over the caller's tokens. * * Returns a boolean value indicating whether the operation succeeded. * * IMPORTANT: Beware that changing an allowance with this method brings the risk * that someone may use both the old and the new allowance by unfortunate * transaction ordering. One possible solution to mitigate this race * condition is to first reduce the spender's allowance to 0 and set the * desired value afterwards: * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729 * * Emits an {Approval} event. */ function approve(address spender, uint256 amount) external returns (bool); /** * @dev Moves `amount` tokens from `from` to `to` using the * allowance mechanism. `amount` is then deducted from the caller's * allowance. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 amount ) external returns (bool); } // File: @openzeppelin/contracts/token/ERC20/extensions/draft-IERC20Permit.sol // OpenZeppelin Contracts v4.4.1 (token/ERC20/extensions/draft-IERC20Permit.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC20 Permit extension allowing approvals to be made via signatures, as defined in * https://eips.ethereum.org/EIPS/eip-2612[EIP-2612]. * * Adds the {permit} method, which can be used to change an account's ERC20 allowance (see {IERC20-allowance}) by * presenting a message signed by the account. By not relying on {IERC20-approve}, the token holder account doesn't * need to send a transaction, and thus is not required to hold Ether at all. */ interface IERC20Permit { /** * @dev Sets `value` as the allowance of `spender` over ``owner``'s tokens, * given ``owner``'s signed approval. * * IMPORTANT: The same issues {IERC20-approve} has related to transaction * ordering also apply here. * * Emits an {Approval} event. * * Requirements: * * - `spender` cannot be the zero address. * - `deadline` must be a timestamp in the future. * - `v`, `r` and `s` must be a valid `secp256k1` signature from `owner` * over the EIP712-formatted function arguments. * - the signature must use ``owner``'s current nonce (see {nonces}). * * For more information on the signature format, see the * https://eips.ethereum.org/EIPS/eip-2612#specification[relevant EIP * section]. */ function permit( address owner, address spender, uint256 value, uint256 deadline, uint8 v, bytes32 r, bytes32 s ) external; /** * @dev Returns the current nonce for `owner`. This value must be * included whenever a signature is generated for {permit}. * * Every successful call to {permit} increases ``owner``'s nonce by one. This * prevents a signature from being used multiple times. */ function nonces(address owner) external view returns (uint256); /** * @dev Returns the domain separator used in the encoding of the signature for {permit}, as defined by {EIP712}. */ // solhint-disable-next-line func-name-mixedcase function DOMAIN_SEPARATOR() external view returns (bytes32); } // File: @openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol // OpenZeppelin Contracts (last updated v4.7.0) (token/ERC20/utils/SafeERC20.sol) pragma solidity ^0.8.0; /** * @title SafeERC20 * @dev Wrappers around ERC20 operations that throw on failure (when the token * contract returns false). Tokens that return no value (and instead revert or * throw on failure) are also supported, non-reverting calls are assumed to be * successful. * To use this library you can add a `using SafeERC20 for IERC20;` statement to your contract, * which allows you to call the safe operations as `token.safeTransfer(...)`, etc. */ library SafeERC20 { using Address for address; function safeTransfer( IERC20 token, address to, uint256 value ) internal { _callOptionalReturn(token, abi.encodeWithSelector(token.transfer.selector, to, value)); } function safeTransferFrom( IERC20 token, address from, address to, uint256 value ) internal { _callOptionalReturn(token, abi.encodeWithSelector(token.transferFrom.selector, from, to, value)); } /** * @dev Deprecated. This function has issues similar to the ones found in * {IERC20-approve}, and its usage is discouraged. * * Whenever possible, use {safeIncreaseAllowance} and * {safeDecreaseAllowance} instead. */ function safeApprove( IERC20 token, address spender, uint256 value ) internal { // safeApprove should only be called when setting an initial allowance, // or when resetting it to zero. To increase and decrease it, use // 'safeIncreaseAllowance' and 'safeDecreaseAllowance' require( (value == 0) || (token.allowance(address(this), spender) == 0), "SafeERC20: approve from non-zero to non-zero allowance" ); _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, value)); } function safeIncreaseAllowance( IERC20 token, address spender, uint256 value ) internal { uint256 newAllowance = token.allowance(address(this), spender) + value; _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance)); } function safeDecreaseAllowance( IERC20 token, address spender, uint256 value ) internal { unchecked { uint256 oldAllowance = token.allowance(address(this), spender); require(oldAllowance >= value, "SafeERC20: decreased allowance below zero"); uint256 newAllowance = oldAllowance - value; _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance)); } } function safePermit( IERC20Permit token, address owner, address spender, uint256 value, uint256 deadline, uint8 v, bytes32 r, bytes32 s ) internal { uint256 nonceBefore = token.nonces(owner); token.permit(owner, spender, value, deadline, v, r, s); uint256 nonceAfter = token.nonces(owner); require(nonceAfter == nonceBefore + 1, "SafeERC20: permit did not succeed"); } /** * @dev Imitates a Solidity high-level call (i.e. a regular function call to a contract), relaxing the requirement * on the return value: the return value is optional (but if data is returned, it must not be false). * @param token The token targeted by the call. * @param data The call data (encoded using abi.encode or one of its variants). */ function _callOptionalReturn(IERC20 token, bytes memory data) private { // We need to perform a low level call here, to bypass Solidity's return data size checking mechanism, since // we're implementing it ourselves. We use {Address.functionCall} to perform this call, which verifies that // the target address contains contract code and also asserts for success in the low-level call. bytes memory returndata = address(token).functionCall(data, "SafeERC20: low-level call failed"); if (returndata.length > 0) { // Return data is optional require(abi.decode(returndata, (bool)), "SafeERC20: ERC20 operation did not succeed"); } } } // File: contracts/NicePasscard.sol pragma solidity >=0.4.22 <0.9.0; pragma experimental ABIEncoderV2; contract NicePasscard is ERC721Enumerable, Ownable { using Address for address; using Strings for uint256; using Counters for Counters.Counter; using SafeERC20 for IERC20; Counters.Counter private _tokenIds; mapping (address => bool) public mintWhitelist; mapping (address => bool) public tradeWhitelist; uint256 public max_supply; string private baseURI; constructor(string memory name_, string memory symbol_, string memory baseUri_, uint maxSupply_) ERC721(name_, symbol_) { setBaseURI(baseUri_); setMaxSupply(maxSupply_); address[] memory users = new address[](1); users[0] = msg.sender; setMintWhitelist(users, true); } function tokenURI(uint256 tokenId) public view override(ERC721) returns (string memory) { return bytes(baseURI).length > 0 ? string(abi.encodePacked(baseURI, tokenId.toString())) : ""; } function setBaseURI(string memory _newBaseURI) public onlyOwner { baseURI = _newBaseURI; } function setMaxSupply(uint value) public onlyOwner { max_supply = value; } function setMintWhitelist(address[] memory values, bool allowed) public onlyOwner { for (uint i = 0; i < values.length; ++i) { mintWhitelist[values[i]] = allowed; tradeWhitelist[values[i]] = allowed; } } function setWhitelist(address[] memory values, bool allowed) public onlyOwner { for (uint i = 0; i < values.length; ++i) { tradeWhitelist[values[i]] = allowed; } } function withdraw(address token) public onlyOwner { if (token == address(0)) { uint balance = address(this).balance; Address.sendValue(payable(owner()), balance); } else { IERC20 erc20 = IERC20(token); erc20.safeTransfer(owner(), erc20.balanceOf(address(this))); } } function withdrawNft(address to, uint tokenid) public onlyOwner { safeTransferFrom(address(this), to, tokenid); } function batchTransferFrom(address[] memory receivers, uint[] memory tokenids) public { require(receivers.length == tokenids.length, "PARAM_LENGTH_NOT_MET"); for (uint i = 0; i < receivers.length; ++i) { safeTransferFrom(msg.sender, receivers[i], tokenids[i]); } } function burn(uint[] memory tokenids) public { for (uint i = 0; i < tokenids.length; ++i) { address owner = ownerOf(tokenids[i]); require(msg.sender == owner || mintWhitelist[msg.sender], "NEED_MINT_WHITELIST"); _burn(tokenids[i]); } } function mint(address to) public { require(mintWhitelist[msg.sender], "NEED_MINT_WHITELIST"); mintOneImpl(to); } function batchMint(address to, uint amount) public { require(mintWhitelist[msg.sender], "NEED_MINT_WHITELIST"); for (uint i = 0; i < amount; ++i) { mintOneImpl(to); } } function mintOneImpl(address to) private returns (uint) { _tokenIds.increment(); uint256 newItemId = _tokenIds.current(); require(newItemId <= max_supply, "MINT_LIMIT"); _mint(to, newItemId); return newItemId; } function _approve(address to, uint256 tokenId) internal override { if (to != address(0)) { require(tradeWhitelist[to], "NOT_TRADE_WHITELIST"); } super._approve(to, tokenId); } function _setApprovalForAll( address owner, address operator, bool approved ) internal override { require(tradeWhitelist[operator], "NOT_TRADE_WHITELIST"); super._setApprovalForAll(owner, operator, approved); } function _beforeTokenTransfer(address from, address to, uint256 tokenid) internal override { if (Address.isContract(msg.sender)) { require(tradeWhitelist[msg.sender], "NOT_TRADE_WHITELIST"); } if (to != address(0) && Address.isContract(to)) { require(tradeWhitelist[to], "NOT_TRADE_WHITELIST"); } super._beforeTokenTransfer(from, to, tokenid); } }
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":"baseUri_","type":"string"},{"internalType":"uint256","name":"maxSupply_","type":"uint256"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"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":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"batchMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"receivers","type":"address[]"},{"internalType":"uint256[]","name":"tokenids","type":"uint256[]"}],"name":"batchTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"tokenids","type":"uint256[]"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"max_supply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"}],"name":"mint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"mintWhitelist","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_newBaseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"value","type":"uint256"}],"name":"setMaxSupply","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"values","type":"address[]"},{"internalType":"bool","name":"allowed","type":"bool"}],"name":"setMintWhitelist","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"values","type":"address[]"},{"internalType":"bool","name":"allowed","type":"bool"}],"name":"setWhitelist","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":"","type":"address"}],"name":"tradeWhitelist","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"token","type":"address"}],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenid","type":"uint256"}],"name":"withdrawNft","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
60806040523480156200001157600080fd5b5060405162002dfb38038062002dfb833981016040819052620000349162000439565b8351849084906200004d906000906020850190620002e0565b50805162000063906001906020840190620002e0565b505050620000806200007a6200010b60201b60201c565b6200010f565b6200008b8262000161565b620000968162000184565b604080516001808252818301909252600091602080830190803683370190505090503381600081518110620000db57634e487b7160e01b600052603260045260246000fd5b6001600160a01b03909216602092830291909101909101526200010081600162000193565b505050505062000549565b3390565b600a80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6200016b6200027f565b80516200018090600f906020840190620002e0565b5050565b6200018e6200027f565b600e55565b6200019d6200027f565b60005b82518110156200027a5781600c6000858481518110620001d057634e487b7160e01b600052603260045260246000fd5b60200260200101516001600160a01b03166001600160a01b0316815260200190815260200160002060006101000a81548160ff02191690831515021790555081600d60008584815181106200023557634e487b7160e01b600052603260045260246000fd5b6020908102919091018101516001600160a01b03168252810191909152604001600020805460ff191691151591909117905562000272816200050b565b9050620001a0565b505050565b600a546001600160a01b03163314620002de5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640160405180910390fd5b565b828054620002ee90620004ce565b90600052602060002090601f0160209004810192826200031257600085556200035d565b82601f106200032d57805160ff19168380011785556200035d565b828001600101855582156200035d579182015b828111156200035d57825182559160200191906001019062000340565b506200036b9291506200036f565b5090565b5b808211156200036b576000815560010162000370565b600082601f83011262000397578081fd5b81516001600160401b0380821115620003b457620003b462000533565b604051601f8301601f19908116603f01168101908282118183101715620003df57620003df62000533565b81604052838152602092508683858801011115620003fb578485fd5b8491505b838210156200041e5785820183015181830184015290820190620003ff565b838211156200042f57848385830101525b9695505050505050565b600080600080608085870312156200044f578384fd5b84516001600160401b038082111562000466578586fd5b620004748883890162000386565b955060208701519150808211156200048a578485fd5b620004988883890162000386565b94506040870151915080821115620004ae578384fd5b50620004bd8782880162000386565b606096909601519497939650505050565b600281046001821680620004e357607f821691505b602082108114156200050557634e487b7160e01b600052602260045260246000fd5b50919050565b60006000198214156200052c57634e487b7160e01b81526011600452602481fd5b5060010190565b634e487b7160e01b600052604160045260246000fd5b6128a280620005596000396000f3fe608060405234801561001057600080fd5b50600436106101f05760003560e01c80636a6278421161010f578063a22cb465116100a2578063d8fc651911610071578063d8fc651914610427578063e985e9c51461043a578063f1cfad6014610476578063f2fde38b14610499576101f0565b8063a22cb465146103db578063b80f55c9146103ee578063b88d4fde14610401578063c87b56dd14610414576101f0565b806388eca516116100de57806388eca516146103a65780638a333b50146103b95780638da5cb5b146103c257806395d89b41146103d3576101f0565b80636a627842146103655780636f8b44b01461037857806370a082311461038b578063715018a61461039e576101f0565b80632f745c59116101875780634f6ccce7116101565780634f6ccce71461031957806351cff8d91461032c57806355f804b31461033f5780636352211e14610352576101f0565b80632f745c59146102cd5780633c271a05146102e057806342842e0e146102f357806343508b0514610306576101f0565b80630ba84e85116101c35780630ba84e851461027257806314d387251461029557806318160ddd146102a857806323b872dd146102ba576101f0565b806301ffc9a7146101f557806306fdde031461021d578063081812fc14610232578063095ea7b31461025d575b600080fd5b6102086102033660046123d6565b6104ac565b60405190151581526020015b60405180910390f35b6102256104d9565b60405161021491906125cb565b610245610240366004612454565b61056b565b6040516001600160a01b039091168152602001610214565b61027061026b3660046122b8565b610592565b005b610208610280366004612182565b600c6020526000908152604090205460ff1681565b6102706102a33660046122e1565b6106ad565b6008545b604051908152602001610214565b6102706102c83660046121ce565b61076a565b6102ac6102db3660046122b8565b61079b565b6102706102ee366004612342565b610831565b6102706103013660046121ce565b6108ac565b6102706103143660046122b8565b6108c7565b6102ac610327366004612454565b61091b565b61027061033a366004612182565b6109bc565b61027061034d36600461240e565b610a97565b610245610360366004612454565b610ab2565b610270610373366004612182565b610b12565b610270610386366004612454565b610b4a565b6102ac610399366004612182565b610b57565b610270610bdd565b6102706103b4366004612342565b610bf1565b6102ac600e5481565b600a546001600160a01b0316610245565b610225610cd0565b6102706103e9366004612282565b610cdf565b6102706103fc366004612387565b610cea565b61027061040f366004612209565b610dad565b610225610422366004612454565b610de5565b6102706104353660046122b8565b610e44565b61020861044836600461219c565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b610208610484366004612182565b600d6020526000908152604090205460ff1681565b6102706104a7366004612182565b610e57565b60006001600160e01b0319821663780e9d6360e01b14806104d157506104d182610ecd565b90505b919050565b6060600080546104e89061279c565b80601f01602080910402602001604051908101604052809291908181526020018280546105149061279c565b80156105615780601f1061053657610100808354040283529160200191610561565b820191906000526020600020905b81548152906001019060200180831161054457829003601f168201915b5050505050905090565b600061057682610f1d565b506000908152600460205260409020546001600160a01b031690565b600061059d82610ab2565b9050806001600160a01b0316836001600160a01b031614156106105760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b60648201526084015b60405180910390fd5b336001600160a01b038216148061062c575061062c8133610448565b61069e5760405162461bcd60e51b815260206004820152603e60248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f7420746f60448201527f6b656e206f776e6572206e6f7220617070726f76656420666f7220616c6c00006064820152608401610607565b6106a88383610f7c565b505050565b80518251146106f55760405162461bcd60e51b8152602060048201526014602482015273141054905357d3115391d51217d393d517d3515560621b6044820152606401610607565b60005b82518110156106a85761075a3384838151811061072557634e487b7160e01b600052603260045260246000fd5b602002602001015184848151811061074d57634e487b7160e01b600052603260045260246000fd5b60200260200101516108ac565b610763816127d7565b90506106f8565b6107743382610fcd565b6107905760405162461bcd60e51b81526004016106079061268a565b6106a883838361104c565b60006107a683610b57565b82106108085760405162461bcd60e51b815260206004820152602b60248201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560448201526a74206f6620626f756e647360a81b6064820152608401610607565b506001600160a01b03919091166000908152600660209081526040808320938352929052205490565b6108396111f3565b60005b82518110156106a85781600d600085848151811061086a57634e487b7160e01b600052603260045260246000fd5b6020908102919091018101516001600160a01b03168252810191909152604001600020805460ff19169115159190911790556108a5816127d7565b905061083c565b6106a883838360405180602001604052806000815250610dad565b336000908152600c602052604090205460ff166108f65760405162461bcd60e51b8152600401610607906125de565b60005b818110156106a85761090a8361124d565b50610914816127d7565b90506108f9565b600061092660085490565b82106109895760405162461bcd60e51b815260206004820152602c60248201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60448201526b7574206f6620626f756e647360a01b6064820152608401610607565b600882815481106109aa57634e487b7160e01b600052603260045260246000fd5b90600052602060002001549050919050565b6109c46111f3565b6001600160a01b0381166109f457476109ee6109e8600a546001600160a01b031690565b826112b3565b50610a94565b80610a92610a0a600a546001600160a01b031690565b6040516370a0823160e01b81523060048201526001600160a01b038416906370a082319060240160206040518083038186803b158015610a4957600080fd5b505afa158015610a5d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a81919061246c565b6001600160a01b03841691906113cc565b505b50565b610a9f6111f3565b8051610a9290600f906020840190611fad565b6000818152600260205260408120546001600160a01b0316806104d15760405162461bcd60e51b8152602060048201526018602482015277115490cdcc8c4e881a5b9d985b1a59081d1bdad95b88125160421b6044820152606401610607565b336000908152600c602052604090205460ff16610b415760405162461bcd60e51b8152600401610607906125de565b610a928161124d565b610b526111f3565b600e55565b60006001600160a01b038216610bc15760405162461bcd60e51b815260206004820152602960248201527f4552433732313a2061646472657373207a65726f206973206e6f7420612076616044820152683634b21037bbb732b960b91b6064820152608401610607565b506001600160a01b031660009081526003602052604090205490565b610be56111f3565b610bef600061141e565b565b610bf96111f3565b60005b82518110156106a85781600c6000858481518110610c2a57634e487b7160e01b600052603260045260246000fd5b60200260200101516001600160a01b03166001600160a01b0316815260200190815260200160002060006101000a81548160ff02191690831515021790555081600d6000858481518110610c8e57634e487b7160e01b600052603260045260246000fd5b6020908102919091018101516001600160a01b03168252810191909152604001600020805460ff1916911515919091179055610cc9816127d7565b9050610bfc565b6060600180546104e89061279c565b610a92338383611470565b60005b8151811015610a92576000610d28838381518110610d1b57634e487b7160e01b600052603260045260246000fd5b6020026020010151610ab2565b9050336001600160a01b0382161480610d505750336000908152600c602052604090205460ff165b610d6c5760405162461bcd60e51b8152600401610607906125de565b610d9c838381518110610d8f57634e487b7160e01b600052603260045260246000fd5b60200260200101516114b3565b50610da6816127d7565b9050610ced565b610db73383610fcd565b610dd35760405162461bcd60e51b81526004016106079061268a565b610ddf8484848461155b565b50505050565b60606000600f8054610df69061279c565b905011610e1257604051806020016040528060008152506104d1565b600f610e1d8361158e565b604051602001610e2e9291906124e8565b6040516020818303038152906040529050919050565b610e4c6111f3565b610a923083836108ac565b610e5f6111f3565b6001600160a01b038116610ec45760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610607565b610a948161141e565b60006001600160e01b031982166380ac58cd60e01b1480610efe57506001600160e01b03198216635b5e139f60e01b145b806104d157506301ffc9a760e01b6001600160e01b03198316146104d1565b6000818152600260205260409020546001600160a01b0316610a945760405162461bcd60e51b8152602060048201526018602482015277115490cdcc8c4e881a5b9d985b1a59081d1bdad95b88125160421b6044820152606401610607565b6001600160a01b03821615610fc3576001600160a01b0382166000908152600d602052604090205460ff16610fc35760405162461bcd60e51b81526004016106079061265d565b610a9282826116a9565b600080610fd983610ab2565b9050806001600160a01b0316846001600160a01b0316148061102057506001600160a01b0380821660009081526005602090815260408083209388168352929052205460ff165b806110445750836001600160a01b03166110398461056b565b6001600160a01b0316145b949350505050565b826001600160a01b031661105f82610ab2565b6001600160a01b0316146110c35760405162461bcd60e51b815260206004820152602560248201527f4552433732313a207472616e736665722066726f6d20696e636f72726563742060448201526437bbb732b960d91b6064820152608401610607565b6001600160a01b0382166111255760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b6064820152608401610607565b611130838383611717565b61113b600082610f7c565b6001600160a01b0383166000908152600360205260408120805460019290611164908490612759565b90915550506001600160a01b038216600090815260036020526040812080546001929061119290849061272d565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a46106a8565b600a546001600160a01b03163314610bef5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610607565b600061125d600b80546001019055565b6000611268600b5490565b9050600e548111156112a95760405162461bcd60e51b815260206004820152600a6024820152691352539517d31253525560b21b6044820152606401610607565b6104d183826117b6565b804710156113035760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a20696e73756666696369656e742062616c616e63650000006044820152606401610607565b6000826001600160a01b03168260405160006040518083038185875af1925050503d8060008114611350576040519150601f19603f3d011682016040523d82523d6000602084013e611355565b606091505b50509050806106a85760405162461bcd60e51b815260206004820152603a60248201527f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260448201527f6563697069656e74206d617920686176652072657665727465640000000000006064820152608401610607565b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663a9059cbb60e01b1790526106a8908490611905565b600a80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b0382166000908152600d602052604090205460ff166114a85760405162461bcd60e51b81526004016106079061265d565b6106a88383836119d7565b60006114be82610ab2565b90506114cc81600084611717565b6114d7600083610f7c565b6001600160a01b0381166000908152600360205260408120805460019290611500908490612759565b909155505060008281526002602052604080822080546001600160a01b0319169055518391906001600160a01b038416907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908390a4610a92565b61156684848461104c565b61157284848484611aa6565b610ddf5760405162461bcd60e51b81526004016106079061260b565b6060816115b357506040805180820190915260018152600360fc1b60208201526104d4565b8160005b81156115dd57806115c7816127d7565b91506115d69050600a83612745565b91506115b7565b60008167ffffffffffffffff81111561160657634e487b7160e01b600052604160045260246000fd5b6040519080825280601f01601f191660200182016040528015611630576020820181803683370190505b5090505b841561104457611645600183612759565b9150611652600a866127f2565b61165d90603061272d565b60f81b81838151811061168057634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a9053506116a2600a86612745565b9450611634565b600081815260046020526040902080546001600160a01b0319166001600160a01b03841690811790915581906116de82610ab2565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b333b1561174d57336000908152600d602052604090205460ff1661174d5760405162461bcd60e51b81526004016106079061265d565b6001600160a01b0382161580159061176e57506001600160a01b0382163b15155b156117ab576001600160a01b0382166000908152600d602052604090205460ff166117ab5760405162461bcd60e51b81526004016106079061265d565b6106a8838383611bb3565b6001600160a01b03821661180c5760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f20616464726573736044820152606401610607565b6000818152600260205260409020546001600160a01b0316156118715760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606401610607565b61187d60008383611717565b6001600160a01b03821660009081526003602052604081208054600192906118a690849061272d565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a4610a92565b600061195a826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b0316611c709092919063ffffffff16565b8051909150156106a8578080602001905181019061197891906123ba565b6106a85760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6044820152691bdd081cdd58d8d9595960b21b6064820152608401610607565b816001600160a01b0316836001600160a01b03161415611a395760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c6572000000000000006044820152606401610607565b6001600160a01b03838116600081815260056020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b60006001600160a01b0384163b15611ba857604051630a85bd0160e11b81526001600160a01b0385169063150b7a0290611aea90339089908890889060040161258e565b602060405180830381600087803b158015611b0457600080fd5b505af1925050508015611b34575060408051601f3d908101601f19168201909252611b31918101906123f2565b60015b611b8e573d808015611b62576040519150601f19603f3d011682016040523d82523d6000602084013e611b67565b606091505b508051611b865760405162461bcd60e51b81526004016106079061260b565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050611044565b506001949350505050565b6001600160a01b038316611c0e57611c0981600880546000838152600960205260408120829055600182018355919091527ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee30155565b611c31565b816001600160a01b0316836001600160a01b031614611c3157611c318382611c89565b6001600160a01b038216611c4d57611c4881611d26565b6106a8565b826001600160a01b0316826001600160a01b0316146106a8576106a88282611dff565b6060611c7f8484600085611e43565b90505b9392505050565b60006001611c9684610b57565b611ca09190612759565b600083815260076020526040902054909150808214611cf3576001600160a01b03841660009081526006602090815260408083208584528252808320548484528184208190558352600790915290208190555b5060009182526007602090815260408084208490556001600160a01b039094168352600681528383209183525290812055565b600854600090611d3890600190612759565b60008381526009602052604081205460088054939450909284908110611d6e57634e487b7160e01b600052603260045260246000fd5b906000526020600020015490508060088381548110611d9d57634e487b7160e01b600052603260045260246000fd5b6000918252602080832090910192909255828152600990915260408082208490558582528120556008805480611de357634e487b7160e01b600052603160045260246000fd5b6001900381819060005260206000200160009055905550505050565b6000611e0a83610b57565b6001600160a01b039093166000908152600660209081526040808320868452825280832085905593825260079052919091209190915550565b606082471015611ea45760405162461bcd60e51b815260206004820152602660248201527f416464726573733a20696e73756666696369656e742062616c616e636520666f6044820152651c8818d85b1b60d21b6064820152608401610607565b6001600160a01b0385163b611efb5760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e74726163740000006044820152606401610607565b600080866001600160a01b03168587604051611f1791906124cc565b60006040518083038185875af1925050503d8060008114611f54576040519150601f19603f3d011682016040523d82523d6000602084013e611f59565b606091505b5091509150611f69828286611f74565b979650505050505050565b60608315611f83575081611c82565b825115611f935782518084602001fd5b8160405162461bcd60e51b815260040161060791906125cb565b828054611fb99061279c565b90600052602060002090601f016020900481019282611fdb5760008555612021565b82601f10611ff457805160ff1916838001178555612021565b82800160010185558215612021579182015b82811115612021578251825591602001919060010190612006565b5061202d929150612031565b5090565b5b8082111561202d5760008155600101612032565b600067ffffffffffffffff83111561206057612060612832565b612073601f8401601f19166020016126d8565b905082815283838301111561208757600080fd5b828260208301376000602084830101529392505050565b80356001600160a01b03811681146104d457600080fd5b600082601f8301126120c5578081fd5b813560206120da6120d583612709565b6126d8565b82815281810190858301838502870184018810156120f6578586fd5b855b8581101561211b576121098261209e565b845292840192908401906001016120f8565b5090979650505050505050565b600082601f830112612138578081fd5b813560206121486120d583612709565b8281528181019085830183850287018401881015612164578586fd5b855b8581101561211b57813584529284019290840190600101612166565b600060208284031215612193578081fd5b611c828261209e565b600080604083850312156121ae578081fd5b6121b78361209e565b91506121c56020840161209e565b90509250929050565b6000806000606084860312156121e2578081fd5b6121eb8461209e565b92506121f96020850161209e565b9150604084013590509250925092565b6000806000806080858703121561221e578081fd5b6122278561209e565b93506122356020860161209e565b925060408501359150606085013567ffffffffffffffff811115612257578182fd5b8501601f81018713612267578182fd5b61227687823560208401612046565b91505092959194509250565b60008060408385031215612294578182fd5b61229d8361209e565b915060208301356122ad81612848565b809150509250929050565b600080604083850312156122ca578182fd5b6122d38361209e565b946020939093013593505050565b600080604083850312156122f3578182fd5b823567ffffffffffffffff8082111561230a578384fd5b612316868387016120b5565b9350602085013591508082111561232b578283fd5b5061233885828601612128565b9150509250929050565b60008060408385031215612354578182fd5b823567ffffffffffffffff81111561236a578283fd5b612376858286016120b5565b92505060208301356122ad81612848565b600060208284031215612398578081fd5b813567ffffffffffffffff8111156123ae578182fd5b61104484828501612128565b6000602082840312156123cb578081fd5b8151611c8281612848565b6000602082840312156123e7578081fd5b8135611c8281612856565b600060208284031215612403578081fd5b8151611c8281612856565b60006020828403121561241f578081fd5b813567ffffffffffffffff811115612435578182fd5b8201601f81018413612445578182fd5b61104484823560208401612046565b600060208284031215612465578081fd5b5035919050565b60006020828403121561247d578081fd5b5051919050565b6000815180845261249c816020860160208601612770565b601f01601f19169290920160200192915050565b600081516124c2818560208601612770565b9290920192915050565b600082516124de818460208701612770565b9190910192915050565b825460009081906002810460018083168061250457607f831692505b602080841082141561252457634e487b7160e01b87526022600452602487fd5b818015612538576001811461254957612575565b60ff19861689528489019650612575565b60008b815260209020885b8681101561256d5781548b820152908501908301612554565b505084890196505b50505050505061258581856124b0565b95945050505050565b6001600160a01b03858116825284166020820152604081018390526080606082018190526000906125c190830184612484565b9695505050505050565b600060208252611c826020830184612484565b6020808252601390820152721391515117d352539517d5d2125511531254d5606a1b604082015260600190565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b6020808252601390820152721393d517d51490511157d5d2125511531254d5606a1b604082015260600190565b6020808252602e908201527f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6560408201526d1c881b9bdc88185c1c1c9bdd995960921b606082015260800190565b604051601f8201601f1916810167ffffffffffffffff8111828210171561270157612701612832565b604052919050565b600067ffffffffffffffff82111561272357612723612832565b5060209081020190565b6000821982111561274057612740612806565b500190565b6000826127545761275461281c565b500490565b60008282101561276b5761276b612806565b500390565b60005b8381101561278b578181015183820152602001612773565b83811115610ddf5750506000910152565b6002810460018216806127b057607f821691505b602082108114156127d157634e487b7160e01b600052602260045260246000fd5b50919050565b60006000198214156127eb576127eb612806565b5060010190565b6000826128015761280161281c565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b8015158114610a9457600080fd5b6001600160e01b031981168114610a9457600080fdfea2646970667358221220fac4071f1080617a59fd10fb71f40fe84588160c66eafe3fe0d16366c2c1d40264736f6c63430008020033000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c0000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000015b3000000000000000000000000000000000000000000000000000000000000000d4e4943452050415353434152440000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000085041535343415244000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001f68747470733a2f2f7777772e6e6963652e636c75622f70617373636172642f00
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106101f05760003560e01c80636a6278421161010f578063a22cb465116100a2578063d8fc651911610071578063d8fc651914610427578063e985e9c51461043a578063f1cfad6014610476578063f2fde38b14610499576101f0565b8063a22cb465146103db578063b80f55c9146103ee578063b88d4fde14610401578063c87b56dd14610414576101f0565b806388eca516116100de57806388eca516146103a65780638a333b50146103b95780638da5cb5b146103c257806395d89b41146103d3576101f0565b80636a627842146103655780636f8b44b01461037857806370a082311461038b578063715018a61461039e576101f0565b80632f745c59116101875780634f6ccce7116101565780634f6ccce71461031957806351cff8d91461032c57806355f804b31461033f5780636352211e14610352576101f0565b80632f745c59146102cd5780633c271a05146102e057806342842e0e146102f357806343508b0514610306576101f0565b80630ba84e85116101c35780630ba84e851461027257806314d387251461029557806318160ddd146102a857806323b872dd146102ba576101f0565b806301ffc9a7146101f557806306fdde031461021d578063081812fc14610232578063095ea7b31461025d575b600080fd5b6102086102033660046123d6565b6104ac565b60405190151581526020015b60405180910390f35b6102256104d9565b60405161021491906125cb565b610245610240366004612454565b61056b565b6040516001600160a01b039091168152602001610214565b61027061026b3660046122b8565b610592565b005b610208610280366004612182565b600c6020526000908152604090205460ff1681565b6102706102a33660046122e1565b6106ad565b6008545b604051908152602001610214565b6102706102c83660046121ce565b61076a565b6102ac6102db3660046122b8565b61079b565b6102706102ee366004612342565b610831565b6102706103013660046121ce565b6108ac565b6102706103143660046122b8565b6108c7565b6102ac610327366004612454565b61091b565b61027061033a366004612182565b6109bc565b61027061034d36600461240e565b610a97565b610245610360366004612454565b610ab2565b610270610373366004612182565b610b12565b610270610386366004612454565b610b4a565b6102ac610399366004612182565b610b57565b610270610bdd565b6102706103b4366004612342565b610bf1565b6102ac600e5481565b600a546001600160a01b0316610245565b610225610cd0565b6102706103e9366004612282565b610cdf565b6102706103fc366004612387565b610cea565b61027061040f366004612209565b610dad565b610225610422366004612454565b610de5565b6102706104353660046122b8565b610e44565b61020861044836600461219c565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b610208610484366004612182565b600d6020526000908152604090205460ff1681565b6102706104a7366004612182565b610e57565b60006001600160e01b0319821663780e9d6360e01b14806104d157506104d182610ecd565b90505b919050565b6060600080546104e89061279c565b80601f01602080910402602001604051908101604052809291908181526020018280546105149061279c565b80156105615780601f1061053657610100808354040283529160200191610561565b820191906000526020600020905b81548152906001019060200180831161054457829003601f168201915b5050505050905090565b600061057682610f1d565b506000908152600460205260409020546001600160a01b031690565b600061059d82610ab2565b9050806001600160a01b0316836001600160a01b031614156106105760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b60648201526084015b60405180910390fd5b336001600160a01b038216148061062c575061062c8133610448565b61069e5760405162461bcd60e51b815260206004820152603e60248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f7420746f60448201527f6b656e206f776e6572206e6f7220617070726f76656420666f7220616c6c00006064820152608401610607565b6106a88383610f7c565b505050565b80518251146106f55760405162461bcd60e51b8152602060048201526014602482015273141054905357d3115391d51217d393d517d3515560621b6044820152606401610607565b60005b82518110156106a85761075a3384838151811061072557634e487b7160e01b600052603260045260246000fd5b602002602001015184848151811061074d57634e487b7160e01b600052603260045260246000fd5b60200260200101516108ac565b610763816127d7565b90506106f8565b6107743382610fcd565b6107905760405162461bcd60e51b81526004016106079061268a565b6106a883838361104c565b60006107a683610b57565b82106108085760405162461bcd60e51b815260206004820152602b60248201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560448201526a74206f6620626f756e647360a81b6064820152608401610607565b506001600160a01b03919091166000908152600660209081526040808320938352929052205490565b6108396111f3565b60005b82518110156106a85781600d600085848151811061086a57634e487b7160e01b600052603260045260246000fd5b6020908102919091018101516001600160a01b03168252810191909152604001600020805460ff19169115159190911790556108a5816127d7565b905061083c565b6106a883838360405180602001604052806000815250610dad565b336000908152600c602052604090205460ff166108f65760405162461bcd60e51b8152600401610607906125de565b60005b818110156106a85761090a8361124d565b50610914816127d7565b90506108f9565b600061092660085490565b82106109895760405162461bcd60e51b815260206004820152602c60248201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60448201526b7574206f6620626f756e647360a01b6064820152608401610607565b600882815481106109aa57634e487b7160e01b600052603260045260246000fd5b90600052602060002001549050919050565b6109c46111f3565b6001600160a01b0381166109f457476109ee6109e8600a546001600160a01b031690565b826112b3565b50610a94565b80610a92610a0a600a546001600160a01b031690565b6040516370a0823160e01b81523060048201526001600160a01b038416906370a082319060240160206040518083038186803b158015610a4957600080fd5b505afa158015610a5d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a81919061246c565b6001600160a01b03841691906113cc565b505b50565b610a9f6111f3565b8051610a9290600f906020840190611fad565b6000818152600260205260408120546001600160a01b0316806104d15760405162461bcd60e51b8152602060048201526018602482015277115490cdcc8c4e881a5b9d985b1a59081d1bdad95b88125160421b6044820152606401610607565b336000908152600c602052604090205460ff16610b415760405162461bcd60e51b8152600401610607906125de565b610a928161124d565b610b526111f3565b600e55565b60006001600160a01b038216610bc15760405162461bcd60e51b815260206004820152602960248201527f4552433732313a2061646472657373207a65726f206973206e6f7420612076616044820152683634b21037bbb732b960b91b6064820152608401610607565b506001600160a01b031660009081526003602052604090205490565b610be56111f3565b610bef600061141e565b565b610bf96111f3565b60005b82518110156106a85781600c6000858481518110610c2a57634e487b7160e01b600052603260045260246000fd5b60200260200101516001600160a01b03166001600160a01b0316815260200190815260200160002060006101000a81548160ff02191690831515021790555081600d6000858481518110610c8e57634e487b7160e01b600052603260045260246000fd5b6020908102919091018101516001600160a01b03168252810191909152604001600020805460ff1916911515919091179055610cc9816127d7565b9050610bfc565b6060600180546104e89061279c565b610a92338383611470565b60005b8151811015610a92576000610d28838381518110610d1b57634e487b7160e01b600052603260045260246000fd5b6020026020010151610ab2565b9050336001600160a01b0382161480610d505750336000908152600c602052604090205460ff165b610d6c5760405162461bcd60e51b8152600401610607906125de565b610d9c838381518110610d8f57634e487b7160e01b600052603260045260246000fd5b60200260200101516114b3565b50610da6816127d7565b9050610ced565b610db73383610fcd565b610dd35760405162461bcd60e51b81526004016106079061268a565b610ddf8484848461155b565b50505050565b60606000600f8054610df69061279c565b905011610e1257604051806020016040528060008152506104d1565b600f610e1d8361158e565b604051602001610e2e9291906124e8565b6040516020818303038152906040529050919050565b610e4c6111f3565b610a923083836108ac565b610e5f6111f3565b6001600160a01b038116610ec45760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610607565b610a948161141e565b60006001600160e01b031982166380ac58cd60e01b1480610efe57506001600160e01b03198216635b5e139f60e01b145b806104d157506301ffc9a760e01b6001600160e01b03198316146104d1565b6000818152600260205260409020546001600160a01b0316610a945760405162461bcd60e51b8152602060048201526018602482015277115490cdcc8c4e881a5b9d985b1a59081d1bdad95b88125160421b6044820152606401610607565b6001600160a01b03821615610fc3576001600160a01b0382166000908152600d602052604090205460ff16610fc35760405162461bcd60e51b81526004016106079061265d565b610a9282826116a9565b600080610fd983610ab2565b9050806001600160a01b0316846001600160a01b0316148061102057506001600160a01b0380821660009081526005602090815260408083209388168352929052205460ff165b806110445750836001600160a01b03166110398461056b565b6001600160a01b0316145b949350505050565b826001600160a01b031661105f82610ab2565b6001600160a01b0316146110c35760405162461bcd60e51b815260206004820152602560248201527f4552433732313a207472616e736665722066726f6d20696e636f72726563742060448201526437bbb732b960d91b6064820152608401610607565b6001600160a01b0382166111255760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b6064820152608401610607565b611130838383611717565b61113b600082610f7c565b6001600160a01b0383166000908152600360205260408120805460019290611164908490612759565b90915550506001600160a01b038216600090815260036020526040812080546001929061119290849061272d565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a46106a8565b600a546001600160a01b03163314610bef5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610607565b600061125d600b80546001019055565b6000611268600b5490565b9050600e548111156112a95760405162461bcd60e51b815260206004820152600a6024820152691352539517d31253525560b21b6044820152606401610607565b6104d183826117b6565b804710156113035760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a20696e73756666696369656e742062616c616e63650000006044820152606401610607565b6000826001600160a01b03168260405160006040518083038185875af1925050503d8060008114611350576040519150601f19603f3d011682016040523d82523d6000602084013e611355565b606091505b50509050806106a85760405162461bcd60e51b815260206004820152603a60248201527f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260448201527f6563697069656e74206d617920686176652072657665727465640000000000006064820152608401610607565b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663a9059cbb60e01b1790526106a8908490611905565b600a80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b0382166000908152600d602052604090205460ff166114a85760405162461bcd60e51b81526004016106079061265d565b6106a88383836119d7565b60006114be82610ab2565b90506114cc81600084611717565b6114d7600083610f7c565b6001600160a01b0381166000908152600360205260408120805460019290611500908490612759565b909155505060008281526002602052604080822080546001600160a01b0319169055518391906001600160a01b038416907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908390a4610a92565b61156684848461104c565b61157284848484611aa6565b610ddf5760405162461bcd60e51b81526004016106079061260b565b6060816115b357506040805180820190915260018152600360fc1b60208201526104d4565b8160005b81156115dd57806115c7816127d7565b91506115d69050600a83612745565b91506115b7565b60008167ffffffffffffffff81111561160657634e487b7160e01b600052604160045260246000fd5b6040519080825280601f01601f191660200182016040528015611630576020820181803683370190505b5090505b841561104457611645600183612759565b9150611652600a866127f2565b61165d90603061272d565b60f81b81838151811061168057634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a9053506116a2600a86612745565b9450611634565b600081815260046020526040902080546001600160a01b0319166001600160a01b03841690811790915581906116de82610ab2565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b333b1561174d57336000908152600d602052604090205460ff1661174d5760405162461bcd60e51b81526004016106079061265d565b6001600160a01b0382161580159061176e57506001600160a01b0382163b15155b156117ab576001600160a01b0382166000908152600d602052604090205460ff166117ab5760405162461bcd60e51b81526004016106079061265d565b6106a8838383611bb3565b6001600160a01b03821661180c5760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f20616464726573736044820152606401610607565b6000818152600260205260409020546001600160a01b0316156118715760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606401610607565b61187d60008383611717565b6001600160a01b03821660009081526003602052604081208054600192906118a690849061272d565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a4610a92565b600061195a826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b0316611c709092919063ffffffff16565b8051909150156106a8578080602001905181019061197891906123ba565b6106a85760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6044820152691bdd081cdd58d8d9595960b21b6064820152608401610607565b816001600160a01b0316836001600160a01b03161415611a395760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c6572000000000000006044820152606401610607565b6001600160a01b03838116600081815260056020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b60006001600160a01b0384163b15611ba857604051630a85bd0160e11b81526001600160a01b0385169063150b7a0290611aea90339089908890889060040161258e565b602060405180830381600087803b158015611b0457600080fd5b505af1925050508015611b34575060408051601f3d908101601f19168201909252611b31918101906123f2565b60015b611b8e573d808015611b62576040519150601f19603f3d011682016040523d82523d6000602084013e611b67565b606091505b508051611b865760405162461bcd60e51b81526004016106079061260b565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050611044565b506001949350505050565b6001600160a01b038316611c0e57611c0981600880546000838152600960205260408120829055600182018355919091527ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee30155565b611c31565b816001600160a01b0316836001600160a01b031614611c3157611c318382611c89565b6001600160a01b038216611c4d57611c4881611d26565b6106a8565b826001600160a01b0316826001600160a01b0316146106a8576106a88282611dff565b6060611c7f8484600085611e43565b90505b9392505050565b60006001611c9684610b57565b611ca09190612759565b600083815260076020526040902054909150808214611cf3576001600160a01b03841660009081526006602090815260408083208584528252808320548484528184208190558352600790915290208190555b5060009182526007602090815260408084208490556001600160a01b039094168352600681528383209183525290812055565b600854600090611d3890600190612759565b60008381526009602052604081205460088054939450909284908110611d6e57634e487b7160e01b600052603260045260246000fd5b906000526020600020015490508060088381548110611d9d57634e487b7160e01b600052603260045260246000fd5b6000918252602080832090910192909255828152600990915260408082208490558582528120556008805480611de357634e487b7160e01b600052603160045260246000fd5b6001900381819060005260206000200160009055905550505050565b6000611e0a83610b57565b6001600160a01b039093166000908152600660209081526040808320868452825280832085905593825260079052919091209190915550565b606082471015611ea45760405162461bcd60e51b815260206004820152602660248201527f416464726573733a20696e73756666696369656e742062616c616e636520666f6044820152651c8818d85b1b60d21b6064820152608401610607565b6001600160a01b0385163b611efb5760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e74726163740000006044820152606401610607565b600080866001600160a01b03168587604051611f1791906124cc565b60006040518083038185875af1925050503d8060008114611f54576040519150601f19603f3d011682016040523d82523d6000602084013e611f59565b606091505b5091509150611f69828286611f74565b979650505050505050565b60608315611f83575081611c82565b825115611f935782518084602001fd5b8160405162461bcd60e51b815260040161060791906125cb565b828054611fb99061279c565b90600052602060002090601f016020900481019282611fdb5760008555612021565b82601f10611ff457805160ff1916838001178555612021565b82800160010185558215612021579182015b82811115612021578251825591602001919060010190612006565b5061202d929150612031565b5090565b5b8082111561202d5760008155600101612032565b600067ffffffffffffffff83111561206057612060612832565b612073601f8401601f19166020016126d8565b905082815283838301111561208757600080fd5b828260208301376000602084830101529392505050565b80356001600160a01b03811681146104d457600080fd5b600082601f8301126120c5578081fd5b813560206120da6120d583612709565b6126d8565b82815281810190858301838502870184018810156120f6578586fd5b855b8581101561211b576121098261209e565b845292840192908401906001016120f8565b5090979650505050505050565b600082601f830112612138578081fd5b813560206121486120d583612709565b8281528181019085830183850287018401881015612164578586fd5b855b8581101561211b57813584529284019290840190600101612166565b600060208284031215612193578081fd5b611c828261209e565b600080604083850312156121ae578081fd5b6121b78361209e565b91506121c56020840161209e565b90509250929050565b6000806000606084860312156121e2578081fd5b6121eb8461209e565b92506121f96020850161209e565b9150604084013590509250925092565b6000806000806080858703121561221e578081fd5b6122278561209e565b93506122356020860161209e565b925060408501359150606085013567ffffffffffffffff811115612257578182fd5b8501601f81018713612267578182fd5b61227687823560208401612046565b91505092959194509250565b60008060408385031215612294578182fd5b61229d8361209e565b915060208301356122ad81612848565b809150509250929050565b600080604083850312156122ca578182fd5b6122d38361209e565b946020939093013593505050565b600080604083850312156122f3578182fd5b823567ffffffffffffffff8082111561230a578384fd5b612316868387016120b5565b9350602085013591508082111561232b578283fd5b5061233885828601612128565b9150509250929050565b60008060408385031215612354578182fd5b823567ffffffffffffffff81111561236a578283fd5b612376858286016120b5565b92505060208301356122ad81612848565b600060208284031215612398578081fd5b813567ffffffffffffffff8111156123ae578182fd5b61104484828501612128565b6000602082840312156123cb578081fd5b8151611c8281612848565b6000602082840312156123e7578081fd5b8135611c8281612856565b600060208284031215612403578081fd5b8151611c8281612856565b60006020828403121561241f578081fd5b813567ffffffffffffffff811115612435578182fd5b8201601f81018413612445578182fd5b61104484823560208401612046565b600060208284031215612465578081fd5b5035919050565b60006020828403121561247d578081fd5b5051919050565b6000815180845261249c816020860160208601612770565b601f01601f19169290920160200192915050565b600081516124c2818560208601612770565b9290920192915050565b600082516124de818460208701612770565b9190910192915050565b825460009081906002810460018083168061250457607f831692505b602080841082141561252457634e487b7160e01b87526022600452602487fd5b818015612538576001811461254957612575565b60ff19861689528489019650612575565b60008b815260209020885b8681101561256d5781548b820152908501908301612554565b505084890196505b50505050505061258581856124b0565b95945050505050565b6001600160a01b03858116825284166020820152604081018390526080606082018190526000906125c190830184612484565b9695505050505050565b600060208252611c826020830184612484565b6020808252601390820152721391515117d352539517d5d2125511531254d5606a1b604082015260600190565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b6020808252601390820152721393d517d51490511157d5d2125511531254d5606a1b604082015260600190565b6020808252602e908201527f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6560408201526d1c881b9bdc88185c1c1c9bdd995960921b606082015260800190565b604051601f8201601f1916810167ffffffffffffffff8111828210171561270157612701612832565b604052919050565b600067ffffffffffffffff82111561272357612723612832565b5060209081020190565b6000821982111561274057612740612806565b500190565b6000826127545761275461281c565b500490565b60008282101561276b5761276b612806565b500390565b60005b8381101561278b578181015183820152602001612773565b83811115610ddf5750506000910152565b6002810460018216806127b057607f821691505b602082108114156127d157634e487b7160e01b600052602260045260246000fd5b50919050565b60006000198214156127eb576127eb612806565b5060010190565b6000826128015761280161281c565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b8015158114610a9457600080fd5b6001600160e01b031981168114610a9457600080fdfea2646970667358221220fac4071f1080617a59fd10fb71f40fe84588160c66eafe3fe0d16366c2c1d40264736f6c63430008020033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c0000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000015b3000000000000000000000000000000000000000000000000000000000000000d4e4943452050415353434152440000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000085041535343415244000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001f68747470733a2f2f7777772e6e6963652e636c75622f70617373636172642f00
-----Decoded View---------------
Arg [0] : name_ (string): NICE PASSCARD
Arg [1] : symbol_ (string): PASSCARD
Arg [2] : baseUri_ (string): https://www.nice.club/passcard/
Arg [3] : maxSupply_ (uint256): 5555
-----Encoded View---------------
10 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000080
Arg [1] : 00000000000000000000000000000000000000000000000000000000000000c0
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000100
Arg [3] : 00000000000000000000000000000000000000000000000000000000000015b3
Arg [4] : 000000000000000000000000000000000000000000000000000000000000000d
Arg [5] : 4e49434520504153534341524400000000000000000000000000000000000000
Arg [6] : 0000000000000000000000000000000000000000000000000000000000000008
Arg [7] : 5041535343415244000000000000000000000000000000000000000000000000
Arg [8] : 000000000000000000000000000000000000000000000000000000000000001f
Arg [9] : 68747470733a2f2f7777772e6e6963652e636c75622f70617373636172642f00
Deployed Bytecode Sourcemap
64557:4340:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;37329:224;;;;;;:::i;:::-;;:::i;:::-;;;10582:14:1;;10575:22;10557:41;;10545:2;10530:18;37329:224:0;;;;;;;;22987:100;;;:::i;:::-;;;;;;;:::i;24500:171::-;;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;9590:32:1;;;9572:51;;9560:2;9545:18;24500:171:0;9527:102:1;24017:417:0;;;;;;:::i;:::-;;:::i;:::-;;64799:46;;;;;;:::i;:::-;;;;;;;;;;;;;;;;66693:311;;;;;;:::i;:::-;;:::i;37969:113::-;38057:10;:17;37969:113;;;20241:25:1;;;20229:2;20214:18;37969:113:0;20196:76:1;25200:336:0;;;;;;:::i;:::-;;:::i;37637:256::-;;;;;;:::i;:::-;;:::i;65993:199::-;;;;;;:::i;:::-;;:::i;25607:185::-;;;;;;:::i;:::-;;:::i;67460:213::-;;;;;;:::i;:::-;;:::i;38159:233::-;;;;;;:::i;:::-;;:::i;66200:350::-;;;;;;:::i;:::-;;:::i;65525:104::-;;;;;;:::i;:::-;;:::i;22698:222::-;;;;;;:::i;:::-;;:::i;67317:135::-;;;;;;:::i;:::-;;:::i;65637:88::-;;;;;;:::i;:::-;;:::i;22429:207::-;;;;;;:::i;:::-;;:::i;46823:103::-;;;:::i;65733:252::-;;;;;;:::i;:::-;;:::i;64908:25::-;;;;;;46175:87;46248:6;;-1:-1:-1;;;;;46248:6:0;46175:87;;23156:104;;;:::i;24743:155::-;;;;;;:::i;:::-;;:::i;67012:297::-;;;;;;:::i;:::-;;:::i;25863:323::-;;;;;;:::i;:::-;;:::i;65313:200::-;;;;;;:::i;:::-;;:::i;66558:127::-;;;;;;:::i;:::-;;:::i;24969:164::-;;;;;;:::i;:::-;-1:-1:-1;;;;;25090:25:0;;;25066:4;25090:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;24969:164;64852:47;;;;;;:::i;:::-;;;;;;;;;;;;;;;;47081:201;;;;;;:::i;:::-;;:::i;37329:224::-;37431:4;-1:-1:-1;;;;;;37455:50:0;;-1:-1:-1;;;37455:50:0;;:90;;;37509:36;37533:11;37509:23;:36::i;:::-;37448:97;;37329:224;;;;:::o;22987:100::-;23041:13;23074:5;23067:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;22987:100;:::o;24500:171::-;24576:7;24596:23;24611:7;24596:14;:23::i;:::-;-1:-1:-1;24639:24:0;;;;:15;:24;;;;;;-1:-1:-1;;;;;24639:24:0;;24500:171::o;24017:417::-;24098:13;24114:23;24129:7;24114:14;:23::i;:::-;24098:39;;24162:5;-1:-1:-1;;;;;24156:11:0;:2;-1:-1:-1;;;;;24156:11:0;;;24148:57;;;;-1:-1:-1;;;24148:57:0;;17950:2:1;24148:57:0;;;17932:21:1;17989:2;17969:18;;;17962:30;18028:34;18008:18;;;18001:62;-1:-1:-1;;;18079:18:1;;;18072:31;18120:19;;24148:57:0;;;;;;;;;16997:10;-1:-1:-1;;;;;24240:21:0;;;;:62;;-1:-1:-1;24265:37:0;24282:5;16997:10;24289:12;16917:98;24265:37;24218:174;;;;-1:-1:-1;;;24218:174:0;;16444:2:1;24218:174:0;;;16426:21:1;16483:2;16463:18;;;16456:30;16522:34;16502:18;;;16495:62;16593:32;16573:18;;;16566:60;16643:19;;24218:174:0;16416:252:1;24218:174:0;24405:21;24414:2;24418:7;24405:8;:21::i;:::-;24017:417;;;:::o;66693:311::-;66818:8;:15;66798:9;:16;:35;66790:68;;;;-1:-1:-1;;;66790:68:0;;11046:2:1;66790:68:0;;;11028:21:1;11085:2;11065:18;;;11058:30;-1:-1:-1;;;11104:18:1;;;11097:50;11164:18;;66790:68:0;11018:170:1;66790:68:0;66876:6;66871:126;66892:9;:16;66888:1;:20;66871:126;;;66930:55;66947:10;66959:9;66969:1;66959:12;;;;;;-1:-1:-1;;;66959:12:0;;;;;;;;;;;;;;;66973:8;66982:1;66973:11;;;;;;-1:-1:-1;;;66973:11:0;;;;;;;;;;;;;;;66930:16;:55::i;:::-;66910:3;;;:::i;:::-;;;66871:126;;25200:336;25395:41;16997:10;25428:7;25395:18;:41::i;:::-;25387:100;;;;-1:-1:-1;;;25387:100:0;;;;;;;:::i;:::-;25500:28;25510:4;25516:2;25520:7;25500:9;:28::i;37637:256::-;37734:7;37770:23;37787:5;37770:16;:23::i;:::-;37762:5;:31;37754:87;;;;-1:-1:-1;;;37754:87:0;;11743:2:1;37754:87:0;;;11725:21:1;11782:2;11762:18;;;11755:30;11821:34;11801:18;;;11794:62;-1:-1:-1;;;11872:18:1;;;11865:41;11923:19;;37754:87:0;11715:233:1;37754:87:0;-1:-1:-1;;;;;;37859:19:0;;;;;;;;:12;:19;;;;;;;;:26;;;;;;;;;37637:256::o;65993:199::-;46061:13;:11;:13::i;:::-;66087:6:::1;66082:103;66103:6;:13;66099:1;:17;66082:103;;;66166:7;66138:14;:25;66153:6;66160:1;66153:9;;;;;;-1:-1:-1::0;;;66153:9:0::1;;;;;;;;;;::::0;;::::1;::::0;;;;;;;-1:-1:-1;;;;;66138:25:0::1;::::0;;;::::1;::::0;;;;;;-1:-1:-1;66138:25:0;:35;;-1:-1:-1;;66138:35:0::1;::::0;::::1;;::::0;;;::::1;::::0;;66118:3:::1;::::0;::::1;:::i;:::-;;;66082:103;;25607:185:::0;25745:39;25762:4;25768:2;25772:7;25745:39;;;;;;;;;;;;:16;:39::i;67460:213::-;67544:10;67530:25;;;;:13;:25;;;;;;;;67522:57;;;;-1:-1:-1;;;67522:57:0;;;;;;;:::i;:::-;67595:6;67590:76;67611:6;67607:1;:10;67590:76;;;67639:15;67651:2;67639:11;:15::i;:::-;-1:-1:-1;67619:3:0;;;:::i;:::-;;;67590:76;;38159:233;38234:7;38270:30;38057:10;:17;37969:113;;38270:30;38262:5;:38;38254:95;;;;-1:-1:-1;;;38254:95:0;;18710:2:1;38254:95:0;;;18692:21:1;18749:2;18729:18;;;18722:30;18788:34;18768:18;;;18761:62;-1:-1:-1;;;18839:18:1;;;18832:42;18891:19;;38254:95:0;18682:234:1;38254:95:0;38367:10;38378:5;38367:17;;;;;;-1:-1:-1;;;38367:17:0;;;;;;;;;;;;;;;;;38360:24;;38159:233;;;:::o;66200:350::-;46061:13;:11;:13::i;:::-;-1:-1:-1;;;;;66265:19:0;::::1;66261:282;;66316:21;66352:44;66378:7;46248:6:::0;;-1:-1:-1;;;;;46248:6:0;46175:87;;66378:7:::1;66388;66352:17;:44::i;:::-;66261:282;;;;66451:5:::0;66472:59:::1;66491:7;46248:6:::0;;-1:-1:-1;;;;;46248:6:0;46175:87;;66491:7:::1;66500:30;::::0;-1:-1:-1;;;66500:30:0;;66524:4:::1;66500:30;::::0;::::1;9572:51:1::0;-1:-1:-1;;;;;66500:15:0;::::1;::::0;::::1;::::0;9545:18:1;;66500:30:0::1;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1::0;;;;;66472:18:0;::::1;::::0;:59;:18:::1;:59::i;:::-;66261:282;;66200:350:::0;:::o;65525:104::-;46061:13;:11;:13::i;:::-;65600:21;;::::1;::::0;:7:::1;::::0;:21:::1;::::0;::::1;::::0;::::1;:::i;22698:222::-:0;22770:7;22806:16;;;:7;:16;;;;;;-1:-1:-1;;;;;22806:16:0;22841:19;22833:56;;;;-1:-1:-1;;;22833:56:0;;17597:2:1;22833:56:0;;;17579:21:1;17636:2;17616:18;;;17609:30;-1:-1:-1;;;17655:18:1;;;17648:54;17719:18;;22833:56:0;17569:174:1;67317:135:0;67383:10;67369:25;;;;:13;:25;;;;;;;;67361:57;;;;-1:-1:-1;;;67361:57:0;;;;;;;:::i;:::-;67429:15;67441:2;67429:11;:15::i;65637:88::-;46061:13;:11;:13::i;:::-;65699:10:::1;:18:::0;65637:88::o;22429:207::-;22501:7;-1:-1:-1;;;;;22529:19:0;;22521:73;;;;-1:-1:-1;;;22521:73:0;;15695:2:1;22521:73:0;;;15677:21:1;15734:2;15714:18;;;15707:30;15773:34;15753:18;;;15746:62;-1:-1:-1;;;15824:18:1;;;15817:39;15873:19;;22521:73:0;15667:231:1;22521:73:0;-1:-1:-1;;;;;;22612:16:0;;;;;:9;:16;;;;;;;22429:207::o;46823:103::-;46061:13;:11;:13::i;:::-;46888:30:::1;46915:1;46888:18;:30::i;:::-;46823:103::o:0;65733:252::-;46061:13;:11;:13::i;:::-;65831:6:::1;65826:152;65847:6;:13;65843:1;:17;65826:152;;;65909:7;65882:13;:24;65896:6;65903:1;65896:9;;;;;;-1:-1:-1::0;;;65896:9:0::1;;;;;;;;;;;;;;;-1:-1:-1::0;;;;;65882:24:0::1;-1:-1:-1::0;;;;;65882:24:0::1;;;;;;;;;;;;;:34;;;;;;;;;;;;;;;;;;65959:7;65931:14;:25;65946:6;65953:1;65946:9;;;;;;-1:-1:-1::0;;;65946:9:0::1;;;;;;;;;;::::0;;::::1;::::0;;;;;;;-1:-1:-1;;;;;65931:25:0::1;::::0;;;::::1;::::0;;;;;;-1:-1:-1;65931:25:0;:35;;-1:-1:-1;;65931:35:0::1;::::0;::::1;;::::0;;;::::1;::::0;;65862:3:::1;::::0;::::1;:::i;:::-;;;65826:152;;23156:104:::0;23212:13;23245:7;23238:14;;;;;:::i;24743:155::-;24838:52;16997:10;24871:8;24881;24838:18;:52::i;67012:297::-;67073:6;67068:234;67089:8;:15;67085:1;:19;67068:234;;;67126:13;67142:20;67150:8;67159:1;67150:11;;;;;;-1:-1:-1;;;67150:11:0;;;;;;;;;;;;;;;67142:7;:20::i;:::-;67126:36;-1:-1:-1;67185:10:0;-1:-1:-1;;;;;67185:19:0;;;;:48;;-1:-1:-1;67222:10:0;67208:25;;;;:13;:25;;;;;;;;67185:48;67177:80;;;;-1:-1:-1;;;67177:80:0;;;;;;;:::i;:::-;67272:18;67278:8;67287:1;67278:11;;;;;;-1:-1:-1;;;67278:11:0;;;;;;;;;;;;;;;67272:5;:18::i;:::-;-1:-1:-1;67106:3:0;;;:::i;:::-;;;67068:234;;25863:323;26037:41;16997:10;26070:7;26037:18;:41::i;:::-;26029:100;;;;-1:-1:-1;;;26029:100:0;;;;;;;:::i;:::-;26140:38;26154:4;26160:2;26164:7;26173:4;26140:13;:38::i;:::-;25863:323;;;;:::o;65313:200::-;65386:13;65443:1;65425:7;65419:21;;;;;:::i;:::-;;;:25;:86;;;;;;;;;;;;;;;;;65471:7;65480:18;:7;:16;:18::i;:::-;65454:45;;;;;;;;;:::i;:::-;;;;;;;;;;;;;65412:93;;65313:200;;;:::o;66558:127::-;46061:13;:11;:13::i;:::-;66633:44:::1;66658:4;66665:2;66669:7;66633:16;:44::i;47081:201::-:0;46061:13;:11;:13::i;:::-;-1:-1:-1;;;;;47170:22:0;::::1;47162:73;;;::::0;-1:-1:-1;;;47162:73:0;;12574:2:1;47162:73:0::1;::::0;::::1;12556:21:1::0;12613:2;12593:18;;;12586:30;12652:34;12632:18;;;12625:62;-1:-1:-1;;;12703:18:1;;;12696:36;12749:19;;47162:73:0::1;12546:228:1::0;47162:73:0::1;47246:28;47265:8;47246:18;:28::i;22060:305::-:0;22162:4;-1:-1:-1;;;;;;22199:40:0;;-1:-1:-1;;;22199:40:0;;:105;;-1:-1:-1;;;;;;;22256:48:0;;-1:-1:-1;;;22256:48:0;22199:105;:158;;;-1:-1:-1;;;;;;;;;;20600:40:0;;;22321:36;20491:157;32475:135;27758:4;27782:16;;;:7;:16;;;;;;-1:-1:-1;;;;;27782:16:0;32549:53;;;;-1:-1:-1;;;32549:53:0;;17597:2:1;32549:53:0;;;17579:21:1;17636:2;17616:18;;;17609:30;-1:-1:-1;;;17655:18:1;;;17648:54;17719:18;;32549:53:0;17569:174:1;67952:222:0;-1:-1:-1;;;;;68032:16:0;;;68028:99;;-1:-1:-1;;;;;68073:18:0;;;;;;:14;:18;;;;;;;;68065:50;;;;-1:-1:-1;;;68065:50:0;;;;;;;:::i;:::-;68139:27;68154:2;68158:7;68139:14;:27::i;27987:264::-;28080:4;28097:13;28113:23;28128:7;28113:14;:23::i;:::-;28097:39;;28166:5;-1:-1:-1;;;;;28155:16:0;:7;-1:-1:-1;;;;;28155:16:0;;:52;;;-1:-1:-1;;;;;;25090:25:0;;;25066:4;25090:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;28175:32;28155:87;;;;28235:7;-1:-1:-1;;;;;28211:31:0;:20;28223:7;28211:11;:20::i;:::-;-1:-1:-1;;;;;28211:31:0;;28155:87;28147:96;27987:264;-1:-1:-1;;;;27987:264:0:o;31010:625::-;31169:4;-1:-1:-1;;;;;31142:31:0;:23;31157:7;31142:14;:23::i;:::-;-1:-1:-1;;;;;31142:31:0;;31134:81;;;;-1:-1:-1;;;31134:81:0;;12981:2:1;31134:81:0;;;12963:21:1;13020:2;13000:18;;;12993:30;13059:34;13039:18;;;13032:62;-1:-1:-1;;;13110:18:1;;;13103:35;13155:19;;31134:81:0;12953:227:1;31134:81:0;-1:-1:-1;;;;;31234:16:0;;31226:65;;;;-1:-1:-1;;;31226:65:0;;13744:2:1;31226:65:0;;;13726:21:1;13783:2;13763:18;;;13756:30;13822:34;13802:18;;;13795:62;-1:-1:-1;;;13873:18:1;;;13866:34;13917:19;;31226:65:0;13716:226:1;31226:65:0;31304:39;31325:4;31331:2;31335:7;31304:20;:39::i;:::-;31408:29;31425:1;31429:7;31408:8;:29::i;:::-;-1:-1:-1;;;;;31450:15:0;;;;;;:9;:15;;;;;:20;;31469:1;;31450:15;:20;;31469:1;;31450:20;:::i;:::-;;;;-1:-1:-1;;;;;;;31481:13:0;;;;;;:9;:13;;;;;:18;;31498:1;;31481:13;:18;;31498:1;;31481:18;:::i;:::-;;;;-1:-1:-1;;31510:16:0;;;;:7;:16;;;;;;:21;;-1:-1:-1;;;;;;31510:21:0;-1:-1:-1;;;;;31510:21:0;;;;;;;;;31549:27;;31510:16;;31549:27;;;;;;;31589:38;24017:417;46340:132;46248:6;;-1:-1:-1;;;;;46248:6:0;16997:10;46404:23;46396:68;;;;-1:-1:-1;;;46396:68:0;;17236:2:1;46396:68:0;;;17218:21:1;;;17255:18;;;17248:30;17314:34;17294:18;;;17287:62;17366:18;;46396:68:0;17208:182:1;67681:263:0;67731:4;67748:21;:9;44560:19;;44578:1;44560:19;;;44471:127;67748:21;67780:17;67800:19;:9;44441:14;;44349:114;67800:19;67780:39;;67851:10;;67838:9;:23;;67830:46;;;;-1:-1:-1;;;67830:46:0;;16105:2:1;67830:46:0;;;16087:21:1;16144:2;16124:18;;;16117:30;-1:-1:-1;;;16163:18:1;;;16156:40;16213:18;;67830:46:0;16077:160:1;67830:46:0;67887:20;67893:2;67897:9;67887:5;:20::i;10179:317::-;10294:6;10269:21;:31;;10261:73;;;;-1:-1:-1;;;10261:73:0;;14930:2:1;10261:73:0;;;14912:21:1;14969:2;14949:18;;;14942:30;15008:31;14988:18;;;14981:59;15057:18;;10261:73:0;14902:179:1;10261:73:0;10348:12;10366:9;-1:-1:-1;;;;;10366:14:0;10388:6;10366:33;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;10347:52;;;10418:7;10410:78;;;;-1:-1:-1;;;10410:78:0;;14503:2:1;10410:78:0;;;14485:21:1;14542:2;14522:18;;;14515:30;14581:34;14561:18;;;14554:62;14652:28;14632:18;;;14625:56;14698:19;;10410:78:0;14475:248:1;60637:211:0;60781:58;;;-1:-1:-1;;;;;10330:32:1;;60781:58:0;;;10312:51:1;10379:18;;;;10372:34;;;60781:58:0;;;;;;;;;;10285:18:1;;;;60781:58:0;;;;;;;;-1:-1:-1;;;;;60781:58:0;-1:-1:-1;;;60781:58:0;;;60754:86;;60774:5;;60754:19;:86::i;47442:191::-;47535:6;;;-1:-1:-1;;;;;47552:17:0;;;-1:-1:-1;;;;;;47552:17:0;;;;;;;47585:40;;47535:6;;;47552:17;47535:6;;47585:40;;47516:16;;47585:40;47442:191;;:::o;68186:267::-;-1:-1:-1;;;;;68333:24:0;;;;;;:14;:24;;;;;;;;68325:56;;;;-1:-1:-1;;;68325:56:0;;;;;;;:::i;:::-;68394:51;68419:5;68426:8;68436;68394:24;:51::i;30253:420::-;30313:13;30329:23;30344:7;30329:14;:23::i;:::-;30313:39;;30365:48;30386:5;30401:1;30405:7;30365:20;:48::i;:::-;30454:29;30471:1;30475:7;30454:8;:29::i;:::-;-1:-1:-1;;;;;30496:16:0;;;;;;:9;:16;;;;;:21;;30516:1;;30496:16;:21;;30516:1;;30496:21;:::i;:::-;;;;-1:-1:-1;;30535:16:0;;;;:7;:16;;;;;;30528:23;;-1:-1:-1;;;;;;30528:23:0;;;30569:36;30543:7;;30535:16;-1:-1:-1;;;;;30569:36:0;;;;;30535:16;;30569:36;30618:47;24017:417;27067:313;27223:28;27233:4;27239:2;27243:7;27223:9;:28::i;:::-;27270:47;27293:4;27299:2;27303:7;27312:4;27270:22;:47::i;:::-;27262:110;;;;-1:-1:-1;;;27262:110:0;;;;;;;:::i;17561:723::-;17617:13;17838:10;17834:53;;-1:-1:-1;17865:10:0;;;;;;;;;;;;-1:-1:-1;;;17865:10:0;;;;;;17834:53;17912:5;17897:12;17953:78;17960:9;;17953:78;;17986:8;;;;:::i;:::-;;-1:-1:-1;18009:10:0;;-1:-1:-1;18017:2:0;18009:10;;:::i;:::-;;;17953:78;;;18041:19;18073:6;18063:17;;;;;;-1:-1:-1;;;18063:17:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;18063:17:0;;18041:39;;18091:154;18098:10;;18091:154;;18125:11;18135:1;18125:11;;:::i;:::-;;-1:-1:-1;18194:10:0;18202:2;18194:5;:10;:::i;:::-;18181:24;;:2;:24;:::i;:::-;18168:39;;18151:6;18158;18151:14;;;;;;-1:-1:-1;;;18151:14:0;;;;;;;;;;;;:56;-1:-1:-1;;;;;18151:56:0;;;;;;;;-1:-1:-1;18222:11:0;18231:2;18222:11;;:::i;:::-;;;18091:154;;31754:174;31829:24;;;;:15;:24;;;;;:29;;-1:-1:-1;;;;;;31829:29:0;-1:-1:-1;;;;;31829:29:0;;;;;;;;:24;;31883:23;31829:24;31883:14;:23::i;:::-;-1:-1:-1;;;;;31874:46:0;;;;;;;;;;;31754:174;;:::o;68461:433::-;68586:10;9213:19;:23;68563:121;;68637:10;68622:26;;;;:14;:26;;;;;;;;68614:58;;;;-1:-1:-1;;;68614:58:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;68708:16:0;;;;;;:42;;-1:-1:-1;;;;;;9213:19:0;;;:23;;68728:22;68704:125;;;-1:-1:-1;;;;;68775:18:0;;;;;;:14;:18;;;;;;;;68767:50;;;;-1:-1:-1;;;68767:50:0;;;;;;;:::i;:::-;68841:45;68868:4;68874:2;68878:7;68841:26;:45::i;29585:439::-;-1:-1:-1;;;;;29665:16:0;;29657:61;;;;-1:-1:-1;;;29657:61:0;;16875:2:1;29657:61:0;;;16857:21:1;;;16894:18;;;16887:30;16953:34;16933:18;;;16926:62;17005:18;;29657:61:0;16847:182:1;29657:61:0;27758:4;27782:16;;;:7;:16;;;;;;-1:-1:-1;;;;;27782:16:0;:30;29729:58;;;;-1:-1:-1;;;29729:58:0;;13387:2:1;29729:58:0;;;13369:21:1;13426:2;13406:18;;;13399:30;13465;13445:18;;;13438:58;13513:18;;29729:58:0;13359:178:1;29729:58:0;29800:45;29829:1;29833:2;29837:7;29800:20;:45::i;:::-;-1:-1:-1;;;;;29858:13:0;;;;;;:9;:13;;;;;:18;;29875:1;;29858:13;:18;;29875:1;;29858:18;:::i;:::-;;;;-1:-1:-1;;29887:16:0;;;;:7;:16;;;;;;:21;;-1:-1:-1;;;;;;29887:21:0;-1:-1:-1;;;;;29887:21:0;;;;;;;;29926:33;;29887:16;;;29926:33;;29887:16;;29926:33;29972:44;24017:417;63704:716;64128:23;64154:69;64182:4;64154:69;;;;;;;;;;;;;;;;;64162:5;-1:-1:-1;;;;;64154:27:0;;;:69;;;;;:::i;:::-;64238:17;;64128:95;;-1:-1:-1;64238:21:0;64234:179;;64335:10;64324:30;;;;;;;;;;;;:::i;:::-;64316:85;;;;-1:-1:-1;;;64316:85:0;;19123:2:1;64316:85:0;;;19105:21:1;19162:2;19142:18;;;19135:30;19201:34;19181:18;;;19174:62;-1:-1:-1;;;19252:18:1;;;19245:40;19302:19;;64316:85:0;19095:232:1;32071:315:0;32226:8;-1:-1:-1;;;;;32217:17:0;:5;-1:-1:-1;;;;;32217:17:0;;;32209:55;;;;-1:-1:-1;;;32209:55:0;;14149:2:1;32209:55:0;;;14131:21:1;14188:2;14168:18;;;14161:30;14227:27;14207:18;;;14200:55;14272:18;;32209:55:0;14121:175:1;32209:55:0;-1:-1:-1;;;;;32275:25:0;;;;;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;:46;;-1:-1:-1;;32275:46:0;;;;;;;;;;32337:41;;10557::1;;;32337::0;;10530:18:1;32337:41:0;;;;;;;32071:315;;;:::o;33174:853::-;33328:4;-1:-1:-1;;;;;33349:13:0;;9213:19;:23;33345:675;;33385:71;;-1:-1:-1;;;33385:71:0;;-1:-1:-1;;;;;33385:36:0;;;;;:71;;16997:10;;33436:4;;33442:7;;33451:4;;33385:71;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;33385:71:0;;;;;;;;-1:-1:-1;;33385:71:0;;;;;;;;;;;;:::i;:::-;;;33381:584;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;33626:13:0;;33622:328;;33669:60;;-1:-1:-1;;;33669:60:0;;;;;;;:::i;33622:328::-;33900:6;33894:13;33885:6;33881:2;33877:15;33870:38;33381:584;-1:-1:-1;;;;;;33507:51:0;-1:-1:-1;;;33507:51:0;;-1:-1:-1;33500:58:0;;33345:675;-1:-1:-1;34004:4:0;33174:853;;;;;;:::o;39005:589::-;-1:-1:-1;;;;;39211:18:0;;39207:187;;39246:40;39278:7;40421:10;:17;;40394:24;;;;:15;:24;;;;;:44;;;40449:24;;;;;;;;;;;;40317:164;39246:40;39207:187;;;39316:2;-1:-1:-1;;;;;39308:10:0;:4;-1:-1:-1;;;;;39308:10:0;;39304:90;;39335:47;39368:4;39374:7;39335:32;:47::i;:::-;-1:-1:-1;;;;;39408:16:0;;39404:183;;39441:45;39478:7;39441:36;:45::i;:::-;39404:183;;;39514:4;-1:-1:-1;;;;;39508:10:0;:2;-1:-1:-1;;;;;39508:10:0;;39504:83;;39535:40;39563:2;39567:7;39535:27;:40::i;11663:229::-;11800:12;11832:52;11854:6;11862:4;11868:1;11871:12;11832:21;:52::i;:::-;11825:59;;11663:229;;;;;;:::o;41108:988::-;41374:22;41424:1;41399:22;41416:4;41399:16;:22::i;:::-;:26;;;;:::i;:::-;41436:18;41457:26;;;:17;:26;;;;;;41374:51;;-1:-1:-1;41590:28:0;;;41586:328;;-1:-1:-1;;;;;41657:18:0;;41635:19;41657:18;;;:12;:18;;;;;;;;:34;;;;;;;;;41708:30;;;;;;:44;;;41825:30;;:17;:30;;;;;:43;;;41586:328;-1:-1:-1;42010:26:0;;;;:17;:26;;;;;;;;42003:33;;;-1:-1:-1;;;;;42054:18:0;;;;;:12;:18;;;;;:34;;;;;;;42047:41;41108:988::o;42391:1079::-;42669:10;:17;42644:22;;42669:21;;42689:1;;42669:21;:::i;:::-;42701:18;42722:24;;;:15;:24;;;;;;43095:10;:26;;42644:46;;-1:-1:-1;42722:24:0;;42644:46;;43095:26;;;;-1:-1:-1;;;43095:26:0;;;;;;;;;;;;;;;;;43073:48;;43159:11;43134:10;43145;43134:22;;;;;;-1:-1:-1;;;43134:22:0;;;;;;;;;;;;;;;;;;;;:36;;;;43239:28;;;:15;:28;;;;;;;:41;;;43411:24;;;;;43404:31;43446:10;:16;;;;;-1:-1:-1;;;43446:16:0;;;;;;;;;;;;;;;;;;;;;;;;;;42391:1079;;;;:::o;39895:221::-;39980:14;39997:20;40014:2;39997:16;:20::i;:::-;-1:-1:-1;;;;;40028:16:0;;;;;;;:12;:16;;;;;;;;:24;;;;;;;;:34;;;40073:26;;;:17;:26;;;;;;:35;;;;-1:-1:-1;39895:221:0:o;12783:510::-;12953:12;13011:5;12986:21;:30;;12978:81;;;;-1:-1:-1;;;12978:81:0;;15288:2:1;12978:81:0;;;15270:21:1;15327:2;15307:18;;;15300:30;15366:34;15346:18;;;15339:62;-1:-1:-1;;;15417:18:1;;;15410:36;15463:19;;12978:81:0;15260:228:1;12978:81:0;-1:-1:-1;;;;;9213:19:0;;;13070:60;;;;-1:-1:-1;;;13070:60:0;;18352:2:1;13070:60:0;;;18334:21:1;18391:2;18371:18;;;18364:30;18430:31;18410:18;;;18403:59;18479:18;;13070:60:0;18324:179:1;13070:60:0;13144:12;13158:23;13185:6;-1:-1:-1;;;;;13185:11:0;13204:5;13211:4;13185:31;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;13143:73;;;;13234:51;13251:7;13260:10;13272:12;13234:16;:51::i;:::-;13227:58;12783:510;-1:-1:-1;;;;;;;12783:510:0:o;15469:762::-;15619:12;15648:7;15644:580;;;-1:-1:-1;15679:10:0;15672:17;;15644:580;15793:17;;:21;15789:424;;16041:10;16035:17;16102:15;16089:10;16085:2;16081:19;16074:44;15989:148;16184:12;16177:20;;-1:-1:-1;;;16177:20:0;;;;;;;;:::i;-1:-1:-1:-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;14:406:1;;112:18;104:6;101:30;98:2;;;134:18;;:::i;:::-;172:57;217:2;196:15;;-1:-1:-1;;192:29:1;223:4;188:40;172:57;:::i;:::-;163:66;;252:6;245:5;238:21;292:3;283:6;278:3;274:16;271:25;268:2;;;309:1;306;299:12;268:2;358:6;353:3;346:4;339:5;335:16;322:43;412:1;405:4;396:6;389:5;385:18;381:29;374:40;88:332;;;;;:::o;425:173::-;493:20;;-1:-1:-1;;;;;542:31:1;;532:42;;522:2;;588:1;585;578:12;603:700;;710:3;703:4;695:6;691:17;687:27;677:2;;732:5;725;718:20;677:2;772:6;759:20;798:4;822:60;838:43;878:2;838:43;:::i;:::-;822:60;:::i;:::-;916:15;;;947:12;;;;979:15;;;1025:11;;;1013:24;;1009:33;;1006:42;-1:-1:-1;1003:2:1;;;1065:5;1058;1051:20;1003:2;1091:5;1105:169;1119:2;1116:1;1113:9;1105:169;;;1176:23;1195:3;1176:23;:::i;:::-;1164:36;;1220:12;;;;1252;;;;1137:1;1130:9;1105:169;;;-1:-1:-1;1292:5:1;;667:636;-1:-1:-1;;;;;;;667:636:1:o;1308:694::-;;1415:3;1408:4;1400:6;1396:17;1392:27;1382:2;;1437:5;1430;1423:20;1382:2;1477:6;1464:20;1503:4;1527:60;1543:43;1583:2;1543:43;:::i;1527:60::-;1621:15;;;1652:12;;;;1684:15;;;1730:11;;;1718:24;;1714:33;;1711:42;-1:-1:-1;1708:2:1;;;1770:5;1763;1756:20;1708:2;1796:5;1810:163;1824:2;1821:1;1818:9;1810:163;;;1881:17;;1869:30;;1919:12;;;;1951;;;;1842:1;1835:9;1810:163;;2007:196;;2119:2;2107:9;2098:7;2094:23;2090:32;2087:2;;;2140:6;2132;2125:22;2087:2;2168:29;2187:9;2168:29;:::i;2208:270::-;;;2337:2;2325:9;2316:7;2312:23;2308:32;2305:2;;;2358:6;2350;2343:22;2305:2;2386:29;2405:9;2386:29;:::i;:::-;2376:39;;2434:38;2468:2;2457:9;2453:18;2434:38;:::i;:::-;2424:48;;2295:183;;;;;:::o;2483:338::-;;;;2629:2;2617:9;2608:7;2604:23;2600:32;2597:2;;;2650:6;2642;2635:22;2597:2;2678:29;2697:9;2678:29;:::i;:::-;2668:39;;2726:38;2760:2;2749:9;2745:18;2726:38;:::i;:::-;2716:48;;2811:2;2800:9;2796:18;2783:32;2773:42;;2587:234;;;;;:::o;2826:696::-;;;;;2998:3;2986:9;2977:7;2973:23;2969:33;2966:2;;;3020:6;3012;3005:22;2966:2;3048:29;3067:9;3048:29;:::i;:::-;3038:39;;3096:38;3130:2;3119:9;3115:18;3096:38;:::i;:::-;3086:48;;3181:2;3170:9;3166:18;3153:32;3143:42;;3236:2;3225:9;3221:18;3208:32;3263:18;3255:6;3252:30;3249:2;;;3300:6;3292;3285:22;3249:2;3328:22;;3381:4;3373:13;;3369:27;-1:-1:-1;3359:2:1;;3415:6;3407;3400:22;3359:2;3443:73;3508:7;3503:2;3490:16;3485:2;3481;3477:11;3443:73;:::i;:::-;3433:83;;;2956:566;;;;;;;:::o;3527:325::-;;;3653:2;3641:9;3632:7;3628:23;3624:32;3621:2;;;3674:6;3666;3659:22;3621:2;3702:29;3721:9;3702:29;:::i;:::-;3692:39;;3781:2;3770:9;3766:18;3753:32;3794:28;3816:5;3794:28;:::i;:::-;3841:5;3831:15;;;3611:241;;;;;:::o;3857:264::-;;;3986:2;3974:9;3965:7;3961:23;3957:32;3954:2;;;4007:6;3999;3992:22;3954:2;4035:29;4054:9;4035:29;:::i;:::-;4025:39;4111:2;4096:18;;;;4083:32;;-1:-1:-1;;;3944:177:1:o;4126:625::-;;;4305:2;4293:9;4284:7;4280:23;4276:32;4273:2;;;4326:6;4318;4311:22;4273:2;4371:9;4358:23;4400:18;4441:2;4433:6;4430:14;4427:2;;;4462:6;4454;4447:22;4427:2;4490:61;4543:7;4534:6;4523:9;4519:22;4490:61;:::i;:::-;4480:71;;4604:2;4593:9;4589:18;4576:32;4560:48;;4633:2;4623:8;4620:16;4617:2;;;4654:6;4646;4639:22;4617:2;;4682:63;4737:7;4726:8;4715:9;4711:24;4682:63;:::i;:::-;4672:73;;;4263:488;;;;;:::o;4756:497::-;;;4907:2;4895:9;4886:7;4882:23;4878:32;4875:2;;;4928:6;4920;4913:22;4875:2;4973:9;4960:23;5006:18;4998:6;4995:30;4992:2;;;5043:6;5035;5028:22;4992:2;5071:61;5124:7;5115:6;5104:9;5100:22;5071:61;:::i;:::-;5061:71;;;5182:2;5171:9;5167:18;5154:32;5195:28;5217:5;5195:28;:::i;5258:368::-;;5395:2;5383:9;5374:7;5370:23;5366:32;5363:2;;;5416:6;5408;5401:22;5363:2;5461:9;5448:23;5494:18;5486:6;5483:30;5480:2;;;5531:6;5523;5516:22;5480:2;5559:61;5612:7;5603:6;5592:9;5588:22;5559:61;:::i;5631:255::-;;5751:2;5739:9;5730:7;5726:23;5722:32;5719:2;;;5772:6;5764;5757:22;5719:2;5809:9;5803:16;5828:28;5850:5;5828:28;:::i;5891:255::-;;6002:2;5990:9;5981:7;5977:23;5973:32;5970:2;;;6023:6;6015;6008:22;5970:2;6067:9;6054:23;6086:30;6110:5;6086:30;:::i;6151:259::-;;6273:2;6261:9;6252:7;6248:23;6244:32;6241:2;;;6294:6;6286;6279:22;6241:2;6331:9;6325:16;6350:30;6374:5;6350:30;:::i;6415:480::-;;6537:2;6525:9;6516:7;6512:23;6508:32;6505:2;;;6558:6;6550;6543:22;6505:2;6603:9;6590:23;6636:18;6628:6;6625:30;6622:2;;;6673:6;6665;6658:22;6622:2;6701:22;;6754:4;6746:13;;6742:27;-1:-1:-1;6732:2:1;;6788:6;6780;6773:22;6732:2;6816:73;6881:7;6876:2;6863:16;6858:2;6854;6850:11;6816:73;:::i;6900:190::-;;7012:2;7000:9;6991:7;6987:23;6983:32;6980:2;;;7033:6;7025;7018:22;6980:2;-1:-1:-1;7061:23:1;;6970:120;-1:-1:-1;6970:120:1:o;7095:194::-;;7218:2;7206:9;7197:7;7193:23;7189:32;7186:2;;;7239:6;7231;7224:22;7186:2;-1:-1:-1;7267:16:1;;7176:113;-1:-1:-1;7176:113:1:o;7294:268::-;;7384:5;7378:12;7411:6;7406:3;7399:19;7427:63;7483:6;7476:4;7471:3;7467:14;7460:4;7453:5;7449:16;7427:63;:::i;:::-;7544:2;7523:15;-1:-1:-1;;7519:29:1;7510:39;;;;7551:4;7506:50;;7354:208;-1:-1:-1;;7354:208:1:o;7567:184::-;;7646:5;7640:12;7661:52;7706:6;7701:3;7694:4;7687:5;7683:16;7661:52;:::i;:::-;7729:16;;;;;7616:135;-1:-1:-1;;7616:135:1:o;7756:274::-;;7923:6;7917:13;7939:53;7985:6;7980:3;7973:4;7965:6;7961:17;7939:53;:::i;:::-;8008:16;;;;;7893:137;-1:-1:-1;;7893:137:1:o;8035:1176::-;8269:13;;8035:1176;;;;8342:1;8327:17;;8363:1;8399:18;;;;8426:2;;8480:4;8472:6;8468:17;8458:27;;8426:2;8506;8554;8546:6;8543:14;8523:18;8520:38;8517:2;;;-1:-1:-1;;;8581:33:1;;8637:4;8634:1;8627:15;8667:4;8588:3;8655:17;8517:2;8698:18;8725:104;;;;8843:1;8838:322;;;;8691:469;;8725:104;-1:-1:-1;;8758:24:1;;8746:37;;8803:16;;;;-1:-1:-1;8725:104:1;;8838:322;20748:127;20814:17;;;20864:4;20848:21;;8933:3;8949:165;8963:6;8960:1;8957:13;8949:165;;;9041:14;;9028:11;;;9021:35;9084:16;;;;8978:10;;8949:165;;;8953:3;;9143:6;9138:3;9134:16;9127:23;;8691:469;;;;;;;9176:29;9201:3;9193:6;9176:29;:::i;:::-;9169:36;8219:992;-1:-1:-1;;;;;8219:992:1:o;9634:499::-;-1:-1:-1;;;;;9903:15:1;;;9885:34;;9955:15;;9950:2;9935:18;;9928:43;10002:2;9987:18;;9980:34;;;10050:3;10045:2;10030:18;;10023:31;;;9634:499;;10071:56;;10107:19;;10099:6;10071:56;:::i;:::-;10063:64;9837:296;-1:-1:-1;;;;;;9837:296:1:o;10609:230::-;;10758:2;10747:9;10740:21;10778:55;10829:2;10818:9;10814:18;10806:6;10778:55;:::i;11193:343::-;11395:2;11377:21;;;11434:2;11414:18;;;11407:30;-1:-1:-1;;;11468:2:1;11453:18;;11446:49;11527:2;11512:18;;11367:169::o;11953:414::-;12155:2;12137:21;;;12194:2;12174:18;;;12167:30;12233:34;12228:2;12213:18;;12206:62;-1:-1:-1;;;12299:2:1;12284:18;;12277:48;12357:3;12342:19;;12127:240::o;19332:343::-;19534:2;19516:21;;;19573:2;19553:18;;;19546:30;-1:-1:-1;;;19607:2:1;19592:18;;19585:49;19666:2;19651:18;;19506:169::o;19680:410::-;19882:2;19864:21;;;19921:2;19901:18;;;19894:30;19960:34;19955:2;19940:18;;19933:62;-1:-1:-1;;;20026:2:1;20011:18;;20004:44;20080:3;20065:19;;19854:236::o;20277:275::-;20348:2;20342:9;20413:2;20394:13;;-1:-1:-1;;20390:27:1;20378:40;;20448:18;20433:34;;20469:22;;;20430:62;20427:2;;;20495:18;;:::i;:::-;20531:2;20524:22;20322:230;;-1:-1:-1;20322:230:1:o;20557:186::-;;20650:18;20642:6;20639:30;20636:2;;;20672:18;;:::i;:::-;-1:-1:-1;20732:4:1;20713:17;;;20709:28;;20626:117::o;20880:128::-;;20951:1;20947:6;20944:1;20941:13;20938:2;;;20957:18;;:::i;:::-;-1:-1:-1;20993:9:1;;20928:80::o;21013:120::-;;21079:1;21069:2;;21084:18;;:::i;:::-;-1:-1:-1;21118:9:1;;21059:74::o;21138:125::-;;21206:1;21203;21200:8;21197:2;;;21211:18;;:::i;:::-;-1:-1:-1;21248:9:1;;21187:76::o;21268:258::-;21340:1;21350:113;21364:6;21361:1;21358:13;21350:113;;;21440:11;;;21434:18;21421:11;;;21414:39;21386:2;21379:10;21350:113;;;21481:6;21478:1;21475:13;21472:2;;;-1:-1:-1;;21516:1:1;21498:16;;21491:27;21321:205::o;21531:380::-;21616:1;21606:12;;21663:1;21653:12;;;21674:2;;21728:4;21720:6;21716:17;21706:27;;21674:2;21781;21773:6;21770:14;21750:18;21747:38;21744:2;;;21827:10;21822:3;21818:20;21815:1;21808:31;21862:4;21859:1;21852:15;21890:4;21887:1;21880:15;21744:2;;21586:325;;;:::o;21916:135::-;;-1:-1:-1;;21976:17:1;;21973:2;;;21996:18;;:::i;:::-;-1:-1:-1;22043:1:1;22032:13;;21963:88::o;22056:112::-;;22114:1;22104:2;;22119:18;;:::i;:::-;-1:-1:-1;22153:9:1;;22094:74::o;22173:127::-;22234:10;22229:3;22225:20;22222:1;22215:31;22265:4;22262:1;22255:15;22289:4;22286:1;22279:15;22305:127;22366:10;22361:3;22357:20;22354:1;22347:31;22397:4;22394:1;22387:15;22421:4;22418:1;22411:15;22437:127;22498:10;22493:3;22489:20;22486:1;22479:31;22529:4;22526:1;22519:15;22553:4;22550:1;22543:15;22569:118;22655:5;22648:13;22641:21;22634:5;22631:32;22621:2;;22677:1;22674;22667:12;22692:131;-1:-1:-1;;;;;;22766:32:1;;22756:43;;22746:2;;22813:1;22810;22803:12
Swarm Source
ipfs://fac4071f1080617a59fd10fb71f40fe84588160c66eafe3fe0d16366c2c1d402
Loading...
Loading
Loading...
Loading
[ Download: CSV Export ]
[ Download: CSV Export ]
A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.