ERC-721
NFT
Overview
Max Total Supply
51 NYCUS
Holders
37
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
1 NYCUSLoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
NYCUS
Compiler Version
v0.8.4+commit.c7e474f2
Optimization Enabled:
No with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT pragma solidity ^0.8.4; import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol"; import "@openzeppelin/contracts/utils/Strings.sol"; import "@openzeppelin/contracts/utils/introspection/ERC165.sol"; import "./IERC2981Royalties.sol"; /** ___ ___ ___ ___ ___ ___ ___ /\__\ /\ \ /\__\ /\ \ /\ \ /\ \ /\ \ /::L_L_ /::\ \ /:| _|_ /::\ \ /::\ \ _\:\ \ /::\ \ /:/L:\__\ /:/\:\__\ /::|/\__\ /::\:\__\ /::\:\__\ /\/::\__\ /\:\:\__\ \/_/:/ / \:\/:/ / \/|::/ / \/\::/ / \;:::/ / \::/\/__/ \:\:\/__/ /:/ / \::/ / |:/ / /:/ / |:\/__/ \:\__\ \::/ / \/__/ \/__/ \/__/ \/__/ \|__| \/__/ \/__/ */ /** * @title NYC Underground Stories * @author story: monaris, solidity: nnnnicholas * @notice This contract mints all 51 NYCUS NFTs upon deploy. No further NFTs can be minted on this contract once deployed. */ contract NYCUS is ERC721Enumerable, IERC2981Royalties { /// @notice Maximum total number of NFTs that can be minted on this contract. uint256 public maxTotalSupply; string public baseTokenURI; address private _royaltiesRecipient; uint256 private _royaltiesValue; event MaxTotalSupplySet(uint256 maxTotalSupply); event RoyaltiesSet(address royaltyRecipient, uint256 royaltyValue); event BaseURIChanged(string baseTokenURI); /** * @notice Names contract then mints all tokens and transfers them to artist. * @dev Explain to a developer any extra details * @param _name Contract name * @param _symbol Contract's symbol * @param _ipfsURI The IPFS CID that will contain all the token data * @param _toAddress The address to which all 50 tokens will be minted. * @param _maxTotalSupply The collection's total supply. No more than this will ever be minted. * @param _royaltyRecipient The address receiving royalties for all tokens. * @param _royaltyValue The royalty value out of 10000. */ constructor( string memory _name, string memory _symbol, string memory _ipfsURI, address _toAddress, uint256 _maxTotalSupply, address _royaltyRecipient, uint256 _royaltyValue ) ERC721(_name, _symbol) { baseTokenURI = string(abi.encodePacked("ipfs://", _ipfsURI)); emit BaseURIChanged(baseTokenURI); maxTotalSupply = _maxTotalSupply; emit MaxTotalSupplySet(maxTotalSupply); _setRoyalties(_royaltyRecipient, _royaltyValue); emit RoyaltiesSet(_royaltyRecipient, _royaltyValue); _mintAll(_toAddress); } /// @notice Mints all 50 tokens. Called by the contstructor. function _mintAll(address _to) internal { for (uint256 i = 0; i < maxTotalSupply; i++) { _safeMint(_to, i); } } function _safeMint(address _to, uint256 _tokenId) internal override { require( _tokenId <= maxTotalSupply, "Token: mint would exceed max total supply" ); _mint(_to, _tokenId); } /// @notice A distinct Uniform Resource Identifier (URI) for a given asset. /// @param tokenId The identifier for an NFT function tokenURI(uint256 tokenId) public view virtual override(ERC721) returns (string memory) { //ownerOf(tokenId) will revert if owner is 0x0, hence the try catch try this.ownerOf(tokenId) returns (address) { return string( abi.encodePacked( baseTokenURI, "/", Strings.toString(tokenId) ) ); } catch { revert("URI query for nonexistent token"); } } /// @dev Burns `tokenId`. See {ERC721-_burn}. /// @param tokenId The identifier for an NFT function burn(uint256 tokenId) public virtual { //solhint-disable-next-line max-line-length require( _isApprovedOrOwner(_msgSender(), tokenId), "Burn: caller is not owner nor approved" ); _burn(tokenId); } /// @dev Sets token royalties /// @param recipient recipient of the royalties /// @param value percentage (using 2 decimals - 10000 = 100, 0 = 0) function _setRoyalties(address recipient, uint256 value) internal { require(value <= 10000, "ERC2981Royalties: Too high"); _royaltiesRecipient = recipient; _royaltiesValue = value; } /// @inheritdoc IERC2981Royalties function royaltyInfo(uint256, uint256 value) external view override returns (address receiver, uint256 royaltyAmount) { return (_royaltiesRecipient, (value * _royaltiesValue) / 10000); } /// @notice Query if a contract implements an interface /// @param interfaceId The interface identifier, as specified in ERC-165 /// @dev Interface identification is specified in ERC-165. This function /// uses less than 30,000 gas. /// @return `true` if the contract implements `interfaceID` and /// `interfaceID` is not 0xffffffff, `false` otherwise function supportsInterface(bytes4 interfaceId) public view virtual override(ERC721Enumerable) returns (bool) { return interfaceId == type(IERC2981Royalties).interfaceId || interfaceId == type(IERC165).interfaceId || super.supportsInterface(interfaceId); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../ERC721.sol"; import "./IERC721Enumerable.sol"; /** * @dev This implements an optional extension of {ERC721} defined in the EIP that adds * enumerability of all the token ids in the contract as well as all token ids owned by each * account. */ abstract contract ERC721Enumerable is ERC721, IERC721Enumerable { // Mapping from owner to list of owned token IDs mapping(address => mapping(uint256 => uint256)) private _ownedTokens; // Mapping from token ID to index of the owner tokens list mapping(uint256 => uint256) private _ownedTokensIndex; // Array with all token ids, used for enumeration uint256[] private _allTokens; // Mapping from token id to position in the allTokens array mapping(uint256 => uint256) private _allTokensIndex; /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(IERC165, ERC721) returns (bool) { return interfaceId == type(IERC721Enumerable).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC721Enumerable-tokenOfOwnerByIndex}. */ function tokenOfOwnerByIndex(address owner, uint256 index) public view virtual override returns (uint256) { require(index < ERC721.balanceOf(owner), "ERC721Enumerable: owner index out of bounds"); return _ownedTokens[owner][index]; } /** * @dev See {IERC721Enumerable-totalSupply}. */ function totalSupply() public view virtual override returns (uint256) { return _allTokens.length; } /** * @dev See {IERC721Enumerable-tokenByIndex}. */ function tokenByIndex(uint256 index) public view virtual override returns (uint256) { require(index < ERC721Enumerable.totalSupply(), "ERC721Enumerable: global index out of bounds"); return _allTokens[index]; } /** * @dev Hook that is called before any token transfer. This includes minting * and burning. * * Calling conditions: * * - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, ``from``'s `tokenId` will be burned. * - `from` cannot be the zero address. * - `to` cannot be the zero address. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer( address from, address to, uint256 tokenId ) internal virtual override { super._beforeTokenTransfer(from, to, tokenId); if (from == address(0)) { _addTokenToAllTokensEnumeration(tokenId); } else if (from != to) { _removeTokenFromOwnerEnumeration(from, tokenId); } if (to == address(0)) { _removeTokenFromAllTokensEnumeration(tokenId); } else if (to != from) { _addTokenToOwnerEnumeration(to, tokenId); } } /** * @dev Private function to add a token to this extension's ownership-tracking data structures. * @param to address representing the new owner of the given token ID * @param tokenId uint256 ID of the token to be added to the tokens list of the given address */ function _addTokenToOwnerEnumeration(address to, uint256 tokenId) private { uint256 length = ERC721.balanceOf(to); _ownedTokens[to][length] = tokenId; _ownedTokensIndex[tokenId] = length; } /** * @dev Private function to add a token to this extension's token tracking data structures. * @param tokenId uint256 ID of the token to be added to the tokens list */ function _addTokenToAllTokensEnumeration(uint256 tokenId) private { _allTokensIndex[tokenId] = _allTokens.length; _allTokens.push(tokenId); } /** * @dev Private function to remove a token from this extension's ownership-tracking data structures. Note that * while the token is not assigned a new owner, the `_ownedTokensIndex` mapping is _not_ updated: this allows for * gas optimizations e.g. when performing a transfer operation (avoiding double writes). * This has O(1) time complexity, but alters the order of the _ownedTokens array. * @param from address representing the previous owner of the given token ID * @param tokenId uint256 ID of the token to be removed from the tokens list of the given address */ function _removeTokenFromOwnerEnumeration(address from, uint256 tokenId) private { // To prevent a gap in from's tokens array, we store the last token in the index of the token to delete, and // then delete the last slot (swap and pop). uint256 lastTokenIndex = ERC721.balanceOf(from) - 1; uint256 tokenIndex = _ownedTokensIndex[tokenId]; // When the token to delete is the last token, the swap operation is unnecessary if (tokenIndex != lastTokenIndex) { uint256 lastTokenId = _ownedTokens[from][lastTokenIndex]; _ownedTokens[from][tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token _ownedTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index } // This also deletes the contents at the last position of the array delete _ownedTokensIndex[tokenId]; delete _ownedTokens[from][lastTokenIndex]; } /** * @dev Private function to remove a token from this extension's token tracking data structures. * This has O(1) time complexity, but alters the order of the _allTokens array. * @param tokenId uint256 ID of the token to be removed from the tokens list */ function _removeTokenFromAllTokensEnumeration(uint256 tokenId) private { // To prevent a gap in the tokens array, we store the last token in the index of the token to delete, and // then delete the last slot (swap and pop). uint256 lastTokenIndex = _allTokens.length - 1; uint256 tokenIndex = _allTokensIndex[tokenId]; // When the token to delete is the last token, the swap operation is unnecessary. However, since this occurs so // rarely (when the last minted token is burnt) that we still do the swap here to avoid the gas cost of adding // an 'if' statement (like in _removeTokenFromOwnerEnumeration) uint256 lastTokenId = _allTokens[lastTokenIndex]; _allTokens[tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token _allTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index // This also deletes the contents at the last position of the array delete _allTokensIndex[tokenId]; _allTokens.pop(); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @dev String operations. */ library Strings { bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef"; /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function toString(uint256 value) internal pure returns (string memory) { // Inspired by OraclizeAPI's implementation - MIT licence // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol if (value == 0) { return "0"; } uint256 temp = value; uint256 digits; while (temp != 0) { digits++; temp /= 10; } bytes memory buffer = new bytes(digits); while (value != 0) { digits -= 1; buffer[digits] = bytes1(uint8(48 + uint256(value % 10))); value /= 10; } return string(buffer); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { if (value == 0) { return "0x00"; } uint256 temp = value; uint256 length = 0; while (temp != 0) { length++; temp >>= 8; } return toHexString(value, length); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length. */ function toHexString(uint256 value, uint256 length) internal pure returns (string memory) { bytes memory buffer = new bytes(2 * length + 2); buffer[0] = "0"; buffer[1] = "x"; for (uint256 i = 2 * length + 1; i > 1; --i) { buffer[i] = _HEX_SYMBOLS[value & 0xf]; value >>= 4; } require(value == 0, "Strings: hex length insufficient"); return string(buffer); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "./IERC165.sol"; /** * @dev Implementation of the {IERC165} interface. * * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check * for the additional interface id that will be supported. For example: * * ```solidity * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { * return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId); * } * ``` * * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation. */ abstract contract ERC165 is IERC165 { /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IERC165).interfaceId; } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.4; /// @title IERC2981Royalties /// @dev Interface for the ERC2981 - Token Royalty standard /// @dev https://github.com/dievardump/EIP2981-implementation interface IERC2981Royalties { /// @notice Called with the sale price to determine how much royalty // is owed and to whom. /// @param _tokenId - the NFT asset queried for royalty information /// @param _value - the sale price of the NFT asset specified by _tokenId /// @return _receiver - address of who should be sent the royalty payment /// @return _royaltyAmount - the royalty payment amount for value sale price function royaltyInfo(uint256 _tokenId, uint256 _value) external view returns (address _receiver, uint256 _royaltyAmount); }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "./IERC721.sol"; import "./IERC721Receiver.sol"; import "./extensions/IERC721Metadata.sol"; import "../../utils/Address.sol"; import "../../utils/Context.sol"; import "../../utils/Strings.sol"; import "../../utils/introspection/ERC165.sol"; /** * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including * the Metadata extension, but not including the Enumerable extension, which is available separately as * {ERC721Enumerable}. */ contract ERC721 is Context, ERC165, IERC721, IERC721Metadata { using Address for address; using Strings for uint256; // Token name string private _name; // Token symbol string private _symbol; // Mapping from token ID to owner address mapping(uint256 => address) private _owners; // Mapping owner address to token count mapping(address => uint256) private _balances; // Mapping from token ID to approved address mapping(uint256 => address) private _tokenApprovals; // Mapping from owner to operator approvals mapping(address => mapping(address => bool)) private _operatorApprovals; /** * @dev Initializes the contract by setting a `name` and a `symbol` to the token collection. */ constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) { return interfaceId == type(IERC721).interfaceId || interfaceId == type(IERC721Metadata).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC721-balanceOf}. */ function balanceOf(address owner) public view virtual override returns (uint256) { require(owner != address(0), "ERC721: balance query for the zero address"); return _balances[owner]; } /** * @dev See {IERC721-ownerOf}. */ function ownerOf(uint256 tokenId) public view virtual override returns (address) { address owner = _owners[tokenId]; require(owner != address(0), "ERC721: owner query for nonexistent token"); return owner; } /** * @dev See {IERC721Metadata-name}. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev See {IERC721Metadata-symbol}. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev See {IERC721Metadata-tokenURI}. */ function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { require(_exists(tokenId), "ERC721Metadata: URI query for nonexistent token"); string memory baseURI = _baseURI(); return bytes(baseURI).length > 0 ? string(abi.encodePacked(baseURI, tokenId.toString())) : ""; } /** * @dev Base URI for computing {tokenURI}. If set, the resulting URI for each * token will be the concatenation of the `baseURI` and the `tokenId`. Empty * by default, can be overriden in child contracts. */ function _baseURI() internal view virtual returns (string memory) { return ""; } /** * @dev See {IERC721-approve}. */ function approve(address to, uint256 tokenId) public virtual override { address owner = ERC721.ownerOf(tokenId); require(to != owner, "ERC721: approval to current owner"); require( _msgSender() == owner || isApprovedForAll(owner, _msgSender()), "ERC721: approve caller is not owner nor approved for all" ); _approve(to, tokenId); } /** * @dev See {IERC721-getApproved}. */ function getApproved(uint256 tokenId) public view virtual override returns (address) { require(_exists(tokenId), "ERC721: approved query for nonexistent token"); return _tokenApprovals[tokenId]; } /** * @dev See {IERC721-setApprovalForAll}. */ function setApprovalForAll(address operator, bool approved) public virtual override { require(operator != _msgSender(), "ERC721: approve to caller"); _operatorApprovals[_msgSender()][operator] = approved; emit ApprovalForAll(_msgSender(), operator, approved); } /** * @dev See {IERC721-isApprovedForAll}. */ function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) { return _operatorApprovals[owner][operator]; } /** * @dev See {IERC721-transferFrom}. */ function transferFrom( address from, address to, uint256 tokenId ) public virtual override { //solhint-disable-next-line max-line-length require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved"); _transfer(from, to, tokenId); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId ) public virtual override { safeTransferFrom(from, to, tokenId, ""); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes memory _data ) public virtual override { require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved"); _safeTransfer(from, to, tokenId, _data); } /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * `_data` is additional data, it has no specified format and it is sent in call to `to`. * * This internal function is equivalent to {safeTransferFrom}, and can be used to e.g. * implement alternative mechanisms to perform token transfer, such as signature-based. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeTransfer( address from, address to, uint256 tokenId, bytes memory _data ) internal virtual { _transfer(from, to, tokenId); require(_checkOnERC721Received(from, to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer"); } /** * @dev Returns whether `tokenId` exists. * * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}. * * Tokens start existing when they are minted (`_mint`), * and stop existing when they are burned (`_burn`). */ function _exists(uint256 tokenId) internal view virtual returns (bool) { return _owners[tokenId] != address(0); } /** * @dev Returns whether `spender` is allowed to manage `tokenId`. * * Requirements: * * - `tokenId` must exist. */ function _isApprovedOrOwner(address spender, uint256 tokenId) internal view virtual returns (bool) { require(_exists(tokenId), "ERC721: operator query for nonexistent token"); address owner = ERC721.ownerOf(tokenId); return (spender == owner || getApproved(tokenId) == spender || isApprovedForAll(owner, spender)); } /** * @dev Safely mints `tokenId` and transfers it to `to`. * * Requirements: * * - `tokenId` must not exist. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeMint(address to, uint256 tokenId) internal virtual { _safeMint(to, tokenId, ""); } /** * @dev Same as {xref-ERC721-_safeMint-address-uint256-}[`_safeMint`], with an additional `data` parameter which is * forwarded in {IERC721Receiver-onERC721Received} to contract recipients. */ function _safeMint( address to, uint256 tokenId, bytes memory _data ) internal virtual { _mint(to, tokenId); require( _checkOnERC721Received(address(0), to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer" ); } /** * @dev Mints `tokenId` and transfers it to `to`. * * WARNING: Usage of this method is discouraged, use {_safeMint} whenever possible * * Requirements: * * - `tokenId` must not exist. * - `to` cannot be the zero address. * * Emits a {Transfer} event. */ function _mint(address to, uint256 tokenId) internal virtual { require(to != address(0), "ERC721: mint to the zero address"); require(!_exists(tokenId), "ERC721: token already minted"); _beforeTokenTransfer(address(0), to, tokenId); _balances[to] += 1; _owners[tokenId] = to; emit Transfer(address(0), to, tokenId); } /** * @dev Destroys `tokenId`. * The approval is cleared when the token is burned. * * Requirements: * * - `tokenId` must exist. * * Emits a {Transfer} event. */ function _burn(uint256 tokenId) internal virtual { address owner = ERC721.ownerOf(tokenId); _beforeTokenTransfer(owner, address(0), tokenId); // Clear approvals _approve(address(0), tokenId); _balances[owner] -= 1; delete _owners[tokenId]; emit Transfer(owner, address(0), tokenId); } /** * @dev Transfers `tokenId` from `from` to `to`. * As opposed to {transferFrom}, this imposes no restrictions on msg.sender. * * Requirements: * * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * * Emits a {Transfer} event. */ function _transfer( address from, address to, uint256 tokenId ) internal virtual { require(ERC721.ownerOf(tokenId) == from, "ERC721: transfer of token that is not own"); require(to != address(0), "ERC721: transfer to the zero address"); _beforeTokenTransfer(from, to, tokenId); // Clear approvals from the previous owner _approve(address(0), tokenId); _balances[from] -= 1; _balances[to] += 1; _owners[tokenId] = to; emit Transfer(from, to, tokenId); } /** * @dev Approve `to` to operate on `tokenId` * * Emits a {Approval} event. */ function _approve(address to, uint256 tokenId) internal virtual { _tokenApprovals[tokenId] = to; emit Approval(ERC721.ownerOf(tokenId), to, tokenId); } /** * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target address. * The call is not executed if the target address is not a contract. * * @param from address representing the previous owner of the given token ID * @param to target address that will receive the tokens * @param tokenId uint256 ID of the token to be transferred * @param _data bytes optional data to send along with the call * @return bool whether the call correctly returned the expected magic value */ function _checkOnERC721Received( address from, address to, uint256 tokenId, bytes memory _data ) private returns (bool) { if (to.isContract()) { try IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, _data) returns (bytes4 retval) { return retval == IERC721Receiver.onERC721Received.selector; } catch (bytes memory reason) { if (reason.length == 0) { revert("ERC721: transfer to non ERC721Receiver implementer"); } else { assembly { revert(add(32, reason), mload(reason)) } } } } else { return true; } } /** * @dev Hook that is called before any token transfer. This includes minting * and burning. * * Calling conditions: * * - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, ``from``'s `tokenId` will be burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer( address from, address to, uint256 tokenId ) internal virtual {} }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../IERC721.sol"; /** * @title ERC-721 Non-Fungible Token Standard, optional enumeration extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Enumerable is IERC721 { /** * @dev Returns the total amount of tokens stored by the contract. */ function totalSupply() external view returns (uint256); /** * @dev Returns a token ID owned by `owner` at a given `index` of its token list. * Use along with {balanceOf} to enumerate all of ``owner``'s tokens. */ function tokenOfOwnerByIndex(address owner, uint256 index) external view returns (uint256 tokenId); /** * @dev Returns a token ID at a given `index` of all the tokens stored by the contract. * Use along with {totalSupply} to enumerate all tokens. */ function tokenByIndex(uint256 index) external view returns (uint256); }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../../utils/introspection/IERC165.sol"; /** * @dev Required interface of an ERC721 compliant contract. */ interface IERC721 is IERC165 { /** * @dev Emitted when `tokenId` token is transferred from `from` to `to`. */ event Transfer(address indexed from, address indexed to, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token. */ event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets. */ event ApprovalForAll(address indexed owner, address indexed operator, bool approved); /** * @dev Returns the number of tokens in ``owner``'s account. */ function balanceOf(address owner) external view returns (uint256 balance); /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) external view returns (address owner); /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be have been allowed to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Transfers `tokenId` token from `from` to `to`. * * WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) external; /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool _approved) external; /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll} */ function isApprovedForAll(address owner, address operator) external view returns (bool); /** * @dev Safely transfers `tokenId` token from `from` to `to`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes calldata data ) external; }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @title ERC721 token receiver interface * @dev Interface for any contract that wants to support safeTransfers * from ERC721 asset contracts. */ interface IERC721Receiver { /** * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom} * by `operator` from `from`, this function is called. * * It must return its Solidity selector to confirm the token transfer. * If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted. * * The selector can be obtained in Solidity with `IERC721.onERC721Received.selector`. */ function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../IERC721.sol"; /** * @title ERC-721 Non-Fungible Token Standard, optional metadata extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Metadata is IERC721 { /** * @dev Returns the token collection name. */ function name() external view returns (string memory); /** * @dev Returns the token collection symbol. */ function symbol() external view returns (string memory); /** * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token. */ function tokenURI(uint256 tokenId) external view returns (string memory); }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize, which returns 0 for contracts in // construction, since the code is only stored at the end of the // constructor execution. uint256 size; assembly { size := extcodesize(account) } return size > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); (bool success, ) = recipient.call{value: amount}(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain `call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCall(target, data, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value ) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value, string memory errorMessage ) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); require(isContract(target), "Address: call to non-contract"); (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall( address target, bytes memory data, string memory errorMessage ) internal view returns (bytes memory) { require(isContract(target), "Address: static call to non-contract"); (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { require(isContract(target), "Address: delegate call to non-contract"); (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason using the provided one. * * _Available since v4.3._ */ function verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) internal pure returns (bytes memory) { if (success) { return returndata; } else { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @dev 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); }
{ "optimizer": { "enabled": false, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "abi" ] } }, "metadata": { "useLiteralContent": true }, "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"string","name":"_name","type":"string"},{"internalType":"string","name":"_symbol","type":"string"},{"internalType":"string","name":"_ipfsURI","type":"string"},{"internalType":"address","name":"_toAddress","type":"address"},{"internalType":"uint256","name":"_maxTotalSupply","type":"uint256"},{"internalType":"address","name":"_royaltyRecipient","type":"address"},{"internalType":"uint256","name":"_royaltyValue","type":"uint256"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"string","name":"baseTokenURI","type":"string"}],"name":"BaseURIChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"maxTotalSupply","type":"uint256"}],"name":"MaxTotalSupplySet","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"royaltyRecipient","type":"address"},{"indexed":false,"internalType":"uint256","name":"royaltyValue","type":"uint256"}],"name":"RoyaltiesSet","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":[],"name":"baseTokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"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":"maxTotalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"value","type":"uint256"}],"name":"royaltyInfo","outputs":[{"internalType":"address","name":"receiver","type":"address"},{"internalType":"uint256","name":"royaltyAmount","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
60806040523480156200001157600080fd5b50604051620046be380380620046be833981810160405281019062000037919062000bfd565b868681600090805190602001906200005192919062000aad565b5080600190805190602001906200006a92919062000aad565b5050508460405160200162000080919062000ec4565b604051602081830303815290604052600b9080519060200190620000a692919062000aad565b507f5411e8ebf1636d9e83d5fc4900bf80cbac82e8790da2a4c94db4895e889eedf6600b604051620000d9919062000f17565b60405180910390a182600a819055507f0120f799fc820eabb910038e9cce6e8024add369b4d780181846e300df284484600a546040516200011b919062000fe5565b60405180910390a16200013582826200018e60201b60201c565b7f908669f35f6fb3977a956ba70597841fe541d1e8491ca3c025161e258d3bfdb682826040516200016892919062000eea565b60405180910390a162000181846200022260201b60201c565b5050505050505062001477565b612710811115620001d6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620001cd9062000f3b565b60405180910390fd5b81600c60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555080600d819055505050565b60005b600a5481101562000258576200024282826200025c60201b60201c565b80806200024f9062001215565b91505062000225565b5050565b600a54811115620002a4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016200029b9062000fc3565b60405180910390fd5b620002b68282620002ba60201b60201c565b5050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156200032d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620003249062000fa1565b60405180910390fd5b6200033e81620004a060201b60201c565b1562000381576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620003789062000f5d565b60405180910390fd5b62000395600083836200050c60201b60201c565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254620003e791906200109d565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b620005248383836200065360201b62000f9f1760201c565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141562000571576200056b816200065860201b60201c565b620005b9565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614620005b857620005b78382620006a160201b60201c565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415620006065762000600816200081e60201b60201c565b6200064e565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16146200064d576200064c82826200096660201b60201c565b5b5b505050565b505050565b6008805490506009600083815260200190815260200160002081905550600881908060018154018082558091505060019003906000526020600020016000909190919091505550565b60006001620006bb84620009f260201b62000a5a1760201c565b620006c79190620010fa565b9050600060076000848152602001908152602001600020549050818114620007ad576000600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816007600083815260200190815260200160002081905550505b6007600084815260200190815260200160002060009055600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b60006001600880549050620008349190620010fa565b90506000600960008481526020019081526020016000205490506000600883815481106200088b577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b906000526020600020015490508060088381548110620008d4577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9060005260206000200181905550816009600083815260200190815260200160002081905550600960008581526020019081526020016000206000905560088054806200094a577f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b6001900381819060005260206000200160009055905550505050565b60006200097e83620009f260201b62000a5a1760201c565b905081600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806007600084815260200190815260200160002081905550505050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141562000a66576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040162000a5d9062000f7f565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b82805462000abb90620011a9565b90600052602060002090601f01602090048101928262000adf576000855562000b2b565b82601f1062000afa57805160ff191683800117855562000b2b565b8280016001018555821562000b2b579182015b8281111562000b2a57825182559160200191906001019062000b0d565b5b50905062000b3a919062000b3e565b5090565b5b8082111562000b5957600081600090555060010162000b3f565b5090565b600062000b7462000b6e846200102b565b62001002565b90508281526020810184848401111562000b8d57600080fd5b62000b9a84828562001173565b509392505050565b60008151905062000bb38162001443565b92915050565b600082601f83011262000bcb57600080fd5b815162000bdd84826020860162000b5d565b91505092915050565b60008151905062000bf7816200145d565b92915050565b600080600080600080600060e0888a03121562000c1957600080fd5b600088015167ffffffffffffffff81111562000c3457600080fd5b62000c428a828b0162000bb9565b975050602088015167ffffffffffffffff81111562000c6057600080fd5b62000c6e8a828b0162000bb9565b965050604088015167ffffffffffffffff81111562000c8c57600080fd5b62000c9a8a828b0162000bb9565b955050606062000cad8a828b0162000ba2565b945050608062000cc08a828b0162000be6565b93505060a062000cd38a828b0162000ba2565b92505060c062000ce68a828b0162000be6565b91505092959891949750929550565b62000d008162001135565b82525050565b600062000d138262001076565b62000d1f818562001092565b935062000d3181856020860162001173565b80840191505092915050565b6000815462000d4c81620011a9565b62000d58818662001081565b9450600182166000811462000d76576001811462000d895762000dc0565b60ff198316865260208601935062000dc0565b62000d948562001061565b60005b8381101562000db85781548189015260018201915060208101905062000d97565b808801955050505b50505092915050565b600062000dd8601a8362001081565b915062000de58262001301565b602082019050919050565b600062000dff601c8362001081565b915062000e0c826200132a565b602082019050919050565b600062000e2660078362001092565b915062000e338262001353565b600782019050919050565b600062000e4d602a8362001081565b915062000e5a826200137c565b604082019050919050565b600062000e7460208362001081565b915062000e8182620013cb565b602082019050919050565b600062000e9b60298362001081565b915062000ea882620013f4565b604082019050919050565b62000ebe8162001169565b82525050565b600062000ed18262000e17565b915062000edf828462000d06565b915081905092915050565b600060408201905062000f01600083018562000cf5565b62000f10602083018462000eb3565b9392505050565b6000602082019050818103600083015262000f33818462000d3d565b905092915050565b6000602082019050818103600083015262000f568162000dc9565b9050919050565b6000602082019050818103600083015262000f788162000df0565b9050919050565b6000602082019050818103600083015262000f9a8162000e3e565b9050919050565b6000602082019050818103600083015262000fbc8162000e65565b9050919050565b6000602082019050818103600083015262000fde8162000e8c565b9050919050565b600060208201905062000ffc600083018462000eb3565b92915050565b60006200100e62001021565b90506200101c8282620011df565b919050565b6000604051905090565b600067ffffffffffffffff821115620010495762001048620012c1565b5b6200105482620012f0565b9050602081019050919050565b60008190508160005260206000209050919050565b600081519050919050565b600082825260208201905092915050565b600081905092915050565b6000620010aa8262001169565b9150620010b78362001169565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115620010ef57620010ee62001263565b5b828201905092915050565b6000620011078262001169565b9150620011148362001169565b9250828210156200112a576200112962001263565b5b828203905092915050565b6000620011428262001149565b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b60005b838110156200119357808201518184015260208101905062001176565b83811115620011a3576000848401525b50505050565b60006002820490506001821680620011c257607f821691505b60208210811415620011d957620011d862001292565b5b50919050565b620011ea82620012f0565b810181811067ffffffffffffffff821117156200120c576200120b620012c1565b5b80604052505050565b6000620012228262001169565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141562001258576200125762001263565b5b600182019050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b7f45524332393831526f79616c746965733a20546f6f2068696768000000000000600082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f697066733a2f2f00000000000000000000000000000000000000000000000000600082015250565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b7f546f6b656e3a206d696e7420776f756c6420657863656564206d617820746f7460008201527f616c20737570706c790000000000000000000000000000000000000000000000602082015250565b6200144e8162001135565b81146200145a57600080fd5b50565b620014688162001169565b81146200147457600080fd5b50565b61323780620014876000396000f3fe608060405234801561001057600080fd5b506004361061012c5760003560e01c806342966c68116100ad578063a22cb46511610071578063a22cb4651461036a578063b88d4fde14610386578063c87b56dd146103a2578063d547cfb7146103d2578063e985e9c5146103f05761012c565b806342966c68146102a05780634f6ccce7146102bc5780636352211e146102ec57806370a082311461031c57806395d89b411461034c5761012c565b806323b872dd116100f457806323b872dd146101e95780632a55205a146102055780632ab4d052146102365780632f745c591461025457806342842e0e146102845761012c565b806301ffc9a71461013157806306fdde0314610161578063081812fc1461017f578063095ea7b3146101af57806318160ddd146101cb575b600080fd5b61014b600480360381019061014691906121d7565b610420565b60405161015891906126cc565b60405180910390f35b610169610502565b60405161017691906126e7565b60405180910390f35b61019960048036038101906101949190612229565b610594565b6040516101a6919061263c565b60405180910390f35b6101c960048036038101906101c4919061219b565b610619565b005b6101d3610731565b6040516101e091906128e9565b60405180910390f35b61020360048036038101906101fe9190612095565b61073e565b005b61021f600480360381019061021a9190612252565b61079e565b60405161022d9291906126a3565b60405180910390f35b61023e6107ea565b60405161024b91906128e9565b60405180910390f35b61026e6004803603810190610269919061219b565b6107f0565b60405161027b91906128e9565b60405180910390f35b61029e60048036038101906102999190612095565b610895565b005b6102ba60048036038101906102b59190612229565b6108b5565b005b6102d660048036038101906102d19190612229565b610911565b6040516102e391906128e9565b60405180910390f35b61030660048036038101906103019190612229565b6109a8565b604051610313919061263c565b60405180910390f35b61033660048036038101906103319190612007565b610a5a565b60405161034391906128e9565b60405180910390f35b610354610b12565b60405161036191906126e7565b60405180910390f35b610384600480360381019061037f919061215f565b610ba4565b005b6103a0600480360381019061039b91906120e4565b610d25565b005b6103bc60048036038101906103b79190612229565b610d87565b6040516103c991906126e7565b60405180910390f35b6103da610e7d565b6040516103e791906126e7565b60405180910390f35b61040a60048036038101906104059190612059565b610f0b565b60405161041791906126cc565b60405180910390f35b60007f2a55205a000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806104eb57507f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806104fb57506104fa82610fa4565b5b9050919050565b60606000805461051190612b7d565b80601f016020809104026020016040519081016040528092919081815260200182805461053d90612b7d565b801561058a5780601f1061055f5761010080835404028352916020019161058a565b820191906000526020600020905b81548152906001019060200180831161056d57829003601f168201915b5050505050905090565b600061059f8261101e565b6105de576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016105d590612829565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610624826109a8565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610695576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161068c90612869565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff166106b461108a565b73ffffffffffffffffffffffffffffffffffffffff1614806106e357506106e2816106dd61108a565b610f0b565b5b610722576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610719906127c9565b60405180910390fd5b61072c8383611092565b505050565b6000600880549050905090565b61074f61074961108a565b8261114b565b61078e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161078590612889565b60405180910390fd5b610799838383611229565b505050565b600080600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16612710600d54856107d59190612a39565b6107df9190612a08565b915091509250929050565b600a5481565b60006107fb83610a5a565b821061083c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161083390612729565b60405180910390fd5b600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b6108b083838360405180602001604052806000815250610d25565b505050565b6108c66108c061108a565b8261114b565b610905576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108fc906128c9565b60405180910390fd5b61090e81611485565b50565b600061091b610731565b821061095c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610953906128a9565b60405180910390fd5b60088281548110610996577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90600052602060002001549050919050565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415610a51576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a4890612809565b60405180910390fd5b80915050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415610acb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ac2906127e9565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b606060018054610b2190612b7d565b80601f0160208091040260200160405190810160405280929190818152602001828054610b4d90612b7d565b8015610b9a5780601f10610b6f57610100808354040283529160200191610b9a565b820191906000526020600020905b815481529060010190602001808311610b7d57829003601f168201915b5050505050905090565b610bac61108a565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415610c1a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c1190612789565b60405180910390fd5b8060056000610c2761108a565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16610cd461108a565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051610d1991906126cc565b60405180910390a35050565b610d36610d3061108a565b8361114b565b610d75576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d6c90612889565b60405180910390fd5b610d8184848484611596565b50505050565b60603073ffffffffffffffffffffffffffffffffffffffff16636352211e836040518263ffffffff1660e01b8152600401610dc291906128e9565b60206040518083038186803b158015610dda57600080fd5b505afa925050508015610e0b57506040513d601f19601f82011682018060405250810190610e089190612030565b60015b610e4a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e4190612709565b60405180910390fd5b600b610e55846115f2565b604051602001610e6692919061260d565b604051602081830303815290604052915050919050565b600b8054610e8a90612b7d565b80601f0160208091040260200160405190810160405280929190818152602001828054610eb690612b7d565b8015610f035780601f10610ed857610100808354040283529160200191610f03565b820191906000526020600020905b815481529060010190602001808311610ee657829003601f168201915b505050505081565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b505050565b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061101757506110168261179f565b5b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16611105836109a8565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b60006111568261101e565b611195576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161118c906127a9565b60405180910390fd5b60006111a0836109a8565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16148061120f57508373ffffffffffffffffffffffffffffffffffffffff166111f784610594565b73ffffffffffffffffffffffffffffffffffffffff16145b80611220575061121f8185610f0b565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff16611249826109a8565b73ffffffffffffffffffffffffffffffffffffffff161461129f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161129690612849565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561130f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161130690612769565b60405180910390fd5b61131a838383611881565b611325600082611092565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546113759190612a93565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546113cc91906129b2565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b6000611490826109a8565b905061149e81600084611881565b6114a9600083611092565b6001600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546114f99190612a93565b925050819055506002600083815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff021916905581600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b6115a1848484611229565b6115ad84848484611995565b6115ec576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115e390612749565b60405180910390fd5b50505050565b6060600082141561163a576040518060400160405280600181526020017f3000000000000000000000000000000000000000000000000000000000000000815250905061179a565b600082905060005b6000821461166c57808061165590612be0565b915050600a826116659190612a08565b9150611642565b60008167ffffffffffffffff8111156116ae577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f1916602001820160405280156116e05781602001600182028036833780820191505090505b5090505b60008514611793576001826116f99190612a93565b9150600a856117089190612c29565b603061171491906129b2565b60f81b818381518110611750577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a8561178c9190612a08565b94506116e4565b8093505050505b919050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061186a57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b8061187a575061187982611b2c565b5b9050919050565b61188c838383610f9f565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156118cf576118ca81611b96565b61190e565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161461190d5761190c8382611bdf565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156119515761194c81611d4c565b611990565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161461198f5761198e8282611e8f565b5b5b505050565b60006119b68473ffffffffffffffffffffffffffffffffffffffff16611f0e565b15611b1f578373ffffffffffffffffffffffffffffffffffffffff1663150b7a026119df61108a565b8786866040518563ffffffff1660e01b8152600401611a019493929190612657565b602060405180830381600087803b158015611a1b57600080fd5b505af1925050508015611a4c57506040513d601f19601f82011682018060405250810190611a499190612200565b60015b611acf573d8060008114611a7c576040519150601f19603f3d011682016040523d82523d6000602084013e611a81565b606091505b50600081511415611ac7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611abe90612749565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050611b24565b600190505b949350505050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b6008805490506009600083815260200190815260200160002081905550600881908060018154018082558091505060019003906000526020600020016000909190919091505550565b60006001611bec84610a5a565b611bf69190612a93565b9050600060076000848152602001908152602001600020549050818114611cdb576000600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816007600083815260200190815260200160002081905550505b6007600084815260200190815260200160002060009055600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b60006001600880549050611d609190612a93565b9050600060096000848152602001908152602001600020549050600060088381548110611db6577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b906000526020600020015490508060088381548110611dfe577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b906000526020600020018190555081600960008381526020019081526020016000208190555060096000858152602001908152602001600020600090556008805480611e73577f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b6001900381819060005260206000200160009055905550505050565b6000611e9a83610a5a565b905081600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806007600084815260200190815260200160002081905550505050565b600080823b905060008111915050919050565b6000611f34611f2f84612929565b612904565b905082815260208101848484011115611f4c57600080fd5b611f57848285612b3b565b509392505050565b600081359050611f6e816131a5565b92915050565b600081519050611f83816131a5565b92915050565b600081359050611f98816131bc565b92915050565b600081359050611fad816131d3565b92915050565b600081519050611fc2816131d3565b92915050565b600082601f830112611fd957600080fd5b8135611fe9848260208601611f21565b91505092915050565b600081359050612001816131ea565b92915050565b60006020828403121561201957600080fd5b600061202784828501611f5f565b91505092915050565b60006020828403121561204257600080fd5b600061205084828501611f74565b91505092915050565b6000806040838503121561206c57600080fd5b600061207a85828601611f5f565b925050602061208b85828601611f5f565b9150509250929050565b6000806000606084860312156120aa57600080fd5b60006120b886828701611f5f565b93505060206120c986828701611f5f565b92505060406120da86828701611ff2565b9150509250925092565b600080600080608085870312156120fa57600080fd5b600061210887828801611f5f565b945050602061211987828801611f5f565b935050604061212a87828801611ff2565b925050606085013567ffffffffffffffff81111561214757600080fd5b61215387828801611fc8565b91505092959194509250565b6000806040838503121561217257600080fd5b600061218085828601611f5f565b925050602061219185828601611f89565b9150509250929050565b600080604083850312156121ae57600080fd5b60006121bc85828601611f5f565b92505060206121cd85828601611ff2565b9150509250929050565b6000602082840312156121e957600080fd5b60006121f784828501611f9e565b91505092915050565b60006020828403121561221257600080fd5b600061222084828501611fb3565b91505092915050565b60006020828403121561223b57600080fd5b600061224984828501611ff2565b91505092915050565b6000806040838503121561226557600080fd5b600061227385828601611ff2565b925050602061228485828601611ff2565b9150509250929050565b61229781612ac7565b82525050565b6122a681612ad9565b82525050565b60006122b78261296f565b6122c18185612985565b93506122d1818560208601612b4a565b6122da81612d16565b840191505092915050565b60006122f08261297a565b6122fa8185612996565b935061230a818560208601612b4a565b61231381612d16565b840191505092915050565b60006123298261297a565b61233381856129a7565b9350612343818560208601612b4a565b80840191505092915050565b6000815461235c81612b7d565b61236681866129a7565b945060018216600081146123815760018114612392576123c5565b60ff198316865281860193506123c5565b61239b8561295a565b60005b838110156123bd5781548189015260018201915060208101905061239e565b838801955050505b50505092915050565b60006123db601f83612996565b91506123e682612d27565b602082019050919050565b60006123fe602b83612996565b915061240982612d50565b604082019050919050565b6000612421603283612996565b915061242c82612d9f565b604082019050919050565b6000612444602483612996565b915061244f82612dee565b604082019050919050565b6000612467601983612996565b915061247282612e3d565b602082019050919050565b600061248a602c83612996565b915061249582612e66565b604082019050919050565b60006124ad603883612996565b91506124b882612eb5565b604082019050919050565b60006124d0602a83612996565b91506124db82612f04565b604082019050919050565b60006124f3602983612996565b91506124fe82612f53565b604082019050919050565b6000612516602c83612996565b915061252182612fa2565b604082019050919050565b6000612539602983612996565b915061254482612ff1565b604082019050919050565b600061255c602183612996565b915061256782613040565b604082019050919050565b600061257f603183612996565b915061258a8261308f565b604082019050919050565b60006125a2602c83612996565b91506125ad826130de565b604082019050919050565b60006125c5602683612996565b91506125d08261312d565b604082019050919050565b60006125e86001836129a7565b91506125f38261317c565b600182019050919050565b61260781612b31565b82525050565b6000612619828561234f565b9150612624826125db565b9150612630828461231e565b91508190509392505050565b6000602082019050612651600083018461228e565b92915050565b600060808201905061266c600083018761228e565b612679602083018661228e565b61268660408301856125fe565b818103606083015261269881846122ac565b905095945050505050565b60006040820190506126b8600083018561228e565b6126c560208301846125fe565b9392505050565b60006020820190506126e1600083018461229d565b92915050565b6000602082019050818103600083015261270181846122e5565b905092915050565b60006020820190508181036000830152612722816123ce565b9050919050565b60006020820190508181036000830152612742816123f1565b9050919050565b6000602082019050818103600083015261276281612414565b9050919050565b6000602082019050818103600083015261278281612437565b9050919050565b600060208201905081810360008301526127a28161245a565b9050919050565b600060208201905081810360008301526127c28161247d565b9050919050565b600060208201905081810360008301526127e2816124a0565b9050919050565b60006020820190508181036000830152612802816124c3565b9050919050565b60006020820190508181036000830152612822816124e6565b9050919050565b6000602082019050818103600083015261284281612509565b9050919050565b600060208201905081810360008301526128628161252c565b9050919050565b600060208201905081810360008301526128828161254f565b9050919050565b600060208201905081810360008301526128a281612572565b9050919050565b600060208201905081810360008301526128c281612595565b9050919050565b600060208201905081810360008301526128e2816125b8565b9050919050565b60006020820190506128fe60008301846125fe565b92915050565b600061290e61291f565b905061291a8282612baf565b919050565b6000604051905090565b600067ffffffffffffffff82111561294457612943612ce7565b5b61294d82612d16565b9050602081019050919050565b60008190508160005260206000209050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b60006129bd82612b31565b91506129c883612b31565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156129fd576129fc612c5a565b5b828201905092915050565b6000612a1382612b31565b9150612a1e83612b31565b925082612a2e57612a2d612c89565b5b828204905092915050565b6000612a4482612b31565b9150612a4f83612b31565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615612a8857612a87612c5a565b5b828202905092915050565b6000612a9e82612b31565b9150612aa983612b31565b925082821015612abc57612abb612c5a565b5b828203905092915050565b6000612ad282612b11565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b60005b83811015612b68578082015181840152602081019050612b4d565b83811115612b77576000848401525b50505050565b60006002820490506001821680612b9557607f821691505b60208210811415612ba957612ba8612cb8565b5b50919050565b612bb882612d16565b810181811067ffffffffffffffff82111715612bd757612bd6612ce7565b5b80604052505050565b6000612beb82612b31565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415612c1e57612c1d612c5a565b5b600182019050919050565b6000612c3482612b31565b9150612c3f83612b31565b925082612c4f57612c4e612c89565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b7f55524920717565727920666f72206e6f6e6578697374656e7420746f6b656e00600082015250565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008201527f73206e6f74206f776e0000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b7f4275726e3a2063616c6c6572206973206e6f74206f776e6572206e6f7220617060008201527f70726f7665640000000000000000000000000000000000000000000000000000602082015250565b7f2f00000000000000000000000000000000000000000000000000000000000000600082015250565b6131ae81612ac7565b81146131b957600080fd5b50565b6131c581612ad9565b81146131d057600080fd5b50565b6131dc81612ae5565b81146131e757600080fd5b50565b6131f381612b31565b81146131fe57600080fd5b5056fea264697066735822122043ac6fcffff088976fead8c962305de2b1f107eb1797dab2e25f02be4b75bb4d64736f6c6343000804003300000000000000000000000000000000000000000000000000000000000000e000000000000000000000000000000000000000000000000000000000000001200000000000000000000000000000000000000000000000000000000000000160000000000000000000000000e9cb56a31a8aaaa28dfd30a037fbcf470bce1e2e0000000000000000000000000000000000000000000000000000000000000033000000000000000000000000e9cb56a31a8aaaa28dfd30a037fbcf470bce1e2e00000000000000000000000000000000000000000000000000000000000003e800000000000000000000000000000000000000000000000000000000000000174e594320556e64657267726f756e642053746f7269657300000000000000000000000000000000000000000000000000000000000000000000000000000000054e59435553000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002e516d58724338526b6173617434584172346479416353537055326e724b4271595572375353706a54466643684861000000000000000000000000000000000000
Deployed Bytecode
0x608060405234801561001057600080fd5b506004361061012c5760003560e01c806342966c68116100ad578063a22cb46511610071578063a22cb4651461036a578063b88d4fde14610386578063c87b56dd146103a2578063d547cfb7146103d2578063e985e9c5146103f05761012c565b806342966c68146102a05780634f6ccce7146102bc5780636352211e146102ec57806370a082311461031c57806395d89b411461034c5761012c565b806323b872dd116100f457806323b872dd146101e95780632a55205a146102055780632ab4d052146102365780632f745c591461025457806342842e0e146102845761012c565b806301ffc9a71461013157806306fdde0314610161578063081812fc1461017f578063095ea7b3146101af57806318160ddd146101cb575b600080fd5b61014b600480360381019061014691906121d7565b610420565b60405161015891906126cc565b60405180910390f35b610169610502565b60405161017691906126e7565b60405180910390f35b61019960048036038101906101949190612229565b610594565b6040516101a6919061263c565b60405180910390f35b6101c960048036038101906101c4919061219b565b610619565b005b6101d3610731565b6040516101e091906128e9565b60405180910390f35b61020360048036038101906101fe9190612095565b61073e565b005b61021f600480360381019061021a9190612252565b61079e565b60405161022d9291906126a3565b60405180910390f35b61023e6107ea565b60405161024b91906128e9565b60405180910390f35b61026e6004803603810190610269919061219b565b6107f0565b60405161027b91906128e9565b60405180910390f35b61029e60048036038101906102999190612095565b610895565b005b6102ba60048036038101906102b59190612229565b6108b5565b005b6102d660048036038101906102d19190612229565b610911565b6040516102e391906128e9565b60405180910390f35b61030660048036038101906103019190612229565b6109a8565b604051610313919061263c565b60405180910390f35b61033660048036038101906103319190612007565b610a5a565b60405161034391906128e9565b60405180910390f35b610354610b12565b60405161036191906126e7565b60405180910390f35b610384600480360381019061037f919061215f565b610ba4565b005b6103a0600480360381019061039b91906120e4565b610d25565b005b6103bc60048036038101906103b79190612229565b610d87565b6040516103c991906126e7565b60405180910390f35b6103da610e7d565b6040516103e791906126e7565b60405180910390f35b61040a60048036038101906104059190612059565b610f0b565b60405161041791906126cc565b60405180910390f35b60007f2a55205a000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806104eb57507f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806104fb57506104fa82610fa4565b5b9050919050565b60606000805461051190612b7d565b80601f016020809104026020016040519081016040528092919081815260200182805461053d90612b7d565b801561058a5780601f1061055f5761010080835404028352916020019161058a565b820191906000526020600020905b81548152906001019060200180831161056d57829003601f168201915b5050505050905090565b600061059f8261101e565b6105de576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016105d590612829565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610624826109a8565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610695576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161068c90612869565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff166106b461108a565b73ffffffffffffffffffffffffffffffffffffffff1614806106e357506106e2816106dd61108a565b610f0b565b5b610722576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610719906127c9565b60405180910390fd5b61072c8383611092565b505050565b6000600880549050905090565b61074f61074961108a565b8261114b565b61078e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161078590612889565b60405180910390fd5b610799838383611229565b505050565b600080600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16612710600d54856107d59190612a39565b6107df9190612a08565b915091509250929050565b600a5481565b60006107fb83610a5a565b821061083c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161083390612729565b60405180910390fd5b600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b6108b083838360405180602001604052806000815250610d25565b505050565b6108c66108c061108a565b8261114b565b610905576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108fc906128c9565b60405180910390fd5b61090e81611485565b50565b600061091b610731565b821061095c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610953906128a9565b60405180910390fd5b60088281548110610996577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90600052602060002001549050919050565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415610a51576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a4890612809565b60405180910390fd5b80915050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415610acb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ac2906127e9565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b606060018054610b2190612b7d565b80601f0160208091040260200160405190810160405280929190818152602001828054610b4d90612b7d565b8015610b9a5780601f10610b6f57610100808354040283529160200191610b9a565b820191906000526020600020905b815481529060010190602001808311610b7d57829003601f168201915b5050505050905090565b610bac61108a565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415610c1a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c1190612789565b60405180910390fd5b8060056000610c2761108a565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16610cd461108a565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051610d1991906126cc565b60405180910390a35050565b610d36610d3061108a565b8361114b565b610d75576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d6c90612889565b60405180910390fd5b610d8184848484611596565b50505050565b60603073ffffffffffffffffffffffffffffffffffffffff16636352211e836040518263ffffffff1660e01b8152600401610dc291906128e9565b60206040518083038186803b158015610dda57600080fd5b505afa925050508015610e0b57506040513d601f19601f82011682018060405250810190610e089190612030565b60015b610e4a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e4190612709565b60405180910390fd5b600b610e55846115f2565b604051602001610e6692919061260d565b604051602081830303815290604052915050919050565b600b8054610e8a90612b7d565b80601f0160208091040260200160405190810160405280929190818152602001828054610eb690612b7d565b8015610f035780601f10610ed857610100808354040283529160200191610f03565b820191906000526020600020905b815481529060010190602001808311610ee657829003601f168201915b505050505081565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b505050565b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061101757506110168261179f565b5b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16611105836109a8565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b60006111568261101e565b611195576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161118c906127a9565b60405180910390fd5b60006111a0836109a8565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16148061120f57508373ffffffffffffffffffffffffffffffffffffffff166111f784610594565b73ffffffffffffffffffffffffffffffffffffffff16145b80611220575061121f8185610f0b565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff16611249826109a8565b73ffffffffffffffffffffffffffffffffffffffff161461129f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161129690612849565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561130f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161130690612769565b60405180910390fd5b61131a838383611881565b611325600082611092565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546113759190612a93565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546113cc91906129b2565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b6000611490826109a8565b905061149e81600084611881565b6114a9600083611092565b6001600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546114f99190612a93565b925050819055506002600083815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff021916905581600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b6115a1848484611229565b6115ad84848484611995565b6115ec576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115e390612749565b60405180910390fd5b50505050565b6060600082141561163a576040518060400160405280600181526020017f3000000000000000000000000000000000000000000000000000000000000000815250905061179a565b600082905060005b6000821461166c57808061165590612be0565b915050600a826116659190612a08565b9150611642565b60008167ffffffffffffffff8111156116ae577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f1916602001820160405280156116e05781602001600182028036833780820191505090505b5090505b60008514611793576001826116f99190612a93565b9150600a856117089190612c29565b603061171491906129b2565b60f81b818381518110611750577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a8561178c9190612a08565b94506116e4565b8093505050505b919050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061186a57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b8061187a575061187982611b2c565b5b9050919050565b61188c838383610f9f565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156118cf576118ca81611b96565b61190e565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161461190d5761190c8382611bdf565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156119515761194c81611d4c565b611990565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161461198f5761198e8282611e8f565b5b5b505050565b60006119b68473ffffffffffffffffffffffffffffffffffffffff16611f0e565b15611b1f578373ffffffffffffffffffffffffffffffffffffffff1663150b7a026119df61108a565b8786866040518563ffffffff1660e01b8152600401611a019493929190612657565b602060405180830381600087803b158015611a1b57600080fd5b505af1925050508015611a4c57506040513d601f19601f82011682018060405250810190611a499190612200565b60015b611acf573d8060008114611a7c576040519150601f19603f3d011682016040523d82523d6000602084013e611a81565b606091505b50600081511415611ac7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611abe90612749565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050611b24565b600190505b949350505050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b6008805490506009600083815260200190815260200160002081905550600881908060018154018082558091505060019003906000526020600020016000909190919091505550565b60006001611bec84610a5a565b611bf69190612a93565b9050600060076000848152602001908152602001600020549050818114611cdb576000600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816007600083815260200190815260200160002081905550505b6007600084815260200190815260200160002060009055600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b60006001600880549050611d609190612a93565b9050600060096000848152602001908152602001600020549050600060088381548110611db6577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b906000526020600020015490508060088381548110611dfe577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b906000526020600020018190555081600960008381526020019081526020016000208190555060096000858152602001908152602001600020600090556008805480611e73577f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b6001900381819060005260206000200160009055905550505050565b6000611e9a83610a5a565b905081600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806007600084815260200190815260200160002081905550505050565b600080823b905060008111915050919050565b6000611f34611f2f84612929565b612904565b905082815260208101848484011115611f4c57600080fd5b611f57848285612b3b565b509392505050565b600081359050611f6e816131a5565b92915050565b600081519050611f83816131a5565b92915050565b600081359050611f98816131bc565b92915050565b600081359050611fad816131d3565b92915050565b600081519050611fc2816131d3565b92915050565b600082601f830112611fd957600080fd5b8135611fe9848260208601611f21565b91505092915050565b600081359050612001816131ea565b92915050565b60006020828403121561201957600080fd5b600061202784828501611f5f565b91505092915050565b60006020828403121561204257600080fd5b600061205084828501611f74565b91505092915050565b6000806040838503121561206c57600080fd5b600061207a85828601611f5f565b925050602061208b85828601611f5f565b9150509250929050565b6000806000606084860312156120aa57600080fd5b60006120b886828701611f5f565b93505060206120c986828701611f5f565b92505060406120da86828701611ff2565b9150509250925092565b600080600080608085870312156120fa57600080fd5b600061210887828801611f5f565b945050602061211987828801611f5f565b935050604061212a87828801611ff2565b925050606085013567ffffffffffffffff81111561214757600080fd5b61215387828801611fc8565b91505092959194509250565b6000806040838503121561217257600080fd5b600061218085828601611f5f565b925050602061219185828601611f89565b9150509250929050565b600080604083850312156121ae57600080fd5b60006121bc85828601611f5f565b92505060206121cd85828601611ff2565b9150509250929050565b6000602082840312156121e957600080fd5b60006121f784828501611f9e565b91505092915050565b60006020828403121561221257600080fd5b600061222084828501611fb3565b91505092915050565b60006020828403121561223b57600080fd5b600061224984828501611ff2565b91505092915050565b6000806040838503121561226557600080fd5b600061227385828601611ff2565b925050602061228485828601611ff2565b9150509250929050565b61229781612ac7565b82525050565b6122a681612ad9565b82525050565b60006122b78261296f565b6122c18185612985565b93506122d1818560208601612b4a565b6122da81612d16565b840191505092915050565b60006122f08261297a565b6122fa8185612996565b935061230a818560208601612b4a565b61231381612d16565b840191505092915050565b60006123298261297a565b61233381856129a7565b9350612343818560208601612b4a565b80840191505092915050565b6000815461235c81612b7d565b61236681866129a7565b945060018216600081146123815760018114612392576123c5565b60ff198316865281860193506123c5565b61239b8561295a565b60005b838110156123bd5781548189015260018201915060208101905061239e565b838801955050505b50505092915050565b60006123db601f83612996565b91506123e682612d27565b602082019050919050565b60006123fe602b83612996565b915061240982612d50565b604082019050919050565b6000612421603283612996565b915061242c82612d9f565b604082019050919050565b6000612444602483612996565b915061244f82612dee565b604082019050919050565b6000612467601983612996565b915061247282612e3d565b602082019050919050565b600061248a602c83612996565b915061249582612e66565b604082019050919050565b60006124ad603883612996565b91506124b882612eb5565b604082019050919050565b60006124d0602a83612996565b91506124db82612f04565b604082019050919050565b60006124f3602983612996565b91506124fe82612f53565b604082019050919050565b6000612516602c83612996565b915061252182612fa2565b604082019050919050565b6000612539602983612996565b915061254482612ff1565b604082019050919050565b600061255c602183612996565b915061256782613040565b604082019050919050565b600061257f603183612996565b915061258a8261308f565b604082019050919050565b60006125a2602c83612996565b91506125ad826130de565b604082019050919050565b60006125c5602683612996565b91506125d08261312d565b604082019050919050565b60006125e86001836129a7565b91506125f38261317c565b600182019050919050565b61260781612b31565b82525050565b6000612619828561234f565b9150612624826125db565b9150612630828461231e565b91508190509392505050565b6000602082019050612651600083018461228e565b92915050565b600060808201905061266c600083018761228e565b612679602083018661228e565b61268660408301856125fe565b818103606083015261269881846122ac565b905095945050505050565b60006040820190506126b8600083018561228e565b6126c560208301846125fe565b9392505050565b60006020820190506126e1600083018461229d565b92915050565b6000602082019050818103600083015261270181846122e5565b905092915050565b60006020820190508181036000830152612722816123ce565b9050919050565b60006020820190508181036000830152612742816123f1565b9050919050565b6000602082019050818103600083015261276281612414565b9050919050565b6000602082019050818103600083015261278281612437565b9050919050565b600060208201905081810360008301526127a28161245a565b9050919050565b600060208201905081810360008301526127c28161247d565b9050919050565b600060208201905081810360008301526127e2816124a0565b9050919050565b60006020820190508181036000830152612802816124c3565b9050919050565b60006020820190508181036000830152612822816124e6565b9050919050565b6000602082019050818103600083015261284281612509565b9050919050565b600060208201905081810360008301526128628161252c565b9050919050565b600060208201905081810360008301526128828161254f565b9050919050565b600060208201905081810360008301526128a281612572565b9050919050565b600060208201905081810360008301526128c281612595565b9050919050565b600060208201905081810360008301526128e2816125b8565b9050919050565b60006020820190506128fe60008301846125fe565b92915050565b600061290e61291f565b905061291a8282612baf565b919050565b6000604051905090565b600067ffffffffffffffff82111561294457612943612ce7565b5b61294d82612d16565b9050602081019050919050565b60008190508160005260206000209050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b60006129bd82612b31565b91506129c883612b31565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156129fd576129fc612c5a565b5b828201905092915050565b6000612a1382612b31565b9150612a1e83612b31565b925082612a2e57612a2d612c89565b5b828204905092915050565b6000612a4482612b31565b9150612a4f83612b31565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615612a8857612a87612c5a565b5b828202905092915050565b6000612a9e82612b31565b9150612aa983612b31565b925082821015612abc57612abb612c5a565b5b828203905092915050565b6000612ad282612b11565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b60005b83811015612b68578082015181840152602081019050612b4d565b83811115612b77576000848401525b50505050565b60006002820490506001821680612b9557607f821691505b60208210811415612ba957612ba8612cb8565b5b50919050565b612bb882612d16565b810181811067ffffffffffffffff82111715612bd757612bd6612ce7565b5b80604052505050565b6000612beb82612b31565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415612c1e57612c1d612c5a565b5b600182019050919050565b6000612c3482612b31565b9150612c3f83612b31565b925082612c4f57612c4e612c89565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b7f55524920717565727920666f72206e6f6e6578697374656e7420746f6b656e00600082015250565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008201527f73206e6f74206f776e0000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b7f4275726e3a2063616c6c6572206973206e6f74206f776e6572206e6f7220617060008201527f70726f7665640000000000000000000000000000000000000000000000000000602082015250565b7f2f00000000000000000000000000000000000000000000000000000000000000600082015250565b6131ae81612ac7565b81146131b957600080fd5b50565b6131c581612ad9565b81146131d057600080fd5b50565b6131dc81612ae5565b81146131e757600080fd5b50565b6131f381612b31565b81146131fe57600080fd5b5056fea264697066735822122043ac6fcffff088976fead8c962305de2b1f107eb1797dab2e25f02be4b75bb4d64736f6c63430008040033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
00000000000000000000000000000000000000000000000000000000000000e000000000000000000000000000000000000000000000000000000000000001200000000000000000000000000000000000000000000000000000000000000160000000000000000000000000e9cb56a31a8aaaa28dfd30a037fbcf470bce1e2e0000000000000000000000000000000000000000000000000000000000000033000000000000000000000000e9cb56a31a8aaaa28dfd30a037fbcf470bce1e2e00000000000000000000000000000000000000000000000000000000000003e800000000000000000000000000000000000000000000000000000000000000174e594320556e64657267726f756e642053746f7269657300000000000000000000000000000000000000000000000000000000000000000000000000000000054e59435553000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002e516d58724338526b6173617434584172346479416353537055326e724b4271595572375353706a54466643684861000000000000000000000000000000000000
-----Decoded View---------------
Arg [0] : _name (string): NYC Underground Stories
Arg [1] : _symbol (string): NYCUS
Arg [2] : _ipfsURI (string): QmXrC8Rkasat4XAr4dyAcSSpU2nrKBqYUr7SSpjTFfChHa
Arg [3] : _toAddress (address): 0xE9Cb56a31A8aaaa28DFd30a037FbCF470BCE1e2E
Arg [4] : _maxTotalSupply (uint256): 51
Arg [5] : _royaltyRecipient (address): 0xE9Cb56a31A8aaaa28DFd30a037FbCF470BCE1e2E
Arg [6] : _royaltyValue (uint256): 1000
-----Encoded View---------------
14 Constructor Arguments found :
Arg [0] : 00000000000000000000000000000000000000000000000000000000000000e0
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000120
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000160
Arg [3] : 000000000000000000000000e9cb56a31a8aaaa28dfd30a037fbcf470bce1e2e
Arg [4] : 0000000000000000000000000000000000000000000000000000000000000033
Arg [5] : 000000000000000000000000e9cb56a31a8aaaa28dfd30a037fbcf470bce1e2e
Arg [6] : 00000000000000000000000000000000000000000000000000000000000003e8
Arg [7] : 0000000000000000000000000000000000000000000000000000000000000017
Arg [8] : 4e594320556e64657267726f756e642053746f72696573000000000000000000
Arg [9] : 0000000000000000000000000000000000000000000000000000000000000005
Arg [10] : 4e59435553000000000000000000000000000000000000000000000000000000
Arg [11] : 000000000000000000000000000000000000000000000000000000000000002e
Arg [12] : 516d58724338526b6173617434584172346479416353537055326e724b427159
Arg [13] : 5572375353706a54466643684861000000000000000000000000000000000000
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.