Contract
0x922dB6eCD9ba5d04D770Db027F33E5e63A1e1926
1
Note: Our AVAX balance display is temporarily unavailable. Please check back later.
Contract Overview
Balance:
AVAX Value:
$0.00
[ Download CSV Export ]
Contract Name:
Parmesan
Compiler Version
v0.8.2+commit.661d1103
Contract Source Code (Solidity)
/** *Submitted for verification at snowtrace.io on 2022-03-26 */ // SPDX-License-Identifier: MIT // contract developed by xrpant // File: @openzeppelin/contracts/utils/Counters.sol // OpenZeppelin Contracts v4.4.1 (utils/Counters.sol) pragma solidity ^0.8.0; /** * @title Counters * @author Matt Condon (@shrugs) * @dev Provides counters that can only be incremented, decremented or reset. This can be used e.g. to track the number * of elements in a mapping, issuing ERC721 ids, or counting request ids. * * Include with `using Counters for Counters.Counter;` */ library Counters { struct Counter { // This variable should never be directly accessed by users of the library: interactions must be restricted to // the library's function. As of Solidity v0.5.2, this cannot be enforced, though there is a proposal to add // this feature: see https://github.com/ethereum/solidity/issues/4637 uint256 _value; // default: 0 } function current(Counter storage counter) internal view returns (uint256) { return counter._value; } function increment(Counter storage counter) internal { unchecked { counter._value += 1; } } function decrement(Counter storage counter) internal { uint256 value = counter._value; require(value > 0, "Counter: decrement overflow"); unchecked { counter._value = value - 1; } } function reset(Counter storage counter) internal { counter._value = 0; } } // File: @openzeppelin/contracts/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: cheese/parm.sol // wAvaxApes by xrpant // File: @openzeppelin/contracts/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 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`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be have been allowed to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Transfers `tokenId` token from `from` to `to`. * * WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) external; /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool _approved) external; /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll} */ function isApprovedForAll(address owner, address operator) external view returns (bool); /** * @dev Safely transfers `tokenId` token from `from` to `to`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes calldata data ) external; } // File: @openzeppelin/contracts/token/ERC721/extensions/IERC721Enumerable.sol pragma solidity ^0.8.0; /** * @title ERC-721 Non-Fungible Token Standard, optional enumeration extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Enumerable is IERC721 { /** * @dev Returns the total amount of tokens stored by the contract. */ function totalSupply() external view returns (uint256); /** * @dev Returns a token ID owned by `owner` at a given `index` of its token list. * Use along with {balanceOf} to enumerate all of ``owner``'s tokens. */ function tokenOfOwnerByIndex(address owner, uint256 index) external view returns (uint256 tokenId); /** * @dev Returns a token ID at a given `index` of all the tokens stored by the contract. * Use along with {totalSupply} to enumerate all tokens. */ function tokenByIndex(uint256 index) external view returns (uint256); } // File: @openzeppelin/contracts/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/utils/Strings.sol pragma solidity ^0.8.0; /** * @dev String operations. */ library Strings { bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef"; /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function toString(uint256 value) internal pure returns (string memory) { // Inspired by OraclizeAPI's implementation - MIT licence // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol if (value == 0) { return "0"; } uint256 temp = value; uint256 digits; while (temp != 0) { digits++; temp /= 10; } bytes memory buffer = new bytes(digits); while (value != 0) { digits -= 1; buffer[digits] = bytes1(uint8(48 + uint256(value % 10))); value /= 10; } return string(buffer); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { if (value == 0) { return "0x00"; } uint256 temp = value; uint256 length = 0; while (temp != 0) { length++; temp >>= 8; } return toHexString(value, length); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length. */ function toHexString(uint256 value, uint256 length) internal pure returns (string memory) { bytes memory buffer = new bytes(2 * length + 2); buffer[0] = "0"; buffer[1] = "x"; for (uint256 i = 2 * length + 1; i > 1; --i) { buffer[i] = _HEX_SYMBOLS[value & 0xf]; value >>= 4; } require(value == 0, "Strings: hex length insufficient"); return string(buffer); } } // File: @openzeppelin/contracts/utils/Address.sol pragma solidity ^0.8.0; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize, which returns 0 for contracts in // construction, since the code is only stored at the end of the // constructor execution. uint256 size; assembly { size := extcodesize(account) } return size > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); (bool success, ) = recipient.call{value: amount}(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain `call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCall(target, data, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value ) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value, string memory errorMessage ) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); require(isContract(target), "Address: call to non-contract"); (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall( address target, bytes memory data, string memory errorMessage ) internal view returns (bytes memory) { require(isContract(target), "Address: static call to non-contract"); (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { require(isContract(target), "Address: delegate call to non-contract"); (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason using the provided one. * * _Available since v4.3._ */ function verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) internal pure returns (bytes memory) { if (success) { return returndata; } else { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } } // File: @openzeppelin/contracts/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/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 `IERC721.onERC721Received.selector`. */ function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); } // File: @openzeppelin/contracts/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/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: balance query for the zero address"); return _balances[owner]; } /** * @dev See {IERC721-ownerOf}. */ function ownerOf(uint256 tokenId) public view virtual override returns (address) { address owner = _owners[tokenId]; require(owner != address(0), "ERC721: owner query for nonexistent token"); return owner; } /** * @dev See {IERC721Metadata-name}. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev See {IERC721Metadata-symbol}. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev See {IERC721Metadata-tokenURI}. */ function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { require(_exists(tokenId), "ERC721Metadata: URI query for nonexistent token"); string memory baseURI = _baseURI(); return bytes(baseURI).length > 0 ? string(abi.encodePacked(baseURI, tokenId.toString())) : ""; } /** * @dev Base URI for computing {tokenURI}. If set, the resulting URI for each * token will be the concatenation of the `baseURI` and the `tokenId`. Empty * by default, can be overriden in child contracts. */ function _baseURI() internal view virtual returns (string memory) { return ""; } /** * @dev See {IERC721-approve}. */ function approve(address to, uint256 tokenId) public virtual override { address owner = ERC721.ownerOf(tokenId); require(to != owner, "ERC721: approval to current owner"); require( _msgSender() == owner || isApprovedForAll(owner, _msgSender()), "ERC721: approve caller is not owner nor approved for all" ); _approve(to, tokenId); } /** * @dev See {IERC721-getApproved}. */ function getApproved(uint256 tokenId) public view virtual override returns (address) { require(_exists(tokenId), "ERC721: approved query for nonexistent token"); return _tokenApprovals[tokenId]; } /** * @dev See {IERC721-setApprovalForAll}. */ function setApprovalForAll(address operator, bool approved) public virtual override { require(operator != _msgSender(), "ERC721: approve to caller"); _operatorApprovals[_msgSender()][operator] = approved; emit ApprovalForAll(_msgSender(), operator, approved); } /** * @dev See {IERC721-isApprovedForAll}. */ function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) { return _operatorApprovals[owner][operator]; } /** * @dev See {IERC721-transferFrom}. */ function transferFrom( address from, address to, uint256 tokenId ) public virtual override { //solhint-disable-next-line max-line-length require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved"); _transfer(from, to, tokenId); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId ) public virtual override { safeTransferFrom(from, to, tokenId, ""); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes memory _data ) public virtual override { require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved"); _safeTransfer(from, to, tokenId, _data); } /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * `_data` is additional data, it has no specified format and it is sent in call to `to`. * * This internal function is equivalent to {safeTransferFrom}, and can be used to e.g. * implement alternative mechanisms to perform token transfer, such as signature-based. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeTransfer( address from, address to, uint256 tokenId, bytes memory _data ) internal virtual { _transfer(from, to, tokenId); require(_checkOnERC721Received(from, to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer"); } /** * @dev Returns whether `tokenId` exists. * * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}. * * Tokens start existing when they are minted (`_mint`), * and stop existing when they are burned (`_burn`). */ function _exists(uint256 tokenId) internal view virtual returns (bool) { return _owners[tokenId] != address(0); } /** * @dev Returns whether `spender` is allowed to manage `tokenId`. * * Requirements: * * - `tokenId` must exist. */ function _isApprovedOrOwner(address spender, uint256 tokenId) internal view virtual returns (bool) { require(_exists(tokenId), "ERC721: operator query for nonexistent token"); address owner = ERC721.ownerOf(tokenId); return (spender == owner || getApproved(tokenId) == spender || isApprovedForAll(owner, spender)); } /** * @dev Safely mints `tokenId` and transfers it to `to`. * * Requirements: * * - `tokenId` must not exist. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeMint(address to, uint256 tokenId) internal virtual { _safeMint(to, tokenId, ""); } /** * @dev Same as {xref-ERC721-_safeMint-address-uint256-}[`_safeMint`], with an additional `data` parameter which is * forwarded in {IERC721Receiver-onERC721Received} to contract recipients. */ function _safeMint( address to, uint256 tokenId, bytes memory _data ) internal virtual { _mint(to, tokenId); require( _checkOnERC721Received(address(0), to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer" ); } /** * @dev Mints `tokenId` and transfers it to `to`. * * WARNING: Usage of this method is discouraged, use {_safeMint} whenever possible * * Requirements: * * - `tokenId` must not exist. * - `to` cannot be the zero address. * * Emits a {Transfer} event. */ function _mint(address to, uint256 tokenId) internal virtual { require(to != address(0), "ERC721: mint to the zero address"); require(!_exists(tokenId), "ERC721: token already minted"); _beforeTokenTransfer(address(0), to, tokenId); _balances[to] += 1; _owners[tokenId] = to; emit Transfer(address(0), to, tokenId); } /** * @dev Destroys `tokenId`. * The approval is cleared when the token is burned. * * Requirements: * * - `tokenId` must exist. * * Emits a {Transfer} event. */ function _burn(uint256 tokenId) internal virtual { address owner = ERC721.ownerOf(tokenId); _beforeTokenTransfer(owner, address(0), tokenId); // Clear approvals _approve(address(0), tokenId); _balances[owner] -= 1; delete _owners[tokenId]; emit Transfer(owner, address(0), tokenId); } /** * @dev Transfers `tokenId` from `from` to `to`. * As opposed to {transferFrom}, this imposes no restrictions on msg.sender. * * Requirements: * * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * * Emits a {Transfer} event. */ function _transfer( address from, address to, uint256 tokenId ) internal virtual { require(ERC721.ownerOf(tokenId) == from, "ERC721: transfer of token that is not own"); require(to != address(0), "ERC721: transfer to the zero address"); _beforeTokenTransfer(from, to, tokenId); // Clear approvals from the previous owner _approve(address(0), tokenId); _balances[from] -= 1; _balances[to] += 1; _owners[tokenId] = to; emit Transfer(from, to, tokenId); } /** * @dev Approve `to` to operate on `tokenId` * * Emits a {Approval} event. */ function _approve(address to, uint256 tokenId) internal virtual { _tokenApprovals[tokenId] = to; emit Approval(ERC721.ownerOf(tokenId), to, tokenId); } /** * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target address. * The call is not executed if the target address is not a contract. * * @param from address representing the previous owner of the given token ID * @param to target address that will receive the tokens * @param tokenId uint256 ID of the token to be transferred * @param _data bytes optional data to send along with the call * @return bool whether the call correctly returned the expected magic value */ function _checkOnERC721Received( address from, address to, uint256 tokenId, bytes memory _data ) private returns (bool) { if (to.isContract()) { try IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, _data) returns (bytes4 retval) { return retval == IERC721Receiver.onERC721Received.selector; } catch (bytes memory reason) { if (reason.length == 0) { revert("ERC721: transfer to non ERC721Receiver implementer"); } else { assembly { revert(add(32, reason), mload(reason)) } } } } else { return true; } } /** * @dev Hook that is called before any token transfer. This includes minting * and burning. * * Calling conditions: * * - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, ``from``'s `tokenId` will be burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer( address from, address to, uint256 tokenId ) internal virtual {} } // File: @openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol pragma solidity ^0.8.0; /** * @dev This implements an optional extension of {ERC721} defined in the EIP that adds * enumerability of all the token ids in the contract as well as all token ids owned by each * account. */ abstract contract ERC721Enumerable is ERC721, IERC721Enumerable { // Mapping from owner to list of owned token IDs mapping(address => mapping(uint256 => uint256)) private _ownedTokens; // Mapping from token ID to index of the owner tokens list mapping(uint256 => uint256) private _ownedTokensIndex; // Array with all token ids, used for enumeration uint256[] private _allTokens; // Mapping from token id to position in the allTokens array mapping(uint256 => uint256) private _allTokensIndex; /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(IERC165, ERC721) returns (bool) { return interfaceId == type(IERC721Enumerable).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC721Enumerable-tokenOfOwnerByIndex}. */ function tokenOfOwnerByIndex(address owner, uint256 index) public view virtual override returns (uint256) { require(index < ERC721.balanceOf(owner), "ERC721Enumerable: owner index out of bounds"); return _ownedTokens[owner][index]; } /** * @dev See {IERC721Enumerable-totalSupply}. */ function totalSupply() public view virtual override returns (uint256) { return _allTokens.length; } /** * @dev See {IERC721Enumerable-tokenByIndex}. */ function tokenByIndex(uint256 index) public view virtual override returns (uint256) { require(index < ERC721Enumerable.totalSupply(), "ERC721Enumerable: global index out of bounds"); return _allTokens[index]; } /** * @dev Hook that is called before any token transfer. This includes minting * and burning. * * Calling conditions: * * - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, ``from``'s `tokenId` will be burned. * - `from` cannot be the zero address. * - `to` cannot be the zero address. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer( address from, address to, uint256 tokenId ) internal virtual override { super._beforeTokenTransfer(from, to, tokenId); if (from == address(0)) { _addTokenToAllTokensEnumeration(tokenId); } else if (from != to) { _removeTokenFromOwnerEnumeration(from, tokenId); } if (to == address(0)) { _removeTokenFromAllTokensEnumeration(tokenId); } else if (to != from) { _addTokenToOwnerEnumeration(to, tokenId); } } /** * @dev Private function to add a token to this extension's ownership-tracking data structures. * @param to address representing the new owner of the given token ID * @param tokenId uint256 ID of the token to be added to the tokens list of the given address */ function _addTokenToOwnerEnumeration(address to, uint256 tokenId) private { uint256 length = ERC721.balanceOf(to); _ownedTokens[to][length] = tokenId; _ownedTokensIndex[tokenId] = length; } /** * @dev Private function to add a token to this extension's token tracking data structures. * @param tokenId uint256 ID of the token to be added to the tokens list */ function _addTokenToAllTokensEnumeration(uint256 tokenId) private { _allTokensIndex[tokenId] = _allTokens.length; _allTokens.push(tokenId); } /** * @dev Private function to remove a token from this extension's ownership-tracking data structures. Note that * while the token is not assigned a new owner, the `_ownedTokensIndex` mapping is _not_ updated: this allows for * gas optimizations e.g. when performing a transfer operation (avoiding double writes). * This has O(1) time complexity, but alters the order of the _ownedTokens array. * @param from address representing the previous owner of the given token ID * @param tokenId uint256 ID of the token to be removed from the tokens list of the given address */ function _removeTokenFromOwnerEnumeration(address from, uint256 tokenId) private { // To prevent a gap in from's tokens array, we store the last token in the index of the token to delete, and // then delete the last slot (swap and pop). uint256 lastTokenIndex = ERC721.balanceOf(from) - 1; uint256 tokenIndex = _ownedTokensIndex[tokenId]; // When the token to delete is the last token, the swap operation is unnecessary if (tokenIndex != lastTokenIndex) { uint256 lastTokenId = _ownedTokens[from][lastTokenIndex]; _ownedTokens[from][tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token _ownedTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index } // This also deletes the contents at the last position of the array delete _ownedTokensIndex[tokenId]; delete _ownedTokens[from][lastTokenIndex]; } /** * @dev Private function to remove a token from this extension's token tracking data structures. * This has O(1) time complexity, but alters the order of the _allTokens array. * @param tokenId uint256 ID of the token to be removed from the tokens list */ function _removeTokenFromAllTokensEnumeration(uint256 tokenId) private { // To prevent a gap in the tokens array, we store the last token in the index of the token to delete, and // then delete the last slot (swap and pop). uint256 lastTokenIndex = _allTokens.length - 1; uint256 tokenIndex = _allTokensIndex[tokenId]; // When the token to delete is the last token, the swap operation is unnecessary. However, since this occurs so // rarely (when the last minted token is burnt) that we still do the swap here to avoid the gas cost of adding // an 'if' statement (like in _removeTokenFromOwnerEnumeration) uint256 lastTokenId = _allTokens[lastTokenIndex]; _allTokens[tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token _allTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index // This also deletes the contents at the last position of the array delete _allTokensIndex[tokenId]; _allTokens.pop(); } } // File: @openzeppelin/contracts/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() { _setOwner(_msgSender()); } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { 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 { _setOwner(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"); _setOwner(newOwner); } function _setOwner(address newOwner) private { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } } interface IMilk { function burn(address account, uint amount) external; function balanceOf(address owner) external view returns(uint); } contract Parmesan is ERC721Enumerable, Ownable, ReentrancyGuard { using Strings for uint256; using Counters for Counters.Counter; address public MILK_CONTRACT = 0x7FEF4c1b027a0eC266C57DCd1E30d5E6CA044711; address public KGOLD_CONTRACT; uint public MILK_RATIO = 12; uint public PARM_PRODUCE_TIME = 259200; uint public LEVEL_REQ = 5; uint public MODIFIER = 10800; uint public MAX_SUPPLY = 5000; mapping(address => uint) public isFromaging; mapping(address => uint) public makingCheeseFrom; mapping(address => uint) public fromagerLevel; Counters.Counter private supply; string private baseURI = "https://cheesyverse.s3.filebase.com/parmesan-json/"; string private uriSuffix = ".json"; event MakingParmesan( uint256 amount, address indexed caller ); constructor() ERC721("Parmesan", "PARM") { } function _baseURI() internal view virtual override returns (string memory) { return baseURI; } function mint(address to, uint amount) internal { for (uint256 i = 0; i < amount; i++) { supply.increment(); _safeMint(to, supply.current()); } } function claimCheese() public nonReentrant { uint claimable = claimableView(msg.sender); require(claimable > 0, "Nothing to claim!"); require(supply.current() < 5000, "All the Parmesan has been minted!"); if (supply.current() + claimable > 5000) { claimable = 5000 - supply.current(); } isFromaging[msg.sender] = 0; mint(msg.sender, claimable); } function claimableView(address account) public view returns(uint) { require(isFromaging[account] > 0, "You aren't fromaging!"); if (makingCheeseFrom[account] + cheeseTime(account) < block.timestamp) { return isFromaging[account]; } return 0; } function cheeseTime(address account) public view returns(uint) { if (fromagerLevel[account] >= LEVEL_REQ) { uint timeModifier = fromagerLevel[account] / LEVEL_REQ; if (timeModifier > 10) { timeModifier = 10; } return PARM_PRODUCE_TIME - (timeModifier * MODIFIER); } return PARM_PRODUCE_TIME; } function makeCheese(uint _amount) public nonReentrant { require(isFromaging[msg.sender] == 0, "You are already fromaging!"); require(_amount <= 10, "You can only make up to 10 cheese at a time!"); burnMilk(msg.sender, _amount); isFromaging[msg.sender] = _amount; makingCheeseFrom[msg.sender] = block.timestamp; emit MakingParmesan(_amount, msg.sender); } function burnMilk(address account, uint _amount) internal { IMilk m = IMilk(MILK_CONTRACT); require(m.balanceOf(account) >= (_amount * MILK_RATIO * 10**18), "You don't have enough cMILK!"); m.burn(account,(_amount * MILK_RATIO * 10**18)); } function burnCheese(uint tokenID) external { require(msg.sender == KGOLD_CONTRACT, "Only King Pyro can call this function!"); _burn(tokenID); } function walletOfOwner(address _owner) public view returns (uint256[] memory) { uint256 ownerTokenCount = balanceOf(_owner); uint256[] memory tokenIds = new uint256[](ownerTokenCount); for (uint256 i; i < ownerTokenCount; i++) { tokenIds[i] = tokenOfOwnerByIndex(_owner, i); } return tokenIds; } function tokenURI(uint256 tokenID) public view override returns(string memory) { require(_exists(tokenID), "ERC721Metadata: URI query for nonexistent token"); string memory currentBaseURI = _baseURI(); return bytes(currentBaseURI).length > 0 ? string( abi.encodePacked(currentBaseURI, tokenID.toString(), uriSuffix) ) : ""; } function checkFromagerLevel(address fromager) public view returns(uint) { return fromagerLevel[fromager]; } function increaseFromagerLevel(address fromager) external { require(msg.sender == KGOLD_CONTRACT, "Only King Pyro can call this function!"); fromagerLevel[fromager] += 1; } function airdropCheese(address to, uint amount) public onlyOwner { mint(to, amount); } function setBaseURI(string memory _newBaseURI) public onlyOwner { baseURI = _newBaseURI; } function setMilkAddress(address _milkAddr) public onlyOwner { MILK_CONTRACT = _milkAddr; } function setKingAddress(address _kAddr) public onlyOwner { KGOLD_CONTRACT = _kAddr; } function setMilkRatio(uint _newValue) public onlyOwner { MILK_RATIO = _newValue; } function setMilkTime(uint _newValue) public onlyOwner { PARM_PRODUCE_TIME = _newValue; } function setLevelReq(uint _newValue) public onlyOwner { LEVEL_REQ = _newValue; } function setModifier(uint _newValue) public onlyOwner { MODIFIER = _newValue; } function setMaxSupply(uint _newValue) public onlyOwner { MAX_SUPPLY = _newValue; } }
[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"},{"indexed":true,"internalType":"address","name":"caller","type":"address"}],"name":"MakingParmesan","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":"KGOLD_CONTRACT","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"LEVEL_REQ","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MILK_CONTRACT","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MILK_RATIO","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MODIFIER","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PARM_PRODUCE_TIME","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"airdropCheese","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenID","type":"uint256"}],"name":"burnCheese","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"fromager","type":"address"}],"name":"checkFromagerLevel","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"cheeseTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"claimCheese","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"claimableView","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"fromagerLevel","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"fromager","type":"address"}],"name":"increaseFromagerLevel","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"isFromaging","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"makeCheese","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"makingCheeseFrom","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_newBaseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_kAddr","type":"address"}],"name":"setKingAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newValue","type":"uint256"}],"name":"setLevelReq","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newValue","type":"uint256"}],"name":"setMaxSupply","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_milkAddr","type":"address"}],"name":"setMilkAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newValue","type":"uint256"}],"name":"setMilkRatio","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newValue","type":"uint256"}],"name":"setMilkTime","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newValue","type":"uint256"}],"name":"setModifier","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenID","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_owner","type":"address"}],"name":"walletOfOwner","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"}]
Contract Creation Code
600c80546001600160a01b031916737fef4c1b027a0ec266c57dcd1e30d5e6ca044711178155600e556203f480600f556005601055612a3060115561138860125560e0604052603260808181529062002bcc60a03980516200006a9160179160209091019062000188565b5060408051808201909152600580825264173539b7b760d91b6020909201918252620000999160189162000188565b50348015620000a757600080fd5b5060408051808201825260088152672830b936b2b9b0b760c11b6020808301918252835180850190945260048452635041524d60e01b908401528151919291620000f49160009162000188565b5080516200010a90600190602084019062000188565b50505062000127620001216200013260201b60201c565b62000136565b6001600b556200026b565b3390565b600a80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b82805462000196906200022e565b90600052602060002090601f016020900481019282620001ba576000855562000205565b82601f10620001d557805160ff191683800117855562000205565b8280016001018555821562000205579182015b8281111562000205578251825591602001919060010190620001e8565b506200021392915062000217565b5090565b5b8082111562000213576000815560010162000218565b6002810460018216806200024357607f821691505b602082108114156200026557634e487b7160e01b600052602260045260246000fd5b50919050565b612951806200027b6000396000f3fe608060405234801561001057600080fd5b506004361061028a5760003560e01c8063605fba671161015c57806395d89b41116100ce578063be262eda11610087578063be262eda146105c1578063c87b56dd146105c9578063d942d45d146105dc578063def4d64d146105ef578063e985e9c5146105f8578063f2fde38b146106345761028a565b806395d89b4114610537578063a22cb4651461053f578063b49fa4bf14610552578063b4f8bb8214610565578063b88d4fde1461058e578063ba8e5c42146105a15761028a565b806370a082311161012057806370a08231146104cf578063715018a6146104e257806379e79ba0146104ea5780638da5cb5b146104f35780638e3b677a146105045780638eedd24e146105175761028a565b8063605fba671461047a5780636352211e1461048d5780636af526d5146104a05780636bf00f2a146104a95780636f8b44b0146104bc5761028a565b806323b872dd1161020057806342842e0e116101b957806342842e0e146103ee578063438b6300146104015780634b3f9626146104215780634f6ccce71461044157806351320b5c1461045457806355f804b3146104675761028a565b806323b872dd14610390578063273ddf35146103a357806327852c8d146103ac5780632f745c59146103bf57806332cb6b0c146103d257806336d6e2dc146103db5761028a565b80630e8fc228116102525780630e8fc2281461031f57806312c122481461033257806318160ddd1461034557806319d36353146103575780631c1a1a171461036a57806320f468e81461037d5761028a565b806301017a0c1461028f57806301ffc9a7146102a457806306fdde03146102cc578063081812fc146102e1578063095ea7b31461030c575b600080fd5b6102a261029d36600461231a565b610647565b005b6102b76102b236600461247d565b6106ab565b60405190151581526020015b60405180910390f35b6102d46106d8565b6040516102c3919061269a565b6102f46102ef3660046124fb565b61076a565b6040516001600160a01b0390911681526020016102c3565b6102a261031a366004612454565b6107ff565b6102a261032d36600461231a565b610915565b600d546102f4906001600160a01b031681565b6008545b6040519081526020016102c3565b6102a2610365366004612454565b610961565b600c546102f4906001600160a01b031681565b61034961038b36600461231a565b610999565b6102a261039e366004612366565b610a1c565b610349600e5481565b6102a26103ba3660046124fb565b610a4d565b6103496103cd366004612454565b610a7c565b61034960125481565b6102a26103e93660046124fb565b610b12565b6102a26103fc366004612366565b610c8e565b61041461040f36600461231a565b610ca9565b6040516102c39190612656565b61034961042f36600461231a565b60146020526000908152604090205481565b61034961044f3660046124fb565b610d67565b6102a26104623660046124fb565b610e08565b6102a26104753660046124b5565b610e37565b61034961048836600461231a565b610e74565b6102f461049b3660046124fb565b610f2b565b610349600f5481565b6102a26104b73660046124fb565b610fa2565b6102a26104ca3660046124fb565b610fd1565b6103496104dd36600461231a565b611000565b6102a2611087565b61034960115481565b600a546001600160a01b03166102f4565b6102a261051236600461231a565b6110bd565b61034961052536600461231a565b60156020526000908152604090205481565b6102d4611109565b6102a261054d36600461241a565b611118565b6102a26105603660046124fb565b6111ea565b61034961057336600461231a565b6001600160a01b031660009081526015602052604090205490565b6102a261059c3660046123a1565b611220565b6103496105af36600461231a565b60136020526000908152604090205481565b6102a2611258565b6102d46105d73660046124fb565b6113b5565b6102a26105ea3660046124fb565b611493565b61034960105481565b6102b7610606366004612334565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b6102a261064236600461231a565b6114c2565b600d546001600160a01b0316331461067a5760405162461bcd60e51b8152600401610671906126ff565b60405180910390fd5b6001600160a01b03811660009081526015602052604081208054600192906106a39084906127cb565b909155505050565b60006001600160e01b0319821663780e9d6360e01b14806106d057506106d08261155a565b90505b919050565b6060600080546106e790612859565b80601f016020809104026020016040519081016040528092919081815260200182805461071390612859565b80156107605780601f1061073557610100808354040283529160200191610760565b820191906000526020600020905b81548152906001019060200180831161074357829003601f168201915b5050505050905090565b6000818152600260205260408120546001600160a01b03166107e35760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b6064820152608401610671565b506000908152600460205260409020546001600160a01b031690565b600061080a82610f2b565b9050806001600160a01b0316836001600160a01b031614156108785760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b6064820152608401610671565b336001600160a01b038216148061089457506108948133610606565b6109065760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c00000000000000006064820152608401610671565b61091083836115aa565b505050565b600a546001600160a01b0316331461093f5760405162461bcd60e51b815260040161067190612745565b600d80546001600160a01b0319166001600160a01b0392909216919091179055565b600a546001600160a01b0316331461098b5760405162461bcd60e51b815260040161067190612745565b6109958282611618565b5050565b6010546001600160a01b038216600090815260156020526040812054909111610a14576010546001600160a01b03831660009081526015602052604081205490916109e3916127e3565b9050600a8111156109f25750600a5b6011546109ff90826127f7565b600f54610a0c9190612816565b9150506106d3565b5050600f5490565b610a263382611655565b610a425760405162461bcd60e51b81526004016106719061277a565b61091083838361174c565b600a546001600160a01b03163314610a775760405162461bcd60e51b815260040161067190612745565b601155565b6000610a8783611000565b8210610ae95760405162461bcd60e51b815260206004820152602b60248201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560448201526a74206f6620626f756e647360a81b6064820152608401610671565b506001600160a01b03919091166000908152600660209081526040808320938352929052205490565b6002600b541415610b655760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610671565b6002600b553360009081526013602052604090205415610bc75760405162461bcd60e51b815260206004820152601a60248201527f596f752061726520616c72656164792066726f6d6167696e67210000000000006044820152606401610671565b600a811115610c2d5760405162461bcd60e51b815260206004820152602c60248201527f596f752063616e206f6e6c79206d616b6520757020746f20313020636865657360448201526b6520617420612074696d652160a01b6064820152608401610671565b610c3733826118f7565b336000818152601360209081526040808320859055601482529182902042905590518381527e5e92fd2fa9579da31109e3d0ea10108eaf979f8c8f0c71098b9ad33b049ba9910160405180910390a2506001600b55565b61091083838360405180602001604052806000815250611220565b60606000610cb683611000565b905060008167ffffffffffffffff811115610ce157634e487b7160e01b600052604160045260246000fd5b604051908082528060200260200182016040528015610d0a578160200160208202803683370190505b50905060005b82811015610d5f57610d228582610a7c565b828281518110610d4257634e487b7160e01b600052603260045260246000fd5b602090810291909101015280610d5781612894565b915050610d10565b509392505050565b6000610d7260085490565b8210610dd55760405162461bcd60e51b815260206004820152602c60248201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60448201526b7574206f6620626f756e647360a01b6064820152608401610671565b60088281548110610df657634e487b7160e01b600052603260045260246000fd5b90600052602060002001549050919050565b600a546001600160a01b03163314610e325760405162461bcd60e51b815260040161067190612745565b600e55565b600a546001600160a01b03163314610e615760405162461bcd60e51b815260040161067190612745565b80516109959060179060208401906121f4565b6001600160a01b038116600090815260136020526040812054610ed15760405162461bcd60e51b8152602060048201526015602482015274596f75206172656e27742066726f6d6167696e672160581b6044820152606401610671565b42610edb83610999565b6001600160a01b038416600090815260146020526040902054610efe91906127cb565b1015610f2357506001600160a01b0381166000908152601360205260409020546106d3565b506000919050565b6000818152600260205260408120546001600160a01b0316806106d05760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201526832b73a103a37b5b2b760b91b6064820152608401610671565b600a546001600160a01b03163314610fcc5760405162461bcd60e51b815260040161067190612745565b600f55565b600a546001600160a01b03163314610ffb5760405162461bcd60e51b815260040161067190612745565b601255565b60006001600160a01b03821661106b5760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b6064820152608401610671565b506001600160a01b031660009081526003602052604090205490565b600a546001600160a01b031633146110b15760405162461bcd60e51b815260040161067190612745565b6110bb6000611a7f565b565b600a546001600160a01b031633146110e75760405162461bcd60e51b815260040161067190612745565b600c80546001600160a01b0319166001600160a01b0392909216919091179055565b6060600180546106e790612859565b6001600160a01b0382163314156111715760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c6572000000000000006044820152606401610671565b3360008181526005602090815260408083206001600160a01b0387168085529252909120805460ff1916841515179055906001600160a01b03167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516111de911515815260200190565b60405180910390a35050565b600d546001600160a01b031633146112145760405162461bcd60e51b8152600401610671906126ff565b61121d81611ad1565b50565b61122a3383611655565b6112465760405162461bcd60e51b81526004016106719061277a565b61125284848484611b78565b50505050565b6002600b5414156112ab5760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610671565b6002600b5560006112bb33610e74565b9050600081116113015760405162461bcd60e51b81526020600482015260116024820152704e6f7468696e6720746f20636c61696d2160781b6044820152606401610671565b61138861130d60165490565b106113645760405162461bcd60e51b815260206004820152602160248201527f416c6c20746865205061726d6573616e20686173206265656e206d696e7465646044820152602160f81b6064820152608401610671565b6113888161137160165490565b61137b91906127cb565b11156113935760165461139090611388612816565b90505b336000818152601360205260408120556113ad9082611618565b506001600b55565b6000818152600260205260409020546060906001600160a01b03166114345760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b6064820152608401610671565b600061143e611bab565b9050600081511161145e576040518060200160405280600081525061148c565b8061146884611bba565b601860405160200161147c93929190612557565b6040516020818303038152906040525b9392505050565b600a546001600160a01b031633146114bd5760405162461bcd60e51b815260040161067190612745565b601055565b600a546001600160a01b031633146114ec5760405162461bcd60e51b815260040161067190612745565b6001600160a01b0381166115515760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610671565b61121d81611a7f565b60006001600160e01b031982166380ac58cd60e01b148061158b57506001600160e01b03198216635b5e139f60e01b145b806106d057506301ffc9a760e01b6001600160e01b03198316146106d0565b600081815260046020526040902080546001600160a01b0319166001600160a01b03841690811790915581906115df82610f2b565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b60005b8181101561091057611631601680546001019055565b6116438361163e60165490565b611cd5565b8061164d81612894565b91505061161b565b6000818152600260205260408120546001600160a01b03166116ce5760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b6064820152608401610671565b60006116d983610f2b565b9050806001600160a01b0316846001600160a01b031614806117145750836001600160a01b03166117098461076a565b6001600160a01b0316145b8061174457506001600160a01b0380821660009081526005602090815260408083209388168352929052205460ff165b949350505050565b826001600160a01b031661175f82610f2b565b6001600160a01b0316146117c75760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201526839903737ba1037bbb760b91b6064820152608401610671565b6001600160a01b0382166118295760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b6064820152608401610671565b611834838383611cef565b61183f6000826115aa565b6001600160a01b0383166000908152600360205260408120805460019290611868908490612816565b90915550506001600160a01b03821660009081526003602052604081208054600192906118969084906127cb565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b600c54600e546001600160a01b039091169061191390836127f7565b61192590670de0b6b3a76400006127f7565b6040516370a0823160e01b81526001600160a01b0385811660048301528316906370a082319060240160206040518083038186803b15801561196657600080fd5b505afa15801561197a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061199e9190612513565b10156119ec5760405162461bcd60e51b815260206004820152601c60248201527f596f7520646f6e2774206861766520656e6f75676820634d494c4b21000000006044820152606401610671565b806001600160a01b0316639dc29fac84600e5485611a0a91906127f7565b611a1c90670de0b6b3a76400006127f7565b6040516001600160e01b031960e085901b1681526001600160a01b0390921660048301526024820152604401600060405180830381600087803b158015611a6257600080fd5b505af1158015611a76573d6000803e3d6000fd5b50505050505050565b600a80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6000611adc82610f2b565b9050611aea81600084611cef565b611af56000836115aa565b6001600160a01b0381166000908152600360205260408120805460019290611b1e908490612816565b909155505060008281526002602052604080822080546001600160a01b0319169055518391906001600160a01b038416907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908390a45050565b611b8384848461174c565b611b8f84848484611dac565b6112525760405162461bcd60e51b8152600401610671906126ad565b6060601780546106e790612859565b606081611bdf57506040805180820190915260018152600360fc1b60208201526106d3565b8160005b8115611c095780611bf381612894565b9150611c029050600a836127e3565b9150611be3565b60008167ffffffffffffffff811115611c3257634e487b7160e01b600052604160045260246000fd5b6040519080825280601f01601f191660200182016040528015611c5c576020820181803683370190505b5090505b841561174457611c71600183612816565b9150611c7e600a866128af565b611c899060306127cb565b60f81b818381518110611cac57634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a905350611cce600a866127e3565b9450611c60565b610995828260405180602001604052806000815250611eb9565b6001600160a01b038316611d4a57611d4581600880546000838152600960205260408120829055600182018355919091527ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee30155565b611d6d565b816001600160a01b0316836001600160a01b031614611d6d57611d6d8382611eec565b6001600160a01b038216611d8957611d8481611f89565b610910565b826001600160a01b0316826001600160a01b031614610910576109108282612062565b60006001600160a01b0384163b15611eae57604051630a85bd0160e11b81526001600160a01b0385169063150b7a0290611df0903390899088908890600401612619565b602060405180830381600087803b158015611e0a57600080fd5b505af1925050508015611e3a575060408051601f3d908101601f19168201909252611e3791810190612499565b60015b611e94573d808015611e68576040519150601f19603f3d011682016040523d82523d6000602084013e611e6d565b606091505b508051611e8c5760405162461bcd60e51b8152600401610671906126ad565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050611744565b506001949350505050565b611ec383836120a6565b611ed06000848484611dac565b6109105760405162461bcd60e51b8152600401610671906126ad565b60006001611ef984611000565b611f039190612816565b600083815260076020526040902054909150808214611f56576001600160a01b03841660009081526006602090815260408083208584528252808320548484528184208190558352600790915290208190555b5060009182526007602090815260408084208490556001600160a01b039094168352600681528383209183525290812055565b600854600090611f9b90600190612816565b60008381526009602052604081205460088054939450909284908110611fd157634e487b7160e01b600052603260045260246000fd5b90600052602060002001549050806008838154811061200057634e487b7160e01b600052603260045260246000fd5b600091825260208083209091019290925582815260099091526040808220849055858252812055600880548061204657634e487b7160e01b600052603160045260246000fd5b6001900381819060005260206000200160009055905550505050565b600061206d83611000565b6001600160a01b039093166000908152600660209081526040808320868452825280832085905593825260079052919091209190915550565b6001600160a01b0382166120fc5760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f20616464726573736044820152606401610671565b6000818152600260205260409020546001600160a01b0316156121615760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606401610671565b61216d60008383611cef565b6001600160a01b03821660009081526003602052604081208054600192906121969084906127cb565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b82805461220090612859565b90600052602060002090601f0160209004810192826122225760008555612268565b82601f1061223b57805160ff1916838001178555612268565b82800160010185558215612268579182015b8281111561226857825182559160200191906001019061224d565b50612274929150612278565b5090565b5b808211156122745760008155600101612279565b600067ffffffffffffffff808411156122a8576122a86128ef565b604051601f8501601f19908116603f011681019082821181831017156122d0576122d06128ef565b816040528093508581528686860111156122e957600080fd5b858560208301376000602087830101525050509392505050565b80356001600160a01b03811681146106d357600080fd5b60006020828403121561232b578081fd5b61148c82612303565b60008060408385031215612346578081fd5b61234f83612303565b915061235d60208401612303565b90509250929050565b60008060006060848603121561237a578081fd5b61238384612303565b925061239160208501612303565b9150604084013590509250925092565b600080600080608085870312156123b6578081fd5b6123bf85612303565b93506123cd60208601612303565b925060408501359150606085013567ffffffffffffffff8111156123ef578182fd5b8501601f810187136123ff578182fd5b61240e8782356020840161228d565b91505092959194509250565b6000806040838503121561242c578182fd5b61243583612303565b915060208301358015158114612449578182fd5b809150509250929050565b60008060408385031215612466578182fd5b61246f83612303565b946020939093013593505050565b60006020828403121561248e578081fd5b813561148c81612905565b6000602082840312156124aa578081fd5b815161148c81612905565b6000602082840312156124c6578081fd5b813567ffffffffffffffff8111156124dc578182fd5b8201601f810184136124ec578182fd5b6117448482356020840161228d565b60006020828403121561250c578081fd5b5035919050565b600060208284031215612524578081fd5b5051919050565b6000815180845261254381602086016020860161282d565b601f01601f19169290920160200192915050565b60008451602061256a8285838a0161282d565b85519184019161257d8184848a0161282d565b855492019183906002810460018083168061259957607f831692505b8583108114156125b757634e487b7160e01b88526022600452602488fd5b8080156125cb57600181146125dc57612608565b60ff19851688528388019550612608565b60008b815260209020895b858110156126005781548a8201529084019088016125e7565b505083880195505b50939b9a5050505050505050505050565b6001600160a01b038581168252841660208201526040810183905260806060820181905260009061264c9083018461252b565b9695505050505050565b6020808252825182820181905260009190848201906040850190845b8181101561268e57835183529284019291840191600101612672565b50909695505050505050565b60006020825261148c602083018461252b565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b60208082526026908201527f4f6e6c79204b696e67205079726f2063616e2063616c6c20746869732066756e6040820152656374696f6e2160d01b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b600082198211156127de576127de6128c3565b500190565b6000826127f2576127f26128d9565b500490565b6000816000190483118215151615612811576128116128c3565b500290565b600082821015612828576128286128c3565b500390565b60005b83811015612848578181015183820152602001612830565b838111156112525750506000910152565b60028104600182168061286d57607f821691505b6020821081141561288e57634e487b7160e01b600052602260045260246000fd5b50919050565b60006000198214156128a8576128a86128c3565b5060010190565b6000826128be576128be6128d9565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160e01b03198116811461121d57600080fdfea2646970667358221220e6db16c5ff35aac7f84ecc0ab1284d214d5705227d0769a677827b2148879c4064736f6c6343000802003368747470733a2f2f63686565737976657273652e73332e66696c65626173652e636f6d2f7061726d6573616e2d6a736f6e2f
Deployed ByteCode Sourcemap
47541:5174:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;51611:193;;;;;;:::i;:::-;;:::i;:::-;;38971:224;;;;;;:::i;:::-;;:::i;:::-;;;7974:14:1;;7967:22;7949:41;;7937:2;7922:18;38971:224:0;;;;;;;;26863:100;;;:::i;:::-;;;;;;;:::i;28422:221::-;;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;6353:32:1;;;6335:51;;6323:2;6308:18;28422:221:0;6290:102:1;27945:411:0;;;;;;:::i;:::-;;:::i;52124:95::-;;;;;;:::i;:::-;;:::i;47760:29::-;;;;;-1:-1:-1;;;;;47760:29:0;;;39611:113;39699:10;:17;39611:113;;;18568:25:1;;;18556:2;18541:18;39611:113:0;18523:76:1;51810:96:0;;;;;;:::i;:::-;;:::i;47682:73::-;;;;;-1:-1:-1;;;;;47682:73:0;;;49474:410;;;;;;:::i;:::-;;:::i;29312:339::-;;;;;;:::i;:::-;;:::i;47796:27::-;;;;;;52523:89;;;;;;:::i;:::-;;:::i;39279:256::-;;;;;;:::i;:::-;;:::i;47934:29::-;;;;;;49890:417;;;;;;:::i;:::-;;:::i;29722:185::-;;;;;;:::i;:::-;;:::i;50769:348::-;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;48018:48::-;;;;;;:::i;:::-;;;;;;;;;;;;;;39801:233;;;;;;:::i;:::-;;:::i;52225:92::-;;;;;;:::i;:::-;;:::i;51912:100::-;;;;;;:::i;:::-;;:::i;49165:301::-;;;;;;:::i;:::-;;:::i;26557:239::-;;;;;;:::i;:::-;;:::i;47828:38::-;;;;;;52323:98;;;;;;:::i;:::-;;:::i;52618:92::-;;;;;;:::i;:::-;;:::i;26287:208::-;;;;;;:::i;:::-;;:::i;46760:94::-;;;:::i;47901:28::-;;;;;;46109:87;46182:6;;-1:-1:-1;;;;;46182:6:0;46109:87;;52018:100;;;;;;:::i;:::-;;:::i;48071:45::-;;;;;;:::i;:::-;;;;;;;;;;;;;;27032:104;;;:::i;28715:295::-;;;;;;:::i;:::-;;:::i;50599:164::-;;;;;;:::i;:::-;;:::i;51488:117::-;;;;;;:::i;:::-;-1:-1:-1;;;;;51576:23:0;51554:4;51576:23;;;:13;:23;;;;;;;51488:117;29978:328;;;;;;:::i;:::-;;:::i;47970:43::-;;;;;;:::i;:::-;;;;;;;;;;;;;;48718:441;;;:::i;51123:359::-;;;;;;:::i;:::-;;:::i;52427:90::-;;;;;;:::i;:::-;;:::i;47871:25::-;;;;;;29081:164;;;;;;:::i;:::-;-1:-1:-1;;;;;29202:25:0;;;29178:4;29202:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;29081:164;47009:192;;;;;;:::i;:::-;;:::i;51611:193::-;51702:14;;-1:-1:-1;;;;;51702:14:0;51688:10;:28;51680:79;;;;-1:-1:-1;;;51680:79:0;;;;;;;:::i;:::-;;;;;;;;;-1:-1:-1;;;;;51770:23:0;;;;;;:13;:23;;;;;:28;;51797:1;;51770:23;:28;;51797:1;;51770:28;:::i;:::-;;;;-1:-1:-1;;;51611:193:0:o;38971:224::-;39073:4;-1:-1:-1;;;;;;39097:50:0;;-1:-1:-1;;;39097:50:0;;:90;;;39151:36;39175:11;39151:23;:36::i;:::-;39090:97;;38971:224;;;;:::o;26863:100::-;26917:13;26950:5;26943:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;26863:100;:::o;28422:221::-;28498:7;31905:16;;;:7;:16;;;;;;-1:-1:-1;;;;;31905:16:0;28518:73;;;;-1:-1:-1;;;28518:73:0;;13563:2:1;28518:73:0;;;13545:21:1;13602:2;13582:18;;;13575:30;13641:34;13621:18;;;13614:62;-1:-1:-1;;;13692:18:1;;;13685:42;13744:19;;28518:73:0;13535:234:1;28518:73:0;-1:-1:-1;28611:24:0;;;;:15;:24;;;;;;-1:-1:-1;;;;;28611:24:0;;28422:221::o;27945:411::-;28026:13;28042:23;28057:7;28042:14;:23::i;:::-;28026:39;;28090:5;-1:-1:-1;;;;;28084:11:0;:2;-1:-1:-1;;;;;28084:11:0;;;28076:57;;;;-1:-1:-1;;;28076:57:0;;15163:2:1;28076:57:0;;;15145:21:1;15202:2;15182:18;;;15175:30;15241:34;15221:18;;;15214:62;-1:-1:-1;;;15292:18:1;;;15285:31;15333:19;;28076:57:0;15135:223:1;28076:57:0;24472:10;-1:-1:-1;;;;;28168:21:0;;;;:62;;-1:-1:-1;28193:37:0;28210:5;24472:10;28217:12;24392:98;28193:37;28146:168;;;;-1:-1:-1;;;28146:168:0;;11956:2:1;28146:168:0;;;11938:21:1;11995:2;11975:18;;;11968:30;12034:34;12014:18;;;12007:62;12105:26;12085:18;;;12078:54;12149:19;;28146:168:0;11928:246:1;28146:168:0;28327:21;28336:2;28340:7;28327:8;:21::i;:::-;27945:411;;;:::o;52124:95::-;46182:6;;-1:-1:-1;;;;;46182:6:0;24472:10;46329:23;46321:68;;;;-1:-1:-1;;;46321:68:0;;;;;;;:::i;:::-;52190:14:::1;:23:::0;;-1:-1:-1;;;;;;52190:23:0::1;-1:-1:-1::0;;;;;52190:23:0;;;::::1;::::0;;;::::1;::::0;;52124:95::o;51810:96::-;46182:6;;-1:-1:-1;;;;;46182:6:0;24472:10;46329:23;46321:68;;;;-1:-1:-1;;;46321:68:0;;;;;;;:::i;:::-;51884:16:::1;51889:2;51893:6;51884:4;:16::i;:::-;51810:96:::0;;:::o;49474:410::-;49578:9;;-1:-1:-1;;;;;49552:22:0;;49531:4;49552:22;;;:13;:22;;;;;;49531:4;;-1:-1:-1;49548:282:0;;49649:9;;-1:-1:-1;;;;;49624:22:0;;49604:17;49624:22;;;:13;:22;;;;;;49604:17;;49624:34;;;:::i;:::-;49604:54;;49694:2;49679:12;:17;49675:75;;;-1:-1:-1;49732:2:0;49675:75;49809:8;;49794:23;;:12;:23;:::i;:::-;49773:17;;:45;;;;:::i;:::-;49766:52;;;;;49548:282;-1:-1:-1;;49857:17:0;;;49474:410::o;29312:339::-;29507:41;24472:10;29540:7;29507:18;:41::i;:::-;29499:103;;;;-1:-1:-1;;;29499:103:0;;;;;;;:::i;:::-;29615:28;29625:4;29631:2;29635:7;29615:9;:28::i;52523:89::-;46182:6;;-1:-1:-1;;;;;46182:6:0;24472:10;46329:23;46321:68;;;;-1:-1:-1;;;46321:68:0;;;;;;;:::i;:::-;52586:8:::1;:20:::0;52523:89::o;39279:256::-;39376:7;39412:23;39429:5;39412:16;:23::i;:::-;39404:5;:31;39396:87;;;;-1:-1:-1;;;39396:87:0;;8427:2:1;39396:87:0;;;8409:21:1;8466:2;8446:18;;;8439:30;8505:34;8485:18;;;8478:62;-1:-1:-1;;;8556:18:1;;;8549:41;8607:19;;39396:87:0;8399:233:1;39396:87:0;-1:-1:-1;;;;;;39501:19:0;;;;;;;;:12;:19;;;;;;;;:26;;;;;;;;;39279:256::o;49890:417::-;3341:1;3939:7;;:19;;3931:63;;;;-1:-1:-1;;;3931:63:0;;17561:2:1;3931:63:0;;;17543:21:1;17600:2;17580:18;;;17573:30;17639:33;17619:18;;;17612:61;17690:18;;3931:63:0;17533:181:1;3931:63:0;3341:1;4072:7;:18;49975:10:::1;49963:23;::::0;;;:11:::1;:23;::::0;;;;;:28;49955:67:::1;;;::::0;-1:-1:-1;;;49955:67:0;;10022:2:1;49955:67:0::1;::::0;::::1;10004:21:1::0;10061:2;10041:18;;;10034:30;10100:28;10080:18;;;10073:56;10146:18;;49955:67:0::1;9994:176:1::0;49955:67:0::1;50052:2;50041:7;:13;;50033:70;;;::::0;-1:-1:-1;;;50033:70:0;;15565:2:1;50033:70:0::1;::::0;::::1;15547:21:1::0;15604:2;15584:18;;;15577:30;15643:34;15623:18;;;15616:62;-1:-1:-1;;;15694:18:1;;;15687:42;15746:19;;50033:70:0::1;15537:234:1::0;50033:70:0::1;50114:29;50123:10;50135:7;50114:8;:29::i;:::-;50168:10;50156:23;::::0;;;:11:::1;:23;::::0;;;;;;;:33;;;50202:16:::1;:28:::0;;;;;;50233:15:::1;50202:46:::0;;50264:35;;18568:25:1;;;50264:35:0::1;::::0;18541:18:1;50264:35:0::1;;;;;;;-1:-1:-1::0;3297:1:0;4251:7;:22;49890:417::o;29722:185::-;29860:39;29877:4;29883:2;29887:7;29860:39;;;;;;;;;;;;:16;:39::i;50769:348::-;50844:16;50872:23;50898:17;50908:6;50898:9;:17::i;:::-;50872:43;;50922:25;50964:15;50950:30;;;;;;-1:-1:-1;;;50950:30:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;50950:30:0;;50922:58;;50992:9;50987:103;51007:15;51003:1;:19;50987:103;;;51052:30;51072:6;51080:1;51052:19;:30::i;:::-;51038:8;51047:1;51038:11;;;;;;-1:-1:-1;;;51038:11:0;;;;;;;;;;;;;;;;;;:44;51024:3;;;;:::i;:::-;;;;50987:103;;;-1:-1:-1;51103:8:0;50769:348;-1:-1:-1;;;50769:348:0:o;39801:233::-;39876:7;39912:30;39699:10;:17;39611:113;;39912:30;39904:5;:38;39896:95;;;;-1:-1:-1;;;39896:95:0;;16396:2:1;39896:95:0;;;16378:21:1;16435:2;16415:18;;;16408:30;16474:34;16454:18;;;16447:62;-1:-1:-1;;;16525:18:1;;;16518:42;16577:19;;39896:95:0;16368:234:1;39896:95:0;40009:10;40020:5;40009:17;;;;;;-1:-1:-1;;;40009:17:0;;;;;;;;;;;;;;;;;40002:24;;39801:233;;;:::o;52225:92::-;46182:6;;-1:-1:-1;;;;;46182:6:0;24472:10;46329:23;46321:68;;;;-1:-1:-1;;;46321:68:0;;;;;;;:::i;:::-;52289:10:::1;:22:::0;52225:92::o;51912:100::-;46182:6;;-1:-1:-1;;;;;46182:6:0;24472:10;46329:23;46321:68;;;;-1:-1:-1;;;46321:68:0;;;;;;;:::i;:::-;51985:21;;::::1;::::0;:7:::1;::::0;:21:::1;::::0;::::1;::::0;::::1;:::i;49165:301::-:0;-1:-1:-1;;;;;49250:20:0;;49225:4;49250:20;;;:11;:20;;;;;;49242:58;;;;-1:-1:-1;;;49242:58:0;;17211:2:1;49242:58:0;;;17193:21:1;17250:2;17230:18;;;17223:30;-1:-1:-1;;;17269:18:1;;;17262:51;17330:18;;49242:58:0;17183:171:1;49242:58:0;49367:15;49345:19;49356:7;49345:10;:19::i;:::-;-1:-1:-1;;;;;49317:25:0;;;;;;:16;:25;;;;;;:47;;;;:::i;:::-;:65;49313:125;;;-1:-1:-1;;;;;;49406:20:0;;;;;;:11;:20;;;;;;49399:27;;49313:125;-1:-1:-1;49457:1:0;49165:301;;;:::o;26557:239::-;26629:7;26665:16;;;:7;:16;;;;;;-1:-1:-1;;;;;26665:16:0;26700:19;26692:73;;;;-1:-1:-1;;;26692:73:0;;12792:2:1;26692:73:0;;;12774:21:1;12831:2;12811:18;;;12804:30;12870:34;12850:18;;;12843:62;-1:-1:-1;;;12921:18:1;;;12914:39;12970:19;;26692:73:0;12764:231:1;52323:98:0;46182:6;;-1:-1:-1;;;;;46182:6:0;24472:10;46329:23;46321:68;;;;-1:-1:-1;;;46321:68:0;;;;;;;:::i;:::-;52386:17:::1;:29:::0;52323:98::o;52618:92::-;46182:6;;-1:-1:-1;;;;;46182:6:0;24472:10;46329:23;46321:68;;;;-1:-1:-1;;;46321:68:0;;;;;;;:::i;:::-;52682:10:::1;:22:::0;52618:92::o;26287:208::-;26359:7;-1:-1:-1;;;;;26387:19:0;;26379:74;;;;-1:-1:-1;;;26379:74:0;;12381:2:1;26379:74:0;;;12363:21:1;12420:2;12400:18;;;12393:30;12459:34;12439:18;;;12432:62;-1:-1:-1;;;12510:18:1;;;12503:40;12560:19;;26379:74:0;12353:232:1;26379:74:0;-1:-1:-1;;;;;;26471:16:0;;;;;:9;:16;;;;;;;26287:208::o;46760:94::-;46182:6;;-1:-1:-1;;;;;46182:6:0;24472:10;46329:23;46321:68;;;;-1:-1:-1;;;46321:68:0;;;;;;;:::i;:::-;46825:21:::1;46843:1;46825:9;:21::i;:::-;46760:94::o:0;52018:100::-;46182:6;;-1:-1:-1;;;;;46182:6:0;24472:10;46329:23;46321:68;;;;-1:-1:-1;;;46321:68:0;;;;;;;:::i;:::-;52087:13:::1;:25:::0;;-1:-1:-1;;;;;;52087:25:0::1;-1:-1:-1::0;;;;;52087:25:0;;;::::1;::::0;;;::::1;::::0;;52018:100::o;27032:104::-;27088:13;27121:7;27114:14;;;;;:::i;28715:295::-;-1:-1:-1;;;;;28818:24:0;;24472:10;28818:24;;28810:62;;;;-1:-1:-1;;;28810:62:0;;10782:2:1;28810:62:0;;;10764:21:1;10821:2;10801:18;;;10794:30;10860:27;10840:18;;;10833:55;10905:18;;28810:62:0;10754:175:1;28810:62:0;24472:10;28885:32;;;;:18;:32;;;;;;;;-1:-1:-1;;;;;28885:42:0;;;;;;;;;;:53;;-1:-1:-1;;28885:53:0;;;;;;;:42;-1:-1:-1;;;;;28954:48:0;;28993:8;28954:48;;;;7974:14:1;7967:22;7949:41;;7937:2;7922:18;;7904:92;28954:48:0;;;;;;;;28715:295;;:::o;50599:164::-;50675:14;;-1:-1:-1;;;;;50675:14:0;50661:10;:28;50653:79;;;;-1:-1:-1;;;50653:79:0;;;;;;;:::i;:::-;50743:14;50749:7;50743:5;:14::i;:::-;50599:164;:::o;29978:328::-;30153:41;24472:10;30186:7;30153:18;:41::i;:::-;30145:103;;;;-1:-1:-1;;;30145:103:0;;;;;;;:::i;:::-;30259:39;30273:4;30279:2;30283:7;30292:5;30259:13;:39::i;:::-;29978:328;;;;:::o;48718:441::-;3341:1;3939:7;;:19;;3931:63;;;;-1:-1:-1;;;3931:63:0;;17561:2:1;3931:63:0;;;17543:21:1;17600:2;17580:18;;;17573:30;17639:33;17619:18;;;17612:61;17690:18;;3931:63:0;17533:181:1;3931:63:0;3341:1;4072:7;:18;48772:14:::1;48789:25;48803:10;48789:13;:25::i;:::-;48772:42;;48845:1;48833:9;:13;48825:43;;;::::0;-1:-1:-1;;;48825:43:0;;18278:2:1;48825:43:0::1;::::0;::::1;18260:21:1::0;18317:2;18297:18;;;18290:30;-1:-1:-1;;;18336:18:1;;;18329:47;18393:18;;48825:43:0::1;18250:167:1::0;48825:43:0::1;48906:4;48887:16;:6;1028:14:::0;;936:114;48887:16:::1;:23;48879:69;;;::::0;-1:-1:-1;;;48879:69:0;;16809:2:1;48879:69:0::1;::::0;::::1;16791:21:1::0;16848:2;16828:18;;;16821:30;16887:34;16867:18;;;16860:62;-1:-1:-1;;;16938:18:1;;;16931:31;16979:19;;48879:69:0::1;16781:223:1::0;48879:69:0::1;48996:4;48984:9;48965:16;:6;1028:14:::0;;936:114;48965:16:::1;:28;;;;:::i;:::-;:35;48961:103;;;49036:6;1028:14:::0;49029:23:::1;::::0;:4:::1;:23;:::i;:::-;49017:35;;48961:103;49088:10;49102:1;49076:23:::0;;;:11:::1;:23;::::0;;;;:27;49114::::1;::::0;49131:9;49114:4:::1;:27::i;:::-;-1:-1:-1::0;3297:1:0;4251:7;:22;48718:441::o;51123:359::-;31881:4;31905:16;;;:7;:16;;;;;;51187:13;;-1:-1:-1;;;;;31905:16:0;51213:76;;;;-1:-1:-1;;;51213:76:0;;14747:2:1;51213:76:0;;;14729:21:1;14786:2;14766:18;;;14759:30;14825:34;14805:18;;;14798:62;-1:-1:-1;;;14876:18:1;;;14869:45;14931:19;;51213:76:0;14719:237:1;51213:76:0;51302:28;51333:10;:8;:10::i;:::-;51302:41;;51394:1;51369:14;51363:28;:32;:113;;;;;;;;;;;;;;;;;51423:14;51439:18;:7;:16;:18::i;:::-;51459:9;51406:63;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;51363:113;51356:120;51123:359;-1:-1:-1;;;51123:359:0:o;52427:90::-;46182:6;;-1:-1:-1;;;;;46182:6:0;24472:10;46329:23;46321:68;;;;-1:-1:-1;;;46321:68:0;;;;;;;:::i;:::-;52490:9:::1;:21:::0;52427:90::o;47009:192::-;46182:6;;-1:-1:-1;;;;;46182:6:0;24472:10;46329:23;46321:68;;;;-1:-1:-1;;;46321:68:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;47098:22:0;::::1;47090:73;;;::::0;-1:-1:-1;;;47090:73:0;;9258:2:1;47090:73:0::1;::::0;::::1;9240:21:1::0;9297:2;9277:18;;;9270:30;9336:34;9316:18;;;9309:62;-1:-1:-1;;;9387:18:1;;;9380:36;9433:19;;47090:73:0::1;9230:228:1::0;47090:73:0::1;47174:19;47184:8;47174:9;:19::i;25918:305::-:0;26020:4;-1:-1:-1;;;;;;26057:40:0;;-1:-1:-1;;;26057:40:0;;:105;;-1:-1:-1;;;;;;;26114:48:0;;-1:-1:-1;;;26114:48:0;26057:105;:158;;;-1:-1:-1;;;;;;;;;;11858:40:0;;;26179:36;11749:157;35798:174;35873:24;;;;:15;:24;;;;;:29;;-1:-1:-1;;;;;;35873:29:0;-1:-1:-1;;;;;35873:29:0;;;;;;;;:24;;35927:23;35873:24;35927:14;:23::i;:::-;-1:-1:-1;;;;;35918:46:0;;;;;;;;;;;35798:174;;:::o;48537:173::-;48599:9;48594:109;48618:6;48614:1;:10;48594:109;;;48637:18;:6;1147:19;;1165:1;1147:19;;;1058:127;48637:18;48663:31;48673:2;48677:16;:6;1028:14;;936:114;48677:16;48663:9;:31::i;:::-;48626:3;;;;:::i;:::-;;;;48594:109;;32110:348;32203:4;31905:16;;;:7;:16;;;;;;-1:-1:-1;;;;;31905:16:0;32220:73;;;;-1:-1:-1;;;32220:73:0;;11543:2:1;32220:73:0;;;11525:21:1;11582:2;11562:18;;;11555:30;11621:34;11601:18;;;11594:62;-1:-1:-1;;;11672:18:1;;;11665:42;11724:19;;32220:73:0;11515:234:1;32220:73:0;32304:13;32320:23;32335:7;32320:14;:23::i;:::-;32304:39;;32373:5;-1:-1:-1;;;;;32362:16:0;:7;-1:-1:-1;;;;;32362:16:0;;:51;;;;32406:7;-1:-1:-1;;;;;32382:31:0;:20;32394:7;32382:11;:20::i;:::-;-1:-1:-1;;;;;32382:31:0;;32362:51;:87;;;-1:-1:-1;;;;;;29202:25:0;;;29178:4;29202:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;32417:32;32354:96;32110:348;-1:-1:-1;;;;32110:348:0:o;35102:578::-;35261:4;-1:-1:-1;;;;;35234:31:0;:23;35249:7;35234:14;:23::i;:::-;-1:-1:-1;;;;;35234:31:0;;35226:85;;;;-1:-1:-1;;;35226:85:0;;14337:2:1;35226:85:0;;;14319:21:1;14376:2;14356:18;;;14349:30;14415:34;14395:18;;;14388:62;-1:-1:-1;;;14466:18:1;;;14459:39;14515:19;;35226:85:0;14309:231:1;35226:85:0;-1:-1:-1;;;;;35330:16:0;;35322:65;;;;-1:-1:-1;;;35322:65:0;;10377:2:1;35322:65:0;;;10359:21:1;10416:2;10396:18;;;10389:30;10455:34;10435:18;;;10428:62;-1:-1:-1;;;10506:18:1;;;10499:34;10550:19;;35322:65:0;10349:226:1;35322:65:0;35400:39;35421:4;35427:2;35431:7;35400:20;:39::i;:::-;35504:29;35521:1;35525:7;35504:8;:29::i;:::-;-1:-1:-1;;;;;35546:15:0;;;;;;:9;:15;;;;;:20;;35565:1;;35546:15;:20;;35565:1;;35546:20;:::i;:::-;;;;-1:-1:-1;;;;;;;35577:13:0;;;;;;:9;:13;;;;;:18;;35594:1;;35577:13;:18;;35594:1;;35577:18;:::i;:::-;;;;-1:-1:-1;;35606:16:0;;;;:7;:16;;;;;;:21;;-1:-1:-1;;;;;;35606:21:0;-1:-1:-1;;;;;35606:21:0;;;;;;;;;35645:27;;35606:16;;35645:27;;;;;;;35102:578;;;:::o;50313:280::-;50398:13;;50466:10;;-1:-1:-1;;;;;50398:13:0;;;;50456:20;;:7;:20;:::i;:::-;:29;;50479:6;50456:29;:::i;:::-;50431:20;;-1:-1:-1;;;50431:20:0;;-1:-1:-1;;;;;6353:32:1;;;50431:20:0;;;6335:51:1;50431:11:0;;;;;6308:18:1;;50431:20:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;:55;;50423:96;;;;-1:-1:-1;;;50423:96:0;;17921:2:1;50423:96:0;;;17903:21:1;17960:2;17940:18;;;17933:30;17999;17979:18;;;17972:58;18047:18;;50423:96:0;17893:178:1;50423:96:0;50540:1;-1:-1:-1;;;;;50540:6:0;;50547:7;50566:10;;50556:7;:20;;;;:::i;:::-;:29;;50579:6;50556:29;:::i;:::-;50540:47;;-1:-1:-1;;;;;;50540:47:0;;;;;;;-1:-1:-1;;;;;7082:32:1;;;50540:47:0;;;7064:51:1;7131:18;;;7124:34;7037:18;;50540:47:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;50313:280;;;:::o;47209:173::-;47284:6;;;-1:-1:-1;;;;;47301:17:0;;;-1:-1:-1;;;;;;47301:17:0;;;;;;;47334:40;;47284:6;;;47301:17;47284:6;;47334:40;;47265:16;;47334:40;47209:173;;:::o;34405:360::-;34465:13;34481:23;34496:7;34481:14;:23::i;:::-;34465:39;;34517:48;34538:5;34553:1;34557:7;34517:20;:48::i;:::-;34606:29;34623:1;34627:7;34606:8;:29::i;:::-;-1:-1:-1;;;;;34648:16:0;;;;;;:9;:16;;;;;:21;;34668:1;;34648:16;:21;;34668:1;;34648:21;:::i;:::-;;;;-1:-1:-1;;34687:16:0;;;;:7;:16;;;;;;34680:23;;-1:-1:-1;;;;;;34680:23:0;;;34721:36;34695:7;;34687:16;-1:-1:-1;;;;;34721:36:0;;;;;34687:16;;34721:36;34405:360;;:::o;31188:315::-;31345:28;31355:4;31361:2;31365:7;31345:9;:28::i;:::-;31392:48;31415:4;31421:2;31425:7;31434:5;31392:22;:48::i;:::-;31384:111;;;;-1:-1:-1;;;31384:111:0;;;;;;;:::i;48429:102::-;48489:13;48518:7;48511:14;;;;;:::i;12224:723::-;12280:13;12501:10;12497:53;;-1:-1:-1;12528:10:0;;;;;;;;;;;;-1:-1:-1;;;12528:10:0;;;;;;12497:53;12575:5;12560:12;12616:78;12623:9;;12616:78;;12649:8;;;;:::i;:::-;;-1:-1:-1;12672:10:0;;-1:-1:-1;12680:2:0;12672:10;;:::i;:::-;;;12616:78;;;12704:19;12736:6;12726:17;;;;;;-1:-1:-1;;;12726:17:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;12726:17:0;;12704:39;;12754:154;12761:10;;12754:154;;12788:11;12798:1;12788:11;;:::i;:::-;;-1:-1:-1;12857:10:0;12865:2;12857:5;:10;:::i;:::-;12844:24;;:2;:24;:::i;:::-;12831:39;;12814:6;12821;12814:14;;;;;;-1:-1:-1;;;12814:14:0;;;;;;;;;;;;:56;-1:-1:-1;;;;;12814:56:0;;;;;;;;-1:-1:-1;12885:11:0;12894:2;12885:11;;:::i;:::-;;;12754:154;;32800:110;32876:26;32886:2;32890:7;32876:26;;;;;;;;;;;;:9;:26::i;40647:589::-;-1:-1:-1;;;;;40853:18:0;;40849:187;;40888:40;40920:7;42063:10;:17;;42036:24;;;;:15;:24;;;;;:44;;;42091:24;;;;;;;;;;;;41959:164;40888:40;40849:187;;;40958:2;-1:-1:-1;;;;;40950:10:0;:4;-1:-1:-1;;;;;40950:10:0;;40946:90;;40977:47;41010:4;41016:7;40977:32;:47::i;:::-;-1:-1:-1;;;;;41050:16:0;;41046:183;;41083:45;41120:7;41083:36;:45::i;:::-;41046:183;;;41156:4;-1:-1:-1;;;;;41150:10:0;:2;-1:-1:-1;;;;;41150:10:0;;41146:83;;41177:40;41205:2;41209:7;41177:27;:40::i;36537:799::-;36692:4;-1:-1:-1;;;;;36713:13:0;;15072:20;15120:8;36709:620;;36749:72;;-1:-1:-1;;;36749:72:0;;-1:-1:-1;;;;;36749:36:0;;;;;:72;;24472:10;;36800:4;;36806:7;;36815:5;;36749:72;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;36749:72:0;;;;;;;;-1:-1:-1;;36749:72:0;;;;;;;;;;;;:::i;:::-;;;36745:529;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;36991:13:0;;36987:272;;37034:60;;-1:-1:-1;;;37034:60:0;;;;;;;:::i;36987:272::-;37209:6;37203:13;37194:6;37190:2;37186:15;37179:38;36745:529;-1:-1:-1;;;;;;36872:51:0;-1:-1:-1;;;36872:51:0;;-1:-1:-1;36865:58:0;;36709:620;-1:-1:-1;37313:4:0;36537:799;;;;;;:::o;33137:321::-;33267:18;33273:2;33277:7;33267:5;:18::i;:::-;33318:54;33349:1;33353:2;33357:7;33366:5;33318:22;:54::i;:::-;33296:154;;;;-1:-1:-1;;;33296:154:0;;;;;;;:::i;42750:988::-;43016:22;43066:1;43041:22;43058:4;43041:16;:22::i;:::-;:26;;;;:::i;:::-;43078:18;43099:26;;;:17;:26;;;;;;43016:51;;-1:-1:-1;43232:28:0;;;43228:328;;-1:-1:-1;;;;;43299:18:0;;43277:19;43299:18;;;:12;:18;;;;;;;;:34;;;;;;;;;43350:30;;;;;;:44;;;43467:30;;:17;:30;;;;;:43;;;43228:328;-1:-1:-1;43652:26:0;;;;:17;:26;;;;;;;;43645:33;;;-1:-1:-1;;;;;43696:18:0;;;;;:12;:18;;;;;:34;;;;;;;43689:41;42750:988::o;44033:1079::-;44311:10;:17;44286:22;;44311:21;;44331:1;;44311:21;:::i;:::-;44343:18;44364:24;;;:15;:24;;;;;;44737:10;:26;;44286:46;;-1:-1:-1;44364:24:0;;44286:46;;44737:26;;;;-1:-1:-1;;;44737:26:0;;;;;;;;;;;;;;;;;44715:48;;44801:11;44776:10;44787;44776:22;;;;;;-1:-1:-1;;;44776:22:0;;;;;;;;;;;;;;;;;;;;:36;;;;44881:28;;;:15;:28;;;;;;;:41;;;45053:24;;;;;45046:31;45088:10;:16;;;;;-1:-1:-1;;;45088:16:0;;;;;;;;;;;;;;;;;;;;;;;;;;44033:1079;;;;:::o;41537:221::-;41622:14;41639:20;41656:2;41639:16;:20::i;:::-;-1:-1:-1;;;;;41670:16:0;;;;;;;:12;:16;;;;;;;;:24;;;;;;;;:34;;;41715:26;;;:17;:26;;;;;;:35;;;;-1:-1:-1;41537:221:0:o;33794:382::-;-1:-1:-1;;;;;33874:16:0;;33866:61;;;;-1:-1:-1;;;33866:61:0;;13202:2:1;33866:61:0;;;13184:21:1;;;13221:18;;;13214:30;13280:34;13260:18;;;13253:62;13332:18;;33866:61:0;13174:182:1;33866:61:0;31881:4;31905:16;;;:7;:16;;;;;;-1:-1:-1;;;;;31905:16:0;:30;33938:58;;;;-1:-1:-1;;;33938:58:0;;9665:2:1;33938:58:0;;;9647:21:1;9704:2;9684:18;;;9677:30;9743;9723:18;;;9716:58;9791:18;;33938:58:0;9637:178:1;33938:58:0;34009:45;34038:1;34042:2;34046:7;34009:20;:45::i;:::-;-1:-1:-1;;;;;34067:13:0;;;;;;:9;:13;;;;;:18;;34084:1;;34067:13;:18;;34084:1;;34067:18;:::i;:::-;;;;-1:-1:-1;;34096:16:0;;;;:7;:16;;;;;;:21;;-1:-1:-1;;;;;;34096:21:0;-1:-1:-1;;;;;34096:21:0;;;;;;;;34135:33;;34096:16;;;34135:33;;34096:16;;34135:33;33794:382;;:::o;-1:-1:-1:-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;14:631:1;;108:18;149:2;141:6;138:14;135:2;;;155:18;;:::i;:::-;230:2;224:9;198:2;284:15;;-1:-1:-1;;280:24:1;;;306:2;276:33;272:42;260:55;;;330:18;;;350:22;;;327:46;324:2;;;376:18;;:::i;:::-;416:10;412:2;405:22;445:6;436:15;;475:6;467;460:22;515:3;506:6;501:3;497:16;494:25;491:2;;;532:1;529;522:12;491:2;582:6;577:3;570:4;562:6;558:17;545:44;637:1;630:4;621:6;613;609:19;605:30;598:41;;;;88:557;;;;;:::o;650:173::-;718:20;;-1:-1:-1;;;;;767:31:1;;757:42;;747:2;;813:1;810;803:12;828:196;;940:2;928:9;919:7;915:23;911:32;908:2;;;961:6;953;946:22;908:2;989:29;1008:9;989:29;:::i;1029:270::-;;;1158:2;1146:9;1137:7;1133:23;1129:32;1126:2;;;1179:6;1171;1164:22;1126:2;1207:29;1226:9;1207:29;:::i;:::-;1197:39;;1255:38;1289:2;1278:9;1274:18;1255:38;:::i;:::-;1245:48;;1116:183;;;;;:::o;1304:338::-;;;;1450:2;1438:9;1429:7;1425:23;1421:32;1418:2;;;1471:6;1463;1456:22;1418:2;1499:29;1518:9;1499:29;:::i;:::-;1489:39;;1547:38;1581:2;1570:9;1566:18;1547:38;:::i;:::-;1537:48;;1632:2;1621:9;1617:18;1604:32;1594:42;;1408:234;;;;;:::o;1647:696::-;;;;;1819:3;1807:9;1798:7;1794:23;1790:33;1787:2;;;1841:6;1833;1826:22;1787:2;1869:29;1888:9;1869:29;:::i;:::-;1859:39;;1917:38;1951:2;1940:9;1936:18;1917:38;:::i;:::-;1907:48;;2002:2;1991:9;1987:18;1974:32;1964:42;;2057:2;2046:9;2042:18;2029:32;2084:18;2076:6;2073:30;2070:2;;;2121:6;2113;2106:22;2070:2;2149:22;;2202:4;2194:13;;2190:27;-1:-1:-1;2180:2:1;;2236:6;2228;2221:22;2180:2;2264:73;2329:7;2324:2;2311:16;2306:2;2302;2298:11;2264:73;:::i;:::-;2254:83;;;1777:566;;;;;;;:::o;2348:367::-;;;2474:2;2462:9;2453:7;2449:23;2445:32;2442:2;;;2495:6;2487;2480:22;2442:2;2523:29;2542:9;2523:29;:::i;:::-;2513:39;;2602:2;2591:9;2587:18;2574:32;2649:5;2642:13;2635:21;2628:5;2625:32;2615:2;;2676:6;2668;2661:22;2615:2;2704:5;2694:15;;;2432:283;;;;;:::o;2720:264::-;;;2849:2;2837:9;2828:7;2824:23;2820:32;2817:2;;;2870:6;2862;2855:22;2817:2;2898:29;2917:9;2898:29;:::i;:::-;2888:39;2974:2;2959:18;;;;2946:32;;-1:-1:-1;;;2807:177:1:o;2989:255::-;;3100:2;3088:9;3079:7;3075:23;3071:32;3068:2;;;3121:6;3113;3106:22;3068:2;3165:9;3152:23;3184:30;3208:5;3184:30;:::i;3249:259::-;;3371:2;3359:9;3350:7;3346:23;3342:32;3339:2;;;3392:6;3384;3377:22;3339:2;3429:9;3423:16;3448:30;3472:5;3448:30;:::i;3513:480::-;;3635:2;3623:9;3614:7;3610:23;3606:32;3603:2;;;3656:6;3648;3641:22;3603:2;3701:9;3688:23;3734:18;3726:6;3723:30;3720:2;;;3771:6;3763;3756:22;3720:2;3799:22;;3852:4;3844:13;;3840:27;-1:-1:-1;3830:2:1;;3886:6;3878;3871:22;3830:2;3914:73;3979:7;3974:2;3961:16;3956:2;3952;3948:11;3914:73;:::i;3998:190::-;;4110:2;4098:9;4089:7;4085:23;4081:32;4078:2;;;4131:6;4123;4116:22;4078:2;-1:-1:-1;4159:23:1;;4068:120;-1:-1:-1;4068:120:1:o;4193:194::-;;4316:2;4304:9;4295:7;4291:23;4287:32;4284:2;;;4337:6;4329;4322:22;4284:2;-1:-1:-1;4365:16:1;;4274:113;-1:-1:-1;4274:113:1:o;4392:257::-;;4471:5;4465:12;4498:6;4493:3;4486:19;4514:63;4570:6;4563:4;4558:3;4554:14;4547:4;4540:5;4536:16;4514:63;:::i;:::-;4631:2;4610:15;-1:-1:-1;;4606:29:1;4597:39;;;;4638:4;4593:50;;4441:208;-1:-1:-1;;4441:208:1:o;4654:1530::-;;4916:6;4910:13;4942:4;4955:51;4999:6;4994:3;4989:2;4981:6;4977:15;4955:51;:::i;:::-;5069:13;;5028:16;;;;5091:55;5069:13;5028:16;5113:15;;;5091:55;:::i;:::-;5237:13;;5168:20;;;5208:3;;5314:1;5299:17;;5335:1;5371:18;;;;5398:2;;5476:4;5466:8;5462:19;5450:31;;5398:2;5539;5529:8;5526:16;5506:18;5503:40;5500:2;;;-1:-1:-1;;;5566:33:1;;5622:4;5619:1;5612:15;5652:4;5573:3;5640:17;5500:2;5683:18;5710:110;;;;5834:1;5829:330;;;;5676:483;;5710:110;-1:-1:-1;;5745:24:1;;5731:39;;5790:20;;;;-1:-1:-1;5710:110:1;;5829:330;18604:127;18670:17;;;18720:4;18704:21;;5924:3;5940:169;5954:8;5951:1;5948:15;5940:169;;;6036:14;;6021:13;;;6014:37;6079:16;;;;5971:10;;5940:169;;;5944:3;;6140:8;6133:5;6129:20;6122:27;;5676:483;-1:-1:-1;6175:3:1;;4886:1298;-1:-1:-1;;;;;;;;;;;4886:1298:1:o;6397:488::-;-1:-1:-1;;;;;6666:15:1;;;6648:34;;6718:15;;6713:2;6698:18;;6691:43;6765:2;6750:18;;6743:34;;;6813:3;6808:2;6793:18;;6786:31;;;6397:488;;6834:45;;6859:19;;6851:6;6834:45;:::i;:::-;6826:53;6600:285;-1:-1:-1;;;;;;6600:285:1:o;7169:635::-;7340:2;7392:21;;;7462:13;;7365:18;;;7484:22;;;7169:635;;7340:2;7563:15;;;;7537:2;7522:18;;;7169:635;7609:169;7623:6;7620:1;7617:13;7609:169;;;7684:13;;7672:26;;7753:15;;;;7718:12;;;;7645:1;7638:9;7609:169;;;-1:-1:-1;7795:3:1;;7320:484;-1:-1:-1;;;;;;7320:484:1:o;8001:219::-;;8150:2;8139:9;8132:21;8170:44;8210:2;8199:9;8195:18;8187:6;8170:44;:::i;8637:414::-;8839:2;8821:21;;;8878:2;8858:18;;;8851:30;8917:34;8912:2;8897:18;;8890:62;-1:-1:-1;;;8983:2:1;8968:18;;8961:48;9041:3;9026:19;;8811:240::o;10934:402::-;11136:2;11118:21;;;11175:2;11155:18;;;11148:30;11214:34;11209:2;11194:18;;11187:62;-1:-1:-1;;;11280:2:1;11265:18;;11258:36;11326:3;11311:19;;11108:228::o;13774:356::-;13976:2;13958:21;;;13995:18;;;13988:30;14054:34;14049:2;14034:18;;14027:62;14121:2;14106:18;;13948:182::o;15776:413::-;15978:2;15960:21;;;16017:2;15997:18;;;15990:30;16056:34;16051:2;16036:18;;16029:62;-1:-1:-1;;;16122:2:1;16107:18;;16100:47;16179:3;16164:19;;15950:239::o;18736:128::-;;18807:1;18803:6;18800:1;18797:13;18794:2;;;18813:18;;:::i;:::-;-1:-1:-1;18849:9:1;;18784:80::o;18869:120::-;;18935:1;18925:2;;18940:18;;:::i;:::-;-1:-1:-1;18974:9:1;;18915:74::o;18994:168::-;;19100:1;19096;19092:6;19088:14;19085:1;19082:21;19077:1;19070:9;19063:17;19059:45;19056:2;;;19107:18;;:::i;:::-;-1:-1:-1;19147:9:1;;19046:116::o;19167:125::-;;19235:1;19232;19229:8;19226:2;;;19240:18;;:::i;:::-;-1:-1:-1;19277:9:1;;19216:76::o;19297:258::-;19369:1;19379:113;19393:6;19390:1;19387:13;19379:113;;;19469:11;;;19463:18;19450:11;;;19443:39;19415:2;19408:10;19379:113;;;19510:6;19507:1;19504:13;19501:2;;;-1:-1:-1;;19545:1:1;19527:16;;19520:27;19350:205::o;19560:380::-;19645:1;19635:12;;19692:1;19682:12;;;19703:2;;19757:4;19749:6;19745:17;19735:27;;19703:2;19810;19802:6;19799:14;19779:18;19776:38;19773:2;;;19856:10;19851:3;19847:20;19844:1;19837:31;19891:4;19888:1;19881:15;19919:4;19916:1;19909:15;19773:2;;19615:325;;;:::o;19945:135::-;;-1:-1:-1;;20005:17:1;;20002:2;;;20025:18;;:::i;:::-;-1:-1:-1;20072:1:1;20061:13;;19992:88::o;20085:112::-;;20143:1;20133:2;;20148:18;;:::i;:::-;-1:-1:-1;20182:9:1;;20123:74::o;20202:127::-;20263:10;20258:3;20254:20;20251:1;20244:31;20294:4;20291:1;20284:15;20318:4;20315:1;20308:15;20334:127;20395:10;20390:3;20386:20;20383:1;20376:31;20426:4;20423:1;20416:15;20450:4;20447:1;20440:15;20466:127;20527:10;20522:3;20518:20;20515:1;20508:31;20558:4;20555:1;20548:15;20582:4;20579:1;20572:15;20598:131;-1:-1:-1;;;;;;20672:32:1;;20662:43;;20652:2;;20719:1;20716;20709:12
Swarm Source
ipfs://e6db16c5ff35aac7f84ecc0ab1284d214d5705227d0769a677827b2148879c40
Age | Block | Fee Address | BC Fee Address | Voting Power | Jailed | Incoming |
---|
Make sure to use the "Vote Down" button for any spammy posts, and the "Vote Up" for interesting conversations.