Skip to content

Commit 23c2153

Browse files
committed
correct function type
1 parent fc1a8c2 commit 23c2153

File tree

3 files changed

+29
-13
lines changed

3 files changed

+29
-13
lines changed
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[
22
"function addExtension(((string name, string metadataURI, address implementation) metadata, (bytes4 functionSelector, string functionSignature)[] functions) extension)",
33
"function removeExtension(string extensionName)",
4-
"function getAllExtensions() returns (((string name, string metadataURI, address implementation) metadata, (bytes4 functionSelector, string functionSignature)[] functions)[])"
4+
"function getAllExtensions() view returns (((string name, string metadataURI, address implementation) metadata, (bytes4 functionSelector, string functionSignature)[] functions)[])"
55
]
Lines changed: 27 additions & 11 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/thirdweb/src/extensions/thirdweb/write/publish.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import type { ThirdwebClient } from "../../../client/client.js";
55
import { ZERO_ADDRESS } from "../../../constants/addresses.js";
66
import { getContract } from "../../../contract/contract.js";
77
import { CONTRACT_PUBLISHER_ADDRESS } from "../../../contract/deployment/publisher.js";
8-
import { isGetAllExtensionsSupported } from "../../../extensions/dynamic-contracts/__generated__/IExtensionManager/write/getAllExtensions.js";
8+
import { isGetAllExtensionsSupported } from "../../../extensions/dynamic-contracts/__generated__/IExtensionManager/read/getAllExtensions.js";
99
import { download } from "../../../storage/download.js";
1010
import { upload } from "../../../storage/upload.js";
1111
import type { BaseTransactionOptions } from "../../../transaction/types.js";

0 commit comments

Comments
 (0)