diff --git a/.changeset/cdm-registry-v3-sync.md b/.changeset/cdm-registry-v3-sync.md new file mode 100644 index 0000000..44b5fbf --- /dev/null +++ b/.changeset/cdm-registry-v3-sync.md @@ -0,0 +1,5 @@ +--- +"playground-cli": patch +--- + +Sync the `@w3s/playground-registry` CDM snapshot to v3 (`0x9938255f40485B25641C9bc263aa8E0bAE8c202d`), picking up the registry's new on-chain sorted-index read methods (`getTopStarred` / `getTopModded`) added for the most-starred and most-modded Apps-tab sorts. diff --git a/cdm.json b/cdm.json index d38c3c4..5936300 100644 --- a/cdm.json +++ b/cdm.json @@ -1,1017 +1,1139 @@ { - "registry": "0xf62c2ece29cd8df2e10040ecfa5a894a5c5d9cb0", - "dependencies": { - "@w3s/playground-registry": "latest" - }, - "contracts": { - "@w3s/playground-registry": { - "version": 0, - "address": "0x1C12456f461aBd82C276436d3136F9Df4E8f3E08", - "abi": [ - { - "type": "constructor", - "inputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "publish", - "inputs": [ - { - "name": "domain", - "type": "string" - }, - { - "name": "metadata_uri", - "type": "string" - }, - { - "name": "visibility", - "type": "uint8" - }, - { - "name": "owner", - "type": "tuple", - "components": [ - { - "name": "isSome", - "type": "bool" - }, - { - "name": "value", - "type": "address" - } - ] - }, - { - "name": "modded_from", - "type": "string" - }, - { - "name": "is_moddable", - "type": "bool" - }, - { - "name": "is_dev_signer", - "type": "bool" - } - ], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "unpublish", - "inputs": [ - { - "name": "domain", - "type": "string" - } - ], - "outputs": [], - "stateMutability": "nonpayable" - }, + "registry": "0xf62c2ece29cd8df2e10040ecfa5a894a5c5d9cb0", + "dependencies": { + "@w3s/playground-registry": "latest" + }, + "contracts": { + "@w3s/playground-registry": { + "version": 3, + "address": "0x9938255f40485B25641C9bc263aa8E0bAE8c202d", + "abi": [ + { + "type": "constructor", + "inputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "publish", + "inputs": [ + { + "name": "domain", + "type": "string" + }, + { + "name": "metadata_uri", + "type": "string" + }, + { + "name": "visibility", + "type": "uint8" + }, + { + "name": "owner", + "type": "tuple", + "components": [ { - "type": "function", - "name": "rateApp", - "inputs": [ - { - "name": "domain", - "type": "string" - }, - { - "name": "rating", - "type": "uint8" - }, - { - "name": "comment_uri", - "type": "string" - } - ], - "outputs": [], - "stateMutability": "nonpayable" + "name": "isSome", + "type": "bool" }, { - "type": "function", - "name": "removeRating", - "inputs": [ - { - "name": "domain", - "type": "string" - }, - { - "name": "reviewer", - "type": "address" - } - ], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "star", - "inputs": [ - { - "name": "domain", - "type": "string" - } - ], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "unstar", - "inputs": [ - { - "name": "domain", - "type": "string" - } - ], - "outputs": [], - "stateMutability": "nonpayable" - }, + "name": "value", + "type": "address" + } + ] + }, + { + "name": "modded_from", + "type": "string" + }, + { + "name": "is_moddable", + "type": "bool" + }, + { + "name": "is_dev_signer", + "type": "bool" + } + ], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "unpublish", + "inputs": [ + { + "name": "domain", + "type": "string" + } + ], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "rateApp", + "inputs": [ + { + "name": "domain", + "type": "string" + }, + { + "name": "rating", + "type": "uint8" + }, + { + "name": "comment_uri", + "type": "string" + } + ], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "removeRating", + "inputs": [ + { + "name": "domain", + "type": "string" + }, + { + "name": "reviewer", + "type": "address" + } + ], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "star", + "inputs": [ + { + "name": "domain", + "type": "string" + } + ], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "unstar", + "inputs": [ + { + "name": "domain", + "type": "string" + } + ], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "getContextId", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "bytes32" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "getAppCount", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "uint32" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "getDomainAt", + "inputs": [ + { + "name": "index", + "type": "uint32" + } + ], + "outputs": [ + { + "name": "", + "type": "tuple", + "components": [ { - "type": "function", - "name": "getContextId", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bytes32" - } - ], - "stateMutability": "view" + "name": "isSome", + "type": "bool" }, { - "type": "function", - "name": "getAppCount", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint32" - } - ], - "stateMutability": "view" - }, + "name": "value", + "type": "string" + } + ] + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "getOwnerAppCount", + "inputs": [ + { + "name": "owner", + "type": "address" + } + ], + "outputs": [ + { + "name": "", + "type": "uint32" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "getOwnerDomainAt", + "inputs": [ + { + "name": "owner", + "type": "address" + }, + { + "name": "index", + "type": "uint32" + } + ], + "outputs": [ + { + "name": "", + "type": "tuple", + "components": [ { - "type": "function", - "name": "getDomainAt", - "inputs": [ - { - "name": "index", - "type": "uint32" - } - ], - "outputs": [ - { - "name": "", - "type": "tuple", - "components": [ - { - "name": "isSome", - "type": "bool" - }, - { - "name": "value", - "type": "string" - } - ] - } - ], - "stateMutability": "view" + "name": "isSome", + "type": "bool" }, { - "type": "function", - "name": "getOwnerAppCount", - "inputs": [ - { - "name": "owner", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint32" - } - ], - "stateMutability": "view" - }, + "name": "value", + "type": "string" + } + ] + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "getSudo", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "address" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "addAdmin", + "inputs": [ + { + "name": "admin", + "type": "address" + } + ], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "removeAdmin", + "inputs": [ + { + "name": "admin", + "type": "address" + } + ], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "isAdmin", + "inputs": [ + { + "name": "addr", + "type": "address" + } + ], + "outputs": [ + { + "name": "", + "type": "bool" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "setBlacklisted", + "inputs": [ + { + "name": "accounts", + "type": "address[]" + }, + { + "name": "value", + "type": "bool" + } + ], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "isBlacklisted", + "inputs": [ + { + "name": "account", + "type": "address" + } + ], + "outputs": [ + { + "name": "", + "type": "bool" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "setVisibility", + "inputs": [ + { + "name": "domain", + "type": "string" + }, + { + "name": "visibility", + "type": "uint8" + } + ], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "getVisibility", + "inputs": [ + { + "name": "domain", + "type": "string" + } + ], + "outputs": [ + { + "name": "", + "type": "uint8" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "pin", + "inputs": [ + { + "name": "domain", + "type": "string" + } + ], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "unpin", + "inputs": [ + { + "name": "domain", + "type": "string" + } + ], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "isPinned", + "inputs": [ + { + "name": "domain", + "type": "string" + } + ], + "outputs": [ + { + "name": "", + "type": "bool" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "getPinnedApps", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "tuple[]", + "components": [ { - "type": "function", - "name": "getOwnerDomainAt", - "inputs": [ - { - "name": "owner", - "type": "address" - }, - { - "name": "index", - "type": "uint32" - } - ], - "outputs": [ - { - "name": "", - "type": "tuple", - "components": [ - { - "name": "isSome", - "type": "bool" - }, - { - "name": "value", - "type": "string" - } - ] - } - ], - "stateMutability": "view" + "name": "index", + "type": "uint32" }, { - "type": "function", - "name": "getSudo", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "stateMutability": "view" + "name": "domain", + "type": "string" }, { - "type": "function", - "name": "addAdmin", - "inputs": [ - { - "name": "admin", - "type": "address" - } - ], - "outputs": [], - "stateMutability": "nonpayable" + "name": "metadata_uri", + "type": "string" }, { - "type": "function", - "name": "removeAdmin", - "inputs": [ - { - "name": "admin", - "type": "address" - } - ], - "outputs": [], - "stateMutability": "nonpayable" + "name": "owner", + "type": "address" }, { - "type": "function", - "name": "isAdmin", - "inputs": [ - { - "name": "addr", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "stateMutability": "view" + "name": "visibility", + "type": "uint8" }, { - "type": "function", - "name": "setBlacklisted", - "inputs": [ - { - "name": "accounts", - "type": "address[]" - }, - { - "name": "value", - "type": "bool" - } - ], - "outputs": [], - "stateMutability": "nonpayable" - }, + "name": "publisher", + "type": "address" + } + ] + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "getApps", + "inputs": [ + { + "name": "start", + "type": "uint32" + }, + { + "name": "count", + "type": "uint32" + } + ], + "outputs": [ + { + "name": "", + "type": "tuple", + "components": [ { - "type": "function", - "name": "isBlacklisted", - "inputs": [ - { - "name": "account", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "stateMutability": "view" + "name": "total", + "type": "uint32" }, { - "type": "function", - "name": "setVisibility", - "inputs": [ - { - "name": "domain", - "type": "string" - }, - { - "name": "visibility", - "type": "uint8" - } - ], - "outputs": [], - "stateMutability": "nonpayable" + "name": "scanned", + "type": "uint32" }, { - "type": "function", - "name": "getVisibility", - "inputs": [ - { - "name": "domain", - "type": "string" - } - ], - "outputs": [ - { - "name": "", - "type": "uint8" - } - ], - "stateMutability": "view" - }, + "name": "entries", + "type": "tuple[]", + "components": [ + { + "name": "index", + "type": "uint32" + }, + { + "name": "domain", + "type": "string" + }, + { + "name": "metadata_uri", + "type": "string" + }, + { + "name": "owner", + "type": "address" + }, + { + "name": "visibility", + "type": "uint8" + }, + { + "name": "publisher", + "type": "address" + } + ] + } + ] + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "getTopStarred", + "inputs": [ + { + "name": "start", + "type": "uint32" + }, + { + "name": "count", + "type": "uint32" + } + ], + "outputs": [ + { + "name": "", + "type": "tuple", + "components": [ { - "type": "function", - "name": "pin", - "inputs": [ - { - "name": "domain", - "type": "string" - } - ], - "outputs": [], - "stateMutability": "nonpayable" + "name": "total", + "type": "uint32" }, { - "type": "function", - "name": "unpin", - "inputs": [ - { - "name": "domain", - "type": "string" - } - ], - "outputs": [], - "stateMutability": "nonpayable" + "name": "scanned", + "type": "uint32" }, { - "type": "function", - "name": "isPinned", - "inputs": [ - { - "name": "domain", - "type": "string" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "stateMutability": "view" - }, + "name": "entries", + "type": "tuple[]", + "components": [ + { + "name": "index", + "type": "uint32" + }, + { + "name": "domain", + "type": "string" + }, + { + "name": "metadata_uri", + "type": "string" + }, + { + "name": "owner", + "type": "address" + }, + { + "name": "visibility", + "type": "uint8" + }, + { + "name": "publisher", + "type": "address" + } + ] + } + ] + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "getTopModded", + "inputs": [ + { + "name": "start", + "type": "uint32" + }, + { + "name": "count", + "type": "uint32" + } + ], + "outputs": [ + { + "name": "", + "type": "tuple", + "components": [ { - "type": "function", - "name": "getPinnedApps", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "tuple[]", - "components": [ - { - "name": "index", - "type": "uint32" - }, - { - "name": "domain", - "type": "string" - }, - { - "name": "metadata_uri", - "type": "string" - }, - { - "name": "owner", - "type": "address" - }, - { - "name": "visibility", - "type": "uint8" - }, - { - "name": "publisher", - "type": "address" - } - ] - } - ], - "stateMutability": "view" + "name": "total", + "type": "uint32" }, { - "type": "function", - "name": "getApps", - "inputs": [ - { - "name": "start", - "type": "uint32" - }, - { - "name": "count", - "type": "uint32" - } - ], - "outputs": [ - { - "name": "", - "type": "tuple", - "components": [ - { - "name": "total", - "type": "uint32" - }, - { - "name": "scanned", - "type": "uint32" - }, - { - "name": "entries", - "type": "tuple[]", - "components": [ - { - "name": "index", - "type": "uint32" - }, - { - "name": "domain", - "type": "string" - }, - { - "name": "metadata_uri", - "type": "string" - }, - { - "name": "owner", - "type": "address" - }, - { - "name": "visibility", - "type": "uint8" - }, - { - "name": "publisher", - "type": "address" - } - ] - } - ] - } - ], - "stateMutability": "view" + "name": "scanned", + "type": "uint32" }, { - "type": "function", - "name": "getLineageCount", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint32" - } - ], - "stateMutability": "view" - }, + "name": "entries", + "type": "tuple[]", + "components": [ + { + "name": "index", + "type": "uint32" + }, + { + "name": "domain", + "type": "string" + }, + { + "name": "metadata_uri", + "type": "string" + }, + { + "name": "owner", + "type": "address" + }, + { + "name": "visibility", + "type": "uint8" + }, + { + "name": "publisher", + "type": "address" + } + ] + } + ] + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "getLineageCount", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "uint32" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "getLineage", + "inputs": [ + { + "name": "start", + "type": "uint32" + }, + { + "name": "count", + "type": "uint32" + } + ], + "outputs": [ + { + "name": "", + "type": "tuple[]", + "components": [ { - "type": "function", - "name": "getLineage", - "inputs": [ - { - "name": "start", - "type": "uint32" - }, - { - "name": "count", - "type": "uint32" - } - ], - "outputs": [ - { - "name": "", - "type": "tuple[]", - "components": [ - { - "name": "child", - "type": "string" - }, - { - "name": "source", - "type": "string" - } - ] - } - ], - "stateMutability": "view" + "name": "child", + "type": "string" }, { - "type": "function", - "name": "getMetadataUri", - "inputs": [ - { - "name": "domain", - "type": "string" - } - ], - "outputs": [ - { - "name": "", - "type": "tuple", - "components": [ - { - "name": "isSome", - "type": "bool" - }, - { - "name": "value", - "type": "string" - } - ] - } - ], - "stateMutability": "view" - }, + "name": "source", + "type": "string" + } + ] + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "getMetadataUri", + "inputs": [ + { + "name": "domain", + "type": "string" + } + ], + "outputs": [ + { + "name": "", + "type": "tuple", + "components": [ { - "type": "function", - "name": "getOwner", - "inputs": [ - { - "name": "domain", - "type": "string" - } - ], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "stateMutability": "view" + "name": "isSome", + "type": "bool" }, { - "type": "function", - "name": "getPoints", - "inputs": [ - { - "name": "account", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint128" - } - ], - "stateMutability": "view" - }, + "name": "value", + "type": "string" + } + ] + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "getOwner", + "inputs": [ + { + "name": "domain", + "type": "string" + } + ], + "outputs": [ + { + "name": "", + "type": "address" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "getPoints", + "inputs": [ + { + "name": "account", + "type": "address" + } + ], + "outputs": [ + { + "name": "", + "type": "uint128" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "getTopBuilders", + "inputs": [ + { + "name": "start", + "type": "uint32" + }, + { + "name": "count", + "type": "uint32" + } + ], + "outputs": [ + { + "name": "", + "type": "tuple[]", + "components": [ { - "type": "function", - "name": "getTopBuilders", - "inputs": [ - { - "name": "start", - "type": "uint32" - }, - { - "name": "count", - "type": "uint32" - } - ], - "outputs": [ - { - "name": "", - "type": "tuple[]", - "components": [ - { - "name": "account", - "type": "address" - }, - { - "name": "score", - "type": "uint128" - } - ] - } - ], - "stateMutability": "view" + "name": "account", + "type": "address" }, { - "type": "function", - "name": "getModCount", - "inputs": [ - { - "name": "domain", - "type": "string" - } - ], - "outputs": [ - { - "name": "", - "type": "uint32" - } - ], - "stateMutability": "view" - }, + "name": "score", + "type": "uint128" + } + ] + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "getModCount", + "inputs": [ + { + "name": "domain", + "type": "string" + } + ], + "outputs": [ + { + "name": "", + "type": "uint32" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "getStarCount", + "inputs": [ + { + "name": "domain", + "type": "string" + } + ], + "outputs": [ + { + "name": "", + "type": "uint32" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "hasStarred", + "inputs": [ + { + "name": "voter", + "type": "address" + }, + { + "name": "domain", + "type": "string" + } + ], + "outputs": [ + { + "name": "", + "type": "bool" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "getPointBreakdown", + "inputs": [ + { + "name": "account", + "type": "address" + } + ], + "outputs": [ + { + "name": "", + "type": "tuple", + "components": [ { - "type": "function", - "name": "getStarCount", - "inputs": [ - { - "name": "domain", - "type": "string" - } - ], - "outputs": [ - { - "name": "", - "type": "uint32" - } - ], - "stateMutability": "view" + "name": "launch_points", + "type": "uint128" }, { - "type": "function", - "name": "hasStarred", - "inputs": [ - { - "name": "voter", - "type": "address" - }, - { - "name": "domain", - "type": "string" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "stateMutability": "view" + "name": "mod_points", + "type": "uint128" }, { - "type": "function", - "name": "getPointBreakdown", - "inputs": [ - { - "name": "account", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "tuple", - "components": [ - { - "name": "launch_points", - "type": "uint128" - }, - { - "name": "mod_points", - "type": "uint128" - }, - { - "name": "star_points", - "type": "uint128" - }, - { - "name": "total", - "type": "uint128" - } - ] - } - ], - "stateMutability": "view" + "name": "star_points", + "type": "uint128" }, { - "type": "function", - "name": "setFrozen", - "inputs": [ - { - "name": "value", - "type": "bool" - } - ], - "outputs": [], - "stateMutability": "nonpayable" - }, + "name": "total", + "type": "uint128" + } + ] + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "setFrozen", + "inputs": [ + { + "name": "value", + "type": "bool" + } + ], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "isFrozen", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "bool" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "refreshReputationReference", + "inputs": [], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "importApp", + "inputs": [ + { + "name": "domain", + "type": "string" + }, + { + "name": "owner", + "type": "address" + }, + { + "name": "publisher", + "type": "address" + }, + { + "name": "visibility", + "type": "uint8" + }, + { + "name": "metadata_uri", + "type": "string" + }, + { + "name": "is_moddable", + "type": "bool" + } + ], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "importApps", + "inputs": [ + { + "name": "apps", + "type": "tuple[]", + "components": [ { - "type": "function", - "name": "isFrozen", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "stateMutability": "view" + "name": "domain", + "type": "string" }, { - "type": "function", - "name": "refreshReputationReference", - "inputs": [], - "outputs": [], - "stateMutability": "nonpayable" + "name": "owner", + "type": "address" }, { - "type": "function", - "name": "importApp", - "inputs": [ - { - "name": "domain", - "type": "string" - }, - { - "name": "owner", - "type": "address" - }, - { - "name": "publisher", - "type": "address" - }, - { - "name": "visibility", - "type": "uint8" - }, - { - "name": "metadata_uri", - "type": "string" - }, - { - "name": "is_moddable", - "type": "bool" - } - ], - "outputs": [], - "stateMutability": "nonpayable" + "name": "publisher", + "type": "address" }, { - "type": "function", - "name": "importApps", - "inputs": [ - { - "name": "apps", - "type": "tuple[]", - "components": [ - { - "name": "domain", - "type": "string" - }, - { - "name": "owner", - "type": "address" - }, - { - "name": "publisher", - "type": "address" - }, - { - "name": "visibility", - "type": "uint8" - }, - { - "name": "metadata_uri", - "type": "string" - }, - { - "name": "is_moddable", - "type": "bool" - } - ] - } - ], - "outputs": [], - "stateMutability": "nonpayable" + "name": "visibility", + "type": "uint8" }, { - "type": "function", - "name": "importPinned", - "inputs": [ - { - "name": "domain", - "type": "string" - } - ], - "outputs": [], - "stateMutability": "nonpayable" + "name": "metadata_uri", + "type": "string" }, { - "type": "function", - "name": "importLineage", - "inputs": [ - { - "name": "entries", - "type": "tuple[]", - "components": [ - { - "name": "child", - "type": "string" - }, - { - "name": "source", - "type": "string" - } - ] - } - ], - "outputs": [], - "stateMutability": "nonpayable" - }, + "name": "is_moddable", + "type": "bool" + } + ] + } + ], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "importPinned", + "inputs": [ + { + "name": "domain", + "type": "string" + } + ], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "importLineage", + "inputs": [ + { + "name": "entries", + "type": "tuple[]", + "components": [ { - "type": "function", - "name": "importPoints", - "inputs": [ - { - "name": "entries", - "type": "tuple[]", - "components": [ - { - "name": "account", - "type": "address" - }, - { - "name": "total", - "type": "uint128" - } - ] - } - ], - "outputs": [], - "stateMutability": "nonpayable" + "name": "child", + "type": "string" }, { - "type": "function", - "name": "importSocialCounts", - "inputs": [ - { - "name": "entries", - "type": "tuple[]", - "components": [ - { - "name": "domain", - "type": "string" - }, - { - "name": "star_count", - "type": "uint32" - }, - { - "name": "mod_count", - "type": "uint32" - } - ] - } - ], - "outputs": [], - "stateMutability": "nonpayable" - }, + "name": "source", + "type": "string" + } + ] + } + ], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "importPoints", + "inputs": [ + { + "name": "entries", + "type": "tuple[]", + "components": [ { - "type": "function", - "name": "importUsernames", - "inputs": [ - { - "name": "entries", - "type": "tuple[]", - "components": [ - { - "name": "account", - "type": "address" - }, - { - "name": "name", - "type": "string" - } - ] - } - ], - "outputs": [], - "stateMutability": "nonpayable" + "name": "account", + "type": "address" }, { - "type": "function", - "name": "setUsername", - "inputs": [ - { - "name": "name", - "type": "string" - } - ], - "outputs": [], - "stateMutability": "nonpayable" - }, + "name": "total", + "type": "uint128" + } + ] + } + ], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "importSocialCounts", + "inputs": [ + { + "name": "entries", + "type": "tuple[]", + "components": [ { - "type": "function", - "name": "clearUsername", - "inputs": [], - "outputs": [], - "stateMutability": "nonpayable" + "name": "domain", + "type": "string" }, { - "type": "function", - "name": "getUsername", - "inputs": [ - { - "name": "account", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "string" - } - ], - "stateMutability": "view" + "name": "star_count", + "type": "uint32" }, { - "type": "function", - "name": "getUsernames", - "inputs": [ - { - "name": "accounts", - "type": "address[]" - } - ], - "outputs": [ - { - "name": "", - "type": "string[]" - } - ], - "stateMutability": "view" - }, + "name": "mod_count", + "type": "uint32" + } + ] + } + ], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "importUsernames", + "inputs": [ + { + "name": "entries", + "type": "tuple[]", + "components": [ { - "type": "function", - "name": "getUsernameOwner", - "inputs": [ - { - "name": "name", - "type": "string" - } - ], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "stateMutability": "view" + "name": "account", + "type": "address" }, { - "type": "function", - "name": "isUsernameAvailable", - "inputs": [ - { - "name": "name", - "type": "string" - }, - { - "name": "prospective_caller", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "stateMutability": "view" + "name": "name", + "type": "string" } - ], - "metadataCid": "bafk2bzaceduyvqkzgyfafjcy77v3t3ypvkruwvt6zq3uaw37zvzelalfpkfty" + ] + } + ], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "setUsername", + "inputs": [ + { + "name": "name", + "type": "string" + } + ], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "clearUsername", + "inputs": [], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "getUsername", + "inputs": [ + { + "name": "account", + "type": "address" + } + ], + "outputs": [ + { + "name": "", + "type": "string" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "getUsernames", + "inputs": [ + { + "name": "accounts", + "type": "address[]" + } + ], + "outputs": [ + { + "name": "", + "type": "string[]" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "getUsernameOwner", + "inputs": [ + { + "name": "name", + "type": "string" + } + ], + "outputs": [ + { + "name": "", + "type": "address" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "isUsernameAvailable", + "inputs": [ + { + "name": "name", + "type": "string" + }, + { + "name": "prospective_caller", + "type": "address" + } + ], + "outputs": [ + { + "name": "", + "type": "bool" + } + ], + "stateMutability": "view" } + ], + "metadataCid": "bafk2bzaceafacjrrftyijid6r3hvk54mhpdsoizrj6lxvmqfba5ufndlk2w6o" } + } }