Contract Overview
Balance:
0 AVAX
AVAX Value:
$0.00
[ Download CSV Export ]
Contract Name:
RatCats
Compiler Version
v0.8.11+commit.d7f03943
Contract Source Code (Solidity)
/** *Submitted for verification at snowtrace.io on 2022-02-28 */ // SPDX-License-Identifier: MIT // Rat Catching Cats 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 IWRAP { function sendCat(uint256 tokenID, address to) external; } contract RatCats is ERC721Enumerable, Ownable { using Strings for uint256; IWRAP wrapperContract = IWRAP(0x2aAdfF4F84B52485E8939f631B8c2106858e1Bb9); string private baseURI = "ipfs://QmU84UMB2KKdKXUxsy46u41aCd2DrBGDikya1hcizVSaRi/"; address public wrapperAddr = 0x2aAdfF4F84B52485E8939f631B8c2106858e1Bb9; event CatMinted( uint256 indexed tokenId, address indexed caller ); constructor() ERC721("Rat Catching Cats", "KITTY") { } function _baseURI() internal view virtual override returns (string memory) { return baseURI; } function mint(uint256 _tokenID, address _to) external { require(msg.sender == wrapperAddr, "Only the wrapper can call this function!"); _safeMint(_to, _tokenID); emit CatMinted(_tokenID, _to); } function viewWrapperAddr() public view returns (address) { return wrapperAddr; } 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()) ) : ""; } function setBaseURI(string memory _newBaseURI) public onlyOwner { baseURI = _newBaseURI; } function setWrapper(address _wrapperAddr) public onlyOwner { wrapperAddr = _wrapperAddr; wrapperContract = IWRAP(wrapperAddr); } }
[{"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":true,"internalType":"uint256","name":"tokenId","type":"uint256"},{"indexed":true,"internalType":"address","name":"caller","type":"address"}],"name":"CatMinted","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenID","type":"uint256"},{"internalType":"address","name":"_to","type":"address"}],"name":"mint","outputs":[],"stateMutability":"nonpayable","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":"_wrapperAddr","type":"address"}],"name":"setWrapper","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":[],"name":"viewWrapperAddr","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_owner","type":"address"}],"name":"walletOfOwner","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"wrapperAddr","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"}]
Contract Creation Code
600b80546001600160a01b031916732aadff4f84b52485e8939f631b8c2106858e1bb917905560e0604052603660808181529062001ffe60a03980516200004f91600c9160209091019062000169565b50600d80546001600160a01b031916732aadff4f84b52485e8939f631b8c2106858e1bb91790553480156200008357600080fd5b506040805180820182526011815270526174204361746368696e67204361747360781b6020808301918252835180850190945260058452644b4954545960d81b908401528151919291620000da9160009162000169565b508051620000f090600190602084019062000169565b5050506200010d620001076200011360201b60201c565b62000117565b6200024c565b3390565b600a80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b82805462000177906200020f565b90600052602060002090601f0160209004810192826200019b5760008555620001e6565b82601f10620001b657805160ff1916838001178555620001e6565b82800160010185558215620001e6579182015b82811115620001e6578251825591602001919060010190620001c9565b50620001f4929150620001f8565b5090565b5b80821115620001f45760008155600101620001f9565b600181811c908216806200022457607f821691505b602082108114156200024657634e487b7160e01b600052602260045260246000fd5b50919050565b611da2806200025c6000396000f3fe608060405234801561001057600080fd5b50600436106101735760003560e01c80636352211e116100de578063a22cb46511610097578063c87b56dd11610071578063c87b56dd1461032a578063e823fb361461033d578063e985e9c514610350578063f2fde38b1461038c57600080fd5b8063a22cb465146102f1578063b88d4fde14610304578063c2167d931461031757600080fd5b80636352211e1461029757806370a08231146102aa578063715018a6146102bd5780638da5cb5b146102c557806394bf804d146102d657806395d89b41146102e957600080fd5b80632f745c59116101305780632f745c591461021a57806342842e0e1461022d578063438b6300146102405780634f6ccce71461026057806355f804b31461027357806356d62a561461028657600080fd5b806301ffc9a71461017857806306fdde03146101a0578063081812fc146101b5578063095ea7b3146101e057806318160ddd146101f557806323b872dd14610207575b600080fd5b61018b6101863660046117a1565b61039f565b60405190151581526020015b60405180910390f35b6101a86103ca565b6040516101979190611816565b6101c86101c3366004611829565b61045c565b6040516001600160a01b039091168152602001610197565b6101f36101ee36600461185e565b6104f6565b005b6008545b604051908152602001610197565b6101f3610215366004611888565b61060c565b6101f961022836600461185e565b61063d565b6101f361023b366004611888565b6106d3565b61025361024e3660046118c4565b6106ee565b60405161019791906118df565b6101f961026e366004611829565b610790565b6101f36102813660046119af565b610823565b600d546001600160a01b03166101c8565b6101c86102a5366004611829565b610864565b6101f96102b83660046118c4565b6108db565b6101f3610962565b600a546001600160a01b03166101c8565b6101f36102e43660046119f8565b610998565b6101a8610a47565b6101f36102ff366004611a24565b610a56565b6101f3610312366004611a60565b610b1b565b6101f36103253660046118c4565b610b53565b6101a8610338366004611829565b610ba9565b600d546101c8906001600160a01b031681565b61018b61035e366004611adc565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b6101f361039a3660046118c4565b610c84565b60006001600160e01b0319821663780e9d6360e01b14806103c457506103c482610d1f565b92915050565b6060600080546103d990611b06565b80601f016020809104026020016040519081016040528092919081815260200182805461040590611b06565b80156104525780601f1061042757610100808354040283529160200191610452565b820191906000526020600020905b81548152906001019060200180831161043557829003601f168201915b5050505050905090565b6000818152600260205260408120546001600160a01b03166104da5760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084015b60405180910390fd5b506000908152600460205260409020546001600160a01b031690565b600061050182610864565b9050806001600160a01b0316836001600160a01b0316141561056f5760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b60648201526084016104d1565b336001600160a01b038216148061058b575061058b813361035e565b6105fd5760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c000000000000000060648201526084016104d1565b6106078383610d6f565b505050565b6106163382610ddd565b6106325760405162461bcd60e51b81526004016104d190611b41565b610607838383610ed4565b6000610648836108db565b82106106aa5760405162461bcd60e51b815260206004820152602b60248201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560448201526a74206f6620626f756e647360a81b60648201526084016104d1565b506001600160a01b03919091166000908152600660209081526040808320938352929052205490565b61060783838360405180602001604052806000815250610b1b565b606060006106fb836108db565b905060008167ffffffffffffffff81111561071857610718611923565b604051908082528060200260200182016040528015610741578160200160208202803683370190505b50905060005b8281101561078857610759858261063d565b82828151811061076b5761076b611b92565b60209081029190910101528061078081611bbe565b915050610747565b509392505050565b600061079b60085490565b82106107fe5760405162461bcd60e51b815260206004820152602c60248201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60448201526b7574206f6620626f756e647360a01b60648201526084016104d1565b6008828154811061081157610811611b92565b90600052602060002001549050919050565b600a546001600160a01b0316331461084d5760405162461bcd60e51b81526004016104d190611bd9565b805161086090600c9060208401906116f2565b5050565b6000818152600260205260408120546001600160a01b0316806103c45760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201526832b73a103a37b5b2b760b91b60648201526084016104d1565b60006001600160a01b0382166109465760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b60648201526084016104d1565b506001600160a01b031660009081526003602052604090205490565b600a546001600160a01b0316331461098c5760405162461bcd60e51b81526004016104d190611bd9565b610996600061107f565b565b600d546001600160a01b03163314610a035760405162461bcd60e51b815260206004820152602860248201527f4f6e6c792074686520777261707065722063616e2063616c6c20746869732066604482015267756e6374696f6e2160c01b60648201526084016104d1565b610a0d81836110d1565b6040516001600160a01b0382169083907f5b02d44fa5cbec3836ee2e10f63b751d92b0ea57f4ed25a46aba58baf83fe74f90600090a35050565b6060600180546103d990611b06565b6001600160a01b038216331415610aaf5760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c65720000000000000060448201526064016104d1565b3360008181526005602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b610b253383610ddd565b610b415760405162461bcd60e51b81526004016104d190611b41565b610b4d848484846110eb565b50505050565b600a546001600160a01b03163314610b7d5760405162461bcd60e51b81526004016104d190611bd9565b600d80546001600160a01b039092166001600160a01b03199283168117909155600b8054909216179055565b6000818152600260205260409020546060906001600160a01b0316610c285760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b60648201526084016104d1565b6000610c3261111e565b90506000815111610c525760405180602001604052806000815250610c7d565b80610c5c8461112d565b604051602001610c6d929190611c0e565b6040516020818303038152906040525b9392505050565b600a546001600160a01b03163314610cae5760405162461bcd60e51b81526004016104d190611bd9565b6001600160a01b038116610d135760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016104d1565b610d1c8161107f565b50565b60006001600160e01b031982166380ac58cd60e01b1480610d5057506001600160e01b03198216635b5e139f60e01b145b806103c457506301ffc9a760e01b6001600160e01b03198316146103c4565b600081815260046020526040902080546001600160a01b0319166001600160a01b0384169081179091558190610da482610864565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000818152600260205260408120546001600160a01b0316610e565760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084016104d1565b6000610e6183610864565b9050806001600160a01b0316846001600160a01b03161480610e9c5750836001600160a01b0316610e918461045c565b6001600160a01b0316145b80610ecc57506001600160a01b0380821660009081526005602090815260408083209388168352929052205460ff165b949350505050565b826001600160a01b0316610ee782610864565b6001600160a01b031614610f4f5760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201526839903737ba1037bbb760b91b60648201526084016104d1565b6001600160a01b038216610fb15760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b60648201526084016104d1565b610fbc83838361122b565b610fc7600082610d6f565b6001600160a01b0383166000908152600360205260408120805460019290610ff0908490611c3d565b90915550506001600160a01b038216600090815260036020526040812080546001929061101e908490611c54565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b600a80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6108608282604051806020016040528060008152506112e3565b6110f6848484610ed4565b61110284848484611316565b610b4d5760405162461bcd60e51b81526004016104d190611c6c565b6060600c80546103d990611b06565b6060816111515750506040805180820190915260018152600360fc1b602082015290565b8160005b811561117b578061116581611bbe565b91506111749050600a83611cd4565b9150611155565b60008167ffffffffffffffff81111561119657611196611923565b6040519080825280601f01601f1916602001820160405280156111c0576020820181803683370190505b5090505b8415610ecc576111d5600183611c3d565b91506111e2600a86611ce8565b6111ed906030611c54565b60f81b81838151811061120257611202611b92565b60200101906001600160f81b031916908160001a905350611224600a86611cd4565b94506111c4565b6001600160a01b0383166112865761128181600880546000838152600960205260408120829055600182018355919091527ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee30155565b6112a9565b816001600160a01b0316836001600160a01b0316146112a9576112a98382611414565b6001600160a01b0382166112c057610607816114b1565b826001600160a01b0316826001600160a01b031614610607576106078282611560565b6112ed83836115a4565b6112fa6000848484611316565b6106075760405162461bcd60e51b81526004016104d190611c6c565b60006001600160a01b0384163b1561140957604051630a85bd0160e11b81526001600160a01b0385169063150b7a029061135a903390899088908890600401611cfc565b6020604051808303816000875af1925050508015611395575060408051601f3d908101601f1916820190925261139291810190611d39565b60015b6113ef573d8080156113c3576040519150601f19603f3d011682016040523d82523d6000602084013e6113c8565b606091505b5080516113e75760405162461bcd60e51b81526004016104d190611c6c565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050610ecc565b506001949350505050565b60006001611421846108db565b61142b9190611c3d565b60008381526007602052604090205490915080821461147e576001600160a01b03841660009081526006602090815260408083208584528252808320548484528184208190558352600790915290208190555b5060009182526007602090815260408084208490556001600160a01b039094168352600681528383209183525290812055565b6008546000906114c390600190611c3d565b600083815260096020526040812054600880549394509092849081106114eb576114eb611b92565b90600052602060002001549050806008838154811061150c5761150c611b92565b600091825260208083209091019290925582815260099091526040808220849055858252812055600880548061154457611544611d56565b6001900381819060005260206000200160009055905550505050565b600061156b836108db565b6001600160a01b039093166000908152600660209081526040808320868452825280832085905593825260079052919091209190915550565b6001600160a01b0382166115fa5760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f206164647265737360448201526064016104d1565b6000818152600260205260409020546001600160a01b03161561165f5760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e7465640000000060448201526064016104d1565b61166b6000838361122b565b6001600160a01b0382166000908152600360205260408120805460019290611694908490611c54565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b8280546116fe90611b06565b90600052602060002090601f0160209004810192826117205760008555611766565b82601f1061173957805160ff1916838001178555611766565b82800160010185558215611766579182015b8281111561176657825182559160200191906001019061174b565b50611772929150611776565b5090565b5b808211156117725760008155600101611777565b6001600160e01b031981168114610d1c57600080fd5b6000602082840312156117b357600080fd5b8135610c7d8161178b565b60005b838110156117d95781810151838201526020016117c1565b83811115610b4d5750506000910152565b600081518084526118028160208601602086016117be565b601f01601f19169290920160200192915050565b602081526000610c7d60208301846117ea565b60006020828403121561183b57600080fd5b5035919050565b80356001600160a01b038116811461185957600080fd5b919050565b6000806040838503121561187157600080fd5b61187a83611842565b946020939093013593505050565b60008060006060848603121561189d57600080fd5b6118a684611842565b92506118b460208501611842565b9150604084013590509250925092565b6000602082840312156118d657600080fd5b610c7d82611842565b6020808252825182820181905260009190848201906040850190845b81811015611917578351835292840192918401916001016118fb565b50909695505050505050565b634e487b7160e01b600052604160045260246000fd5b600067ffffffffffffffff8084111561195457611954611923565b604051601f8501601f19908116603f0116810190828211818310171561197c5761197c611923565b8160405280935085815286868601111561199557600080fd5b858560208301376000602087830101525050509392505050565b6000602082840312156119c157600080fd5b813567ffffffffffffffff8111156119d857600080fd5b8201601f810184136119e957600080fd5b610ecc84823560208401611939565b60008060408385031215611a0b57600080fd5b82359150611a1b60208401611842565b90509250929050565b60008060408385031215611a3757600080fd5b611a4083611842565b915060208301358015158114611a5557600080fd5b809150509250929050565b60008060008060808587031215611a7657600080fd5b611a7f85611842565b9350611a8d60208601611842565b925060408501359150606085013567ffffffffffffffff811115611ab057600080fd5b8501601f81018713611ac157600080fd5b611ad087823560208401611939565b91505092959194509250565b60008060408385031215611aef57600080fd5b611af883611842565b9150611a1b60208401611842565b600181811c90821680611b1a57607f821691505b60208210811415611b3b57634e487b7160e01b600052602260045260246000fd5b50919050565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b6000600019821415611bd257611bd2611ba8565b5060010190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60008351611c208184602088016117be565b835190830190611c348183602088016117be565b01949350505050565b600082821015611c4f57611c4f611ba8565b500390565b60008219821115611c6757611c67611ba8565b500190565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b634e487b7160e01b600052601260045260246000fd5b600082611ce357611ce3611cbe565b500490565b600082611cf757611cf7611cbe565b500690565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090611d2f908301846117ea565b9695505050505050565b600060208284031215611d4b57600080fd5b8151610c7d8161178b565b634e487b7160e01b600052603160045260246000fdfea2646970667358221220b8560ce4e62f6141b0251e578af00118d90b25850b8609cd7c24d34f3227909d64736f6c634300080b0033697066733a2f2f516d553834554d42324b4b644b58557873793436753431614364324472424744696b7961316863697a56536152692f
Deployed ByteCode Sourcemap
43194:1876:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;34694:224;;;;;;:::i;:::-;;:::i;:::-;;;565:14:1;;558:22;540:41;;528:2;513:18;34694:224:0;;;;;;;;22586:100;;;:::i;:::-;;;;;;;:::i;24145:221::-;;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;1692:32:1;;;1674:51;;1662:2;1647:18;24145:221:0;1528:203:1;23668:411:0;;;;;;:::i;:::-;;:::i;:::-;;35334:113;35422:10;:17;35334:113;;;2319:25:1;;;2307:2;2292:18;35334:113:0;2173:177:1;25035:339:0;;;;;;:::i;:::-;;:::i;35002:256::-;;;;;;:::i;:::-;;:::i;25445:185::-;;;;;;:::i;:::-;;:::i;44108:348::-;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;35524:233::-;;;;;;:::i;:::-;;:::i;44816:98::-;;;;;;:::i;:::-;;:::i;44014:88::-;44085:11;;-1:-1:-1;;;;;44085:11:0;44014:88;;22280:239;;;;;;:::i;:::-;;:::i;22010:208::-;;;;;;:::i;:::-;;:::i;42483:94::-;;;:::i;41832:87::-;41905:6;;-1:-1:-1;;;;;41905:6:0;41832:87;;43788:220;;;;;;:::i;:::-;;:::i;22755:104::-;;;:::i;24438:295::-;;;;;;:::i;:::-;;:::i;25701:328::-;;;;;;:::i;:::-;;:::i;44920:145::-;;;;;;:::i;:::-;;:::i;44462:348::-;;;;;;:::i;:::-;;:::i;43443:71::-;;;;;-1:-1:-1;;;;;43443:71:0;;;24804:164;;;;;;:::i;:::-;-1:-1:-1;;;;;24925:25:0;;;24901:4;24925:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;24804:164;42732:192;;;;;;:::i;:::-;;:::i;34694:224::-;34796:4;-1:-1:-1;;;;;;34820:50:0;;-1:-1:-1;;;34820:50:0;;:90;;;34874:36;34898:11;34874:23;:36::i;:::-;34813:97;34694:224;-1:-1:-1;;34694:224:0:o;22586:100::-;22640:13;22673:5;22666:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;22586:100;:::o;24145:221::-;24221:7;27628:16;;;:7;:16;;;;;;-1:-1:-1;;;;;27628:16:0;24241:73;;;;-1:-1:-1;;;24241:73:0;;6876:2:1;24241:73:0;;;6858:21:1;6915:2;6895:18;;;6888:30;6954:34;6934:18;;;6927:62;-1:-1:-1;;;7005:18:1;;;6998:42;7057:19;;24241:73:0;;;;;;;;;-1:-1:-1;24334:24:0;;;;:15;:24;;;;;;-1:-1:-1;;;;;24334:24:0;;24145:221::o;23668:411::-;23749:13;23765:23;23780:7;23765:14;:23::i;:::-;23749:39;;23813:5;-1:-1:-1;;;;;23807:11:0;:2;-1:-1:-1;;;;;23807:11:0;;;23799:57;;;;-1:-1:-1;;;23799:57:0;;7289:2:1;23799:57:0;;;7271:21:1;7328:2;7308:18;;;7301:30;7367:34;7347:18;;;7340:62;-1:-1:-1;;;7418:18:1;;;7411:31;7459:19;;23799:57:0;7087:397:1;23799:57:0;20195:10;-1:-1:-1;;;;;23891:21:0;;;;:62;;-1:-1:-1;23916:37:0;23933:5;20195:10;24804:164;:::i;23916:37::-;23869:168;;;;-1:-1:-1;;;23869:168:0;;7691:2:1;23869:168:0;;;7673:21:1;7730:2;7710:18;;;7703:30;7769:34;7749:18;;;7742:62;7840:26;7820:18;;;7813:54;7884:19;;23869:168:0;7489:420:1;23869:168:0;24050:21;24059:2;24063:7;24050:8;:21::i;:::-;23738:341;23668:411;;:::o;25035:339::-;25230:41;20195:10;25263:7;25230:18;:41::i;:::-;25222:103;;;;-1:-1:-1;;;25222:103:0;;;;;;;:::i;:::-;25338:28;25348:4;25354:2;25358:7;25338:9;:28::i;35002:256::-;35099:7;35135:23;35152:5;35135:16;:23::i;:::-;35127:5;:31;35119:87;;;;-1:-1:-1;;;35119:87:0;;8534:2:1;35119:87:0;;;8516:21:1;8573:2;8553:18;;;8546:30;8612:34;8592:18;;;8585:62;-1:-1:-1;;;8663:18:1;;;8656:41;8714:19;;35119:87:0;8332:407:1;35119:87:0;-1:-1:-1;;;;;;35224:19:0;;;;;;;;:12;:19;;;;;;;;:26;;;;;;;;;35002:256::o;25445:185::-;25583:39;25600:4;25606:2;25610:7;25583:39;;;;;;;;;;;;:16;:39::i;44108:348::-;44183:16;44211:23;44237:17;44247:6;44237:9;:17::i;:::-;44211:43;;44261:25;44303:15;44289:30;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;44289:30:0;;44261:58;;44331:9;44326:103;44346:15;44342:1;:19;44326:103;;;44391:30;44411:6;44419:1;44391:19;:30::i;:::-;44377:8;44386:1;44377:11;;;;;;;;:::i;:::-;;;;;;;;;;:44;44363:3;;;;:::i;:::-;;;;44326:103;;;-1:-1:-1;44442:8:0;44108:348;-1:-1:-1;;;44108:348:0:o;35524:233::-;35599:7;35635:30;35422:10;:17;;35334:113;35635:30;35627:5;:38;35619:95;;;;-1:-1:-1;;;35619:95:0;;9350:2:1;35619:95:0;;;9332:21:1;9389:2;9369:18;;;9362:30;9428:34;9408:18;;;9401:62;-1:-1:-1;;;9479:18:1;;;9472:42;9531:19;;35619:95:0;9148:408:1;35619:95:0;35732:10;35743:5;35732:17;;;;;;;;:::i;:::-;;;;;;;;;35725:24;;35524:233;;;:::o;44816:98::-;41905:6;;-1:-1:-1;;;;;41905:6:0;20195:10;42052:23;42044:68;;;;-1:-1:-1;;;42044:68:0;;;;;;;:::i;:::-;44887:21;;::::1;::::0;:7:::1;::::0;:21:::1;::::0;::::1;::::0;::::1;:::i;:::-;;44816:98:::0;:::o;22280:239::-;22352:7;22388:16;;;:7;:16;;;;;;-1:-1:-1;;;;;22388:16:0;22423:19;22415:73;;;;-1:-1:-1;;;22415:73:0;;10124:2:1;22415:73:0;;;10106:21:1;10163:2;10143:18;;;10136:30;10202:34;10182:18;;;10175:62;-1:-1:-1;;;10253:18:1;;;10246:39;10302:19;;22415:73:0;9922:405:1;22010:208:0;22082:7;-1:-1:-1;;;;;22110:19:0;;22102:74;;;;-1:-1:-1;;;22102:74:0;;10534:2:1;22102:74:0;;;10516:21:1;10573:2;10553:18;;;10546:30;10612:34;10592:18;;;10585:62;-1:-1:-1;;;10663:18:1;;;10656:40;10713:19;;22102:74:0;10332:406:1;22102:74:0;-1:-1:-1;;;;;;22194:16:0;;;;;:9;:16;;;;;;;22010:208::o;42483:94::-;41905:6;;-1:-1:-1;;;;;41905:6:0;20195:10;42052:23;42044:68;;;;-1:-1:-1;;;42044:68:0;;;;;;;:::i;:::-;42548:21:::1;42566:1;42548:9;:21::i;:::-;42483:94::o:0;43788:220::-;43871:11;;-1:-1:-1;;;;;43871:11:0;43857:10;:25;43849:78;;;;-1:-1:-1;;;43849:78:0;;10945:2:1;43849:78:0;;;10927:21:1;10984:2;10964:18;;;10957:30;11023:34;11003:18;;;10996:62;-1:-1:-1;;;11074:18:1;;;11067:38;11122:19;;43849:78:0;10743:404:1;43849:78:0;43940:24;43950:3;43955:8;43940:9;:24::i;:::-;43978;;-1:-1:-1;;;;;43978:24:0;;;43988:8;;43978:24;;;;;43788:220;;:::o;22755:104::-;22811:13;22844:7;22837:14;;;;;:::i;24438:295::-;-1:-1:-1;;;;;24541:24:0;;20195:10;24541:24;;24533:62;;;;-1:-1:-1;;;24533:62:0;;11354:2:1;24533:62:0;;;11336:21:1;11393:2;11373:18;;;11366:30;11432:27;11412:18;;;11405:55;11477:18;;24533:62:0;11152:349:1;24533:62:0;20195:10;24608:32;;;;:18;:32;;;;;;;;-1:-1:-1;;;;;24608:42:0;;;;;;;;;;;;:53;;-1:-1:-1;;24608:53:0;;;;;;;;;;24677:48;;540:41:1;;;24608:42:0;;20195:10;24677:48;;513:18:1;24677:48:0;;;;;;;24438:295;;:::o;25701:328::-;25876:41;20195:10;25909:7;25876:18;:41::i;:::-;25868:103;;;;-1:-1:-1;;;25868:103:0;;;;;;;:::i;:::-;25982:39;25996:4;26002:2;26006:7;26015:5;25982:13;:39::i;:::-;25701:328;;;;:::o;44920:145::-;41905:6;;-1:-1:-1;;;;;41905:6:0;20195:10;42052:23;42044:68;;;;-1:-1:-1;;;42044:68:0;;;;;;;:::i;:::-;44988:11:::1;:26:::0;;-1:-1:-1;;;;;44988:26:0;;::::1;-1:-1:-1::0;;;;;;44988:26:0;;::::1;::::0;::::1;::::0;;;45023:15:::1;:36:::0;;;;::::1;;::::0;;44920:145::o;44462:348::-;27604:4;27628:16;;;:7;:16;;;;;;44526:13;;-1:-1:-1;;;;;27628:16:0;44552:76;;;;-1:-1:-1;;;44552:76:0;;11708:2:1;44552:76:0;;;11690:21:1;11747:2;11727:18;;;11720:30;11786:34;11766:18;;;11759:62;-1:-1:-1;;;11837:18:1;;;11830:45;11892:19;;44552:76:0;11506:411:1;44552:76:0;44641:28;44672:10;:8;:10::i;:::-;44641:41;;44733:1;44708:14;44702:28;:32;:102;;;;;;;;;;;;;;;;;44762:14;44778:18;:7;:16;:18::i;:::-;44745:52;;;;;;;;;:::i;:::-;;;;;;;;;;;;;44702:102;44695:109;44462:348;-1:-1:-1;;;44462:348:0:o;42732:192::-;41905:6;;-1:-1:-1;;;;;41905:6:0;20195:10;42052:23;42044:68;;;;-1:-1:-1;;;42044:68:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;42821:22:0;::::1;42813:73;;;::::0;-1:-1:-1;;;42813:73:0;;12599:2:1;42813:73:0::1;::::0;::::1;12581:21:1::0;12638:2;12618:18;;;12611:30;12677:34;12657:18;;;12650:62;-1:-1:-1;;;12728:18:1;;;12721:36;12774:19;;42813:73:0::1;12397:402:1::0;42813:73:0::1;42897:19;42907:8;42897:9;:19::i;:::-;42732:192:::0;:::o;21641:305::-;21743:4;-1:-1:-1;;;;;;21780:40:0;;-1:-1:-1;;;21780:40:0;;:105;;-1:-1:-1;;;;;;;21837:48:0;;-1:-1:-1;;;21837:48:0;21780:105;:158;;;-1:-1:-1;;;;;;;;;;7581:40:0;;;21902:36;7472:157;31521:174;31596:24;;;;:15;:24;;;;;:29;;-1:-1:-1;;;;;;31596:29:0;-1:-1:-1;;;;;31596:29:0;;;;;;;;:24;;31650:23;31596:24;31650:14;:23::i;:::-;-1:-1:-1;;;;;31641:46:0;;;;;;;;;;;31521:174;;:::o;27833:348::-;27926:4;27628:16;;;:7;:16;;;;;;-1:-1:-1;;;;;27628:16:0;27943:73;;;;-1:-1:-1;;;27943:73:0;;13006:2:1;27943:73:0;;;12988:21:1;13045:2;13025:18;;;13018:30;13084:34;13064:18;;;13057:62;-1:-1:-1;;;13135:18:1;;;13128:42;13187:19;;27943:73:0;12804:408:1;27943:73:0;28027:13;28043:23;28058:7;28043:14;:23::i;:::-;28027:39;;28096:5;-1:-1:-1;;;;;28085:16:0;:7;-1:-1:-1;;;;;28085:16:0;;:51;;;;28129:7;-1:-1:-1;;;;;28105:31:0;:20;28117:7;28105:11;:20::i;:::-;-1:-1:-1;;;;;28105:31:0;;28085:51;:87;;;-1:-1:-1;;;;;;24925:25:0;;;24901:4;24925:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;28140:32;28077:96;27833:348;-1:-1:-1;;;;27833:348:0:o;30825:578::-;30984:4;-1:-1:-1;;;;;30957:31:0;:23;30972:7;30957:14;:23::i;:::-;-1:-1:-1;;;;;30957:31:0;;30949:85;;;;-1:-1:-1;;;30949:85:0;;13419:2:1;30949:85:0;;;13401:21:1;13458:2;13438:18;;;13431:30;13497:34;13477:18;;;13470:62;-1:-1:-1;;;13548:18:1;;;13541:39;13597:19;;30949:85:0;13217:405:1;30949:85:0;-1:-1:-1;;;;;31053:16:0;;31045:65;;;;-1:-1:-1;;;31045:65:0;;13829:2:1;31045:65:0;;;13811:21:1;13868:2;13848:18;;;13841:30;13907:34;13887:18;;;13880:62;-1:-1:-1;;;13958:18:1;;;13951:34;14002:19;;31045:65:0;13627:400:1;31045:65:0;31123:39;31144:4;31150:2;31154:7;31123:20;:39::i;:::-;31227:29;31244:1;31248:7;31227:8;:29::i;:::-;-1:-1:-1;;;;;31269:15:0;;;;;;:9;:15;;;;;:20;;31288:1;;31269:15;:20;;31288:1;;31269:20;:::i;:::-;;;;-1:-1:-1;;;;;;;31300:13:0;;;;;;:9;:13;;;;;:18;;31317:1;;31300:13;:18;;31317:1;;31300:18;:::i;:::-;;;;-1:-1:-1;;31329:16:0;;;;:7;:16;;;;;;:21;;-1:-1:-1;;;;;;31329:21:0;-1:-1:-1;;;;;31329:21:0;;;;;;;;;31368:27;;31329:16;;31368:27;;;;;;;30825:578;;;:::o;42932:173::-;43007:6;;;-1:-1:-1;;;;;43024:17:0;;;-1:-1:-1;;;;;;43024:17:0;;;;;;;43057:40;;43007:6;;;43024:17;43007:6;;43057:40;;42988:16;;43057:40;42977:128;42932:173;:::o;28523:110::-;28599:26;28609:2;28613:7;28599:26;;;;;;;;;;;;:9;:26::i;26911:315::-;27068:28;27078:4;27084:2;27088:7;27068:9;:28::i;:::-;27115:48;27138:4;27144:2;27148:7;27157:5;27115:22;:48::i;:::-;27107:111;;;;-1:-1:-1;;;27107:111:0;;;;;;;:::i;43680:102::-;43740:13;43769:7;43762:14;;;;;:::i;7947:723::-;8003:13;8224:10;8220:53;;-1:-1:-1;;8251:10:0;;;;;;;;;;;;-1:-1:-1;;;8251:10:0;;;;;7947:723::o;8220:53::-;8298:5;8283:12;8339:78;8346:9;;8339:78;;8372:8;;;;:::i;:::-;;-1:-1:-1;8395:10:0;;-1:-1:-1;8403:2:0;8395:10;;:::i;:::-;;;8339:78;;;8427:19;8459:6;8449:17;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;8449:17:0;;8427:39;;8477:154;8484:10;;8477:154;;8511:11;8521:1;8511:11;;:::i;:::-;;-1:-1:-1;8580:10:0;8588:2;8580:5;:10;:::i;:::-;8567:24;;:2;:24;:::i;:::-;8554:39;;8537:6;8544;8537:14;;;;;;;;:::i;:::-;;;;:56;-1:-1:-1;;;;;8537:56:0;;;;;;;;-1:-1:-1;8608:11:0;8617:2;8608:11;;:::i;:::-;;;8477:154;;36370:589;-1:-1:-1;;;;;36576:18:0;;36572:187;;36611:40;36643:7;37786:10;:17;;37759:24;;;;:15;:24;;;;;:44;;;37814:24;;;;;;;;;;;;37682:164;36611:40;36572:187;;;36681:2;-1:-1:-1;;;;;36673:10:0;:4;-1:-1:-1;;;;;36673:10:0;;36669:90;;36700:47;36733:4;36739:7;36700:32;:47::i;:::-;-1:-1:-1;;;;;36773:16:0;;36769:183;;36806:45;36843:7;36806:36;:45::i;36769:183::-;36879:4;-1:-1:-1;;;;;36873:10:0;:2;-1:-1:-1;;;;;36873:10:0;;36869:83;;36900:40;36928:2;36932:7;36900:27;:40::i;28860:321::-;28990:18;28996:2;29000:7;28990:5;:18::i;:::-;29041:54;29072:1;29076:2;29080:7;29089:5;29041:22;:54::i;:::-;29019:154;;;;-1:-1:-1;;;29019:154:0;;;;;;;:::i;32260:799::-;32415:4;-1:-1:-1;;;;;32436:13:0;;10795:20;10843:8;32432:620;;32472:72;;-1:-1:-1;;;32472:72:0;;-1:-1:-1;;;;;32472:36:0;;;;;:72;;20195:10;;32523:4;;32529:7;;32538:5;;32472:72;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;-1:-1:-1;32472:72:0;;;;;;;;-1:-1:-1;;32472:72:0;;;;;;;;;;;;:::i;:::-;;;32468:529;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;32714:13:0;;32710:272;;32757:60;;-1:-1:-1;;;32757:60:0;;;;;;;:::i;32710:272::-;32932:6;32926:13;32917:6;32913:2;32909:15;32902:38;32468:529;-1:-1:-1;;;;;;32595:51:0;-1:-1:-1;;;32595:51:0;;-1:-1:-1;32588:58:0;;32432:620;-1:-1:-1;33036:4:0;32260:799;;;;;;:::o;38473:988::-;38739:22;38789:1;38764:22;38781:4;38764:16;:22::i;:::-;:26;;;;:::i;:::-;38801:18;38822:26;;;:17;:26;;;;;;38739:51;;-1:-1:-1;38955:28:0;;;38951:328;;-1:-1:-1;;;;;39022:18:0;;39000:19;39022:18;;;:12;:18;;;;;;;;:34;;;;;;;;;39073:30;;;;;;:44;;;39190:30;;:17;:30;;;;;:43;;;38951:328;-1:-1:-1;39375:26:0;;;;:17;:26;;;;;;;;39368:33;;;-1:-1:-1;;;;;39419:18:0;;;;;:12;:18;;;;;:34;;;;;;;39412:41;38473:988::o;39756:1079::-;40034:10;:17;40009:22;;40034:21;;40054:1;;40034:21;:::i;:::-;40066:18;40087:24;;;:15;:24;;;;;;40460:10;:26;;40009:46;;-1:-1:-1;40087:24:0;;40009:46;;40460:26;;;;;;:::i;:::-;;;;;;;;;40438:48;;40524:11;40499:10;40510;40499:22;;;;;;;;:::i;:::-;;;;;;;;;;;;:36;;;;40604:28;;;:15;:28;;;;;;;:41;;;40776:24;;;;;40769:31;40811:10;:16;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;39827:1008;;;39756:1079;:::o;37260:221::-;37345:14;37362:20;37379:2;37362:16;:20::i;:::-;-1:-1:-1;;;;;37393:16:0;;;;;;;:12;:16;;;;;;;;:24;;;;;;;;:34;;;37438:26;;;:17;:26;;;;;;:35;;;;-1:-1:-1;37260:221:0:o;29517:382::-;-1:-1:-1;;;;;29597:16:0;;29589:61;;;;-1:-1:-1;;;29589:61:0;;16170:2:1;29589:61:0;;;16152:21:1;;;16189:18;;;16182:30;16248:34;16228:18;;;16221:62;16300:18;;29589:61:0;15968:356:1;29589:61:0;27604:4;27628:16;;;:7;:16;;;;;;-1:-1:-1;;;;;27628:16:0;:30;29661:58;;;;-1:-1:-1;;;29661:58:0;;16531:2:1;29661:58:0;;;16513:21:1;16570:2;16550:18;;;16543:30;16609;16589:18;;;16582:58;16657:18;;29661:58:0;16329:352:1;29661:58:0;29732:45;29761:1;29765:2;29769:7;29732:20;:45::i;:::-;-1:-1:-1;;;;;29790:13:0;;;;;;:9;:13;;;;;:18;;29807:1;;29790:13;:18;;29807:1;;29790:18;:::i;:::-;;;;-1:-1:-1;;29819:16:0;;;;:7;:16;;;;;;:21;;-1:-1:-1;;;;;;29819:21:0;-1:-1:-1;;;;;29819:21:0;;;;;;;;29858:33;;29819:16;;;29858:33;;29819:16;;29858:33;29517:382;;:::o;-1:-1:-1:-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;14:131:1;-1:-1:-1;;;;;;88:32:1;;78:43;;68:71;;135:1;132;125:12;150:245;208:6;261:2;249:9;240:7;236:23;232:32;229:52;;;277:1;274;267:12;229:52;316:9;303:23;335:30;359:5;335:30;:::i;592:258::-;664:1;674:113;688:6;685:1;682:13;674:113;;;764:11;;;758:18;745:11;;;738:39;710:2;703:10;674:113;;;805:6;802:1;799:13;796:48;;;-1:-1:-1;;840:1:1;822:16;;815:27;592:258::o;855:::-;897:3;935:5;929:12;962:6;957:3;950:19;978:63;1034:6;1027:4;1022:3;1018:14;1011:4;1004:5;1000:16;978:63;:::i;:::-;1095:2;1074:15;-1:-1:-1;;1070:29:1;1061:39;;;;1102:4;1057:50;;855:258;-1:-1:-1;;855:258:1:o;1118:220::-;1267:2;1256:9;1249:21;1230:4;1287:45;1328:2;1317:9;1313:18;1305:6;1287:45;:::i;1343:180::-;1402:6;1455:2;1443:9;1434:7;1430:23;1426:32;1423:52;;;1471:1;1468;1461:12;1423:52;-1:-1:-1;1494:23:1;;1343:180;-1:-1:-1;1343:180:1:o;1736:173::-;1804:20;;-1:-1:-1;;;;;1853:31:1;;1843:42;;1833:70;;1899:1;1896;1889:12;1833:70;1736:173;;;:::o;1914:254::-;1982:6;1990;2043:2;2031:9;2022:7;2018:23;2014:32;2011:52;;;2059:1;2056;2049:12;2011:52;2082:29;2101:9;2082:29;:::i;:::-;2072:39;2158:2;2143:18;;;;2130:32;;-1:-1:-1;;;1914:254:1:o;2355:328::-;2432:6;2440;2448;2501:2;2489:9;2480:7;2476:23;2472:32;2469:52;;;2517:1;2514;2507:12;2469:52;2540:29;2559:9;2540:29;:::i;:::-;2530:39;;2588:38;2622:2;2611:9;2607:18;2588:38;:::i;:::-;2578:48;;2673:2;2662:9;2658:18;2645:32;2635:42;;2355:328;;;;;:::o;2688:186::-;2747:6;2800:2;2788:9;2779:7;2775:23;2771:32;2768:52;;;2816:1;2813;2806:12;2768:52;2839:29;2858:9;2839:29;:::i;2879:632::-;3050:2;3102:21;;;3172:13;;3075:18;;;3194:22;;;3021:4;;3050:2;3273:15;;;;3247:2;3232:18;;;3021:4;3316:169;3330:6;3327:1;3324:13;3316:169;;;3391:13;;3379:26;;3460:15;;;;3425:12;;;;3352:1;3345:9;3316:169;;;-1:-1:-1;3502:3:1;;2879:632;-1:-1:-1;;;;;;2879:632:1:o;3516:127::-;3577:10;3572:3;3568:20;3565:1;3558:31;3608:4;3605:1;3598:15;3632:4;3629:1;3622:15;3648:632;3713:5;3743:18;3784:2;3776:6;3773:14;3770:40;;;3790:18;;:::i;:::-;3865:2;3859:9;3833:2;3919:15;;-1:-1:-1;;3915:24:1;;;3941:2;3911:33;3907:42;3895:55;;;3965:18;;;3985:22;;;3962:46;3959:72;;;4011:18;;:::i;:::-;4051:10;4047:2;4040:22;4080:6;4071:15;;4110:6;4102;4095:22;4150:3;4141:6;4136:3;4132:16;4129:25;4126:45;;;4167:1;4164;4157:12;4126:45;4217:6;4212:3;4205:4;4197:6;4193:17;4180:44;4272:1;4265:4;4256:6;4248;4244:19;4240:30;4233:41;;;;3648:632;;;;;:::o;4285:451::-;4354:6;4407:2;4395:9;4386:7;4382:23;4378:32;4375:52;;;4423:1;4420;4413:12;4375:52;4463:9;4450:23;4496:18;4488:6;4485:30;4482:50;;;4528:1;4525;4518:12;4482:50;4551:22;;4604:4;4596:13;;4592:27;-1:-1:-1;4582:55:1;;4633:1;4630;4623:12;4582:55;4656:74;4722:7;4717:2;4704:16;4699:2;4695;4691:11;4656:74;:::i;4741:254::-;4809:6;4817;4870:2;4858:9;4849:7;4845:23;4841:32;4838:52;;;4886:1;4883;4876:12;4838:52;4922:9;4909:23;4899:33;;4951:38;4985:2;4974:9;4970:18;4951:38;:::i;:::-;4941:48;;4741:254;;;;;:::o;5000:347::-;5065:6;5073;5126:2;5114:9;5105:7;5101:23;5097:32;5094:52;;;5142:1;5139;5132:12;5094:52;5165:29;5184:9;5165:29;:::i;:::-;5155:39;;5244:2;5233:9;5229:18;5216:32;5291:5;5284:13;5277:21;5270:5;5267:32;5257:60;;5313:1;5310;5303:12;5257:60;5336:5;5326:15;;;5000:347;;;;;:::o;5352:667::-;5447:6;5455;5463;5471;5524:3;5512:9;5503:7;5499:23;5495:33;5492:53;;;5541:1;5538;5531:12;5492:53;5564:29;5583:9;5564:29;:::i;:::-;5554:39;;5612:38;5646:2;5635:9;5631:18;5612:38;:::i;:::-;5602:48;;5697:2;5686:9;5682:18;5669:32;5659:42;;5752:2;5741:9;5737:18;5724:32;5779:18;5771:6;5768:30;5765:50;;;5811:1;5808;5801:12;5765:50;5834:22;;5887:4;5879:13;;5875:27;-1:-1:-1;5865:55:1;;5916:1;5913;5906:12;5865:55;5939:74;6005:7;6000:2;5987:16;5982:2;5978;5974:11;5939:74;:::i;:::-;5929:84;;;5352:667;;;;;;;:::o;6024:260::-;6092:6;6100;6153:2;6141:9;6132:7;6128:23;6124:32;6121:52;;;6169:1;6166;6159:12;6121:52;6192:29;6211:9;6192:29;:::i;:::-;6182:39;;6240:38;6274:2;6263:9;6259:18;6240:38;:::i;6289:380::-;6368:1;6364:12;;;;6411;;;6432:61;;6486:4;6478:6;6474:17;6464:27;;6432:61;6539:2;6531:6;6528:14;6508:18;6505:38;6502:161;;;6585:10;6580:3;6576:20;6573:1;6566:31;6620:4;6617:1;6610:15;6648:4;6645:1;6638:15;6502:161;;6289:380;;;:::o;7914:413::-;8116:2;8098:21;;;8155:2;8135:18;;;8128:30;8194:34;8189:2;8174:18;;8167:62;-1:-1:-1;;;8260:2:1;8245:18;;8238:47;8317:3;8302:19;;7914:413::o;8744:127::-;8805:10;8800:3;8796:20;8793:1;8786:31;8836:4;8833:1;8826:15;8860:4;8857:1;8850:15;8876:127;8937:10;8932:3;8928:20;8925:1;8918:31;8968:4;8965:1;8958:15;8992:4;8989:1;8982:15;9008:135;9047:3;-1:-1:-1;;9068:17:1;;9065:43;;;9088:18;;:::i;:::-;-1:-1:-1;9135:1:1;9124:13;;9008:135::o;9561:356::-;9763:2;9745:21;;;9782:18;;;9775:30;9841:34;9836:2;9821:18;;9814:62;9908:2;9893:18;;9561:356::o;11922:470::-;12101:3;12139:6;12133:13;12155:53;12201:6;12196:3;12189:4;12181:6;12177:17;12155:53;:::i;:::-;12271:13;;12230:16;;;;12293:57;12271:13;12230:16;12327:4;12315:17;;12293:57;:::i;:::-;12366:20;;11922:470;-1:-1:-1;;;;11922:470:1:o;14032:125::-;14072:4;14100:1;14097;14094:8;14091:34;;;14105:18;;:::i;:::-;-1:-1:-1;14142:9:1;;14032:125::o;14162:128::-;14202:3;14233:1;14229:6;14226:1;14223:13;14220:39;;;14239:18;;:::i;:::-;-1:-1:-1;14275:9:1;;14162:128::o;14295:414::-;14497:2;14479:21;;;14536:2;14516:18;;;14509:30;14575:34;14570:2;14555:18;;14548:62;-1:-1:-1;;;14641:2:1;14626:18;;14619:48;14699:3;14684:19;;14295:414::o;14714:127::-;14775:10;14770:3;14766:20;14763:1;14756:31;14806:4;14803:1;14796:15;14830:4;14827:1;14820:15;14846:120;14886:1;14912;14902:35;;14917:18;;:::i;:::-;-1:-1:-1;14951:9:1;;14846:120::o;14971:112::-;15003:1;15029;15019:35;;15034:18;;:::i;:::-;-1:-1:-1;15068:9:1;;14971:112::o;15088:489::-;-1:-1:-1;;;;;15357:15:1;;;15339:34;;15409:15;;15404:2;15389:18;;15382:43;15456:2;15441:18;;15434:34;;;15504:3;15499:2;15484:18;;15477:31;;;15282:4;;15525:46;;15551:19;;15543:6;15525:46;:::i;:::-;15517:54;15088:489;-1:-1:-1;;;;;;15088:489:1:o;15582:249::-;15651:6;15704:2;15692:9;15683:7;15679:23;15675:32;15672:52;;;15720:1;15717;15710:12;15672:52;15752:9;15746:16;15771:30;15795:5;15771:30;:::i;15836:127::-;15897:10;15892:3;15888:20;15885:1;15878:31;15928:4;15925:1;15918:15;15952:4;15949:1;15942:15
Swarm Source
ipfs://b8560ce4e62f6141b0251e578af00118d90b25850b8609cd7c24d34f3227909d
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.