ERC-721
Overview
Max Total Supply
0 XYW
Holders
434
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
2 XYWLoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
XYWorld
Compiler Version
v0.8.17+commit.8df45f5f
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2022-09-09 */ // File: @openzeppelin/contracts/utils/introspection/IERC165.sol // SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC165 standard, as defined in the * https://eips.ethereum.org/EIPS/eip-165[EIP]. * * Implementers can declare support of contract interfaces, which can then be * queried by others ({ERC165Checker}). * * For an implementation, see {ERC165}. */ interface IERC165 { /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] * to learn more about how these ids are created. * * This function call must use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); } // File: @openzeppelin/contracts/token/ERC721/IERC721.sol // OpenZeppelin Contracts (last updated v4.7.0) (token/ERC721/IERC721.sol) pragma solidity ^0.8.0; /** * @dev Required interface of an ERC721 compliant contract. */ interface IERC721 is IERC165 { /** * @dev Emitted when `tokenId` token is transferred from `from` to `to`. */ event Transfer(address indexed from, address indexed to, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token. */ event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets. */ event ApprovalForAll(address indexed owner, address indexed operator, bool approved); /** * @dev Returns the number of tokens in ``owner``'s account. */ function balanceOf(address owner) external view returns (uint256 balance); /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) external view returns (address owner); /** * @dev Safely transfers `tokenId` token from `from` to `to`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes calldata data ) external; /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must have been allowed to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Transfers `tokenId` token from `from` to `to`. * * WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) external; /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool _approved) external; /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll} */ function isApprovedForAll(address owner, address operator) external view returns (bool); } // File: @openzeppelin/contracts/token/ERC721/IERC721Receiver.sol // OpenZeppelin Contracts (last updated v4.6.0) (token/ERC721/IERC721Receiver.sol) pragma solidity ^0.8.0; /** * @title ERC721 token receiver interface * @dev Interface for any contract that wants to support safeTransfers * from ERC721 asset contracts. */ interface IERC721Receiver { /** * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom} * by `operator` from `from`, this function is called. * * It must return its Solidity selector to confirm the token transfer. * If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted. * * The selector can be obtained in Solidity with `IERC721Receiver.onERC721Received.selector`. */ function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); } // File: @openzeppelin/contracts/token/ERC721/extensions/IERC721Metadata.sol // OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/IERC721Metadata.sol) pragma solidity ^0.8.0; /** * @title ERC-721 Non-Fungible Token Standard, optional metadata extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Metadata is IERC721 { /** * @dev Returns the token collection name. */ function name() external view returns (string memory); /** * @dev Returns the token collection symbol. */ function symbol() external view returns (string memory); /** * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token. */ function tokenURI(uint256 tokenId) external view returns (string memory); } // File: @openzeppelin/contracts/utils/Address.sol // OpenZeppelin Contracts (last updated v4.7.0) (utils/Address.sol) pragma solidity ^0.8.1; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== * * [IMPORTANT] * ==== * You shouldn't rely on `isContract` to protect against flash loan attacks! * * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract * constructor. * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize/address.code.length, which returns 0 // for contracts in construction, since the code is only stored at the end // of the constructor execution. return account.code.length > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); (bool success, ) = recipient.call{value: amount}(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain `call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCall(target, data, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value ) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value, string memory errorMessage ) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); require(isContract(target), "Address: call to non-contract"); (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall( address target, bytes memory data, string memory errorMessage ) internal view returns (bytes memory) { require(isContract(target), "Address: static call to non-contract"); (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { require(isContract(target), "Address: delegate call to non-contract"); (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason using the provided one. * * _Available since v4.3._ */ function verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) internal pure returns (bytes memory) { if (success) { return returndata; } else { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly /// @solidity memory-safe-assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } } // File: @openzeppelin/contracts/utils/Context.sol // OpenZeppelin Contracts v4.4.1 (utils/Context.sol) pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } } // File: @openzeppelin/contracts/utils/Strings.sol // OpenZeppelin Contracts (last updated v4.7.0) (utils/Strings.sol) pragma solidity ^0.8.0; /** * @dev String operations. */ library Strings { bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef"; uint8 private constant _ADDRESS_LENGTH = 20; /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function toString(uint256 value) internal pure returns (string memory) { // Inspired by OraclizeAPI's implementation - MIT licence // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol if (value == 0) { return "0"; } uint256 temp = value; uint256 digits; while (temp != 0) { digits++; temp /= 10; } bytes memory buffer = new bytes(digits); while (value != 0) { digits -= 1; buffer[digits] = bytes1(uint8(48 + uint256(value % 10))); value /= 10; } return string(buffer); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { if (value == 0) { return "0x00"; } uint256 temp = value; uint256 length = 0; while (temp != 0) { length++; temp >>= 8; } return toHexString(value, length); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length. */ function toHexString(uint256 value, uint256 length) internal pure returns (string memory) { bytes memory buffer = new bytes(2 * length + 2); buffer[0] = "0"; buffer[1] = "x"; for (uint256 i = 2 * length + 1; i > 1; --i) { buffer[i] = _HEX_SYMBOLS[value & 0xf]; value >>= 4; } require(value == 0, "Strings: hex length insufficient"); return string(buffer); } /** * @dev Converts an `address` with fixed length of 20 bytes to its not checksummed ASCII `string` hexadecimal representation. */ function toHexString(address addr) internal pure returns (string memory) { return toHexString(uint256(uint160(addr)), _ADDRESS_LENGTH); } } // File: @openzeppelin/contracts/utils/introspection/ERC165.sol // OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol) pragma solidity ^0.8.0; /** * @dev Implementation of the {IERC165} interface. * * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check * for the additional interface id that will be supported. For example: * * ```solidity * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { * return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId); * } * ``` * * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation. */ abstract contract ERC165 is IERC165 { /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IERC165).interfaceId; } } // File: @openzeppelin/contracts/token/ERC721/ERC721.sol // OpenZeppelin Contracts (last updated v4.7.0) (token/ERC721/ERC721.sol) pragma solidity ^0.8.0; /** * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including * the Metadata extension, but not including the Enumerable extension, which is available separately as * {ERC721Enumerable}. */ contract ERC721 is Context, ERC165, IERC721, IERC721Metadata { using Address for address; using Strings for uint256; // Token name string private _name; // Token symbol string private _symbol; // Mapping from token ID to owner address mapping(uint256 => address) private _owners; // Mapping owner address to token count mapping(address => uint256) private _balances; // Mapping from token ID to approved address mapping(uint256 => address) private _tokenApprovals; // Mapping from owner to operator approvals mapping(address => mapping(address => bool)) private _operatorApprovals; /** * @dev Initializes the contract by setting a `name` and a `symbol` to the token collection. */ constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) { return interfaceId == type(IERC721).interfaceId || interfaceId == type(IERC721Metadata).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC721-balanceOf}. */ function balanceOf(address owner) public view virtual override returns (uint256) { require(owner != address(0), "ERC721: address zero is not a valid owner"); return _balances[owner]; } /** * @dev See {IERC721-ownerOf}. */ function ownerOf(uint256 tokenId) public view virtual override returns (address) { address owner = _owners[tokenId]; require(owner != address(0), "ERC721: invalid token ID"); return owner; } /** * @dev See {IERC721Metadata-name}. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev See {IERC721Metadata-symbol}. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev See {IERC721Metadata-tokenURI}. */ function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { _requireMinted(tokenId); string memory baseURI = _baseURI(); return bytes(baseURI).length > 0 ? string(abi.encodePacked(baseURI, tokenId.toString())) : ""; } /** * @dev Base URI for computing {tokenURI}. If set, the resulting URI for each * token will be the concatenation of the `baseURI` and the `tokenId`. Empty * by default, can be overridden in child contracts. */ function _baseURI() internal view virtual returns (string memory) { return ""; } /** * @dev See {IERC721-approve}. */ function approve(address to, uint256 tokenId) public virtual override { address owner = ERC721.ownerOf(tokenId); require(to != owner, "ERC721: approval to current owner"); require( _msgSender() == owner || isApprovedForAll(owner, _msgSender()), "ERC721: approve caller is not token owner nor approved for all" ); _approve(to, tokenId); } /** * @dev See {IERC721-getApproved}. */ function getApproved(uint256 tokenId) public view virtual override returns (address) { _requireMinted(tokenId); return _tokenApprovals[tokenId]; } /** * @dev See {IERC721-setApprovalForAll}. */ function setApprovalForAll(address operator, bool approved) public virtual override { _setApprovalForAll(_msgSender(), operator, approved); } /** * @dev See {IERC721-isApprovedForAll}. */ function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) { return _operatorApprovals[owner][operator]; } /** * @dev See {IERC721-transferFrom}. */ function transferFrom( address from, address to, uint256 tokenId ) public virtual override { //solhint-disable-next-line max-line-length require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: caller is not token owner nor approved"); _transfer(from, to, tokenId); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId ) public virtual override { safeTransferFrom(from, to, tokenId, ""); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes memory data ) public virtual override { require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: caller is not token owner nor approved"); _safeTransfer(from, to, tokenId, data); } /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * `data` is additional data, it has no specified format and it is sent in call to `to`. * * This internal function is equivalent to {safeTransferFrom}, and can be used to e.g. * implement alternative mechanisms to perform token transfer, such as signature-based. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeTransfer( address from, address to, uint256 tokenId, bytes memory data ) internal virtual { _transfer(from, to, tokenId); require(_checkOnERC721Received(from, to, tokenId, data), "ERC721: transfer to non ERC721Receiver implementer"); } /** * @dev Returns whether `tokenId` exists. * * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}. * * Tokens start existing when they are minted (`_mint`), * and stop existing when they are burned (`_burn`). */ function _exists(uint256 tokenId) internal view virtual returns (bool) { return _owners[tokenId] != address(0); } /** * @dev Returns whether `spender` is allowed to manage `tokenId`. * * Requirements: * * - `tokenId` must exist. */ function _isApprovedOrOwner(address spender, uint256 tokenId) internal view virtual returns (bool) { address owner = ERC721.ownerOf(tokenId); return (spender == owner || isApprovedForAll(owner, spender) || getApproved(tokenId) == spender); } /** * @dev Safely mints `tokenId` and transfers it to `to`. * * Requirements: * * - `tokenId` must not exist. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeMint(address to, uint256 tokenId) internal virtual { _safeMint(to, tokenId, ""); } /** * @dev Same as {xref-ERC721-_safeMint-address-uint256-}[`_safeMint`], with an additional `data` parameter which is * forwarded in {IERC721Receiver-onERC721Received} to contract recipients. */ function _safeMint( address to, uint256 tokenId, bytes memory data ) internal virtual { _mint(to, tokenId); require( _checkOnERC721Received(address(0), to, tokenId, data), "ERC721: transfer to non ERC721Receiver implementer" ); } /** * @dev Mints `tokenId` and transfers it to `to`. * * WARNING: Usage of this method is discouraged, use {_safeMint} whenever possible * * Requirements: * * - `tokenId` must not exist. * - `to` cannot be the zero address. * * Emits a {Transfer} event. */ function _mint(address to, uint256 tokenId) internal virtual { require(to != address(0), "ERC721: mint to the zero address"); require(!_exists(tokenId), "ERC721: token already minted"); _beforeTokenTransfer(address(0), to, tokenId); _balances[to] += 1; _owners[tokenId] = to; emit Transfer(address(0), to, tokenId); _afterTokenTransfer(address(0), to, tokenId); } /** * @dev Destroys `tokenId`. * The approval is cleared when the token is burned. * * Requirements: * * - `tokenId` must exist. * * Emits a {Transfer} event. */ function _burn(uint256 tokenId) internal virtual { address owner = ERC721.ownerOf(tokenId); _beforeTokenTransfer(owner, address(0), tokenId); // Clear approvals _approve(address(0), tokenId); _balances[owner] -= 1; delete _owners[tokenId]; emit Transfer(owner, address(0), tokenId); _afterTokenTransfer(owner, address(0), tokenId); } /** * @dev Transfers `tokenId` from `from` to `to`. * As opposed to {transferFrom}, this imposes no restrictions on msg.sender. * * Requirements: * * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * * Emits a {Transfer} event. */ function _transfer( address from, address to, uint256 tokenId ) internal virtual { require(ERC721.ownerOf(tokenId) == from, "ERC721: transfer from incorrect owner"); require(to != address(0), "ERC721: transfer to the zero address"); _beforeTokenTransfer(from, to, tokenId); // Clear approvals from the previous owner _approve(address(0), tokenId); _balances[from] -= 1; _balances[to] += 1; _owners[tokenId] = to; emit Transfer(from, to, tokenId); _afterTokenTransfer(from, to, tokenId); } /** * @dev Approve `to` to operate on `tokenId` * * Emits an {Approval} event. */ function _approve(address to, uint256 tokenId) internal virtual { _tokenApprovals[tokenId] = to; emit Approval(ERC721.ownerOf(tokenId), to, tokenId); } /** * @dev Approve `operator` to operate on all of `owner` tokens * * Emits an {ApprovalForAll} event. */ function _setApprovalForAll( address owner, address operator, bool approved ) internal virtual { require(owner != operator, "ERC721: approve to caller"); _operatorApprovals[owner][operator] = approved; emit ApprovalForAll(owner, operator, approved); } /** * @dev Reverts if the `tokenId` has not been minted yet. */ function _requireMinted(uint256 tokenId) internal view virtual { require(_exists(tokenId), "ERC721: invalid token ID"); } /** * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target address. * The call is not executed if the target address is not a contract. * * @param from address representing the previous owner of the given token ID * @param to target address that will receive the tokens * @param tokenId uint256 ID of the token to be transferred * @param data bytes optional data to send along with the call * @return bool whether the call correctly returned the expected magic value */ function _checkOnERC721Received( address from, address to, uint256 tokenId, bytes memory data ) private returns (bool) { if (to.isContract()) { try IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, data) returns (bytes4 retval) { return retval == IERC721Receiver.onERC721Received.selector; } catch (bytes memory reason) { if (reason.length == 0) { revert("ERC721: transfer to non ERC721Receiver implementer"); } else { /// @solidity memory-safe-assembly assembly { revert(add(32, reason), mload(reason)) } } } } else { return true; } } /** * @dev Hook that is called before any token transfer. This includes minting * and burning. * * Calling conditions: * * - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, ``from``'s `tokenId` will be burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer( address from, address to, uint256 tokenId ) internal virtual {} /** * @dev Hook that is called after any transfer of tokens. This includes * minting and burning. * * Calling conditions: * * - when `from` and `to` are both non-zero. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _afterTokenTransfer( address from, address to, uint256 tokenId ) internal virtual {} } // File: @openzeppelin/contracts/security/ReentrancyGuard.sol // OpenZeppelin Contracts v4.4.1 (security/ReentrancyGuard.sol) pragma solidity ^0.8.0; /** * @dev Contract module that helps prevent reentrant calls to a function. * * Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier * available, which can be applied to functions to make sure there are no nested * (reentrant) calls to them. * * Note that because there is a single `nonReentrant` guard, functions marked as * `nonReentrant` may not call one another. This can be worked around by making * those functions `private`, and then adding `external` `nonReentrant` entry * points to them. * * TIP: If you would like to learn more about reentrancy and alternative ways * to protect against it, check out our blog post * https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul]. */ abstract contract ReentrancyGuard { // Booleans are more expensive than uint256 or any type that takes up a full // word because each write operation emits an extra SLOAD to first read the // slot's contents, replace the bits taken up by the boolean, and then write // back. This is the compiler's defense against contract upgrades and // pointer aliasing, and it cannot be disabled. // The values being non-zero value makes deployment a bit more expensive, // but in exchange the refund on every call to nonReentrant will be lower in // amount. Since refunds are capped to a percentage of the total // transaction's gas, it is best to keep them low in cases like this one, to // increase the likelihood of the full refund coming into effect. uint256 private constant _NOT_ENTERED = 1; uint256 private constant _ENTERED = 2; uint256 private _status; constructor() { _status = _NOT_ENTERED; } /** * @dev Prevents a contract from calling itself, directly or indirectly. * Calling a `nonReentrant` function from another `nonReentrant` * function is not supported. It is possible to prevent this from happening * by making the `nonReentrant` function external, and making it call a * `private` function that does the actual work. */ modifier nonReentrant() { // On the first call to nonReentrant, _notEntered will be true require(_status != _ENTERED, "ReentrancyGuard: reentrant call"); // Any calls to nonReentrant after this point will fail _status = _ENTERED; _; // By storing the original value once again, a refund is triggered (see // https://eips.ethereum.org/EIPS/eip-2200) _status = _NOT_ENTERED; } } // File: contracts/AssociativeNFT.sol pragma solidity ^0.8.4; interface ParentInterface { function balanceOf(address owner) external view returns (uint256 balance); function ownerOf(uint256 tokenId) external view returns (address owner); } contract AssociativeNFT is ERC721, ReentrancyGuard { address private parentAddress; mapping(uint256 => address) private _lastKnownOwners; constructor(string memory name_, string memory symbol_, address _parentAddress) ERC721(name_, symbol_) { parentAddress = _parentAddress; } /** * @dev associate * Utility function that "syncs" the association/ownership info on the blockchain. * Since this associative NFT is non-transferable, blockchain data will get * out of sync, because no Transfer event is emitted when the parent asset is moved. * This function gives the new owner or anyone a way to force the contract to emit a Transfer event. * This is optional, since the ownerOf function will always return the right owner. * However, most systems look at the Transfer events instead of the ownerOf function. */ function associate(uint256 tokenId) external nonReentrant { address from = _lastKnownOwners[tokenId]; address to = ownerOf(tokenId); require(from != to, "Already in sync"); _lastKnownOwners[tokenId] = to; emit Transfer(from, to, tokenId); } /** * @dev ERC721 balanceOf method override. This is an Associative NFT. * It has the same balance as the Parent NFT with the same tokenId, once mint is complete. * Before the associative mint is complete, this may return an incorrect value. */ function balanceOf(address owner) public view override returns (uint256) { return ParentInterface(parentAddress).balanceOf(owner); } /** * @dev ERC721 ownerOf method override. This is an Associative NFT. * It has the same owner as the Parent NFT with the same tokenId. */ function ownerOf(uint256 tokenId) public view override returns (address) { return ParentInterface(parentAddress).ownerOf(tokenId); } /** * @dev ERC721 transferFrom method override. This is a non-transferable NFT. */ function transferFrom(address, address, uint256) public pure override { // Non-transferable require(false, "Associative NFT is non-transferable"); } /** * @dev ERC721 safeTransferFrom method override. This is a non-transferable NFT. */ function safeTransferFrom(address, address, uint256) public pure override { // Non-transferable require(false, "Associative NFT is non-transferable"); } /** * @dev ERC721 safeTransferFrom method override. This is a non-transferable NFT. */ function safeTransferFrom(address, address, uint256, bytes memory) public pure override { // Non-transferable require(false, "Associative NFT is non-transferable"); } /** * @dev ERC721 approve method override. This is a non-transferable NFT. */ function approve(address, uint256) public pure override { // Non-transferable require(false, "Associative NFT is non-transferable"); } /** * @dev ERC721 setApprovalForAll method override. This is a non-transferable NFT. */ function setApprovalForAll(address, bool) public pure override { // Non-transferable require(false, "Associative NFT is non-transferable"); } /** * @dev ERC721 _afterTokenTransfer method override. This is a non-transferable NFT. * Saves the last known owner after minting. */ function _afterTokenTransfer( address, address to, uint256 tokenId ) internal override { _lastKnownOwners[tokenId] = to; } } // File: @openzeppelin/contracts/utils/cryptography/MerkleProof.sol // OpenZeppelin Contracts (last updated v4.7.0) (utils/cryptography/MerkleProof.sol) pragma solidity ^0.8.0; /** * @dev These functions deal with verification of Merkle Tree proofs. * * The proofs can be generated using the JavaScript library * https://github.com/miguelmota/merkletreejs[merkletreejs]. * Note: the hashing algorithm should be keccak256 and pair sorting should be enabled. * * See `test/utils/cryptography/MerkleProof.test.js` for some examples. * * WARNING: You should avoid using leaf values that are 64 bytes long prior to * hashing, or use a hash function other than keccak256 for hashing leaves. * This is because the concatenation of a sorted pair of internal nodes in * the merkle tree could be reinterpreted as a leaf value. */ library MerkleProof { /** * @dev Returns true if a `leaf` can be proved to be a part of a Merkle tree * defined by `root`. For this, a `proof` must be provided, containing * sibling hashes on the branch from the leaf to the root of the tree. Each * pair of leaves and each pair of pre-images are assumed to be sorted. */ function verify( bytes32[] memory proof, bytes32 root, bytes32 leaf ) internal pure returns (bool) { return processProof(proof, leaf) == root; } /** * @dev Calldata version of {verify} * * _Available since v4.7._ */ function verifyCalldata( bytes32[] calldata proof, bytes32 root, bytes32 leaf ) internal pure returns (bool) { return processProofCalldata(proof, leaf) == root; } /** * @dev Returns the rebuilt hash obtained by traversing a Merkle tree up * from `leaf` using `proof`. A `proof` is valid if and only if the rebuilt * hash matches the root of the tree. When processing the proof, the pairs * of leafs & pre-images are assumed to be sorted. * * _Available since v4.4._ */ function processProof(bytes32[] memory proof, bytes32 leaf) internal pure returns (bytes32) { bytes32 computedHash = leaf; for (uint256 i = 0; i < proof.length; i++) { computedHash = _hashPair(computedHash, proof[i]); } return computedHash; } /** * @dev Calldata version of {processProof} * * _Available since v4.7._ */ function processProofCalldata(bytes32[] calldata proof, bytes32 leaf) internal pure returns (bytes32) { bytes32 computedHash = leaf; for (uint256 i = 0; i < proof.length; i++) { computedHash = _hashPair(computedHash, proof[i]); } return computedHash; } /** * @dev Returns true if the `leaves` can be proved to be a part of a Merkle tree defined by * `root`, according to `proof` and `proofFlags` as described in {processMultiProof}. * * _Available since v4.7._ */ function multiProofVerify( bytes32[] memory proof, bool[] memory proofFlags, bytes32 root, bytes32[] memory leaves ) internal pure returns (bool) { return processMultiProof(proof, proofFlags, leaves) == root; } /** * @dev Calldata version of {multiProofVerify} * * _Available since v4.7._ */ function multiProofVerifyCalldata( bytes32[] calldata proof, bool[] calldata proofFlags, bytes32 root, bytes32[] memory leaves ) internal pure returns (bool) { return processMultiProofCalldata(proof, proofFlags, leaves) == root; } /** * @dev Returns the root of a tree reconstructed from `leaves` and the sibling nodes in `proof`, * consuming from one or the other at each step according to the instructions given by * `proofFlags`. * * _Available since v4.7._ */ function processMultiProof( bytes32[] memory proof, bool[] memory proofFlags, bytes32[] memory leaves ) internal pure returns (bytes32 merkleRoot) { // This function rebuild the root hash by traversing the tree up from the leaves. The root is rebuilt by // consuming and producing values on a queue. The queue starts with the `leaves` array, then goes onto the // `hashes` array. At the end of the process, the last hash in the `hashes` array should contain the root of // the merkle tree. uint256 leavesLen = leaves.length; uint256 totalHashes = proofFlags.length; // Check proof validity. require(leavesLen + proof.length - 1 == totalHashes, "MerkleProof: invalid multiproof"); // The xxxPos values are "pointers" to the next value to consume in each array. All accesses are done using // `xxx[xxxPos++]`, which return the current value and increment the pointer, thus mimicking a queue's "pop". bytes32[] memory hashes = new bytes32[](totalHashes); uint256 leafPos = 0; uint256 hashPos = 0; uint256 proofPos = 0; // At each step, we compute the next hash using two values: // - a value from the "main queue". If not all leaves have been consumed, we get the next leaf, otherwise we // get the next hash. // - depending on the flag, either another value for the "main queue" (merging branches) or an element from the // `proof` array. for (uint256 i = 0; i < totalHashes; i++) { bytes32 a = leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++]; bytes32 b = proofFlags[i] ? leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++] : proof[proofPos++]; hashes[i] = _hashPair(a, b); } if (totalHashes > 0) { return hashes[totalHashes - 1]; } else if (leavesLen > 0) { return leaves[0]; } else { return proof[0]; } } /** * @dev Calldata version of {processMultiProof} * * _Available since v4.7._ */ function processMultiProofCalldata( bytes32[] calldata proof, bool[] calldata proofFlags, bytes32[] memory leaves ) internal pure returns (bytes32 merkleRoot) { // This function rebuild the root hash by traversing the tree up from the leaves. The root is rebuilt by // consuming and producing values on a queue. The queue starts with the `leaves` array, then goes onto the // `hashes` array. At the end of the process, the last hash in the `hashes` array should contain the root of // the merkle tree. uint256 leavesLen = leaves.length; uint256 totalHashes = proofFlags.length; // Check proof validity. require(leavesLen + proof.length - 1 == totalHashes, "MerkleProof: invalid multiproof"); // The xxxPos values are "pointers" to the next value to consume in each array. All accesses are done using // `xxx[xxxPos++]`, which return the current value and increment the pointer, thus mimicking a queue's "pop". bytes32[] memory hashes = new bytes32[](totalHashes); uint256 leafPos = 0; uint256 hashPos = 0; uint256 proofPos = 0; // At each step, we compute the next hash using two values: // - a value from the "main queue". If not all leaves have been consumed, we get the next leaf, otherwise we // get the next hash. // - depending on the flag, either another value for the "main queue" (merging branches) or an element from the // `proof` array. for (uint256 i = 0; i < totalHashes; i++) { bytes32 a = leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++]; bytes32 b = proofFlags[i] ? leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++] : proof[proofPos++]; hashes[i] = _hashPair(a, b); } if (totalHashes > 0) { return hashes[totalHashes - 1]; } else if (leavesLen > 0) { return leaves[0]; } else { return proof[0]; } } function _hashPair(bytes32 a, bytes32 b) private pure returns (bytes32) { return a < b ? _efficientHash(a, b) : _efficientHash(b, a); } function _efficientHash(bytes32 a, bytes32 b) private pure returns (bytes32 value) { /// @solidity memory-safe-assembly assembly { mstore(0x00, a) mstore(0x20, b) value := keccak256(0x00, 0x40) } } } // File: @openzeppelin/contracts/utils/math/SafeMath.sol // OpenZeppelin Contracts (last updated v4.6.0) (utils/math/SafeMath.sol) pragma solidity ^0.8.0; // CAUTION // This version of SafeMath should only be used with Solidity 0.8 or later, // because it relies on the compiler's built in overflow checks. /** * @dev Wrappers over Solidity's arithmetic operations. * * NOTE: `SafeMath` is generally not needed starting with Solidity 0.8, since the compiler * now has built in overflow checking. */ library SafeMath { /** * @dev Returns the addition of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { uint256 c = a + b; if (c < a) return (false, 0); return (true, c); } } /** * @dev Returns the subtraction of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b > a) return (false, 0); return (true, a - b); } } /** * @dev Returns the multiplication of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { // Gas optimization: this is cheaper than requiring 'a' not being zero, but the // benefit is lost if 'b' is also tested. // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522 if (a == 0) return (true, 0); uint256 c = a * b; if (c / a != b) return (false, 0); return (true, c); } } /** * @dev Returns the division of two unsigned integers, with a division by zero flag. * * _Available since v3.4._ */ function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b == 0) return (false, 0); return (true, a / b); } } /** * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag. * * _Available since v3.4._ */ function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b == 0) return (false, 0); return (true, a % b); } } /** * @dev Returns the addition of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `+` operator. * * Requirements: * * - Addition cannot overflow. */ function add(uint256 a, uint256 b) internal pure returns (uint256) { return a + b; } /** * @dev Returns the subtraction of two unsigned integers, reverting on * overflow (when the result is negative). * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub(uint256 a, uint256 b) internal pure returns (uint256) { return a - b; } /** * @dev Returns the multiplication of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `*` operator. * * Requirements: * * - Multiplication cannot overflow. */ function mul(uint256 a, uint256 b) internal pure returns (uint256) { return a * b; } /** * @dev Returns the integer division of two unsigned integers, reverting on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. * * Requirements: * * - The divisor cannot be zero. */ function div(uint256 a, uint256 b) internal pure returns (uint256) { return a / b; } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * reverting when dividing by zero. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod(uint256 a, uint256 b) internal pure returns (uint256) { return a % b; } /** * @dev Returns the subtraction of two unsigned integers, reverting with custom message on * overflow (when the result is negative). * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {trySub}. * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { unchecked { require(b <= a, errorMessage); return a - b; } } /** * @dev Returns the integer division of two unsigned integers, reverting with custom message on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. Note: this function uses a * `revert` opcode (which leaves remaining gas untouched) while Solidity * uses an invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function div( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { unchecked { require(b > 0, errorMessage); return a / b; } } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * reverting with custom message when dividing by zero. * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {tryMod}. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { unchecked { require(b > 0, errorMessage); return a % b; } } } // File: @openzeppelin/contracts/access/Ownable.sol // OpenZeppelin Contracts (last updated v4.7.0) (access/Ownable.sol) pragma solidity ^0.8.0; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _transferOwnership(_msgSender()); } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { _checkOwner(); _; } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if the sender is not the owner. */ function _checkOwner() internal view virtual { require(owner() == _msgSender(), "Ownable: caller is not the owner"); } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } } // File: contracts/XYWorld.sol pragma solidity ^0.8.4; contract XYWorld is AssociativeNFT, Ownable { using SafeMath for uint256; using Strings for uint256; string public PROVENANCE = ""; uint256 public constant TOTAL_TOKENS = 16384; uint256 public startingIndexBlock; uint256 public startingIndexBase; uint256 public startingIndexLimited; mapping(uint256 => uint256) private _levelBalances; mapping(uint256 => uint256) private _levelMaxes; // max number in each level mapping(uint256 => uint256) private _levelBaseIndexes; // base starting index mapping(uint256 => uint256) private _levelPrices; mapping(uint256 => uint256) private _tokenMap; // from X,Y tokenId to metadata id mapping(address => uint256) private _presales; string private _baseTokenURI; bytes32 private _merkleRoot; // sales parameters uint256 private _batchMax = 10; uint256 private _presaleMax = 10; // States bool private _presaleActive = false; bool private _saleActive = false; constructor(address xyAddress, string memory baseTokenURI, uint256 limitedMax) AssociativeNFT("X,Y World", "XYW", xyAddress) { _levelMaxes[0] = TOTAL_TOKENS; _levelMaxes[1] = limitedMax; _levelBaseIndexes[0] = 0; _levelBaseIndexes[1] = TOTAL_TOKENS; _baseTokenURI = baseTokenURI; } function _baseURI() internal view virtual override returns (string memory) { return _baseTokenURI; } /** * @dev tokenURI override to use _tokenMap[_tokenMap] instead of just the tokenId */ function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { _requireMinted(tokenId); string memory baseURI = _baseURI(); return bytes(baseURI).length > 0 ? string(abi.encodePacked(baseURI, _tokenMap[tokenId].toString())) : ""; } function mint(uint256 tokenId, uint256 level) external nonReentrant payable { require(!_presaleActive, "Presale active"); require(_saleActive, "Sale not active"); _purchaseMint(tokenId, level); } function presaleMint(uint256 tokenId, uint256 level, bytes32[] calldata proof) external nonReentrant payable { require(_presaleActive, "Presale not active"); require(_merkleRoot != "", "Allowlist not set"); require(SafeMath.add(_presales[_msgSender()], 1) <= _presaleMax, "Presale token limit reached"); require( MerkleProof.verify( proof, _merkleRoot, keccak256(abi.encodePacked(_msgSender())) ), "Presale invalid" ); _purchaseMint(tokenId, level); } function batchMint(uint256[] calldata tokenIds, uint256 level) external nonReentrant payable { require(!_presaleActive, "Presale active"); require(_saleActive, "Sale not active"); require(tokenIds.length > 0, "Must mint at least 1"); require(tokenIds.length <= _batchMax, "Batch limit reached"); _batchPurchaseMint(tokenIds, level); } function batchPresaleMint(uint256[] calldata tokenIds, uint256 level, bytes32[] calldata proof) external nonReentrant payable { require(_presaleActive, "Presale not active"); require(_merkleRoot != "", "Allowlist not set"); require(tokenIds.length > 0, "Must mint at least 1"); require(tokenIds.length <= _batchMax, "Batch limit reached"); require(SafeMath.add(_presales[_msgSender()], tokenIds.length) <= _presaleMax, "Presale token limit reached"); require( MerkleProof.verify( proof, _merkleRoot, keccak256(abi.encodePacked(_msgSender())) ), "Presale invalid" ); _batchPurchaseMint(tokenIds, level); } function getLevel(uint256 tokenId) external view returns (uint256) { _requireMinted(tokenId); if (_tokenMap[tokenId] > _levelBaseIndexes[1]) { return 1; } else { return 0; } } function setMerkleRoot(bytes32 newRoot) external onlyOwner { _merkleRoot = newRoot; } function setBaseURI(string memory newBaseURI) external onlyOwner { _baseTokenURI = newBaseURI; } function startSale( uint256 newPresaleMax, uint256 newBatchMax, uint256 basePrice, uint256 limitedPrice, bool presale ) external onlyOwner { _saleActive = true; _presaleActive = presale; _presaleMax = newPresaleMax; _batchMax = newBatchMax; _levelPrices[0] = basePrice; _levelPrices[1] = limitedPrice; } function stopSale() external onlyOwner { _saleActive = false; _presaleActive = false; } function setProvenanceHash(string memory provenanceHash) public onlyOwner { PROVENANCE = provenanceHash; } // from BAYC startingIndex method // will be called after PROVENANCE is set and at a future, publicly announced date/time, // so the exact block number cannot be known ahead of time - prior to reveal function setStartingIndexBlock() public onlyOwner { require(startingIndexLimited == 0, "Starting index limited is already set"); require(startingIndexBase == 0, "Starting index base is already set"); startingIndexBlock = block.number; } // from BAYC startingIndex method // will be called after the startingIndexBlock is set and before reveal // used for level 0 tokens function setStartingIndexBase() public { require(startingIndexBase == 0, "Starting index is already set"); require(startingIndexBlock != 0, "Starting index block must be set"); startingIndexBase = uint(blockhash(startingIndexBlock)) % TOTAL_TOKENS; // Just a sanity case in the worst case if this function is called late (EVM only stores last 256 block hashes) if (block.number.sub(startingIndexBlock) > 255) { startingIndexBase = uint(blockhash(block.number - 1)) % TOTAL_TOKENS; } // Prevent default sequence if (startingIndexBase == 0) { startingIndexBase = startingIndexBase.add(1); } } // from BAYC startingIndex method // will be called after the startingIndexBlock is set and before reveal // used for level 1 tokens function setStartingIndexLimited() public { require(startingIndexLimited == 0, "Starting index is already set"); require(startingIndexBlock != 0, "Starting index block must be set"); startingIndexLimited = uint(blockhash(startingIndexBlock)) % _levelMaxes[1]; // Just a sanity case in the worst case if this function is called late (EVM only stores last 256 block hashes) if (block.number.sub(startingIndexBlock) > 255) { startingIndexLimited = uint(blockhash(block.number - 1)) % _levelMaxes[1]; } // Prevent default sequence if (startingIndexLimited == 0) { startingIndexLimited = startingIndexLimited.add(1); } } function price(uint256 level) external view returns (uint256) { return _levelPrices[level]; } function limitedEditionsMax() external view returns (uint256) { return _levelMaxes[1]; } function batchMax() external view returns (uint256) { return _batchMax; } function presaleMax() external view returns (uint256) { return _presaleMax; } function presaleActive() external view returns (bool) { return _presaleActive; } function saleActive() external view returns (bool) { return _saleActive; } function withdraw() public payable onlyOwner nonReentrant { (bool success, ) = payable(msg.sender).call{value: address(this).balance}(""); require(success, "Withdrawal failed"); } /** * @dev _purchaseMint * @param tokenId Token ID to mint * @param level The token level to mint */ function _purchaseMint(uint256 tokenId, uint256 level) internal { require(tokenId > 0, "tokenId out of range"); require(tokenId <= TOTAL_TOKENS, "tokenId out of range"); require(_msgSender() == AssociativeNFT.ownerOf(tokenId), "Only the X,Y Project token owner can mint this tokenId"); require(level >= 0 && level <= 1, "Level is out of range"); require(_levelBalances[level] < _levelMaxes[level], "No more tokens available at this level"); require(_levelPrices[level] <= msg.value, "Not enough ETH"); _safeMint(_msgSender(), tokenId); _levelBalances[level] = SafeMath.add(_levelBalances[level], 1); _tokenMap[tokenId] = SafeMath.add(_levelBaseIndexes[level], _levelBalances[level]); if (_presaleActive) { _presales[_msgSender()] = SafeMath.add(_presales[_msgSender()], 1); } } /** * @dev _batchPurchaseMint * @param tokenIds Token IDs to mint * @param level The token level to mint */ function _batchPurchaseMint(uint256[] memory tokenIds, uint256 level) internal { require(SafeMath.add(tokenIds.length, _levelBalances[level]) <= _levelMaxes[level], "Not enough tokens available at this level"); require(SafeMath.mul(tokenIds.length, _levelPrices[level]) <= msg.value, "Not enough ETH"); for (uint i = 0; i < tokenIds.length; i++) { _purchaseMint(tokenIds[i], level); } } // ERC721 Overrides /** * @dev _mint override to remove unneeded storage */ function _mint(address to, uint256 tokenId) internal override { require(to != address(0), "ERC721: mint to the zero address"); require(!_exists(tokenId), "ERC721: token already minted"); require(tokenId > 0, "tokenId out of range"); require(tokenId <= TOTAL_TOKENS, "tokenId out of range"); _beforeTokenTransfer(address(0), to, tokenId); //_balances[to] += 1; //_owners[tokenId] = to; emit Transfer(address(0), to, tokenId); _afterTokenTransfer(address(0), to, tokenId); } /** * @dev _exists override because we don't set _owners anymore */ function _exists(uint256 tokenId) internal view override returns (bool) { return _tokenMap[tokenId] != 0; } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"address","name":"xyAddress","type":"address"},{"internalType":"string","name":"baseTokenURI","type":"string"},{"internalType":"uint256","name":"limitedMax","type":"uint256"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"PROVENANCE","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"TOTAL_TOKENS","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"uint256","name":"","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"pure","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"associate","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":"batchMax","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"tokenIds","type":"uint256[]"},{"internalType":"uint256","name":"level","type":"uint256"}],"name":"batchMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"tokenIds","type":"uint256[]"},{"internalType":"uint256","name":"level","type":"uint256"},{"internalType":"bytes32[]","name":"proof","type":"bytes32[]"}],"name":"batchPresaleMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getLevel","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":"limitedEditionsMax","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"uint256","name":"level","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"presaleActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"presaleMax","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"uint256","name":"level","type":"uint256"},{"internalType":"bytes32[]","name":"proof","type":"bytes32[]"}],"name":"presaleMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"level","type":"uint256"}],"name":"price","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"address","name":"","type":"address"},{"internalType":"uint256","name":"","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"pure","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"address","name":"","type":"address"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"bytes","name":"","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"pure","type":"function"},{"inputs":[],"name":"saleActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"bool","name":"","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"pure","type":"function"},{"inputs":[{"internalType":"string","name":"newBaseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"newRoot","type":"bytes32"}],"name":"setMerkleRoot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"provenanceHash","type":"string"}],"name":"setProvenanceHash","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"setStartingIndexBase","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"setStartingIndexBlock","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"setStartingIndexLimited","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newPresaleMax","type":"uint256"},{"internalType":"uint256","name":"newBatchMax","type":"uint256"},{"internalType":"uint256","name":"basePrice","type":"uint256"},{"internalType":"uint256","name":"limitedPrice","type":"uint256"},{"internalType":"bool","name":"presale","type":"bool"}],"name":"startSale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"startingIndexBase","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"startingIndexBlock","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"startingIndexLimited","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"stopSale","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":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"address","name":"","type":"address"},{"internalType":"uint256","name":"","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"pure","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"payable","type":"function"}]
Contract Creation Code
60a060405260006080908152600a906200001a9082620002a9565b50600a60168190556017556018805461ffff191690553480156200003d57600080fd5b5060405162002c0a38038062002c0a833981016040819052620000609162000375565b60405180604001604052806009815260200168160b164815dbdc9b1960ba1b8152506040518060400160405280600381526020016258595760e81b8152508482828160009081620000b29190620002a9565b506001620000c18282620002a9565b5050600160065550600780546001600160a01b0319166001600160a01b039290921691909117905550620000fe9050620000f83390565b620001b2565b6140007ff4803e074bd026baaf6ed2e288c9515f68c72fb7216eebdd7cae1718a53ec3758190557f169f97de0d9a84d840042b17d3c6b9638b3d6fd9024c9eb0c7a306a17b49f88f829055601060205260007f6e0956cda88cad152e89927e53611735b61a5c762d1428573c6931b0a5efcb01819055600190527f8c6065603763fec3f5742441d3833f3f43b982453612d76adb39a885e3006b5f556014620001a88382620002a9565b5050505062000474565b600980546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b634e487b7160e01b600052604160045260246000fd5b600181811c908216806200022f57607f821691505b6020821081036200025057634e487b7160e01b600052602260045260246000fd5b50919050565b601f821115620002a457600081815260208120601f850160051c810160208610156200027f5750805b601f850160051c820191505b81811015620002a0578281556001016200028b565b5050505b505050565b81516001600160401b03811115620002c557620002c562000204565b620002dd81620002d684546200021a565b8462000256565b602080601f831160018114620003155760008415620002fc5750858301515b600019600386901b1c1916600185901b178555620002a0565b600085815260208120601f198616915b82811015620003465788860151825594840194600190910190840162000325565b5085821015620003655787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b6000806000606084860312156200038b57600080fd5b83516001600160a01b0381168114620003a357600080fd5b602085810151919450906001600160401b0380821115620003c357600080fd5b818701915087601f830112620003d857600080fd5b815181811115620003ed57620003ed62000204565b604051601f8201601f19908116603f0116810190838211818310171562000418576200041862000204565b816040528281528a868487010111156200043157600080fd5b600093505b8284101562000455578484018601518185018701529285019262000436565b6000868483010152809750505050505050604084015190509250925092565b61278680620004846000396000f3fe6080604052600436106101e15760003560e01c806301ffc9a7146101e657806306fdde031461021b578063081812fc1461023d578063095ea7b31461026a57806309fb343b1461028c5780630b7abf77146102c257806310969523146102d85780631a6e421c146102f85780631b2ef1ca1461030d5780631b59169d1461032057806323b872dd1461033357806326a49e371461034e578063297b56b21461037b5780633ccfd60b1461039b57806342842e0e1461033357806353135ca0146103a357806355f804b3146103bb578063589e47dc146103db5780636352211e146103f05780636373a6b11461041057806368428a1b1461042557806370a0823114610442578063715018a614610462578063739a50ab14610477578063789e3a551461048c5780637cb64759146104ac57806386481d40146104cc578063866192d2146104ec5780638da5cb5b146104ff57806395d89b411461051457806399fc741514610529578063a22cb4651461053f578063b88d4fde1461055a578063c563ff5214610575578063c87b56dd14610588578063d5dc3efd146105a8578063e36b0b37146105bd578063e36d6498146105d2578063e985e9c5146105e8578063f2fde38b14610631578063f34acb7c14610651578063ff0aeeda14610666575b600080fd5b3480156101f257600080fd5b50610206610201366004611cb6565b61067c565b60405190151581526020015b60405180910390f35b34801561022757600080fd5b506102306106ce565b6040516102129190611d23565b34801561024957600080fd5b5061025d610258366004611d36565b610760565b6040516102129190611d4f565b34801561027657600080fd5b5061028a610285366004611d78565b610787565b005b34801561029857600080fd5b506001600052600f602052600080516020612731833981519152545b604051908152602001610212565b3480156102ce57600080fd5b506102b461400081565b3480156102e457600080fd5b5061028a6102f3366004611e2f565b6107e4565b34801561030457600080fd5b5061028a6107f8565b61028a61031b366004611e77565b6108d0565b61028a61032e366004611ee4565b610954565b34801561033f57600080fd5b5061028a610285366004611f36565b34801561035a57600080fd5b506102b4610369366004611d36565b60009081526011602052604090205490565b34801561038757600080fd5b5061028a610396366004611d36565b610ac2565b61028a610baf565b3480156103af57600080fd5b5060185460ff16610206565b3480156103c757600080fd5b5061028a6103d6366004611e2f565b610c72565b3480156103e757600080fd5b506016546102b4565b3480156103fc57600080fd5b5061025d61040b366004611d36565b610c86565b34801561041c57600080fd5b50610230610cf4565b34801561043157600080fd5b50601854610100900460ff16610206565b34801561044e57600080fd5b506102b461045d366004611f77565b610d82565b34801561046e57600080fd5b5061028a610df4565b34801561048357600080fd5b5061028a610e06565b34801561049857600080fd5b5061028a6104a7366004611fa4565b610ead565b3480156104b857600080fd5b5061028a6104c7366004611d36565b610f29565b3480156104d857600080fd5b506102b46104e7366004611d36565b610f36565b61028a6104fa366004611fed565b610f8d565b34801561050b57600080fd5b5061025d611119565b34801561052057600080fd5b50610230611128565b34801561053557600080fd5b506102b4600d5481565b34801561054b57600080fd5b5061028a610285366004612066565b34801561056657600080fd5b5061028a61028536600461209b565b61028a61058336600461211a565b611137565b34801561059457600080fd5b506102306105a3366004611d36565b61122f565b3480156105b457600080fd5b5061028a6112a6565b3480156105c957600080fd5b5061028a61136d565b3480156105de57600080fd5b506102b4600b5481565b3480156105f457600080fd5b50610206610603366004612165565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b34801561063d57600080fd5b5061028a61064c366004611f77565b611382565b34801561065d57600080fd5b506017546102b4565b34801561067257600080fd5b506102b4600c5481565b60006001600160e01b031982166380ac58cd60e01b14806106ad57506001600160e01b03198216635b5e139f60e01b145b806106c857506301ffc9a760e01b6001600160e01b03198316145b92915050565b6060600080546106dd9061219e565b80601f01602080910402602001604051908101604052809291908181526020018280546107099061219e565b80156107565780601f1061072b57610100808354040283529160200191610756565b820191906000526020600020905b81548152906001019060200180831161073957829003601f168201915b5050505050905090565b600061076b826113fb565b506000908152600460205260409020546001600160a01b031690565b60405162461bcd60e51b815260206004820152602360248201527f4173736f63696174697665204e4654206973206e6f6e2d7472616e7366657261604482015262626c6560e81b60648201526084015b60405180910390fd5b5050565b6107ec611451565b600a6107e08282612226565b600d54156108185760405162461bcd60e51b81526004016107d7906122e5565b600b5460000361083a5760405162461bcd60e51b81526004016107d79061231c565b6001600052600f60205260008051602061273183398151915254600b54610862919040612367565b600d55600b5460ff906108769043906114b0565b11156108b25760016000819052600f60205260008051602061273183398151915254906108a39043612391565b6108ae919040612367565b600d555b600d546000036108ce57600d546108ca9060016114bc565b600d555b565b6002600654036108f25760405162461bcd60e51b81526004016107d7906123a4565b600260065560185460ff161561091a5760405162461bcd60e51b81526004016107d7906123db565b601854610100900460ff166109415760405162461bcd60e51b81526004016107d790612403565b61094b82826114c8565b50506001600655565b6002600654036109765760405162461bcd60e51b81526004016107d7906123a4565b600260065560185460ff1661099d5760405162461bcd60e51b81526004016107d79061242c565b6015546000036109bf5760405162461bcd60e51b81526004016107d790612458565b6017546109f360136000335b6001600160a01b03166001600160a01b031681526020019081526020016000205460016114bc565b1115610a115760405162461bcd60e51b81526004016107d790612483565b610a8c8282808060200260200160405190810160405280939291908181526020018383602002808284376000920191909152505060155491503390505b604051602001610a71919060609190911b6001600160601b031916815260140190565b60405160208183030381529060405280519060200120611706565b610aa85760405162461bcd60e51b81526004016107d7906124b8565b610ab284846114c8565b505060016006555050565b505050565b600260065403610ae45760405162461bcd60e51b81526004016107d7906123a4565b60026006556000818152600860205260408120546001600160a01b031690610b0b83610c86565b9050806001600160a01b0316826001600160a01b031603610b605760405162461bcd60e51b815260206004820152600f60248201526e416c726561647920696e2073796e6360881b60448201526064016107d7565b60008381526008602052604080822080546001600160a01b0319166001600160a01b03858116918217909255915186939186169160008051602061271183398151915291a45050600160065550565b610bb7611451565b600260065403610bd95760405162461bcd60e51b81526004016107d7906123a4565b6002600655604051600090339047908381818185875af1925050503d8060008114610c20576040519150601f19603f3d011682016040523d82523d6000602084013e610c25565b606091505b5050905080610c6a5760405162461bcd60e51b815260206004820152601160248201527015da5d1a191c985dd85b0819985a5b1959607a1b60448201526064016107d7565b506001600655565b610c7a611451565b60146107e08282612226565b6007546040516331a9108f60e11b8152600481018390526000916001600160a01b031690636352211e90602401602060405180830381865afa158015610cd0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106c891906124e1565b600a8054610d019061219e565b80601f0160208091040260200160405190810160405280929190818152602001828054610d2d9061219e565b8015610d7a5780601f10610d4f57610100808354040283529160200191610d7a565b820191906000526020600020905b815481529060010190602001808311610d5d57829003601f168201915b505050505081565b6007546040516370a0823160e01b81526000916001600160a01b0316906370a0823190610db3908590600401611d4f565b602060405180830381865afa158015610dd0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106c891906124fe565b610dfc611451565b6108ce600061171c565b600c5415610e265760405162461bcd60e51b81526004016107d7906122e5565b600b54600003610e485760405162461bcd60e51b81526004016107d79061231c565b600b54610e59906140009040612367565b600c55600b5460ff90610e6d9043906114b0565b1115610e9057614000610e81600143612391565b610e8c919040612367565b600c555b600c546000036108ce57600c54610ea89060016114bc565b600c55565b610eb5611451565b6018805491151561ffff199092169190911761010017905560179390935560169190915560116020527f4ad3b33220dddc71b994a52d72c06b10862965f7d926534c05c00fb7e819e7b75560016000527f17bc176d2408558f6e4111feebc3cab4e16b63e967be91cde721f4c8a488b55255565b610f31611451565b601555565b6000610f41826113fb565b7f8c6065603763fec3f5742441d3833f3f43b982453612d76adb39a885e3006b5f546000838152601260205260409020541115610f8057506001919050565b506000919050565b919050565b600260065403610faf5760405162461bcd60e51b81526004016107d7906123a4565b600260065560185460ff16610fd65760405162461bcd60e51b81526004016107d79061242c565b601554600003610ff85760405162461bcd60e51b81526004016107d790612458565b836110155760405162461bcd60e51b81526004016107d790612517565b6016548411156110375760405162461bcd60e51b81526004016107d790612545565b6017543360009081526013602052604090205461105490866114bc565b11156110725760405162461bcd60e51b81526004016107d790612483565b6110b3828280806020026020016040519081016040528093929190818152602001838360200280828437600092019190915250506015549150339050610a4e565b6110cf5760405162461bcd60e51b81526004016107d7906124b8565b61110d85858080602002602001604051908101604052809392919081815260200183836020028082843760009201919091525087925061176e915050565b50506001600655505050565b6009546001600160a01b031690565b6060600180546106dd9061219e565b6002600654036111595760405162461bcd60e51b81526004016107d7906123a4565b600260065560185460ff16156111815760405162461bcd60e51b81526004016107d7906123db565b601854610100900460ff166111a85760405162461bcd60e51b81526004016107d790612403565b816111c55760405162461bcd60e51b81526004016107d790612517565b6016548211156111e75760405162461bcd60e51b81526004016107d790612545565b61122583838080602002602001604051908101604052809392919081815260200183836020028082843760009201919091525085925061176e915050565b5050600160065550565b606061123a826113fb565b600061124461186f565b90506000815111611264576040518060200160405280600081525061129f565b600083815260126020526040902054819061127e9061187e565b60405160200161128f929190612572565b6040516020818303038152906040525b9392505050565b6112ae611451565b600d541561130c5760405162461bcd60e51b815260206004820152602560248201527f5374617274696e6720696e646578206c696d6974656420697320616c726561646044820152641e481cd95d60da1b60648201526084016107d7565b600c54156113675760405162461bcd60e51b815260206004820152602260248201527f5374617274696e6720696e646578206261736520697320616c72656164792073604482015261195d60f21b60648201526084016107d7565b43600b55565b611375611451565b6018805461ffff19169055565b61138a611451565b6001600160a01b0381166113ef5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016107d7565b6113f88161171c565b50565b6000818152601260205260409020546113f85760405162461bcd60e51b8152602060048201526018602482015277115490cdcc8c4e881a5b9d985b1a59081d1bdad95b88125160421b60448201526064016107d7565b3361145a611119565b6001600160a01b0316146108ce5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016107d7565b600061129f8284612391565b600061129f82846125a1565b600082116114e85760405162461bcd60e51b81526004016107d7906125b4565b61400082111561150a5760405162461bcd60e51b81526004016107d7906125b4565b61151382610c86565b6001600160a01b0316336001600160a01b0316146115925760405162461bcd60e51b815260206004820152603660248201527f4f6e6c792074686520582c592050726f6a65637420746f6b656e206f776e65726044820152750818d85b881b5a5b9d081d1a1a5cc81d1bdad95b925960521b60648201526084016107d7565b60018111156115db5760405162461bcd60e51b81526020600482015260156024820152744c6576656c206973206f7574206f662072616e676560581b60448201526064016107d7565b6000818152600f6020908152604080832054600e90925290912054106116525760405162461bcd60e51b815260206004820152602660248201527f4e6f206d6f726520746f6b656e7320617661696c61626c652061742074686973604482015265081b195d995b60d21b60648201526084016107d7565b6000818152601160205260409020543410156116805760405162461bcd60e51b81526004016107d7906125e2565b61168a3383611986565b6000818152600e60205260409020546116a49060016114bc565b6000828152600e60208181526040808420859055601082529092205491526116cb916114bc565b60008381526012602052604090205560185460ff16156107e0576116f260136000336109cb565b336000908152601360205260409020555050565b60008261171385846119a0565b14949350505050565b600980546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6000818152600f60209081526040808320548551600e90935292205461179491906114bc565b11156117f45760405162461bcd60e51b815260206004820152602960248201527f4e6f7420656e6f75676820746f6b656e7320617661696c61626c6520617420746044820152681a1a5cc81b195d995b60ba1b60648201526084016107d7565b81516000828152601160205260409020543491611810916119ed565b111561182e5760405162461bcd60e51b81526004016107d7906125e2565b60005b8251811015610abd5761185d83828151811061184f5761184f61260a565b6020026020010151836114c8565b8061186781612620565b915050611831565b6060601480546106dd9061219e565b6060816000036118a55750506040805180820190915260018152600360fc1b602082015290565b8160005b81156118cf57806118b981612620565b91506118c89050600a83612639565b91506118a9565b6000816001600160401b038111156118e9576118e9611da4565b6040519080825280601f01601f191660200182016040528015611913576020820181803683370190505b5090505b841561197e57611928600183612391565b9150611935600a86612367565b6119409060306125a1565b60f81b8183815181106119555761195561260a565b60200101906001600160f81b031916908160001a905350611977600a86612639565b9450611917565b949350505050565b6107e08282604051806020016040528060008152506119f9565b600081815b84518110156119e5576119d1828683815181106119c4576119c461260a565b6020026020010151611a2c565b9150806119dd81612620565b9150506119a5565b509392505050565b600061129f828461264d565b611a038383611a5b565b611a106000848484611b9f565b610abd5760405162461bcd60e51b81526004016107d790612664565b6000818310611a4857600082815260208490526040902061129f565b600083815260208390526040902061129f565b6001600160a01b038216611ab15760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f206164647265737360448201526064016107d7565b60008181526012602052604090205415611b0c5760405162461bcd60e51b815260206004820152601c60248201527b115490cdcc8c4e881d1bdad95b88185b1c9958591e481b5a5b9d195960221b60448201526064016107d7565b60008111611b2c5760405162461bcd60e51b81526004016107d7906125b4565b614000811115611b4e5760405162461bcd60e51b81526004016107d7906125b4565b60405181906001600160a01b03841690600090600080516020612711833981519152908290a4600081815260086020526040902080546001600160a01b0319166001600160a01b0384161790555050565b60006001600160a01b0384163b15611c9557604051630a85bd0160e11b81526001600160a01b0385169063150b7a0290611be39033908990889088906004016126b6565b6020604051808303816000875af1925050508015611c1e575060408051601f3d908101601f19168201909252611c1b918101906126f3565b60015b611c7b573d808015611c4c576040519150601f19603f3d011682016040523d82523d6000602084013e611c51565b606091505b508051600003611c735760405162461bcd60e51b81526004016107d790612664565b805181602001fd5b6001600160e01b031916630a85bd0160e11b14905061197e565b506001949350505050565b6001600160e01b0319811681146113f857600080fd5b600060208284031215611cc857600080fd5b813561129f81611ca0565b60005b83811015611cee578181015183820152602001611cd6565b50506000910152565b60008151808452611d0f816020860160208601611cd3565b601f01601f19169290920160200192915050565b60208152600061129f6020830184611cf7565b600060208284031215611d4857600080fd5b5035919050565b6001600160a01b0391909116815260200190565b6001600160a01b03811681146113f857600080fd5b60008060408385031215611d8b57600080fd5b8235611d9681611d63565b946020939093013593505050565b634e487b7160e01b600052604160045260246000fd5b60006001600160401b0380841115611dd457611dd4611da4565b604051601f8501601f19908116603f01168101908282118183101715611dfc57611dfc611da4565b81604052809350858152868686011115611e1557600080fd5b858560208301376000602087830101525050509392505050565b600060208284031215611e4157600080fd5b81356001600160401b03811115611e5757600080fd5b8201601f81018413611e6857600080fd5b61197e84823560208401611dba565b60008060408385031215611e8a57600080fd5b50508035926020909101359150565b60008083601f840112611eab57600080fd5b5081356001600160401b03811115611ec257600080fd5b6020830191508360208260051b8501011115611edd57600080fd5b9250929050565b60008060008060608587031215611efa57600080fd5b843593506020850135925060408501356001600160401b03811115611f1e57600080fd5b611f2a87828801611e99565b95989497509550505050565b600080600060608486031215611f4b57600080fd5b8335611f5681611d63565b92506020840135611f6681611d63565b929592945050506040919091013590565b600060208284031215611f8957600080fd5b813561129f81611d63565b80358015158114610f8857600080fd5b600080600080600060a08688031215611fbc57600080fd5b85359450602086013593506040860135925060608601359150611fe160808701611f94565b90509295509295909350565b60008060008060006060868803121561200557600080fd5b85356001600160401b038082111561201c57600080fd5b61202889838a01611e99565b909750955060208801359450604088013591508082111561204857600080fd5b5061205588828901611e99565b969995985093965092949392505050565b6000806040838503121561207957600080fd5b823561208481611d63565b915061209260208401611f94565b90509250929050565b600080600080608085870312156120b157600080fd5b84356120bc81611d63565b935060208501356120cc81611d63565b92506040850135915060608501356001600160401b038111156120ee57600080fd5b8501601f810187136120ff57600080fd5b61210e87823560208401611dba565b91505092959194509250565b60008060006040848603121561212f57600080fd5b83356001600160401b0381111561214557600080fd5b61215186828701611e99565b909790965060209590950135949350505050565b6000806040838503121561217857600080fd5b823561218381611d63565b9150602083013561219381611d63565b809150509250929050565b600181811c908216806121b257607f821691505b6020821081036121d257634e487b7160e01b600052602260045260246000fd5b50919050565b601f821115610abd57600081815260208120601f850160051c810160208610156121ff5750805b601f850160051c820191505b8181101561221e5782815560010161220b565b505050505050565b81516001600160401b0381111561223f5761223f611da4565b6122538161224d845461219e565b846121d8565b602080601f83116001811461228857600084156122705750858301515b600019600386901b1c1916600185901b17855561221e565b600085815260208120601f198616915b828110156122b757888601518255948401946001909101908401612298565b50858210156122d55787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b6020808252601d908201527f5374617274696e6720696e64657820697320616c726561647920736574000000604082015260600190565b6020808252818101527f5374617274696e6720696e64657820626c6f636b206d75737420626520736574604082015260600190565b634e487b7160e01b600052601260045260246000fd5b60008261237657612376612351565b500690565b634e487b7160e01b600052601160045260246000fd5b818103818111156106c8576106c861237b565b6020808252601f908201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604082015260600190565b6020808252600e908201526d50726573616c652061637469766560901b604082015260600190565b6020808252600f908201526e53616c65206e6f742061637469766560881b604082015260600190565b60208082526012908201527150726573616c65206e6f742061637469766560701b604082015260600190565b602080825260119082015270105b1b1bdddb1a5cdd081b9bdd081cd95d607a1b604082015260600190565b6020808252601b908201527a141c995cd85b19481d1bdad95b881b1a5b5a5d081c995858da1959602a1b604082015260600190565b6020808252600f908201526e141c995cd85b19481a5b9d985b1a59608a1b604082015260600190565b6000602082840312156124f357600080fd5b815161129f81611d63565b60006020828403121561251057600080fd5b5051919050565b6020808252601490820152734d757374206d696e74206174206c65617374203160601b604082015260600190565b60208082526013908201527210985d18da081b1a5b5a5d081c995858da1959606a1b604082015260600190565b60008351612584818460208801611cd3565b835190830190612598818360208801611cd3565b01949350505050565b808201808211156106c8576106c861237b565b602080825260149082015273746f6b656e4964206f7574206f662072616e676560601b604082015260600190565b6020808252600e908201526d09cdee840cadcdeeaced0408aa8960931b604082015260600190565b634e487b7160e01b600052603260045260246000fd5b6000600182016126325761263261237b565b5060010190565b60008261264857612648612351565b500490565b80820281158282048414176106c8576106c861237b565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b6001600160a01b03858116825284166020820152604081018390526080606082018190526000906126e990830184611cf7565b9695505050505050565b60006020828403121561270557600080fd5b815161129f81611ca056feddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef169f97de0d9a84d840042b17d3c6b9638b3d6fd9024c9eb0c7a306a17b49f88fa26469706673582212208766321c0ad3de3e358ff8daaeaa2a3f3a90e214583ebd0a160af1b8bbfabf8364736f6c634300081100330000000000000000000000003ca53be299c765cdc66cc1723f8b3eefb3aaa413000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000009c4000000000000000000000000000000000000000000000000000000000000001f68747470733a2f2f6170692e787970726f6a6563742e696f2f776f726c642f00
Deployed Bytecode
0x6080604052600436106101e15760003560e01c806301ffc9a7146101e657806306fdde031461021b578063081812fc1461023d578063095ea7b31461026a57806309fb343b1461028c5780630b7abf77146102c257806310969523146102d85780631a6e421c146102f85780631b2ef1ca1461030d5780631b59169d1461032057806323b872dd1461033357806326a49e371461034e578063297b56b21461037b5780633ccfd60b1461039b57806342842e0e1461033357806353135ca0146103a357806355f804b3146103bb578063589e47dc146103db5780636352211e146103f05780636373a6b11461041057806368428a1b1461042557806370a0823114610442578063715018a614610462578063739a50ab14610477578063789e3a551461048c5780637cb64759146104ac57806386481d40146104cc578063866192d2146104ec5780638da5cb5b146104ff57806395d89b411461051457806399fc741514610529578063a22cb4651461053f578063b88d4fde1461055a578063c563ff5214610575578063c87b56dd14610588578063d5dc3efd146105a8578063e36b0b37146105bd578063e36d6498146105d2578063e985e9c5146105e8578063f2fde38b14610631578063f34acb7c14610651578063ff0aeeda14610666575b600080fd5b3480156101f257600080fd5b50610206610201366004611cb6565b61067c565b60405190151581526020015b60405180910390f35b34801561022757600080fd5b506102306106ce565b6040516102129190611d23565b34801561024957600080fd5b5061025d610258366004611d36565b610760565b6040516102129190611d4f565b34801561027657600080fd5b5061028a610285366004611d78565b610787565b005b34801561029857600080fd5b506001600052600f602052600080516020612731833981519152545b604051908152602001610212565b3480156102ce57600080fd5b506102b461400081565b3480156102e457600080fd5b5061028a6102f3366004611e2f565b6107e4565b34801561030457600080fd5b5061028a6107f8565b61028a61031b366004611e77565b6108d0565b61028a61032e366004611ee4565b610954565b34801561033f57600080fd5b5061028a610285366004611f36565b34801561035a57600080fd5b506102b4610369366004611d36565b60009081526011602052604090205490565b34801561038757600080fd5b5061028a610396366004611d36565b610ac2565b61028a610baf565b3480156103af57600080fd5b5060185460ff16610206565b3480156103c757600080fd5b5061028a6103d6366004611e2f565b610c72565b3480156103e757600080fd5b506016546102b4565b3480156103fc57600080fd5b5061025d61040b366004611d36565b610c86565b34801561041c57600080fd5b50610230610cf4565b34801561043157600080fd5b50601854610100900460ff16610206565b34801561044e57600080fd5b506102b461045d366004611f77565b610d82565b34801561046e57600080fd5b5061028a610df4565b34801561048357600080fd5b5061028a610e06565b34801561049857600080fd5b5061028a6104a7366004611fa4565b610ead565b3480156104b857600080fd5b5061028a6104c7366004611d36565b610f29565b3480156104d857600080fd5b506102b46104e7366004611d36565b610f36565b61028a6104fa366004611fed565b610f8d565b34801561050b57600080fd5b5061025d611119565b34801561052057600080fd5b50610230611128565b34801561053557600080fd5b506102b4600d5481565b34801561054b57600080fd5b5061028a610285366004612066565b34801561056657600080fd5b5061028a61028536600461209b565b61028a61058336600461211a565b611137565b34801561059457600080fd5b506102306105a3366004611d36565b61122f565b3480156105b457600080fd5b5061028a6112a6565b3480156105c957600080fd5b5061028a61136d565b3480156105de57600080fd5b506102b4600b5481565b3480156105f457600080fd5b50610206610603366004612165565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b34801561063d57600080fd5b5061028a61064c366004611f77565b611382565b34801561065d57600080fd5b506017546102b4565b34801561067257600080fd5b506102b4600c5481565b60006001600160e01b031982166380ac58cd60e01b14806106ad57506001600160e01b03198216635b5e139f60e01b145b806106c857506301ffc9a760e01b6001600160e01b03198316145b92915050565b6060600080546106dd9061219e565b80601f01602080910402602001604051908101604052809291908181526020018280546107099061219e565b80156107565780601f1061072b57610100808354040283529160200191610756565b820191906000526020600020905b81548152906001019060200180831161073957829003601f168201915b5050505050905090565b600061076b826113fb565b506000908152600460205260409020546001600160a01b031690565b60405162461bcd60e51b815260206004820152602360248201527f4173736f63696174697665204e4654206973206e6f6e2d7472616e7366657261604482015262626c6560e81b60648201526084015b60405180910390fd5b5050565b6107ec611451565b600a6107e08282612226565b600d54156108185760405162461bcd60e51b81526004016107d7906122e5565b600b5460000361083a5760405162461bcd60e51b81526004016107d79061231c565b6001600052600f60205260008051602061273183398151915254600b54610862919040612367565b600d55600b5460ff906108769043906114b0565b11156108b25760016000819052600f60205260008051602061273183398151915254906108a39043612391565b6108ae919040612367565b600d555b600d546000036108ce57600d546108ca9060016114bc565b600d555b565b6002600654036108f25760405162461bcd60e51b81526004016107d7906123a4565b600260065560185460ff161561091a5760405162461bcd60e51b81526004016107d7906123db565b601854610100900460ff166109415760405162461bcd60e51b81526004016107d790612403565b61094b82826114c8565b50506001600655565b6002600654036109765760405162461bcd60e51b81526004016107d7906123a4565b600260065560185460ff1661099d5760405162461bcd60e51b81526004016107d79061242c565b6015546000036109bf5760405162461bcd60e51b81526004016107d790612458565b6017546109f360136000335b6001600160a01b03166001600160a01b031681526020019081526020016000205460016114bc565b1115610a115760405162461bcd60e51b81526004016107d790612483565b610a8c8282808060200260200160405190810160405280939291908181526020018383602002808284376000920191909152505060155491503390505b604051602001610a71919060609190911b6001600160601b031916815260140190565b60405160208183030381529060405280519060200120611706565b610aa85760405162461bcd60e51b81526004016107d7906124b8565b610ab284846114c8565b505060016006555050565b505050565b600260065403610ae45760405162461bcd60e51b81526004016107d7906123a4565b60026006556000818152600860205260408120546001600160a01b031690610b0b83610c86565b9050806001600160a01b0316826001600160a01b031603610b605760405162461bcd60e51b815260206004820152600f60248201526e416c726561647920696e2073796e6360881b60448201526064016107d7565b60008381526008602052604080822080546001600160a01b0319166001600160a01b03858116918217909255915186939186169160008051602061271183398151915291a45050600160065550565b610bb7611451565b600260065403610bd95760405162461bcd60e51b81526004016107d7906123a4565b6002600655604051600090339047908381818185875af1925050503d8060008114610c20576040519150601f19603f3d011682016040523d82523d6000602084013e610c25565b606091505b5050905080610c6a5760405162461bcd60e51b815260206004820152601160248201527015da5d1a191c985dd85b0819985a5b1959607a1b60448201526064016107d7565b506001600655565b610c7a611451565b60146107e08282612226565b6007546040516331a9108f60e11b8152600481018390526000916001600160a01b031690636352211e90602401602060405180830381865afa158015610cd0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106c891906124e1565b600a8054610d019061219e565b80601f0160208091040260200160405190810160405280929190818152602001828054610d2d9061219e565b8015610d7a5780601f10610d4f57610100808354040283529160200191610d7a565b820191906000526020600020905b815481529060010190602001808311610d5d57829003601f168201915b505050505081565b6007546040516370a0823160e01b81526000916001600160a01b0316906370a0823190610db3908590600401611d4f565b602060405180830381865afa158015610dd0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106c891906124fe565b610dfc611451565b6108ce600061171c565b600c5415610e265760405162461bcd60e51b81526004016107d7906122e5565b600b54600003610e485760405162461bcd60e51b81526004016107d79061231c565b600b54610e59906140009040612367565b600c55600b5460ff90610e6d9043906114b0565b1115610e9057614000610e81600143612391565b610e8c919040612367565b600c555b600c546000036108ce57600c54610ea89060016114bc565b600c55565b610eb5611451565b6018805491151561ffff199092169190911761010017905560179390935560169190915560116020527f4ad3b33220dddc71b994a52d72c06b10862965f7d926534c05c00fb7e819e7b75560016000527f17bc176d2408558f6e4111feebc3cab4e16b63e967be91cde721f4c8a488b55255565b610f31611451565b601555565b6000610f41826113fb565b7f8c6065603763fec3f5742441d3833f3f43b982453612d76adb39a885e3006b5f546000838152601260205260409020541115610f8057506001919050565b506000919050565b919050565b600260065403610faf5760405162461bcd60e51b81526004016107d7906123a4565b600260065560185460ff16610fd65760405162461bcd60e51b81526004016107d79061242c565b601554600003610ff85760405162461bcd60e51b81526004016107d790612458565b836110155760405162461bcd60e51b81526004016107d790612517565b6016548411156110375760405162461bcd60e51b81526004016107d790612545565b6017543360009081526013602052604090205461105490866114bc565b11156110725760405162461bcd60e51b81526004016107d790612483565b6110b3828280806020026020016040519081016040528093929190818152602001838360200280828437600092019190915250506015549150339050610a4e565b6110cf5760405162461bcd60e51b81526004016107d7906124b8565b61110d85858080602002602001604051908101604052809392919081815260200183836020028082843760009201919091525087925061176e915050565b50506001600655505050565b6009546001600160a01b031690565b6060600180546106dd9061219e565b6002600654036111595760405162461bcd60e51b81526004016107d7906123a4565b600260065560185460ff16156111815760405162461bcd60e51b81526004016107d7906123db565b601854610100900460ff166111a85760405162461bcd60e51b81526004016107d790612403565b816111c55760405162461bcd60e51b81526004016107d790612517565b6016548211156111e75760405162461bcd60e51b81526004016107d790612545565b61122583838080602002602001604051908101604052809392919081815260200183836020028082843760009201919091525085925061176e915050565b5050600160065550565b606061123a826113fb565b600061124461186f565b90506000815111611264576040518060200160405280600081525061129f565b600083815260126020526040902054819061127e9061187e565b60405160200161128f929190612572565b6040516020818303038152906040525b9392505050565b6112ae611451565b600d541561130c5760405162461bcd60e51b815260206004820152602560248201527f5374617274696e6720696e646578206c696d6974656420697320616c726561646044820152641e481cd95d60da1b60648201526084016107d7565b600c54156113675760405162461bcd60e51b815260206004820152602260248201527f5374617274696e6720696e646578206261736520697320616c72656164792073604482015261195d60f21b60648201526084016107d7565b43600b55565b611375611451565b6018805461ffff19169055565b61138a611451565b6001600160a01b0381166113ef5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016107d7565b6113f88161171c565b50565b6000818152601260205260409020546113f85760405162461bcd60e51b8152602060048201526018602482015277115490cdcc8c4e881a5b9d985b1a59081d1bdad95b88125160421b60448201526064016107d7565b3361145a611119565b6001600160a01b0316146108ce5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016107d7565b600061129f8284612391565b600061129f82846125a1565b600082116114e85760405162461bcd60e51b81526004016107d7906125b4565b61400082111561150a5760405162461bcd60e51b81526004016107d7906125b4565b61151382610c86565b6001600160a01b0316336001600160a01b0316146115925760405162461bcd60e51b815260206004820152603660248201527f4f6e6c792074686520582c592050726f6a65637420746f6b656e206f776e65726044820152750818d85b881b5a5b9d081d1a1a5cc81d1bdad95b925960521b60648201526084016107d7565b60018111156115db5760405162461bcd60e51b81526020600482015260156024820152744c6576656c206973206f7574206f662072616e676560581b60448201526064016107d7565b6000818152600f6020908152604080832054600e90925290912054106116525760405162461bcd60e51b815260206004820152602660248201527f4e6f206d6f726520746f6b656e7320617661696c61626c652061742074686973604482015265081b195d995b60d21b60648201526084016107d7565b6000818152601160205260409020543410156116805760405162461bcd60e51b81526004016107d7906125e2565b61168a3383611986565b6000818152600e60205260409020546116a49060016114bc565b6000828152600e60208181526040808420859055601082529092205491526116cb916114bc565b60008381526012602052604090205560185460ff16156107e0576116f260136000336109cb565b336000908152601360205260409020555050565b60008261171385846119a0565b14949350505050565b600980546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6000818152600f60209081526040808320548551600e90935292205461179491906114bc565b11156117f45760405162461bcd60e51b815260206004820152602960248201527f4e6f7420656e6f75676820746f6b656e7320617661696c61626c6520617420746044820152681a1a5cc81b195d995b60ba1b60648201526084016107d7565b81516000828152601160205260409020543491611810916119ed565b111561182e5760405162461bcd60e51b81526004016107d7906125e2565b60005b8251811015610abd5761185d83828151811061184f5761184f61260a565b6020026020010151836114c8565b8061186781612620565b915050611831565b6060601480546106dd9061219e565b6060816000036118a55750506040805180820190915260018152600360fc1b602082015290565b8160005b81156118cf57806118b981612620565b91506118c89050600a83612639565b91506118a9565b6000816001600160401b038111156118e9576118e9611da4565b6040519080825280601f01601f191660200182016040528015611913576020820181803683370190505b5090505b841561197e57611928600183612391565b9150611935600a86612367565b6119409060306125a1565b60f81b8183815181106119555761195561260a565b60200101906001600160f81b031916908160001a905350611977600a86612639565b9450611917565b949350505050565b6107e08282604051806020016040528060008152506119f9565b600081815b84518110156119e5576119d1828683815181106119c4576119c461260a565b6020026020010151611a2c565b9150806119dd81612620565b9150506119a5565b509392505050565b600061129f828461264d565b611a038383611a5b565b611a106000848484611b9f565b610abd5760405162461bcd60e51b81526004016107d790612664565b6000818310611a4857600082815260208490526040902061129f565b600083815260208390526040902061129f565b6001600160a01b038216611ab15760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f206164647265737360448201526064016107d7565b60008181526012602052604090205415611b0c5760405162461bcd60e51b815260206004820152601c60248201527b115490cdcc8c4e881d1bdad95b88185b1c9958591e481b5a5b9d195960221b60448201526064016107d7565b60008111611b2c5760405162461bcd60e51b81526004016107d7906125b4565b614000811115611b4e5760405162461bcd60e51b81526004016107d7906125b4565b60405181906001600160a01b03841690600090600080516020612711833981519152908290a4600081815260086020526040902080546001600160a01b0319166001600160a01b0384161790555050565b60006001600160a01b0384163b15611c9557604051630a85bd0160e11b81526001600160a01b0385169063150b7a0290611be39033908990889088906004016126b6565b6020604051808303816000875af1925050508015611c1e575060408051601f3d908101601f19168201909252611c1b918101906126f3565b60015b611c7b573d808015611c4c576040519150601f19603f3d011682016040523d82523d6000602084013e611c51565b606091505b508051600003611c735760405162461bcd60e51b81526004016107d790612664565b805181602001fd5b6001600160e01b031916630a85bd0160e11b14905061197e565b506001949350505050565b6001600160e01b0319811681146113f857600080fd5b600060208284031215611cc857600080fd5b813561129f81611ca0565b60005b83811015611cee578181015183820152602001611cd6565b50506000910152565b60008151808452611d0f816020860160208601611cd3565b601f01601f19169290920160200192915050565b60208152600061129f6020830184611cf7565b600060208284031215611d4857600080fd5b5035919050565b6001600160a01b0391909116815260200190565b6001600160a01b03811681146113f857600080fd5b60008060408385031215611d8b57600080fd5b8235611d9681611d63565b946020939093013593505050565b634e487b7160e01b600052604160045260246000fd5b60006001600160401b0380841115611dd457611dd4611da4565b604051601f8501601f19908116603f01168101908282118183101715611dfc57611dfc611da4565b81604052809350858152868686011115611e1557600080fd5b858560208301376000602087830101525050509392505050565b600060208284031215611e4157600080fd5b81356001600160401b03811115611e5757600080fd5b8201601f81018413611e6857600080fd5b61197e84823560208401611dba565b60008060408385031215611e8a57600080fd5b50508035926020909101359150565b60008083601f840112611eab57600080fd5b5081356001600160401b03811115611ec257600080fd5b6020830191508360208260051b8501011115611edd57600080fd5b9250929050565b60008060008060608587031215611efa57600080fd5b843593506020850135925060408501356001600160401b03811115611f1e57600080fd5b611f2a87828801611e99565b95989497509550505050565b600080600060608486031215611f4b57600080fd5b8335611f5681611d63565b92506020840135611f6681611d63565b929592945050506040919091013590565b600060208284031215611f8957600080fd5b813561129f81611d63565b80358015158114610f8857600080fd5b600080600080600060a08688031215611fbc57600080fd5b85359450602086013593506040860135925060608601359150611fe160808701611f94565b90509295509295909350565b60008060008060006060868803121561200557600080fd5b85356001600160401b038082111561201c57600080fd5b61202889838a01611e99565b909750955060208801359450604088013591508082111561204857600080fd5b5061205588828901611e99565b969995985093965092949392505050565b6000806040838503121561207957600080fd5b823561208481611d63565b915061209260208401611f94565b90509250929050565b600080600080608085870312156120b157600080fd5b84356120bc81611d63565b935060208501356120cc81611d63565b92506040850135915060608501356001600160401b038111156120ee57600080fd5b8501601f810187136120ff57600080fd5b61210e87823560208401611dba565b91505092959194509250565b60008060006040848603121561212f57600080fd5b83356001600160401b0381111561214557600080fd5b61215186828701611e99565b909790965060209590950135949350505050565b6000806040838503121561217857600080fd5b823561218381611d63565b9150602083013561219381611d63565b809150509250929050565b600181811c908216806121b257607f821691505b6020821081036121d257634e487b7160e01b600052602260045260246000fd5b50919050565b601f821115610abd57600081815260208120601f850160051c810160208610156121ff5750805b601f850160051c820191505b8181101561221e5782815560010161220b565b505050505050565b81516001600160401b0381111561223f5761223f611da4565b6122538161224d845461219e565b846121d8565b602080601f83116001811461228857600084156122705750858301515b600019600386901b1c1916600185901b17855561221e565b600085815260208120601f198616915b828110156122b757888601518255948401946001909101908401612298565b50858210156122d55787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b6020808252601d908201527f5374617274696e6720696e64657820697320616c726561647920736574000000604082015260600190565b6020808252818101527f5374617274696e6720696e64657820626c6f636b206d75737420626520736574604082015260600190565b634e487b7160e01b600052601260045260246000fd5b60008261237657612376612351565b500690565b634e487b7160e01b600052601160045260246000fd5b818103818111156106c8576106c861237b565b6020808252601f908201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604082015260600190565b6020808252600e908201526d50726573616c652061637469766560901b604082015260600190565b6020808252600f908201526e53616c65206e6f742061637469766560881b604082015260600190565b60208082526012908201527150726573616c65206e6f742061637469766560701b604082015260600190565b602080825260119082015270105b1b1bdddb1a5cdd081b9bdd081cd95d607a1b604082015260600190565b6020808252601b908201527a141c995cd85b19481d1bdad95b881b1a5b5a5d081c995858da1959602a1b604082015260600190565b6020808252600f908201526e141c995cd85b19481a5b9d985b1a59608a1b604082015260600190565b6000602082840312156124f357600080fd5b815161129f81611d63565b60006020828403121561251057600080fd5b5051919050565b6020808252601490820152734d757374206d696e74206174206c65617374203160601b604082015260600190565b60208082526013908201527210985d18da081b1a5b5a5d081c995858da1959606a1b604082015260600190565b60008351612584818460208801611cd3565b835190830190612598818360208801611cd3565b01949350505050565b808201808211156106c8576106c861237b565b602080825260149082015273746f6b656e4964206f7574206f662072616e676560601b604082015260600190565b6020808252600e908201526d09cdee840cadcdeeaced0408aa8960931b604082015260600190565b634e487b7160e01b600052603260045260246000fd5b6000600182016126325761263261237b565b5060010190565b60008261264857612648612351565b500490565b80820281158282048414176106c8576106c861237b565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b6001600160a01b03858116825284166020820152604081018390526080606082018190526000906126e990830184611cf7565b9695505050505050565b60006020828403121561270557600080fd5b815161129f81611ca056feddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef169f97de0d9a84d840042b17d3c6b9638b3d6fd9024c9eb0c7a306a17b49f88fa26469706673582212208766321c0ad3de3e358ff8daaeaa2a3f3a90e214583ebd0a160af1b8bbfabf8364736f6c63430008110033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
0000000000000000000000003ca53be299c765cdc66cc1723f8b3eefb3aaa413000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000009c4000000000000000000000000000000000000000000000000000000000000001f68747470733a2f2f6170692e787970726f6a6563742e696f2f776f726c642f00
-----Decoded View---------------
Arg [0] : xyAddress (address): 0x3CA53BE299C765cDC66cC1723F8B3EEFB3aAa413
Arg [1] : baseTokenURI (string): https://api.xyproject.io/world/
Arg [2] : limitedMax (uint256): 2500
-----Encoded View---------------
5 Constructor Arguments found :
Arg [0] : 0000000000000000000000003ca53be299c765cdc66cc1723f8b3eefb3aaa413
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000060
Arg [2] : 00000000000000000000000000000000000000000000000000000000000009c4
Arg [3] : 000000000000000000000000000000000000000000000000000000000000001f
Arg [4] : 68747470733a2f2f6170692e787970726f6a6563742e696f2f776f726c642f00
Deployed Bytecode Sourcemap
60459:10666:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;22044:305;;;;;;;;;;-1:-1:-1;22044:305:0;;;;;:::i;:::-;;:::i;:::-;;;565:14:1;;558:22;540:41;;528:2;513:18;22044:305:0;;;;;;;;22971:100;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;24484:171::-;;;;;;;;;;-1:-1:-1;24484:171:0;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;41156:157::-;;;;;;;;;;-1:-1:-1;41156:157:0;;;;;:::i;:::-;;:::i;:::-;;67903:102;;;;;;;;;;-1:-1:-1;67995:1:0;67956:7;67983:14;:11;:14;;-1:-1:-1;;;;;;;;;;;67983:14:0;67903:102;;;2343:25:1;;;2331:2;2316:18;67903:102:0;2197:177:1;60624:44:0;;;;;;;;;;;;60663:5;60624:44;;65416:120;;;;;;;;;;-1:-1:-1;65416:120:0;;;;;:::i;:::-;;:::i;67049:731::-;;;;;;;;;;;;;:::i;62366:229::-;;;;;;:::i;:::-;;:::i;62603:602::-;;;;;;:::i;:::-;;:::i;40294:171::-;;;;;;;;;;-1:-1:-1;40294:171:0;;;;;:::i;67788:107::-;;;;;;;;;;-1:-1:-1;67788:107:0;;;;;:::i;:::-;67841:7;67868:19;;;:12;:19;;;;;;;67788:107;39148:294;;;;;;;;;;-1:-1:-1;39148:294:0;;;;;:::i;:::-;;:::i;68405:202::-;;;:::i;68207:94::-;;;;;;;;;;-1:-1:-1;68279:14:0;;;;68207:94;;64756:110;;;;;;;;;;-1:-1:-1;64756:110:0;;;;;:::i;:::-;;:::i;68013:87::-;;;;;;;;;;-1:-1:-1;68083:9:0;;68013:87;;40040:146;;;;;;;;;;-1:-1:-1;40040:146:0;;;;;:::i;:::-;;:::i;60588:29::-;;;;;;;;;;;;;:::i;68309:88::-;;;;;;;;;;-1:-1:-1;68378:11:0;;;;;;;68309:88;;39724:146;;;;;;;;;;-1:-1:-1;39724:146:0;;;;;:::i;:::-;;:::i;59571:103::-;;;;;;;;;;;;;:::i;66187:706::-;;;;;;;;;;;;;:::i;64874:416::-;;;;;;;;;;-1:-1:-1;64874:416:0;;;;;:::i;:::-;;:::i;64649:99::-;;;;;;;;;;-1:-1:-1;64649:99:0;;;;;:::i;:::-;;:::i;64388:253::-;;;;;;;;;;-1:-1:-1;64388:253:0;;;;;:::i;:::-;;:::i;63607:773::-;;;;;;:::i;:::-;;:::i;58923:87::-;;;;;;;;;;;;;:::i;23140:104::-;;;;;;;;;;;;;:::i;60756:35::-;;;;;;;;;;;;;;;;41426:164;;;;;;;;;;-1:-1:-1;41426:164:0;;;;;:::i;40864:189::-;;;;;;;;;;-1:-1:-1;40864:189:0;;;;;:::i;63213:386::-;;;;;;:::i;:::-;;:::i;62066:292::-;;;;;;;;;;-1:-1:-1;62066:292:0;;;;;:::i;:::-;;:::i;65759:272::-;;;;;;;;;;;;;:::i;65298:110::-;;;;;;;;;;;;;:::i;60677:33::-;;;;;;;;;;;;;;;;24953:164;;;;;;;;;;-1:-1:-1;24953:164:0;;;;;:::i;:::-;-1:-1:-1;;;;;25074:25:0;;;25050:4;25074:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;24953:164;59829:201;;;;;;;;;;-1:-1:-1;59829:201:0;;;;;:::i;:::-;;:::i;68108:91::-;;;;;;;;;;-1:-1:-1;68180:11:0;;68108:91;;60717:32;;;;;;;;;;;;;;;;22044:305;22146:4;-1:-1:-1;;;;;;22183:40:0;;-1:-1:-1;;;22183:40:0;;:105;;-1:-1:-1;;;;;;;22240:48:0;;-1:-1:-1;;;22240:48:0;22183:105;:158;;;-1:-1:-1;;;;;;;;;;20586:40:0;;;22305:36;22163:178;22044:305;-1:-1:-1;;22044:305:0:o;22971:100::-;23025:13;23058:5;23051:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;22971:100;:::o;24484:171::-;24560:7;24580:23;24595:7;24580:14;:23::i;:::-;-1:-1:-1;24623:24:0;;;;:15;:24;;;;;;-1:-1:-1;;;;;24623:24:0;;24484:171::o;41156:157::-;41252:53;;-1:-1:-1;;;41252:53:0;;9785:2:1;41252:53:0;;;9767:21:1;9824:2;9804:18;;;9797:30;9863:34;9843:18;;;9836:62;-1:-1:-1;;;9914:18:1;;;9907:33;9957:19;;41252:53:0;;;;;;;;;41156:157;;:::o;65416:120::-;58809:13;:11;:13::i;:::-;65501:10:::1;:27;65514:14:::0;65501:10;:27:::1;:::i;67049:731::-:0;67110:20;;:25;67102:67;;;;-1:-1:-1;;;67102:67:0;;;;;;;:::i;:::-;67188:18;;67210:1;67188:23;67180:68;;;;-1:-1:-1;;;67180:68:0;;;;;;;:::i;:::-;67336:1;67324:14;;:11;:14;;-1:-1:-1;;;;;;;;;;;67324:14:0;67301:18;;67286:52;;67324:14;67291:29;67286:52;:::i;:::-;67263:20;:75;67491:18;;67513:3;;67474:36;;:12;;:16;:36::i;:::-;:42;67470:148;;;67604:1;67592:14;;;;:11;:14;;-1:-1:-1;;;;;;;;;;;67592:14:0;;67571:16;;:12;:16;:::i;:::-;67556:50;;;67561:27;67556:50;:::i;:::-;67533:20;:73;67470:148;67669:20;;67693:1;67669:25;67665:108;;67734:20;;:27;;67759:1;67734:24;:27::i;:::-;67711:20;:50;67665:108;67049:731::o;62366:229::-;37036:1;37634:7;;:19;37626:63;;;;-1:-1:-1;;;37626:63:0;;;;;;;:::i;:::-;37036:1;37767:7;:18;62462:14:::1;::::0;::::1;;62461:15;62453:42;;;;-1:-1:-1::0;;;62453:42:0::1;;;;;;;:::i;:::-;62514:11;::::0;::::1;::::0;::::1;;;62506:39;;;;-1:-1:-1::0;;;62506:39:0::1;;;;;;;:::i;:::-;62558:29;62572:7;62581:5;62558:13;:29::i;:::-;-1:-1:-1::0;;36992:1:0;37946:7;:22;62366:229::o;62603:602::-;37036:1;37634:7;;:19;37626:63;;;;-1:-1:-1;;;37626:63:0;;;;;;;:::i;:::-;37036:1;37767:7;:18;62731:14:::1;::::0;::::1;;62723:45;;;;-1:-1:-1::0;;;62723:45:0::1;;;;;;;:::i;:::-;62787:11;;:17;::::0;62779:47:::1;;;;-1:-1:-1::0;;;62779:47:0::1;;;;;;;:::i;:::-;62889:11;::::0;62845:40:::1;62858:9;:23;16987:10:::0;62868:12:::1;-1:-1:-1::0;;;;;62858:23:0::1;-1:-1:-1::0;;;;;62858:23:0::1;;;;;;;;;;;;;62883:1;62845:12;:40::i;:::-;:55;;62837:95;;;;-1:-1:-1::0;;;62837:95:0::1;;;;;;;:::i;:::-;62965:147;63002:5;;62965:147;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;::::0;;;;-1:-1:-1;;63026:11:0::1;::::0;;-1:-1:-1;16987:10:0;;-1:-1:-1;63083:12:0::1;63066:30;;;;;;;15694:2:1::0;15665:15;;;;-1:-1:-1;;;;;;15661:45:1;15649:58;;15732:2;15723:12;;15520:221;63066:30:0::1;;;;;;;;;;;;;63056:41;;;;;;62965:18;:147::i;:::-;62943:212;;;;-1:-1:-1::0;;;62943:212:0::1;;;;;;;:::i;:::-;63168:29;63182:7;63191:5;63168:13;:29::i;:::-;-1:-1:-1::0;;36992:1:0;37946:7;:22;-1:-1:-1;;62603:602:0:o;40404:53::-;40294:171;;;:::o;39148:294::-;37036:1;37634:7;;:19;37626:63;;;;-1:-1:-1;;;37626:63:0;;;;;;;:::i;:::-;37036:1;37767:7;:18;39217:12:::1;39232:25:::0;;;:16:::1;:25;::::0;;;;;-1:-1:-1;;;;;39232:25:0::1;::::0;39281:16:::1;39249:7:::0;39281::::1;:16::i;:::-;39268:29;;39324:2;-1:-1:-1::0;;;;;39316:10:0::1;:4;-1:-1:-1::0;;;;;39316:10:0::1;::::0;39308:38:::1;;;::::0;-1:-1:-1;;;39308:38:0;;16292:2:1;39308:38:0::1;::::0;::::1;16274:21:1::0;16331:2;16311:18;;;16304:30;-1:-1:-1;;;16350:18:1;;;16343:45;16405:18;;39308:38:0::1;16090:339:1::0;39308:38:0::1;39359:25;::::0;;;:16:::1;:25;::::0;;;;;:30;;-1:-1:-1;;;;;;39359:30:0::1;-1:-1:-1::0;;;;;39359:30:0;;::::1;::::0;;::::1;::::0;;;39407:27;;39359:25;;39407:27;;::::1;::::0;-1:-1:-1;;;;;;;;;;;39407:27:0;::::1;-1:-1:-1::0;;36992:1:0;37946:7;:22;-1:-1:-1;39148:294:0:o;68405:202::-;58809:13;:11;:13::i;:::-;37036:1:::1;37634:7;;:19:::0;37626:63:::1;;;;-1:-1:-1::0;;;37626:63:0::1;;;;;;;:::i;:::-;37036:1;37767:7;:18:::0;68493:58:::2;::::0;68475:12:::2;::::0;68501:10:::2;::::0;68525:21:::2;::::0;68475:12;68493:58;68475:12;68493:58;68525:21;68501:10;68493:58:::2;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;68474:77;;;68570:7;68562:37;;;::::0;-1:-1:-1;;;68562:37:0;;16846:2:1;68562:37:0::2;::::0;::::2;16828:21:1::0;16885:2;16865:18;;;16858:30;-1:-1:-1;;;16904:18:1;;;16897:47;16961:18;;68562:37:0::2;16644:341:1::0;68562:37:0::2;-1:-1:-1::0;36992:1:0::1;37946:7;:22:::0;68405:202::o;64756:110::-;58809:13;:11;:13::i;:::-;64832::::1;:26;64848:10:::0;64832:13;:26:::1;:::i;40040:146::-:0;40147:13;;40131:47;;-1:-1:-1;;;40131:47:0;;;;;2343:25:1;;;40104:7:0;;-1:-1:-1;;;;;40147:13:0;;40131:38;;2316:18:1;;40131:47:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;60588:29::-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;39724:146::-;39831:13;;39815:47;;-1:-1:-1;;;39815:47:0;;39788:7;;-1:-1:-1;;;;;39831:13:0;;39815:40;;:47;;39856:5;;39815:47;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;59571:103::-;58809:13;:11;:13::i;:::-;59636:30:::1;59663:1;59636:18;:30::i;66187:706::-:0;66245:17;;:22;66237:64;;;;-1:-1:-1;;;66237:64:0;;;;;;;:::i;:::-;66320:18;;66342:1;66320:23;66312:68;;;;-1:-1:-1;;;66312:68:0;;;;;;;:::i;:::-;66430:18;;66415:50;;60663:5;;66420:29;66415:50;:::i;:::-;66395:17;:70;66618:18;;66640:3;;66601:36;;:12;;:16;:36::i;:::-;:42;66597:143;;;60663:5;66695:16;66710:1;66695:12;:16;:::i;:::-;66680:48;;;66685:27;66680:48;:::i;:::-;66660:17;:68;66597:143;66791:17;;66812:1;66791:22;66787:99;;66850:17;;:24;;66872:1;66850:21;:24::i;:::-;66830:17;:44;66187:706::o;64874:416::-;58809:13;:11;:13::i;:::-;65074:11:::1;:18:::0;;65103:24;::::1;;-1:-1:-1::0;;65103:24:0;;;;;;;65074:18:::1;65103:24:::0;;;65140:11:::1;:27:::0;;;;65178:9:::1;:23:::0;;;;65214:12:::1;:15;::::0;;:27;65088:4:::1;65074:18:::0;65252:15;;:30;64874:416::o;64649:99::-;58809:13;:11;:13::i;:::-;64719:11:::1;:21:::0;64649:99::o;64388:253::-;64446:7;64466:23;64481:7;64466:14;:23::i;:::-;64527:20;;;64506:18;;;:9;64527:20;64506:18;64527:20;64506:18;;;:41;64502:132;;;-1:-1:-1;64571:1:0;;64388:253;-1:-1:-1;64388:253:0:o;64502:132::-;-1:-1:-1;64621:1:0;;64388:253;-1:-1:-1;64388:253:0:o;64502:132::-;64388:253;;;:::o;63607:773::-;37036:1;37634:7;;:19;37626:63;;;;-1:-1:-1;;;37626:63:0;;;;;;;:::i;:::-;37036:1;37767:7;:18;63752:14:::1;::::0;::::1;;63744:45;;;;-1:-1:-1::0;;;63744:45:0::1;;;;;;;:::i;:::-;63808:11;;:17;::::0;63800:47:::1;;;;-1:-1:-1::0;;;63800:47:0::1;;;;;;;:::i;:::-;63866:19:::0;63858:52:::1;;;;-1:-1:-1::0;;;63858:52:0::1;;;;;;;:::i;:::-;63948:9;::::0;63929:28;::::1;;63921:60;;;;-1:-1:-1::0;;;63921:60:0::1;;;;;;;:::i;:::-;64058:11;::::0;16987:10;64013:23:::1;::::0;;;:9:::1;:23;::::0;;;;;64000:54:::1;::::0;64038:8;64000:12:::1;:54::i;:::-;:69;;63992:109;;;;-1:-1:-1::0;;;63992:109:0::1;;;;;;;:::i;:::-;64134:147;64171:5;;64134:147;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;::::0;;;;-1:-1:-1;;64195:11:0::1;::::0;;-1:-1:-1;16987:10:0;;-1:-1:-1;64252:12:0::1;16907:98:::0;64134:147:::1;64112:212;;;;-1:-1:-1::0;;;64112:212:0::1;;;;;;;:::i;:::-;64337:35;64356:8;;64337:35;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;::::0;;;;-1:-1:-1;64366:5:0;;-1:-1:-1;64337:18:0::1;::::0;-1:-1:-1;;64337:35:0:i:1;:::-;-1:-1:-1::0;;36992:1:0;37946:7;:22;-1:-1:-1;;;63607:773:0:o;58923:87::-;58996:6;;-1:-1:-1;;;;;58996:6:0;;58923:87::o;23140:104::-;23196:13;23229:7;23222:14;;;;;:::i;63213:386::-;37036:1;37634:7;;:19;37626:63;;;;-1:-1:-1;;;37626:63:0;;;;;;;:::i;:::-;37036:1;37767:7;:18;63326:14:::1;::::0;::::1;;63325:15;63317:42;;;;-1:-1:-1::0;;;63317:42:0::1;;;;;;;:::i;:::-;63378:11;::::0;::::1;::::0;::::1;;;63370:39;;;;-1:-1:-1::0;;;63370:39:0::1;;;;;;;:::i;:::-;63428:19:::0;63420:52:::1;;;;-1:-1:-1::0;;;63420:52:0::1;;;;;;;:::i;:::-;63510:9;::::0;63491:28;::::1;;63483:60;;;;-1:-1:-1::0;;;63483:60:0::1;;;;;;;:::i;:::-;63556:35;63575:8;;63556:35;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;::::0;;;;-1:-1:-1;63585:5:0;;-1:-1:-1;63556:18:0::1;::::0;-1:-1:-1;;63556:35:0:i:1;:::-;-1:-1:-1::0;;36992:1:0;37946:7;:22;-1:-1:-1;63213:386:0:o;62066:292::-;62139:13;62165:23;62180:7;62165:14;:23::i;:::-;62201:21;62225:10;:8;:10::i;:::-;62201:34;;62277:1;62259:7;62253:21;:25;:97;;;;;;;;;;;;;;;;;62314:18;;;;:9;:18;;;;;;62305:7;;62314:29;;:27;:29::i;:::-;62288:56;;;;;;;;;:::i;:::-;;;;;;;;;;;;;62253:97;62246:104;62066:292;-1:-1:-1;;;62066:292:0:o;65759:272::-;58809:13;:11;:13::i;:::-;65828:20:::1;::::0;:25;65820:75:::1;;;::::0;-1:-1:-1;;;65820:75:0;;18835:2:1;65820:75:0::1;::::0;::::1;18817:21:1::0;18874:2;18854:18;;;18847:30;18913:34;18893:18;;;18886:62;-1:-1:-1;;;18964:18:1;;;18957:35;19009:19;;65820:75:0::1;18633:401:1::0;65820:75:0::1;65914:17;::::0;:22;65906:69:::1;;;::::0;-1:-1:-1;;;65906:69:0;;19241:2:1;65906:69:0::1;::::0;::::1;19223:21:1::0;19280:2;19260:18;;;19253:30;19319:34;19299:18;;;19292:62;-1:-1:-1;;;19370:18:1;;;19363:32;19412:19;;65906:69:0::1;19039:398:1::0;65906:69:0::1;66011:12;65990:18;:33:::0;65759:272::o;65298:110::-;58809:13;:11;:13::i;:::-;65348:11:::1;:19:::0;;-1:-1:-1;;65378:22:0;;;65298:110::o;59829:201::-;58809:13;:11;:13::i;:::-;-1:-1:-1;;;;;59918:22:0;::::1;59910:73;;;::::0;-1:-1:-1;;;59910:73:0;;19644:2:1;59910:73:0::1;::::0;::::1;19626:21:1::0;19683:2;19663:18;;;19656:30;19722:34;19702:18;;;19695:62;-1:-1:-1;;;19773:18:1;;;19766:36;19819:19;;59910:73:0::1;19442:402:1::0;59910:73:0::1;59994:28;60013:8;59994:18;:28::i;:::-;59829:201:::0;:::o;32459:135::-;71067:4;71091:18;;;:9;:18;;;;;;32533:53;;;;-1:-1:-1;;;32533:53:0;;20051:2:1;32533:53:0;;;20033:21:1;20090:2;20070:18;;;20063:30;-1:-1:-1;;;20109:18:1;;;20102:54;20173:18;;32533:53:0;19849:348:1;59088:132:0;16987:10;59152:7;:5;:7::i;:::-;-1:-1:-1;;;;;59152:23:0;;59144:68;;;;-1:-1:-1;;;59144:68:0;;20404:2:1;59144:68:0;;;20386:21:1;;;20423:18;;;20416:30;20482:34;20462:18;;;20455:62;20534:18;;59144:68:0;20202:356:1;53908:98:0;53966:7;53993:5;53997:1;53993;:5;:::i;53527:98::-;53585:7;53612:5;53616:1;53612;:5;:::i;68747:894::-;68840:1;68830:7;:11;68822:44;;;;-1:-1:-1;;;68822:44:0;;;;;;;:::i;:::-;60663:5;68885:7;:23;;68877:56;;;;-1:-1:-1;;;68877:56:0;;;;;;;:::i;:::-;68968:31;68991:7;68968:22;:31::i;:::-;-1:-1:-1;;;;;68952:47:0;16987:10;-1:-1:-1;;;;;68952:47:0;;68944:114;;;;-1:-1:-1;;;68944:114:0;;21244:2:1;68944:114:0;;;21226:21:1;21283:2;21263:18;;;21256:30;21322:34;21302:18;;;21295:62;-1:-1:-1;;;21373:18:1;;;21366:52;21435:19;;68944:114:0;21042:418:1;68944:114:0;69100:1;69091:5;:10;;69069:58;;;;-1:-1:-1;;;69069:58:0;;21667:2:1;69069:58:0;;;21649:21:1;21706:2;21686:18;;;21679:30;-1:-1:-1;;;21725:18:1;;;21718:51;21786:18;;69069:58:0;21465:345:1;69069:58:0;69170:18;;;;:11;:18;;;;;;;;;69146:14;:21;;;;;;;:42;69138:93;;;;-1:-1:-1;;;69138:93:0;;22017:2:1;69138:93:0;;;21999:21:1;22056:2;22036:18;;;22029:30;22095:34;22075:18;;;22068:62;-1:-1:-1;;;22146:18:1;;;22139:36;22192:19;;69138:93:0;21815:402:1;69138:93:0;69250:19;;;;:12;:19;;;;;;69273:9;-1:-1:-1;69250:32:0;69242:59;;;;-1:-1:-1;;;69242:59:0;;;;;;;:::i;:::-;69314:32;16987:10;69338:7;69314:9;:32::i;:::-;69394:21;;;;:14;:21;;;;;;69381:38;;69417:1;69381:12;:38::i;:::-;69357:21;;;;:14;:21;;;;;;;;:62;;;69464:17;:24;;;;;;69490:21;;69451:61;;:12;:61::i;:::-;69430:18;;;;:9;:18;;;;;:82;69527:14;;;;69523:111;;;69582:40;69595:9;:23;16987:10;69605:12;16907:98;69582:40;16987:10;69556:23;;;;:9;:23;;;;;:66;-1:-1:-1;;68747:894:0:o;43147:190::-;43272:4;43325;43296:25;43309:5;43316:4;43296:12;:25::i;:::-;:33;;43147:190;-1:-1:-1;;;;43147:190:0:o;60190:191::-;60283:6;;;-1:-1:-1;;;;;60300:17:0;;;-1:-1:-1;;;;;;60300:17:0;;;;;;;60333:40;;60283:6;;;60300:17;60283:6;;60333:40;;60264:16;;60333:40;60253:128;60190:191;:::o;69788:442::-;69942:18;;;;:11;:18;;;;;;;;;69899:15;;69916:14;:21;;;;;;69886:52;;69899:15;69886:12;:52::i;:::-;:74;;69878:128;;;;-1:-1:-1;;;69878:128:0;;22767:2:1;69878:128:0;;;22749:21:1;22806:2;22786:18;;;22779:30;22845:34;22825:18;;;22818:62;-1:-1:-1;;;22896:18:1;;;22889:39;22945:19;;69878:128:0;22565:405:1;69878:128:0;70038:15;;70055:19;;;;:12;:19;;;;;;70079:9;;70025:50;;:12;:50::i;:::-;:63;;70017:90;;;;-1:-1:-1;;;70017:90:0;;;;;;;:::i;:::-;70125:6;70120:103;70141:8;:15;70137:1;:19;70120:103;;;70178:33;70192:8;70201:1;70192:11;;;;;;;;:::i;:::-;;;;;;;70205:5;70178:13;:33::i;:::-;70158:3;;;;:::i;:::-;;;;70120:103;;61839:114;61899:13;61932;61925:20;;;;;:::i;17549:723::-;17605:13;17826:5;17835:1;17826:10;17822:53;;-1:-1:-1;;17853:10:0;;;;;;;;;;;;-1:-1:-1;;;17853:10:0;;;;;17549:723::o;17822:53::-;17900:5;17885:12;17941:78;17948:9;;17941:78;;17974:8;;;;:::i;:::-;;-1:-1:-1;17997:10:0;;-1:-1:-1;18005:2:0;17997:10;;:::i;:::-;;;17941:78;;;18029:19;18061:6;-1:-1:-1;;;;;18051:17:0;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;18051:17:0;;18029:39;;18079:154;18086:10;;18079:154;;18113:11;18123:1;18113:11;;:::i;:::-;;-1:-1:-1;18182:10:0;18190:2;18182:5;:10;:::i;:::-;18169:24;;:2;:24;:::i;:::-;18156:39;;18139:6;18146;18139:14;;;;;;;;:::i;:::-;;;;:56;-1:-1:-1;;;;;18139:56:0;;;;;;;;-1:-1:-1;18210:11:0;18219:2;18210:11;;:::i;:::-;;;18079:154;;;18257:6;17549:723;-1:-1:-1;;;;17549:723:0:o;28577:110::-;28653:26;28663:2;28667:7;28653:26;;;;;;;;;;;;:9;:26::i;44014:296::-;44097:7;44140:4;44097:7;44155:118;44179:5;:12;44175:1;:16;44155:118;;;44228:33;44238:12;44252:5;44258:1;44252:8;;;;;;;;:::i;:::-;;;;;;;44228:9;:33::i;:::-;44213:48;-1:-1:-1;44193:3:0;;;;:::i;:::-;;;;44155:118;;;-1:-1:-1;44290:12:0;44014:296;-1:-1:-1;;;44014:296:0:o;54265:98::-;54323:7;54350:5;54354:1;54350;:5;:::i;28914:319::-;29043:18;29049:2;29053:7;29043:5;:18::i;:::-;29094:53;29125:1;29129:2;29133:7;29142:4;29094:22;:53::i;:::-;29072:153;;;;-1:-1:-1;;;29072:153:0;;;;;;;:::i;50221:149::-;50284:7;50315:1;50311;:5;:51;;50446:13;50540:15;;;50576:4;50569:15;;;50623:4;50607:21;;50311:51;;;50446:13;50540:15;;;50576:4;50569:15;;;50623:4;50607:21;;50319:20;50378:268;70342:566;-1:-1:-1;;;;;70423:16:0;;70415:61;;;;-1:-1:-1;;;70415:61:0;;24166:2:1;70415:61:0;;;24148:21:1;;;24185:18;;;24178:30;24244:34;24224:18;;;24217:62;24296:18;;70415:61:0;23964:356:1;70415:61:0;71067:4;71091:18;;;:9;:18;;;;;;:23;70487:58;;;;-1:-1:-1;;;70487:58:0;;24527:2:1;70487:58:0;;;24509:21:1;24566:2;24546:18;;;24539:30;-1:-1:-1;;;24585:18:1;;;24578:58;24653:18;;70487:58:0;24325:352:1;70487:58:0;70574:1;70564:7;:11;70556:44;;;;-1:-1:-1;;;70556:44:0;;;;;;;:::i;:::-;60663:5;70619:7;:23;;70611:56;;;;-1:-1:-1;;;70611:56:0;;;;;;;:::i;:::-;70810:33;;70835:7;;-1:-1:-1;;;;;70810:33:0;;;70827:1;;-1:-1:-1;;;;;;;;;;;70810:33:0;70827:1;;70810:33;70884:1;41885:25;;;:16;:25;;;;;:30;;-1:-1:-1;;;;;;41885:30:0;-1:-1:-1;;;;;41885:30:0;;;;;41156:157;;:::o;33158:853::-;33312:4;-1:-1:-1;;;;;33333:13:0;;9205:19;:23;33329:675;;33369:71;;-1:-1:-1;;;33369:71:0;;-1:-1:-1;;;;;33369:36:0;;;;;:71;;16987:10;;33420:4;;33426:7;;33435:4;;33369:71;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;-1:-1:-1;33369:71:0;;;;;;;;-1:-1:-1;;33369:71:0;;;;;;;;;;;;:::i;:::-;;;33365:584;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;33610:6;:13;33627:1;33610:18;33606:328;;33653:60;;-1:-1:-1;;;33653:60:0;;;;;;;:::i;33606:328::-;33884:6;33878:13;33869:6;33865:2;33861:15;33854:38;33365:584;-1:-1:-1;;;;;;33491:51:0;-1:-1:-1;;;33491:51:0;;-1:-1:-1;33484:58:0;;33329:675;-1:-1:-1;33988:4:0;33158:853;;;;;;:::o;14:131:1:-;-1:-1:-1;;;;;;88:32:1;;78:43;;68:71;;135:1;132;125:12;150:245;208:6;261:2;249:9;240:7;236:23;232:32;229:52;;;277:1;274;267:12;229:52;316:9;303:23;335:30;359:5;335:30;:::i;592:250::-;677:1;687:113;701:6;698:1;695:13;687:113;;;777:11;;;771:18;758:11;;;751:39;723:2;716:10;687:113;;;-1:-1:-1;;834:1:1;816:16;;809:27;592:250::o;847:271::-;889:3;927:5;921:12;954:6;949:3;942:19;970:76;1039:6;1032:4;1027:3;1023:14;1016:4;1009:5;1005:16;970:76;:::i;:::-;1100:2;1079:15;-1:-1:-1;;1075:29:1;1066:39;;;;1107:4;1062:50;;847:271;-1:-1:-1;;847:271:1:o;1123:220::-;1272:2;1261:9;1254:21;1235:4;1292:45;1333:2;1322:9;1318:18;1310:6;1292:45;:::i;1348:180::-;1407:6;1460:2;1448:9;1439:7;1435:23;1431:32;1428:52;;;1476:1;1473;1466:12;1428:52;-1:-1:-1;1499:23:1;;1348:180;-1:-1:-1;1348:180:1:o;1533:203::-;-1:-1:-1;;;;;1697:32:1;;;;1679:51;;1667:2;1652:18;;1533:203::o;1741:131::-;-1:-1:-1;;;;;1816:31:1;;1806:42;;1796:70;;1862:1;1859;1852:12;1877:315;1945:6;1953;2006:2;1994:9;1985:7;1981:23;1977:32;1974:52;;;2022:1;2019;2012:12;1974:52;2061:9;2048:23;2080:31;2105:5;2080:31;:::i;:::-;2130:5;2182:2;2167:18;;;;2154:32;;-1:-1:-1;;;1877:315:1:o;2379:127::-;2440:10;2435:3;2431:20;2428:1;2421:31;2471:4;2468:1;2461:15;2495:4;2492:1;2485:15;2511:632;2576:5;-1:-1:-1;;;;;2636:14:1;;;2633:40;;;2653:18;;:::i;:::-;2728:2;2722:9;2696:2;2782:15;;-1:-1:-1;;2778:24:1;;;2804:2;2774:33;2770:42;2758:55;;;2828:18;;;2848:22;;;2825:46;2822:72;;;2874:18;;:::i;:::-;2914:10;2910:2;2903:22;2943:6;2934:15;;2973:6;2965;2958:22;3013:3;3004:6;2999:3;2995:16;2992:25;2989:45;;;3030:1;3027;3020:12;2989:45;3080:6;3075:3;3068:4;3060:6;3056:17;3043:44;3135:1;3128:4;3119:6;3111;3107:19;3103:30;3096:41;;;;2511:632;;;;;:::o;3148:451::-;3217:6;3270:2;3258:9;3249:7;3245:23;3241:32;3238:52;;;3286:1;3283;3276:12;3238:52;3313:23;;-1:-1:-1;;;;;3348:30:1;;3345:50;;;3391:1;3388;3381:12;3345:50;3414:22;;3467:4;3459:13;;3455:27;-1:-1:-1;3445:55:1;;3496:1;3493;3486:12;3445:55;3519:74;3585:7;3580:2;3567:16;3562:2;3558;3554:11;3519:74;:::i;3604:248::-;3672:6;3680;3733:2;3721:9;3712:7;3708:23;3704:32;3701:52;;;3749:1;3746;3739:12;3701:52;-1:-1:-1;;3772:23:1;;;3842:2;3827:18;;;3814:32;;-1:-1:-1;3604:248:1:o;3857:367::-;3920:8;3930:6;3984:3;3977:4;3969:6;3965:17;3961:27;3951:55;;4002:1;3999;3992:12;3951:55;-1:-1:-1;4025:20:1;;-1:-1:-1;;;;;4057:30:1;;4054:50;;;4100:1;4097;4090:12;4054:50;4137:4;4129:6;4125:17;4113:29;;4197:3;4190:4;4180:6;4177:1;4173:14;4165:6;4161:27;4157:38;4154:47;4151:67;;;4214:1;4211;4204:12;4151:67;3857:367;;;;;:::o;4229:573::-;4333:6;4341;4349;4357;4410:2;4398:9;4389:7;4385:23;4381:32;4378:52;;;4426:1;4423;4416:12;4378:52;4449:23;;;-1:-1:-1;4519:2:1;4504:18;;4491:32;;-1:-1:-1;4574:2:1;4559:18;;4546:32;-1:-1:-1;;;;;4590:30:1;;4587:50;;;4633:1;4630;4623:12;4587:50;4672:70;4734:7;4725:6;4714:9;4710:22;4672:70;:::i;:::-;4229:573;;;;-1:-1:-1;4761:8:1;-1:-1:-1;;;;4229:573:1:o;4807:456::-;4884:6;4892;4900;4953:2;4941:9;4932:7;4928:23;4924:32;4921:52;;;4969:1;4966;4959:12;4921:52;5008:9;4995:23;5027:31;5052:5;5027:31;:::i;:::-;5077:5;-1:-1:-1;5134:2:1;5119:18;;5106:32;5147:33;5106:32;5147:33;:::i;:::-;4807:456;;5199:7;;-1:-1:-1;;;5253:2:1;5238:18;;;;5225:32;;4807:456::o;5268:247::-;5327:6;5380:2;5368:9;5359:7;5355:23;5351:32;5348:52;;;5396:1;5393;5386:12;5348:52;5435:9;5422:23;5454:31;5479:5;5454:31;:::i;5520:160::-;5585:20;;5641:13;;5634:21;5624:32;;5614:60;;5670:1;5667;5660:12;5685:454;5777:6;5785;5793;5801;5809;5862:3;5850:9;5841:7;5837:23;5833:33;5830:53;;;5879:1;5876;5869:12;5830:53;5915:9;5902:23;5892:33;;5972:2;5961:9;5957:18;5944:32;5934:42;;6023:2;6012:9;6008:18;5995:32;5985:42;;6074:2;6063:9;6059:18;6046:32;6036:42;;6097:36;6128:3;6117:9;6113:19;6097:36;:::i;:::-;6087:46;;5685:454;;;;;;;;:::o;6329:841::-;6460:6;6468;6476;6484;6492;6545:2;6533:9;6524:7;6520:23;6516:32;6513:52;;;6561:1;6558;6551:12;6513:52;6588:23;;-1:-1:-1;;;;;6660:14:1;;;6657:34;;;6687:1;6684;6677:12;6657:34;6726:70;6788:7;6779:6;6768:9;6764:22;6726:70;:::i;:::-;6815:8;;-1:-1:-1;6700:96:1;-1:-1:-1;6897:2:1;6882:18;;6869:32;;-1:-1:-1;6954:2:1;6939:18;;6926:32;;-1:-1:-1;6970:16:1;;;6967:36;;;6999:1;6996;6989:12;6967:36;;7038:72;7102:7;7091:8;7080:9;7076:24;7038:72;:::i;:::-;6329:841;;;;-1:-1:-1;6329:841:1;;-1:-1:-1;7129:8:1;;7012:98;6329:841;-1:-1:-1;;;6329:841:1:o;7175:315::-;7240:6;7248;7301:2;7289:9;7280:7;7276:23;7272:32;7269:52;;;7317:1;7314;7307:12;7269:52;7356:9;7343:23;7375:31;7400:5;7375:31;:::i;:::-;7425:5;-1:-1:-1;7449:35:1;7480:2;7465:18;;7449:35;:::i;:::-;7439:45;;7175:315;;;;;:::o;7495:795::-;7590:6;7598;7606;7614;7667:3;7655:9;7646:7;7642:23;7638:33;7635:53;;;7684:1;7681;7674:12;7635:53;7723:9;7710:23;7742:31;7767:5;7742:31;:::i;:::-;7792:5;-1:-1:-1;7849:2:1;7834:18;;7821:32;7862:33;7821:32;7862:33;:::i;:::-;7914:7;-1:-1:-1;7968:2:1;7953:18;;7940:32;;-1:-1:-1;8023:2:1;8008:18;;7995:32;-1:-1:-1;;;;;8039:30:1;;8036:50;;;8082:1;8079;8072:12;8036:50;8105:22;;8158:4;8150:13;;8146:27;-1:-1:-1;8136:55:1;;8187:1;8184;8177:12;8136:55;8210:74;8276:7;8271:2;8258:16;8253:2;8249;8245:11;8210:74;:::i;:::-;8200:84;;;7495:795;;;;;;;:::o;8295:505::-;8390:6;8398;8406;8459:2;8447:9;8438:7;8434:23;8430:32;8427:52;;;8475:1;8472;8465:12;8427:52;8502:23;;-1:-1:-1;;;;;8537:30:1;;8534:50;;;8580:1;8577;8570:12;8534:50;8619:70;8681:7;8672:6;8661:9;8657:22;8619:70;:::i;:::-;8708:8;;8593:96;;-1:-1:-1;8790:2:1;8775:18;;;;8762:32;;8295:505;-1:-1:-1;;;;8295:505:1:o;8805:388::-;8873:6;8881;8934:2;8922:9;8913:7;8909:23;8905:32;8902:52;;;8950:1;8947;8940:12;8902:52;8989:9;8976:23;9008:31;9033:5;9008:31;:::i;:::-;9058:5;-1:-1:-1;9115:2:1;9100:18;;9087:32;9128:33;9087:32;9128:33;:::i;:::-;9180:7;9170:17;;;8805:388;;;;;:::o;9198:380::-;9277:1;9273:12;;;;9320;;;9341:61;;9395:4;9387:6;9383:17;9373:27;;9341:61;9448:2;9440:6;9437:14;9417:18;9414:38;9411:161;;9494:10;9489:3;9485:20;9482:1;9475:31;9529:4;9526:1;9519:15;9557:4;9554:1;9547:15;9411:161;;9198:380;;;:::o;10113:545::-;10215:2;10210:3;10207:11;10204:448;;;10251:1;10276:5;10272:2;10265:17;10321:4;10317:2;10307:19;10391:2;10379:10;10375:19;10372:1;10368:27;10362:4;10358:38;10427:4;10415:10;10412:20;10409:47;;;-1:-1:-1;10450:4:1;10409:47;10505:2;10500:3;10496:12;10493:1;10489:20;10483:4;10479:31;10469:41;;10560:82;10578:2;10571:5;10568:13;10560:82;;;10623:17;;;10604:1;10593:13;10560:82;;;10564:3;;;10113:545;;;:::o;10834:1352::-;10954:10;;-1:-1:-1;;;;;10976:30:1;;10973:56;;;11009:18;;:::i;:::-;11038:97;11128:6;11088:38;11120:4;11114:11;11088:38;:::i;:::-;11082:4;11038:97;:::i;:::-;11190:4;;11254:2;11243:14;;11271:1;11266:663;;;;11973:1;11990:6;11987:89;;;-1:-1:-1;12042:19:1;;;12036:26;11987:89;-1:-1:-1;;10791:1:1;10787:11;;;10783:24;10779:29;10769:40;10815:1;10811:11;;;10766:57;12089:81;;11236:944;;11266:663;10060:1;10053:14;;;10097:4;10084:18;;-1:-1:-1;;11302:20:1;;;11420:236;11434:7;11431:1;11428:14;11420:236;;;11523:19;;;11517:26;11502:42;;11615:27;;;;11583:1;11571:14;;;;11450:19;;11420:236;;;11424:3;11684:6;11675:7;11672:19;11669:201;;;11745:19;;;11739:26;-1:-1:-1;;11828:1:1;11824:14;;;11840:3;11820:24;11816:37;11812:42;11797:58;11782:74;;11669:201;-1:-1:-1;;;;;11916:1:1;11900:14;;;11896:22;11883:36;;-1:-1:-1;10834:1352:1:o;12191:353::-;12393:2;12375:21;;;12432:2;12412:18;;;12405:30;12471:31;12466:2;12451:18;;12444:59;12535:2;12520:18;;12191:353::o;12549:356::-;12751:2;12733:21;;;12770:18;;;12763:30;12829:34;12824:2;12809:18;;12802:62;12896:2;12881:18;;12549:356::o;12910:127::-;12971:10;12966:3;12962:20;12959:1;12952:31;13002:4;12999:1;12992:15;13026:4;13023:1;13016:15;13042:112;13074:1;13100;13090:35;;13105:18;;:::i;:::-;-1:-1:-1;13139:9:1;;13042:112::o;13159:127::-;13220:10;13215:3;13211:20;13208:1;13201:31;13251:4;13248:1;13241:15;13275:4;13272:1;13265:15;13291:128;13358:9;;;13379:11;;;13376:37;;;13393:18;;:::i;13424:355::-;13626:2;13608:21;;;13665:2;13645:18;;;13638:30;13704:33;13699:2;13684:18;;13677:61;13770:2;13755:18;;13424:355::o;13784:338::-;13986:2;13968:21;;;14025:2;14005:18;;;13998:30;-1:-1:-1;;;14059:2:1;14044:18;;14037:44;14113:2;14098:18;;13784:338::o;14127:339::-;14329:2;14311:21;;;14368:2;14348:18;;;14341:30;-1:-1:-1;;;14402:2:1;14387:18;;14380:45;14457:2;14442:18;;14127:339::o;14471:342::-;14673:2;14655:21;;;14712:2;14692:18;;;14685:30;-1:-1:-1;;;14746:2:1;14731:18;;14724:48;14804:2;14789:18;;14471:342::o;14818:341::-;15020:2;15002:21;;;15059:2;15039:18;;;15032:30;-1:-1:-1;;;15093:2:1;15078:18;;15071:47;15150:2;15135:18;;14818:341::o;15164:351::-;15366:2;15348:21;;;15405:2;15385:18;;;15378:30;-1:-1:-1;;;15439:2:1;15424:18;;15417:57;15506:2;15491:18;;15164:351::o;15746:339::-;15948:2;15930:21;;;15987:2;15967:18;;;15960:30;-1:-1:-1;;;16021:2:1;16006:18;;15999:45;16076:2;16061:18;;15746:339::o;16990:251::-;17060:6;17113:2;17101:9;17092:7;17088:23;17084:32;17081:52;;;17129:1;17126;17119:12;17081:52;17161:9;17155:16;17180:31;17205:5;17180:31;:::i;17246:184::-;17316:6;17369:2;17357:9;17348:7;17344:23;17340:32;17337:52;;;17385:1;17382;17375:12;17337:52;-1:-1:-1;17408:16:1;;17246:184;-1:-1:-1;17246:184:1:o;17435:344::-;17637:2;17619:21;;;17676:2;17656:18;;;17649:30;-1:-1:-1;;;17710:2:1;17695:18;;17688:50;17770:2;17755:18;;17435:344::o;17784:343::-;17986:2;17968:21;;;18025:2;18005:18;;;17998:30;-1:-1:-1;;;18059:2:1;18044:18;;18037:49;18118:2;18103:18;;17784:343::o;18132:496::-;18311:3;18349:6;18343:13;18365:66;18424:6;18419:3;18412:4;18404:6;18400:17;18365:66;:::i;:::-;18494:13;;18453:16;;;;18516:70;18494:13;18453:16;18563:4;18551:17;;18516:70;:::i;:::-;18602:20;;18132:496;-1:-1:-1;;;;18132:496:1:o;20563:125::-;20628:9;;;20649:10;;;20646:36;;;20662:18;;:::i;20693:344::-;20895:2;20877:21;;;20934:2;20914:18;;;20907:30;-1:-1:-1;;;20968:2:1;20953:18;;20946:50;21028:2;21013:18;;20693:344::o;22222:338::-;22424:2;22406:21;;;22463:2;22443:18;;;22436:30;-1:-1:-1;;;22497:2:1;22482:18;;22475:44;22551:2;22536:18;;22222:338::o;22975:127::-;23036:10;23031:3;23027:20;23024:1;23017:31;23067:4;23064:1;23057:15;23091:4;23088:1;23081:15;23107:135;23146:3;23167:17;;;23164:43;;23187:18;;:::i;:::-;-1:-1:-1;23234:1:1;23223:13;;23107:135::o;23247:120::-;23287:1;23313;23303:35;;23318:18;;:::i;:::-;-1:-1:-1;23352:9:1;;23247:120::o;23372:168::-;23445:9;;;23476;;23493:15;;;23487:22;;23473:37;23463:71;;23514:18;;:::i;23545:414::-;23747:2;23729:21;;;23786:2;23766:18;;;23759:30;23825:34;23820:2;23805:18;;23798:62;-1:-1:-1;;;23891:2:1;23876:18;;23869:48;23949:3;23934:19;;23545:414::o;24682:489::-;-1:-1:-1;;;;;24951:15:1;;;24933:34;;25003:15;;24998:2;24983:18;;24976:43;25050:2;25035:18;;25028:34;;;25098:3;25093:2;25078:18;;25071:31;;;24876:4;;25119:46;;25145:19;;25137:6;25119:46;:::i;:::-;25111:54;24682:489;-1:-1:-1;;;;;;24682:489:1:o;25176:249::-;25245:6;25298:2;25286:9;25277:7;25273:23;25269:32;25266:52;;;25314:1;25311;25304:12;25266:52;25346:9;25340:16;25365:30;25389:5;25365:30;:::i
Swarm Source
ipfs://8766321c0ad3de3e358ff8daaeaa2a3f3a90e214583ebd0a160af1b8bbfabf83
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.