@fangorn-network/sdk 2026.6.16 → 2026.7.1-2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (105) hide show
  1. package/README.md +210 -266
  2. package/lib/cli/cli.d.ts +0 -0
  3. package/lib/cli/cli.js +261 -167
  4. package/lib/cli/index.d.ts +13 -651
  5. package/lib/config.d.ts +137 -792
  6. package/lib/config.js +6 -22
  7. package/lib/contracts/data-registry/abi.d.ts +38 -0
  8. package/lib/contracts/data-registry/abi.js +237 -0
  9. package/lib/contracts/data-registry/index.d.ts +81 -0
  10. package/lib/contracts/data-registry/index.js +184 -0
  11. package/lib/contracts/index.d.ts +3 -0
  12. package/lib/contracts/index.js +4 -0
  13. package/lib/crypto/aes.d.ts +26 -0
  14. package/lib/crypto/aes.js +58 -0
  15. package/lib/crypto/encryption.d.ts +53 -0
  16. package/lib/crypto/encryption.js +82 -0
  17. package/lib/{modules/encryption → crypto}/rand.d.ts +1 -1
  18. package/lib/{modules/encryption → crypto}/rand.js +1 -1
  19. package/lib/{modules/encryption → crypto}/types.d.ts +1 -1
  20. package/lib/engine/blockstore.d.ts +24 -0
  21. package/lib/engine/blockstore.js +85 -0
  22. package/lib/engine/index.d.ts +180 -0
  23. package/lib/engine/index.js +367 -0
  24. package/lib/fangorn.d.ts +149 -16
  25. package/lib/fangorn.js +256 -37
  26. package/lib/harness/examples/hackmd/build-markdown-graph.js +17 -0
  27. package/lib/harness/index.d.ts +57 -0
  28. package/lib/harness/index.js +67 -0
  29. package/lib/index.d.ts +2 -2
  30. package/lib/node_modules/.pnpm/@noble_ciphers@1.3.0/node_modules/@noble/ciphers/esm/_polyval.js +218 -0
  31. package/lib/node_modules/.pnpm/@noble_ciphers@1.3.0/node_modules/@noble/ciphers/esm/aes.js +261 -0
  32. package/lib/node_modules/.pnpm/@noble_ciphers@1.3.0/node_modules/@noble/ciphers/esm/utils.js +156 -0
  33. package/lib/node_modules/.pnpm/@noble_curves@1.9.7/node_modules/@noble/curves/esm/abstract/curve.js +299 -0
  34. package/lib/node_modules/.pnpm/@noble_curves@1.9.7/node_modules/@noble/curves/esm/abstract/edwards.js +532 -0
  35. package/lib/node_modules/.pnpm/@noble_curves@1.9.7/node_modules/@noble/curves/esm/abstract/modular.js +344 -0
  36. package/lib/node_modules/.pnpm/@noble_curves@1.9.7/node_modules/@noble/curves/esm/abstract/montgomery.js +137 -0
  37. package/lib/node_modules/.pnpm/@noble_curves@1.9.7/node_modules/@noble/curves/esm/ed25519.js +262 -0
  38. package/lib/node_modules/.pnpm/@noble_curves@1.9.7/node_modules/@noble/curves/esm/utils.js +150 -0
  39. package/lib/providers/storage/car.d.ts +36 -0
  40. package/lib/providers/storage/car.js +80 -0
  41. package/lib/providers/storage/pinata.d.ts +29 -1
  42. package/lib/providers/storage/pinata.js +135 -20
  43. package/lib/providers/storage/types.d.ts +25 -18
  44. package/lib/roles/repo/index.d.ts +56 -0
  45. package/lib/roles/repo/index.js +73 -0
  46. package/lib/test/car_smoke.d.ts +1 -0
  47. package/lib/test/car_smoke.js +81 -0
  48. package/lib/test/cleanup-embeddings-testdata.js +9 -38
  49. package/lib/test/setup-embeddings-testdata.d.ts +4 -6
  50. package/lib/test/setup-embeddings-testdata.js +40 -94
  51. package/lib/test/testbed.d.ts +35 -32
  52. package/lib/test/testbed.js +48 -138
  53. package/lib/types/index.d.ts +3 -19
  54. package/lib/utils/manifest.d.ts +23 -0
  55. package/lib/utils/manifest.js +77 -0
  56. package/package.json +99 -81
  57. package/lib/modules/encryption/actions.d.ts +0 -4
  58. package/lib/modules/encryption/actions.js +0 -18
  59. package/lib/modules/encryption/aes.d.ts +0 -10
  60. package/lib/modules/encryption/aes.js +0 -51
  61. package/lib/registries/datasource-registry/abi.d.ts +0 -186
  62. package/lib/registries/datasource-registry/abi.js +0 -229
  63. package/lib/registries/datasource-registry/index.d.ts +0 -39
  64. package/lib/registries/datasource-registry/index.js +0 -158
  65. package/lib/registries/index.d.ts +0 -3
  66. package/lib/registries/index.js +0 -4
  67. package/lib/registries/schema-registry/abi.d.ts +0 -218
  68. package/lib/registries/schema-registry/abi.js +0 -246
  69. package/lib/registries/schema-registry/index.d.ts +0 -34
  70. package/lib/registries/schema-registry/index.js +0 -179
  71. package/lib/registries/settlement-registry/abi.d.ts +0 -218
  72. package/lib/registries/settlement-registry/abi.js +0 -259
  73. package/lib/registries/settlement-registry/index.d.ts +0 -63
  74. package/lib/registries/settlement-registry/index.js +0 -325
  75. package/lib/registries/settlement-registry/types.d.ts +0 -54
  76. package/lib/registries/settlement-registry/types.js +0 -1
  77. package/lib/roles/consumer/index.d.ts +0 -39
  78. package/lib/roles/consumer/index.js +0 -150
  79. package/lib/roles/consumer/types.d.ts +0 -47
  80. package/lib/roles/consumer/types.js +0 -1
  81. package/lib/roles/publisher/builders/bundle.d.ts +0 -32
  82. package/lib/roles/publisher/builders/bundle.js +0 -137
  83. package/lib/roles/publisher/builders/record-set.d.ts +0 -17
  84. package/lib/roles/publisher/builders/record-set.js +0 -55
  85. package/lib/roles/publisher/builders/types.d.ts +0 -38
  86. package/lib/roles/publisher/builders/types.js +0 -1
  87. package/lib/roles/publisher/builders/utils.d.ts +0 -9
  88. package/lib/roles/publisher/builders/utils.js +0 -29
  89. package/lib/roles/publisher/encryption.d.ts +0 -18
  90. package/lib/roles/publisher/encryption.js +0 -38
  91. package/lib/roles/publisher/index.d.ts +0 -68
  92. package/lib/roles/publisher/index.js +0 -179
  93. package/lib/roles/publisher/types.d.ts +0 -114
  94. package/lib/roles/publisher/types.js +0 -1
  95. package/lib/roles/schema/index.d.ts +0 -44
  96. package/lib/roles/schema/index.js +0 -127
  97. package/lib/roles/schema/types.d.ts +0 -113
  98. package/lib/roles/schema/types.js +0 -1
  99. package/lib/roles/schema/validate.d.ts +0 -9
  100. package/lib/roles/schema/validate.js +0 -128
  101. package/lib/test/publish_mb_bundle.js +0 -296
  102. /package/lib/{modules/encryption/index.d.ts → contracts/data-registry/test.d.ts} +0 -0
  103. /package/lib/{modules/encryption/index.js → contracts/data-registry/test.js} +0 -0
  104. /package/lib/{modules/encryption → crypto}/types.js +0 -0
  105. /package/lib/{test/publish_mb_bundle.d.ts → harness/examples/hackmd/build-markdown-graph.d.ts} +0 -0
package/package.json CHANGED
@@ -1,83 +1,101 @@
1
1
  {
2
- "name": "@fangorn-network/sdk",
3
- "version": "2026.06.16",
4
- "description": "A zero-knowledge conditional access control framework",
5
- "repository": {
6
- "type": "git",
7
- "url": "git+https://github.com/fangorn-network/fangorn.git"
8
- },
9
- "bin": {
10
- "fangorn": "lib/cli/cli.js"
11
- },
12
- "license": "MIT",
13
- "type": "module",
14
- "main": "lib/index.js",
15
- "files": [
16
- "lib/"
17
- ],
18
- "lint-staged": {
19
- "*": "prettier --ignore-unknown --write"
20
- },
21
- "devDependencies": {
22
- "@dotenvx/dotenvx": "^1.51.1",
23
- "@eslint/js": "9.39.1",
24
- "@noble/ciphers": "^1.3.0",
25
- "@noble/curves": "^1.2.0",
26
- "@types/node": "24.10.1",
27
- "@vitest/coverage-v8": "4.0.15",
28
- "@vitest/eslint-plugin": "1.5.1",
29
- "eslint": "9.39.1",
30
- "husky": "9.1.7",
31
- "lint-staged": "16.2.7",
32
- "prettier": "3.7.3",
33
- "tsdown": "0.16.8",
34
- "tsx": "^4.21.0",
35
- "typescript": "5.8.3",
36
- "typescript-eslint": "8.48.1",
37
- "vitest": "^4.0.18"
38
- },
39
- "engines": {
40
- "node": ">=20.19.0"
41
- },
42
- "dependencies": {
43
- "@a2a-js/sdk": "^0.3.10",
44
- "@aztec/bb.js": "^4.3.0",
45
- "@clack/prompts": "^1.0.1",
46
- "@ipld/car": "^5.4.6",
47
- "@noble/hashes": "^2.2.0",
48
- "@noir-lang/noir_js": "1.0.0-beta.22",
49
- "@semaphore-protocol/group": "^4.14.2",
50
- "@semaphore-protocol/identity": "^4.14.2",
51
- "@semaphore-protocol/proof": "^4.14.2",
52
- "@storacha/client": "^2.1.3",
53
- "agent0-sdk": "^1.5.3",
54
- "commander": "^14.0.3",
55
- "dotenv": "^17.2.3",
56
- "ethers": "^6.16.0",
57
- "ipfs-car": "^3.1.0",
58
- "lmdb": "^3.5.5",
59
- "multiformats": "^14.0.0",
60
- "pinata": "^2.5.2",
61
- "poseidon-lite": "^0.3.0",
62
- "solc": "^0.8.28",
63
- "stream-json": "^3.4.0",
64
- "viem": "^2.47.1"
65
- },
66
- "overrides": {
67
- "viem": "$viem"
68
- },
69
- "scripts": {
70
- "build": "tsdown",
71
- "format": "prettier . --write",
72
- "lint": "eslint . --max-warnings 0",
73
- "test": "dotenvx run -f .env -- vitest run",
74
- "test:e2e": "dotenvx run -f .env -- vitest run --config vitest.e2e.config.ts",
75
- "tsc": "tsc",
76
- "deploy": "dotenvx run -f .env -- tsx deploy.ts",
77
- "setup:embeddings": "dotenvx run -f .env -- tsx src/test/setup-embeddings-testdata.ts",
78
- "cleanup:embeddings": "dotenvx run -f .env -- tsx src/test/cleanup-embeddings-testdata.ts",
79
- "prepare:cli": "npm run build",
80
- "fangorn": "dotenvx run -f .env -- node dist/src/cli/cli.js",
81
- "e2e:sealed": "tsx examples/sealed-e2e.ts"
82
- }
2
+ "name": "@fangorn-network/sdk",
3
+ "version": "2026.07.12.0",
4
+ "description": "A zero-knowledge conditional access control framework",
5
+ "repository": {
6
+ "type": "git",
7
+ "url": "git+https://github.com/fangorn-network/fangorn.git"
8
+ },
9
+ "bin": {
10
+ "fangorn": "lib/cli/cli.js"
11
+ },
12
+ "license": "MIT",
13
+ "type": "module",
14
+ "main": "lib/index.js",
15
+ "files": [
16
+ "lib/"
17
+ ],
18
+ "scripts": {
19
+ "build": "tsdown",
20
+ "format": "prettier . --write",
21
+ "lint": "eslint . --max-warnings 0",
22
+ "prepare": "husky",
23
+ "test": "dotenvx run -f .env -- vitest run",
24
+ "test:e2e": "dotenvx run -f .env -- vitest run --config vitest.e2e.config.ts",
25
+ "tsc": "tsc",
26
+ "deploy": "dotenvx run -f .env -- tsx deploy.ts",
27
+ "setup:embeddings": "dotenvx run -f .env -- tsx src/test/setup-embeddings-testdata.ts",
28
+ "cleanup:embeddings": "dotenvx run -f .env -- tsx src/test/cleanup-embeddings-testdata.ts",
29
+ "prepare:cli": "npm run build",
30
+ "fangorn": "dotenvx run -f .env -- node dist/src/cli/cli.js"
31
+ },
32
+ "lint-staged": {
33
+ "*": "prettier --ignore-unknown --write"
34
+ },
35
+ "devDependencies": {
36
+ "@dotenvx/dotenvx": "^1.51.1",
37
+ "@eslint/js": "9.39.1",
38
+ "@noble/ciphers": "^1.3.0",
39
+ "@noble/curves": "^1.2.0",
40
+ "@types/node": "24.10.1",
41
+ "@vitest/coverage-v8": "4.0.15",
42
+ "@vitest/eslint-plugin": "1.5.1",
43
+ "eslint": "9.39.1",
44
+ "husky": "9.1.7",
45
+ "lint-staged": "16.2.7",
46
+ "prettier": "3.7.3",
47
+ "tsdown": "0.16.8",
48
+ "tsx": "^4.21.0",
49
+ "typescript": "5.8.3",
50
+ "typescript-eslint": "8.48.1",
51
+ "vitest": "^4.0.18"
52
+ },
53
+ "packageManager": "pnpm@10.4.0",
54
+ "engines": {
55
+ "node": ">=20.19.0"
56
+ },
57
+ "dependencies": {
58
+ "@a2a-js/sdk": "^0.3.10",
59
+ "@aztec/bb.js": "^4.3.0",
60
+ "@clack/prompts": "^1.0.1",
61
+ "@ipld/car": "^5.4.6",
62
+ "@ipld/dag-cbor": "^10.0.1",
63
+ "@ipld/unixfs": "^3.0.0",
64
+ "@noble/hashes": "^2.2.0",
65
+ "@noir-lang/noir_js": "1.0.0-beta.22",
66
+ "@semaphore-protocol/group": "^4.14.2",
67
+ "@semaphore-protocol/identity": "^4.14.2",
68
+ "@semaphore-protocol/proof": "^4.14.2",
69
+ "@storacha/client": "^2.1.3",
70
+ "@web3-storage/pail": "^0.6.2",
71
+ "agent0-sdk": "^1.5.3",
72
+ "commander": "^14.0.3",
73
+ "dotenv": "^17.2.3",
74
+ "ethers": "^6.16.0",
75
+ "interface-blockstore": "^7.0.1",
76
+ "interface-store": "^8.0.0",
77
+ "ipfs-car": "^3.1.0",
78
+ "lmdb": "^3.5.5",
79
+ "multiformats": "^14.0.0",
80
+ "pinata": "^2.5.2",
81
+ "poseidon-lite": "^0.3.0",
82
+ "solc": "^0.8.28",
83
+ "stream-json": "^3.4.0",
84
+ "uint8arrays": "^6.1.1",
85
+ "viem": "^2.47.1"
86
+ },
87
+ "overrides": {
88
+ "viem": "$viem"
89
+ },
90
+ "pnpm": {
91
+ "overrides": {
92
+ "write-file-atomic": "7.0.0"
93
+ },
94
+ "peerDependencyRules": {
95
+ "allowedVersions": {
96
+ "viem": ">=2.38.3",
97
+ "ethers": ">=5.7.2"
98
+ }
99
+ }
100
+ }
83
101
  }
@@ -1,4 +0,0 @@
1
- //#region src/modules/encryption/actions.d.ts
2
- declare const createDecryptAction: (chainName: string) => string;
3
- //#endregion
4
- export { createDecryptAction };
@@ -1,18 +0,0 @@
1
- //#region src/modules/encryption/actions.ts
2
- const createDecryptAction = (chainName) => `(async () => {
3
- try {
4
- const decryptedContent = await Lit.Actions.decryptAndCombine({
5
- accessControlConditions: jsParams.accessControlConditions,
6
- ciphertext: jsParams.ciphertext,
7
- dataToEncryptHash: jsParams.dataToEncryptHash,
8
- authSig: jsParams.authSig,
9
- chain: "${chainName}",
10
- });
11
- Lit.Actions.setResponse({ response: decryptedContent, success: true });
12
- } catch (error) {
13
- Lit.Actions.setResponse({ response: error.message, success: false });
14
- }
15
- })();`;
16
-
17
- //#endregion
18
- export { createDecryptAction };
@@ -1,10 +0,0 @@
1
- import { AesEncryptedData } from "./types.js";
2
-
3
- //#region src/modules/encryption/aes.d.ts
4
- declare function encryptData(data: string | Uint8Array): Promise<{
5
- encryptedData: AesEncryptedData;
6
- keyMaterial: Uint8Array<ArrayBuffer>;
7
- }>;
8
- declare function decryptData(encryptedData: AesEncryptedData, keyMaterial: Uint8Array<ArrayBuffer>): Promise<Uint8Array>;
9
- //#endregion
10
- export { decryptData, encryptData };
@@ -1,51 +0,0 @@
1
- import { getRandomValues, getSubtleCrypto } from "./rand.js";
2
-
3
- //#region src/modules/encryption/aes.ts
4
- async function encryptData(data) {
5
- const subtle = getSubtleCrypto();
6
- const salt = getRandomValues(new Uint8Array(16));
7
- const iv = getRandomValues(new Uint8Array(12));
8
- const keyMaterial = getRandomValues(new Uint8Array(32));
9
- const key = await subtle.importKey("raw", keyMaterial, { name: "AES-GCM" }, false, ["encrypt"]);
10
- const encodedData = typeof data === "string" ? new TextEncoder().encode(data) : data;
11
- const encryptedContent = await subtle.encrypt({
12
- name: "AES-GCM",
13
- iv,
14
- tagLength: 128
15
- }, key, encodedData);
16
- const ciphertext = encryptedContent.slice(0, encryptedContent.byteLength - 16);
17
- const authTag = encryptedContent.slice(encryptedContent.byteLength - 16);
18
- return {
19
- encryptedData: {
20
- ciphertext: new Uint8Array(ciphertext),
21
- iv,
22
- authTag: new Uint8Array(authTag),
23
- salt
24
- },
25
- keyMaterial
26
- };
27
- }
28
- async function decryptData(encryptedData, keyMaterial) {
29
- const subtle = getSubtleCrypto();
30
- const ciphertext = toUint8Array(encryptedData.ciphertext);
31
- const iv = toUint8Array(encryptedData.iv);
32
- const authTag = toUint8Array(encryptedData.authTag);
33
- const key = await subtle.importKey("raw", keyMaterial, { name: "AES-GCM" }, false, ["decrypt"]);
34
- const dataWithAuthTag = new Uint8Array(ciphertext.length + authTag.length);
35
- dataWithAuthTag.set(ciphertext, 0);
36
- dataWithAuthTag.set(authTag, ciphertext.length);
37
- const decryptedContent = await subtle.decrypt({
38
- name: "AES-GCM",
39
- iv,
40
- tagLength: 128
41
- }, key, dataWithAuthTag);
42
- return new Uint8Array(decryptedContent);
43
- }
44
- function toUint8Array(data) {
45
- if (data instanceof Uint8Array) return data;
46
- if (Array.isArray(data)) return new Uint8Array(data);
47
- return new Uint8Array(Object.values(data));
48
- }
49
-
50
- //#endregion
51
- export { decryptData, encryptData };
@@ -1,186 +0,0 @@
1
- //#region src/registries/datasource-registry/abi.d.ts
2
- declare const DS_REGISTRY_ABI: readonly [{
3
- readonly inputs: readonly [];
4
- readonly name: "DataSourceNotFound";
5
- readonly type: "error";
6
- }, {
7
- readonly inputs: readonly [];
8
- readonly name: "NameRequired";
9
- readonly type: "error";
10
- }, {
11
- readonly inputs: readonly [];
12
- readonly name: "ResourceSetupFailed";
13
- readonly type: "error";
14
- }, {
15
- readonly inputs: readonly [];
16
- readonly name: "SchemaNotFound";
17
- readonly type: "error";
18
- }, {
19
- readonly inputs: readonly [];
20
- readonly name: "SchemaRequired";
21
- readonly type: "error";
22
- }, {
23
- readonly inputs: readonly [{
24
- readonly internalType: "address";
25
- readonly name: "owner";
26
- readonly type: "address";
27
- }, {
28
- readonly internalType: "bytes32";
29
- readonly name: "schema_id";
30
- readonly type: "bytes32";
31
- }, {
32
- readonly internalType: "string";
33
- readonly name: "name";
34
- readonly type: "string";
35
- }];
36
- readonly name: "get";
37
- readonly outputs: readonly [{
38
- readonly internalType: "string";
39
- readonly name: "";
40
- readonly type: "string";
41
- }, {
42
- readonly internalType: "bytes32";
43
- readonly name: "";
44
- readonly type: "bytes32";
45
- }];
46
- readonly stateMutability: "view";
47
- readonly type: "function";
48
- }, {
49
- readonly inputs: readonly [{
50
- readonly internalType: "address";
51
- readonly name: "owner";
52
- readonly type: "address";
53
- }, {
54
- readonly internalType: "bytes32";
55
- readonly name: "schema_id";
56
- readonly type: "bytes32";
57
- }, {
58
- readonly internalType: "bytes32";
59
- readonly name: "name_hash";
60
- readonly type: "bytes32";
61
- }];
62
- readonly name: "getByHash";
63
- readonly outputs: readonly [{
64
- readonly internalType: "string";
65
- readonly name: "";
66
- readonly type: "string";
67
- }, {
68
- readonly internalType: "bytes32";
69
- readonly name: "";
70
- readonly type: "bytes32";
71
- }];
72
- readonly stateMutability: "view";
73
- readonly type: "function";
74
- }, {
75
- readonly inputs: readonly [{
76
- readonly internalType: "address";
77
- readonly name: "owner";
78
- readonly type: "address";
79
- }, {
80
- readonly internalType: "bytes32";
81
- readonly name: "schema_id";
82
- readonly type: "bytes32";
83
- }, {
84
- readonly internalType: "bytes32";
85
- readonly name: "name_hash";
86
- readonly type: "bytes32";
87
- }];
88
- readonly name: "getMerkleRoot";
89
- readonly outputs: readonly [{
90
- readonly internalType: "bytes32";
91
- readonly name: "";
92
- readonly type: "bytes32";
93
- }];
94
- readonly stateMutability: "view";
95
- readonly type: "function";
96
- }, {
97
- readonly inputs: readonly [{
98
- readonly internalType: "address";
99
- readonly name: "owner";
100
- readonly type: "address";
101
- }, {
102
- readonly internalType: "bytes32";
103
- readonly name: "schema_id";
104
- readonly type: "bytes32";
105
- }, {
106
- readonly internalType: "bytes32";
107
- readonly name: "name_hash";
108
- readonly type: "bytes32";
109
- }];
110
- readonly name: "getName";
111
- readonly outputs: readonly [{
112
- readonly internalType: "string";
113
- readonly name: "";
114
- readonly type: "string";
115
- }];
116
- readonly stateMutability: "view";
117
- readonly type: "function";
118
- }, {
119
- readonly inputs: readonly [{
120
- readonly internalType: "address";
121
- readonly name: "owner";
122
- readonly type: "address";
123
- }, {
124
- readonly internalType: "bytes32";
125
- readonly name: "schema_id";
126
- readonly type: "bytes32";
127
- }, {
128
- readonly internalType: "string";
129
- readonly name: "name";
130
- readonly type: "string";
131
- }];
132
- readonly name: "getVersion";
133
- readonly outputs: readonly [{
134
- readonly internalType: "uint64";
135
- readonly name: "";
136
- readonly type: "uint64";
137
- }];
138
- readonly stateMutability: "view";
139
- readonly type: "function";
140
- }, {
141
- readonly inputs: readonly [{
142
- readonly internalType: "string";
143
- readonly name: "manifest_cid";
144
- readonly type: "string";
145
- }, {
146
- readonly internalType: "bytes32";
147
- readonly name: "merkle_root";
148
- readonly type: "bytes32";
149
- }, {
150
- readonly internalType: "bytes32";
151
- readonly name: "schema_id";
152
- readonly type: "bytes32";
153
- }, {
154
- readonly internalType: "string";
155
- readonly name: "name";
156
- readonly type: "string";
157
- }];
158
- readonly name: "publish";
159
- readonly outputs: readonly [];
160
- readonly stateMutability: "nonpayable";
161
- readonly type: "function";
162
- }, {
163
- readonly inputs: readonly [{
164
- readonly internalType: "address";
165
- readonly name: "owner";
166
- readonly type: "address";
167
- }, {
168
- readonly internalType: "bytes32";
169
- readonly name: "schema_id";
170
- readonly type: "bytes32";
171
- }, {
172
- readonly internalType: "string";
173
- readonly name: "name";
174
- readonly type: "string";
175
- }];
176
- readonly name: "resourceId";
177
- readonly outputs: readonly [{
178
- readonly internalType: "bytes32";
179
- readonly name: "";
180
- readonly type: "bytes32";
181
- }];
182
- readonly stateMutability: "view";
183
- readonly type: "function";
184
- }];
185
- //#endregion
186
- export { DS_REGISTRY_ABI };