@agenticprimitives/agent-naming 0.1.0-alpha.2
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.
- package/AUDIT.md +86 -0
- package/CLAUDE.md +180 -0
- package/LICENSE +21 -0
- package/README.md +158 -0
- package/dist/abis.d.ts +1532 -0
- package/dist/abis.d.ts.map +1 -0
- package/dist/abis.js +417 -0
- package/dist/abis.js.map +1 -0
- package/dist/client.d.ts +102 -0
- package/dist/client.d.ts.map +1 -0
- package/dist/client.js +299 -0
- package/dist/client.js.map +1 -0
- package/dist/constants.d.ts +8 -0
- package/dist/constants.d.ts.map +1 -0
- package/dist/constants.js +7 -0
- package/dist/constants.js.map +1 -0
- package/dist/custody.d.ts +133 -0
- package/dist/custody.d.ts.map +1 -0
- package/dist/custody.js +214 -0
- package/dist/custody.js.map +1 -0
- package/dist/errors.d.ts +15 -0
- package/dist/errors.d.ts.map +1 -0
- package/dist/errors.js +30 -0
- package/dist/errors.js.map +1 -0
- package/dist/index.d.ts +10 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +22 -0
- package/dist/index.js.map +1 -0
- package/dist/namehash.d.ts +31 -0
- package/dist/namehash.d.ts.map +1 -0
- package/dist/namehash.js +46 -0
- package/dist/namehash.js.map +1 -0
- package/dist/normalize.d.ts +28 -0
- package/dist/normalize.d.ts.map +1 -0
- package/dist/normalize.js +68 -0
- package/dist/normalize.js.map +1 -0
- package/dist/records.d.ts +88 -0
- package/dist/records.d.ts.map +1 -0
- package/dist/records.js +193 -0
- package/dist/records.js.map +1 -0
- package/dist/types.d.ts +117 -0
- package/dist/types.d.ts.map +1 -0
- package/dist/types.js +2 -0
- package/dist/types.js.map +1 -0
- package/docs/api.md +110 -0
- package/docs/concepts.md +159 -0
- package/docs/migration.md +93 -0
- package/docs/security.md +127 -0
- package/docs/troubleshooting.md +116 -0
- package/examples/basic.ts +31 -0
- package/examples/custody-rotation.ts +44 -0
- package/examples/records.ts +41 -0
- package/package.json +71 -0
- package/spec.md +14 -0
package/dist/abis.d.ts
ADDED
|
@@ -0,0 +1,1532 @@
|
|
|
1
|
+
export declare const agentNameRegistryAbi: readonly [{
|
|
2
|
+
readonly type: "error";
|
|
3
|
+
readonly name: "NotAuthorized";
|
|
4
|
+
readonly inputs: readonly [];
|
|
5
|
+
}, {
|
|
6
|
+
readonly type: "error";
|
|
7
|
+
readonly name: "NodeAlreadyExists";
|
|
8
|
+
readonly inputs: readonly [];
|
|
9
|
+
}, {
|
|
10
|
+
readonly type: "error";
|
|
11
|
+
readonly name: "NodeNotFound";
|
|
12
|
+
readonly inputs: readonly [];
|
|
13
|
+
}, {
|
|
14
|
+
readonly type: "error";
|
|
15
|
+
readonly name: "ParentNotFound";
|
|
16
|
+
readonly inputs: readonly [];
|
|
17
|
+
}, {
|
|
18
|
+
readonly type: "error";
|
|
19
|
+
readonly name: "NameExpired";
|
|
20
|
+
readonly inputs: readonly [];
|
|
21
|
+
}, {
|
|
22
|
+
readonly type: "error";
|
|
23
|
+
readonly name: "RootAlreadyInitialized";
|
|
24
|
+
readonly inputs: readonly [];
|
|
25
|
+
}, {
|
|
26
|
+
readonly type: "error";
|
|
27
|
+
readonly name: "EmptyLabel";
|
|
28
|
+
readonly inputs: readonly [];
|
|
29
|
+
}, {
|
|
30
|
+
readonly type: "error";
|
|
31
|
+
readonly name: "ZeroOwner";
|
|
32
|
+
readonly inputs: readonly [];
|
|
33
|
+
}, {
|
|
34
|
+
readonly type: "event";
|
|
35
|
+
readonly name: "RootInitialized";
|
|
36
|
+
readonly inputs: readonly [{
|
|
37
|
+
readonly name: "rootNode";
|
|
38
|
+
readonly type: "bytes32";
|
|
39
|
+
readonly indexed: true;
|
|
40
|
+
}, {
|
|
41
|
+
readonly name: "label";
|
|
42
|
+
readonly type: "string";
|
|
43
|
+
readonly indexed: false;
|
|
44
|
+
}, {
|
|
45
|
+
readonly name: "owner";
|
|
46
|
+
readonly type: "address";
|
|
47
|
+
readonly indexed: true;
|
|
48
|
+
}, {
|
|
49
|
+
readonly name: "kind";
|
|
50
|
+
readonly type: "bytes32";
|
|
51
|
+
readonly indexed: false;
|
|
52
|
+
}];
|
|
53
|
+
}, {
|
|
54
|
+
readonly type: "event";
|
|
55
|
+
readonly name: "NameRegistered";
|
|
56
|
+
readonly inputs: readonly [{
|
|
57
|
+
readonly name: "node";
|
|
58
|
+
readonly type: "bytes32";
|
|
59
|
+
readonly indexed: true;
|
|
60
|
+
}, {
|
|
61
|
+
readonly name: "parent";
|
|
62
|
+
readonly type: "bytes32";
|
|
63
|
+
readonly indexed: true;
|
|
64
|
+
}, {
|
|
65
|
+
readonly name: "label";
|
|
66
|
+
readonly type: "string";
|
|
67
|
+
readonly indexed: false;
|
|
68
|
+
}, {
|
|
69
|
+
readonly name: "owner";
|
|
70
|
+
readonly type: "address";
|
|
71
|
+
readonly indexed: false;
|
|
72
|
+
}, {
|
|
73
|
+
readonly name: "resolver";
|
|
74
|
+
readonly type: "address";
|
|
75
|
+
readonly indexed: false;
|
|
76
|
+
}, {
|
|
77
|
+
readonly name: "expiry";
|
|
78
|
+
readonly type: "uint64";
|
|
79
|
+
readonly indexed: false;
|
|
80
|
+
}];
|
|
81
|
+
}, {
|
|
82
|
+
readonly type: "event";
|
|
83
|
+
readonly name: "OwnerChanged";
|
|
84
|
+
readonly inputs: readonly [{
|
|
85
|
+
readonly name: "node";
|
|
86
|
+
readonly type: "bytes32";
|
|
87
|
+
readonly indexed: true;
|
|
88
|
+
}, {
|
|
89
|
+
readonly name: "newOwner";
|
|
90
|
+
readonly type: "address";
|
|
91
|
+
readonly indexed: true;
|
|
92
|
+
}];
|
|
93
|
+
}, {
|
|
94
|
+
readonly type: "event";
|
|
95
|
+
readonly name: "ResolverChanged";
|
|
96
|
+
readonly inputs: readonly [{
|
|
97
|
+
readonly name: "node";
|
|
98
|
+
readonly type: "bytes32";
|
|
99
|
+
readonly indexed: true;
|
|
100
|
+
}, {
|
|
101
|
+
readonly name: "resolver";
|
|
102
|
+
readonly type: "address";
|
|
103
|
+
readonly indexed: true;
|
|
104
|
+
}];
|
|
105
|
+
}, {
|
|
106
|
+
readonly type: "event";
|
|
107
|
+
readonly name: "SubregistryChanged";
|
|
108
|
+
readonly inputs: readonly [{
|
|
109
|
+
readonly name: "node";
|
|
110
|
+
readonly type: "bytes32";
|
|
111
|
+
readonly indexed: true;
|
|
112
|
+
}, {
|
|
113
|
+
readonly name: "subregistry";
|
|
114
|
+
readonly type: "address";
|
|
115
|
+
readonly indexed: true;
|
|
116
|
+
}];
|
|
117
|
+
}, {
|
|
118
|
+
readonly type: "event";
|
|
119
|
+
readonly name: "NameRenewed";
|
|
120
|
+
readonly inputs: readonly [{
|
|
121
|
+
readonly name: "node";
|
|
122
|
+
readonly type: "bytes32";
|
|
123
|
+
readonly indexed: true;
|
|
124
|
+
}, {
|
|
125
|
+
readonly name: "newExpiry";
|
|
126
|
+
readonly type: "uint64";
|
|
127
|
+
readonly indexed: false;
|
|
128
|
+
}];
|
|
129
|
+
}, {
|
|
130
|
+
readonly type: "event";
|
|
131
|
+
readonly name: "PrimaryNameSet";
|
|
132
|
+
readonly inputs: readonly [{
|
|
133
|
+
readonly name: "agent";
|
|
134
|
+
readonly type: "address";
|
|
135
|
+
readonly indexed: true;
|
|
136
|
+
}, {
|
|
137
|
+
readonly name: "node";
|
|
138
|
+
readonly type: "bytes32";
|
|
139
|
+
readonly indexed: true;
|
|
140
|
+
}];
|
|
141
|
+
}, {
|
|
142
|
+
readonly type: "event";
|
|
143
|
+
readonly name: "PrimaryNameCleared";
|
|
144
|
+
readonly inputs: readonly [{
|
|
145
|
+
readonly name: "agent";
|
|
146
|
+
readonly type: "address";
|
|
147
|
+
readonly indexed: true;
|
|
148
|
+
}];
|
|
149
|
+
}, {
|
|
150
|
+
readonly type: "function";
|
|
151
|
+
readonly name: "namehashRoot";
|
|
152
|
+
readonly stateMutability: "pure";
|
|
153
|
+
readonly inputs: readonly [{
|
|
154
|
+
readonly name: "label";
|
|
155
|
+
readonly type: "string";
|
|
156
|
+
}];
|
|
157
|
+
readonly outputs: readonly [{
|
|
158
|
+
readonly type: "bytes32";
|
|
159
|
+
}];
|
|
160
|
+
}, {
|
|
161
|
+
readonly type: "function";
|
|
162
|
+
readonly name: "AGENT_ROOT";
|
|
163
|
+
readonly stateMutability: "pure";
|
|
164
|
+
readonly inputs: readonly [];
|
|
165
|
+
readonly outputs: readonly [{
|
|
166
|
+
readonly type: "bytes32";
|
|
167
|
+
}];
|
|
168
|
+
}, {
|
|
169
|
+
readonly type: "function";
|
|
170
|
+
readonly name: "KIND_AGENT";
|
|
171
|
+
readonly stateMutability: "view";
|
|
172
|
+
readonly inputs: readonly [];
|
|
173
|
+
readonly outputs: readonly [{
|
|
174
|
+
readonly type: "bytes32";
|
|
175
|
+
}];
|
|
176
|
+
}, {
|
|
177
|
+
readonly type: "function";
|
|
178
|
+
readonly name: "initializeRoot";
|
|
179
|
+
readonly stateMutability: "nonpayable";
|
|
180
|
+
readonly inputs: readonly [{
|
|
181
|
+
readonly name: "label";
|
|
182
|
+
readonly type: "string";
|
|
183
|
+
}, {
|
|
184
|
+
readonly name: "rootOwner";
|
|
185
|
+
readonly type: "address";
|
|
186
|
+
}, {
|
|
187
|
+
readonly name: "resolverContract";
|
|
188
|
+
readonly type: "address";
|
|
189
|
+
}, {
|
|
190
|
+
readonly name: "kind";
|
|
191
|
+
readonly type: "bytes32";
|
|
192
|
+
}];
|
|
193
|
+
readonly outputs: readonly [{
|
|
194
|
+
readonly name: "rootNode";
|
|
195
|
+
readonly type: "bytes32";
|
|
196
|
+
}];
|
|
197
|
+
}, {
|
|
198
|
+
readonly type: "function";
|
|
199
|
+
readonly name: "getRoots";
|
|
200
|
+
readonly stateMutability: "view";
|
|
201
|
+
readonly inputs: readonly [];
|
|
202
|
+
readonly outputs: readonly [{
|
|
203
|
+
readonly type: "bytes32[]";
|
|
204
|
+
}];
|
|
205
|
+
}, {
|
|
206
|
+
readonly type: "function";
|
|
207
|
+
readonly name: "rootByLabel";
|
|
208
|
+
readonly stateMutability: "view";
|
|
209
|
+
readonly inputs: readonly [{
|
|
210
|
+
readonly name: "label";
|
|
211
|
+
readonly type: "string";
|
|
212
|
+
}];
|
|
213
|
+
readonly outputs: readonly [{
|
|
214
|
+
readonly type: "bytes32";
|
|
215
|
+
}];
|
|
216
|
+
}, {
|
|
217
|
+
readonly type: "function";
|
|
218
|
+
readonly name: "isRoot";
|
|
219
|
+
readonly stateMutability: "view";
|
|
220
|
+
readonly inputs: readonly [{
|
|
221
|
+
readonly name: "node";
|
|
222
|
+
readonly type: "bytes32";
|
|
223
|
+
}];
|
|
224
|
+
readonly outputs: readonly [{
|
|
225
|
+
readonly type: "bool";
|
|
226
|
+
}];
|
|
227
|
+
}, {
|
|
228
|
+
readonly type: "function";
|
|
229
|
+
readonly name: "rootKind";
|
|
230
|
+
readonly stateMutability: "view";
|
|
231
|
+
readonly inputs: readonly [{
|
|
232
|
+
readonly name: "node";
|
|
233
|
+
readonly type: "bytes32";
|
|
234
|
+
}];
|
|
235
|
+
readonly outputs: readonly [{
|
|
236
|
+
readonly type: "bytes32";
|
|
237
|
+
}];
|
|
238
|
+
}, {
|
|
239
|
+
readonly type: "function";
|
|
240
|
+
readonly name: "register";
|
|
241
|
+
readonly stateMutability: "nonpayable";
|
|
242
|
+
readonly inputs: readonly [{
|
|
243
|
+
readonly name: "parentNode";
|
|
244
|
+
readonly type: "bytes32";
|
|
245
|
+
}, {
|
|
246
|
+
readonly name: "label";
|
|
247
|
+
readonly type: "string";
|
|
248
|
+
}, {
|
|
249
|
+
readonly name: "newOwner";
|
|
250
|
+
readonly type: "address";
|
|
251
|
+
}, {
|
|
252
|
+
readonly name: "resolverContract";
|
|
253
|
+
readonly type: "address";
|
|
254
|
+
}, {
|
|
255
|
+
readonly name: "expiry";
|
|
256
|
+
readonly type: "uint64";
|
|
257
|
+
}];
|
|
258
|
+
readonly outputs: readonly [{
|
|
259
|
+
readonly name: "childNode";
|
|
260
|
+
readonly type: "bytes32";
|
|
261
|
+
}];
|
|
262
|
+
}, {
|
|
263
|
+
readonly type: "function";
|
|
264
|
+
readonly name: "setOwner";
|
|
265
|
+
readonly stateMutability: "nonpayable";
|
|
266
|
+
readonly inputs: readonly [{
|
|
267
|
+
readonly name: "node";
|
|
268
|
+
readonly type: "bytes32";
|
|
269
|
+
}, {
|
|
270
|
+
readonly name: "newOwner";
|
|
271
|
+
readonly type: "address";
|
|
272
|
+
}];
|
|
273
|
+
readonly outputs: readonly [];
|
|
274
|
+
}, {
|
|
275
|
+
readonly type: "function";
|
|
276
|
+
readonly name: "setResolver";
|
|
277
|
+
readonly stateMutability: "nonpayable";
|
|
278
|
+
readonly inputs: readonly [{
|
|
279
|
+
readonly name: "node";
|
|
280
|
+
readonly type: "bytes32";
|
|
281
|
+
}, {
|
|
282
|
+
readonly name: "resolverContract";
|
|
283
|
+
readonly type: "address";
|
|
284
|
+
}];
|
|
285
|
+
readonly outputs: readonly [];
|
|
286
|
+
}, {
|
|
287
|
+
readonly type: "function";
|
|
288
|
+
readonly name: "setSubregistry";
|
|
289
|
+
readonly stateMutability: "nonpayable";
|
|
290
|
+
readonly inputs: readonly [{
|
|
291
|
+
readonly name: "node";
|
|
292
|
+
readonly type: "bytes32";
|
|
293
|
+
}, {
|
|
294
|
+
readonly name: "subregistryContract";
|
|
295
|
+
readonly type: "address";
|
|
296
|
+
}];
|
|
297
|
+
readonly outputs: readonly [];
|
|
298
|
+
}, {
|
|
299
|
+
readonly type: "function";
|
|
300
|
+
readonly name: "renew";
|
|
301
|
+
readonly stateMutability: "nonpayable";
|
|
302
|
+
readonly inputs: readonly [{
|
|
303
|
+
readonly name: "node";
|
|
304
|
+
readonly type: "bytes32";
|
|
305
|
+
}, {
|
|
306
|
+
readonly name: "newExpiry";
|
|
307
|
+
readonly type: "uint64";
|
|
308
|
+
}];
|
|
309
|
+
readonly outputs: readonly [];
|
|
310
|
+
}, {
|
|
311
|
+
readonly type: "function";
|
|
312
|
+
readonly name: "setPrimaryName";
|
|
313
|
+
readonly stateMutability: "nonpayable";
|
|
314
|
+
readonly inputs: readonly [{
|
|
315
|
+
readonly name: "node";
|
|
316
|
+
readonly type: "bytes32";
|
|
317
|
+
}];
|
|
318
|
+
readonly outputs: readonly [];
|
|
319
|
+
}, {
|
|
320
|
+
readonly type: "function";
|
|
321
|
+
readonly name: "owner";
|
|
322
|
+
readonly stateMutability: "view";
|
|
323
|
+
readonly inputs: readonly [{
|
|
324
|
+
readonly name: "node";
|
|
325
|
+
readonly type: "bytes32";
|
|
326
|
+
}];
|
|
327
|
+
readonly outputs: readonly [{
|
|
328
|
+
readonly type: "address";
|
|
329
|
+
}];
|
|
330
|
+
}, {
|
|
331
|
+
readonly type: "function";
|
|
332
|
+
readonly name: "resolver";
|
|
333
|
+
readonly stateMutability: "view";
|
|
334
|
+
readonly inputs: readonly [{
|
|
335
|
+
readonly name: "node";
|
|
336
|
+
readonly type: "bytes32";
|
|
337
|
+
}];
|
|
338
|
+
readonly outputs: readonly [{
|
|
339
|
+
readonly type: "address";
|
|
340
|
+
}];
|
|
341
|
+
}, {
|
|
342
|
+
readonly type: "function";
|
|
343
|
+
readonly name: "subregistry";
|
|
344
|
+
readonly stateMutability: "view";
|
|
345
|
+
readonly inputs: readonly [{
|
|
346
|
+
readonly name: "node";
|
|
347
|
+
readonly type: "bytes32";
|
|
348
|
+
}];
|
|
349
|
+
readonly outputs: readonly [{
|
|
350
|
+
readonly type: "address";
|
|
351
|
+
}];
|
|
352
|
+
}, {
|
|
353
|
+
readonly type: "function";
|
|
354
|
+
readonly name: "parent";
|
|
355
|
+
readonly stateMutability: "view";
|
|
356
|
+
readonly inputs: readonly [{
|
|
357
|
+
readonly name: "node";
|
|
358
|
+
readonly type: "bytes32";
|
|
359
|
+
}];
|
|
360
|
+
readonly outputs: readonly [{
|
|
361
|
+
readonly type: "bytes32";
|
|
362
|
+
}];
|
|
363
|
+
}, {
|
|
364
|
+
readonly type: "function";
|
|
365
|
+
readonly name: "labelhash";
|
|
366
|
+
readonly stateMutability: "view";
|
|
367
|
+
readonly inputs: readonly [{
|
|
368
|
+
readonly name: "node";
|
|
369
|
+
readonly type: "bytes32";
|
|
370
|
+
}];
|
|
371
|
+
readonly outputs: readonly [{
|
|
372
|
+
readonly type: "bytes32";
|
|
373
|
+
}];
|
|
374
|
+
}, {
|
|
375
|
+
readonly type: "function";
|
|
376
|
+
readonly name: "expiry";
|
|
377
|
+
readonly stateMutability: "view";
|
|
378
|
+
readonly inputs: readonly [{
|
|
379
|
+
readonly name: "node";
|
|
380
|
+
readonly type: "bytes32";
|
|
381
|
+
}];
|
|
382
|
+
readonly outputs: readonly [{
|
|
383
|
+
readonly type: "uint64";
|
|
384
|
+
}];
|
|
385
|
+
}, {
|
|
386
|
+
readonly type: "function";
|
|
387
|
+
readonly name: "recordExists";
|
|
388
|
+
readonly stateMutability: "view";
|
|
389
|
+
readonly inputs: readonly [{
|
|
390
|
+
readonly name: "node";
|
|
391
|
+
readonly type: "bytes32";
|
|
392
|
+
}];
|
|
393
|
+
readonly outputs: readonly [{
|
|
394
|
+
readonly type: "bool";
|
|
395
|
+
}];
|
|
396
|
+
}, {
|
|
397
|
+
readonly type: "function";
|
|
398
|
+
readonly name: "registeredAt";
|
|
399
|
+
readonly stateMutability: "view";
|
|
400
|
+
readonly inputs: readonly [{
|
|
401
|
+
readonly name: "node";
|
|
402
|
+
readonly type: "bytes32";
|
|
403
|
+
}];
|
|
404
|
+
readonly outputs: readonly [{
|
|
405
|
+
readonly type: "uint64";
|
|
406
|
+
}];
|
|
407
|
+
}, {
|
|
408
|
+
readonly type: "function";
|
|
409
|
+
readonly name: "isExpired";
|
|
410
|
+
readonly stateMutability: "view";
|
|
411
|
+
readonly inputs: readonly [{
|
|
412
|
+
readonly name: "node";
|
|
413
|
+
readonly type: "bytes32";
|
|
414
|
+
}];
|
|
415
|
+
readonly outputs: readonly [{
|
|
416
|
+
readonly type: "bool";
|
|
417
|
+
}];
|
|
418
|
+
}, {
|
|
419
|
+
readonly type: "function";
|
|
420
|
+
readonly name: "childNode";
|
|
421
|
+
readonly stateMutability: "view";
|
|
422
|
+
readonly inputs: readonly [{
|
|
423
|
+
readonly name: "parentNode";
|
|
424
|
+
readonly type: "bytes32";
|
|
425
|
+
}, {
|
|
426
|
+
readonly name: "lh";
|
|
427
|
+
readonly type: "bytes32";
|
|
428
|
+
}];
|
|
429
|
+
readonly outputs: readonly [{
|
|
430
|
+
readonly type: "bytes32";
|
|
431
|
+
}];
|
|
432
|
+
}, {
|
|
433
|
+
readonly type: "function";
|
|
434
|
+
readonly name: "childCount";
|
|
435
|
+
readonly stateMutability: "view";
|
|
436
|
+
readonly inputs: readonly [{
|
|
437
|
+
readonly name: "parentNode";
|
|
438
|
+
readonly type: "bytes32";
|
|
439
|
+
}];
|
|
440
|
+
readonly outputs: readonly [{
|
|
441
|
+
readonly type: "uint256";
|
|
442
|
+
}];
|
|
443
|
+
}, {
|
|
444
|
+
readonly type: "function";
|
|
445
|
+
readonly name: "childLabelhashes";
|
|
446
|
+
readonly stateMutability: "view";
|
|
447
|
+
readonly inputs: readonly [{
|
|
448
|
+
readonly name: "parentNode";
|
|
449
|
+
readonly type: "bytes32";
|
|
450
|
+
}];
|
|
451
|
+
readonly outputs: readonly [{
|
|
452
|
+
readonly type: "bytes32[]";
|
|
453
|
+
}];
|
|
454
|
+
}, {
|
|
455
|
+
readonly type: "function";
|
|
456
|
+
readonly name: "primaryName";
|
|
457
|
+
readonly stateMutability: "view";
|
|
458
|
+
readonly inputs: readonly [{
|
|
459
|
+
readonly name: "agent";
|
|
460
|
+
readonly type: "address";
|
|
461
|
+
}];
|
|
462
|
+
readonly outputs: readonly [{
|
|
463
|
+
readonly type: "bytes32";
|
|
464
|
+
}];
|
|
465
|
+
}, {
|
|
466
|
+
readonly type: "function";
|
|
467
|
+
readonly name: "label";
|
|
468
|
+
readonly stateMutability: "view";
|
|
469
|
+
readonly inputs: readonly [{
|
|
470
|
+
readonly name: "node";
|
|
471
|
+
readonly type: "bytes32";
|
|
472
|
+
}];
|
|
473
|
+
readonly outputs: readonly [{
|
|
474
|
+
readonly type: "string";
|
|
475
|
+
}];
|
|
476
|
+
}, {
|
|
477
|
+
readonly type: "function";
|
|
478
|
+
readonly name: "backfillLabel";
|
|
479
|
+
readonly stateMutability: "nonpayable";
|
|
480
|
+
readonly inputs: readonly [{
|
|
481
|
+
readonly name: "node";
|
|
482
|
+
readonly type: "bytes32";
|
|
483
|
+
}, {
|
|
484
|
+
readonly name: "label";
|
|
485
|
+
readonly type: "string";
|
|
486
|
+
}];
|
|
487
|
+
readonly outputs: readonly [];
|
|
488
|
+
}];
|
|
489
|
+
export declare const agentNameAttributeResolverAbi: readonly [{
|
|
490
|
+
readonly type: "error";
|
|
491
|
+
readonly name: "NotAuthorized";
|
|
492
|
+
readonly inputs: readonly [];
|
|
493
|
+
}, {
|
|
494
|
+
readonly type: "error";
|
|
495
|
+
readonly name: "NodeNotFound";
|
|
496
|
+
readonly inputs: readonly [];
|
|
497
|
+
}, {
|
|
498
|
+
readonly type: "error";
|
|
499
|
+
readonly name: "PredicateNotActive";
|
|
500
|
+
readonly inputs: readonly [];
|
|
501
|
+
}, {
|
|
502
|
+
readonly type: "error";
|
|
503
|
+
readonly name: "AttributeNotSet";
|
|
504
|
+
readonly inputs: readonly [];
|
|
505
|
+
}, {
|
|
506
|
+
readonly type: "event";
|
|
507
|
+
readonly name: "AttributeSet";
|
|
508
|
+
readonly inputs: readonly [{
|
|
509
|
+
readonly name: "subject";
|
|
510
|
+
readonly type: "bytes32";
|
|
511
|
+
readonly indexed: true;
|
|
512
|
+
}, {
|
|
513
|
+
readonly name: "predicate";
|
|
514
|
+
readonly type: "bytes32";
|
|
515
|
+
readonly indexed: true;
|
|
516
|
+
}, {
|
|
517
|
+
readonly name: "datatype";
|
|
518
|
+
readonly type: "uint8";
|
|
519
|
+
readonly indexed: false;
|
|
520
|
+
}, {
|
|
521
|
+
readonly name: "version";
|
|
522
|
+
readonly type: "uint64";
|
|
523
|
+
readonly indexed: false;
|
|
524
|
+
}];
|
|
525
|
+
}, {
|
|
526
|
+
readonly type: "event";
|
|
527
|
+
readonly name: "AttributeUnset";
|
|
528
|
+
readonly inputs: readonly [{
|
|
529
|
+
readonly name: "subject";
|
|
530
|
+
readonly type: "bytes32";
|
|
531
|
+
readonly indexed: true;
|
|
532
|
+
}, {
|
|
533
|
+
readonly name: "predicate";
|
|
534
|
+
readonly type: "bytes32";
|
|
535
|
+
readonly indexed: true;
|
|
536
|
+
}, {
|
|
537
|
+
readonly name: "version";
|
|
538
|
+
readonly type: "uint64";
|
|
539
|
+
readonly indexed: false;
|
|
540
|
+
}];
|
|
541
|
+
}, {
|
|
542
|
+
readonly type: "event";
|
|
543
|
+
readonly name: "AttributeAppended";
|
|
544
|
+
readonly inputs: readonly [{
|
|
545
|
+
readonly name: "subject";
|
|
546
|
+
readonly type: "bytes32";
|
|
547
|
+
readonly indexed: true;
|
|
548
|
+
}, {
|
|
549
|
+
readonly name: "predicate";
|
|
550
|
+
readonly type: "bytes32";
|
|
551
|
+
readonly indexed: true;
|
|
552
|
+
}, {
|
|
553
|
+
readonly name: "datatype";
|
|
554
|
+
readonly type: "uint8";
|
|
555
|
+
readonly indexed: false;
|
|
556
|
+
}, {
|
|
557
|
+
readonly name: "version";
|
|
558
|
+
readonly type: "uint64";
|
|
559
|
+
readonly indexed: false;
|
|
560
|
+
}];
|
|
561
|
+
}, {
|
|
562
|
+
readonly type: "event";
|
|
563
|
+
readonly name: "SubjectFirstSeen";
|
|
564
|
+
readonly inputs: readonly [{
|
|
565
|
+
readonly name: "subject";
|
|
566
|
+
readonly type: "bytes32";
|
|
567
|
+
readonly indexed: true;
|
|
568
|
+
}];
|
|
569
|
+
}, {
|
|
570
|
+
readonly type: "function";
|
|
571
|
+
readonly name: "REGISTRY";
|
|
572
|
+
readonly stateMutability: "view";
|
|
573
|
+
readonly inputs: readonly [];
|
|
574
|
+
readonly outputs: readonly [{
|
|
575
|
+
readonly type: "address";
|
|
576
|
+
}];
|
|
577
|
+
}, {
|
|
578
|
+
readonly type: "function";
|
|
579
|
+
readonly name: "ONTOLOGY";
|
|
580
|
+
readonly stateMutability: "view";
|
|
581
|
+
readonly inputs: readonly [];
|
|
582
|
+
readonly outputs: readonly [{
|
|
583
|
+
readonly type: "address";
|
|
584
|
+
}];
|
|
585
|
+
}, {
|
|
586
|
+
readonly type: "function";
|
|
587
|
+
readonly name: "setStringAttribute";
|
|
588
|
+
readonly stateMutability: "nonpayable";
|
|
589
|
+
readonly inputs: readonly [{
|
|
590
|
+
readonly name: "node";
|
|
591
|
+
readonly type: "bytes32";
|
|
592
|
+
}, {
|
|
593
|
+
readonly name: "predicate";
|
|
594
|
+
readonly type: "bytes32";
|
|
595
|
+
}, {
|
|
596
|
+
readonly name: "value";
|
|
597
|
+
readonly type: "string";
|
|
598
|
+
}];
|
|
599
|
+
readonly outputs: readonly [];
|
|
600
|
+
}, {
|
|
601
|
+
readonly type: "function";
|
|
602
|
+
readonly name: "setAddressAttribute";
|
|
603
|
+
readonly stateMutability: "nonpayable";
|
|
604
|
+
readonly inputs: readonly [{
|
|
605
|
+
readonly name: "node";
|
|
606
|
+
readonly type: "bytes32";
|
|
607
|
+
}, {
|
|
608
|
+
readonly name: "predicate";
|
|
609
|
+
readonly type: "bytes32";
|
|
610
|
+
}, {
|
|
611
|
+
readonly name: "value";
|
|
612
|
+
readonly type: "address";
|
|
613
|
+
}];
|
|
614
|
+
readonly outputs: readonly [];
|
|
615
|
+
}, {
|
|
616
|
+
readonly type: "function";
|
|
617
|
+
readonly name: "setBoolAttribute";
|
|
618
|
+
readonly stateMutability: "nonpayable";
|
|
619
|
+
readonly inputs: readonly [{
|
|
620
|
+
readonly name: "node";
|
|
621
|
+
readonly type: "bytes32";
|
|
622
|
+
}, {
|
|
623
|
+
readonly name: "predicate";
|
|
624
|
+
readonly type: "bytes32";
|
|
625
|
+
}, {
|
|
626
|
+
readonly name: "value";
|
|
627
|
+
readonly type: "bool";
|
|
628
|
+
}];
|
|
629
|
+
readonly outputs: readonly [];
|
|
630
|
+
}, {
|
|
631
|
+
readonly type: "function";
|
|
632
|
+
readonly name: "setUintAttribute";
|
|
633
|
+
readonly stateMutability: "nonpayable";
|
|
634
|
+
readonly inputs: readonly [{
|
|
635
|
+
readonly name: "node";
|
|
636
|
+
readonly type: "bytes32";
|
|
637
|
+
}, {
|
|
638
|
+
readonly name: "predicate";
|
|
639
|
+
readonly type: "bytes32";
|
|
640
|
+
}, {
|
|
641
|
+
readonly name: "value";
|
|
642
|
+
readonly type: "uint256";
|
|
643
|
+
}];
|
|
644
|
+
readonly outputs: readonly [];
|
|
645
|
+
}, {
|
|
646
|
+
readonly type: "function";
|
|
647
|
+
readonly name: "setBytes32Attribute";
|
|
648
|
+
readonly stateMutability: "nonpayable";
|
|
649
|
+
readonly inputs: readonly [{
|
|
650
|
+
readonly name: "node";
|
|
651
|
+
readonly type: "bytes32";
|
|
652
|
+
}, {
|
|
653
|
+
readonly name: "predicate";
|
|
654
|
+
readonly type: "bytes32";
|
|
655
|
+
}, {
|
|
656
|
+
readonly name: "value";
|
|
657
|
+
readonly type: "bytes32";
|
|
658
|
+
}];
|
|
659
|
+
readonly outputs: readonly [];
|
|
660
|
+
}, {
|
|
661
|
+
readonly type: "function";
|
|
662
|
+
readonly name: "setStringArrayAttribute";
|
|
663
|
+
readonly stateMutability: "nonpayable";
|
|
664
|
+
readonly inputs: readonly [{
|
|
665
|
+
readonly name: "node";
|
|
666
|
+
readonly type: "bytes32";
|
|
667
|
+
}, {
|
|
668
|
+
readonly name: "predicate";
|
|
669
|
+
readonly type: "bytes32";
|
|
670
|
+
}, {
|
|
671
|
+
readonly name: "values";
|
|
672
|
+
readonly type: "string[]";
|
|
673
|
+
}];
|
|
674
|
+
readonly outputs: readonly [];
|
|
675
|
+
}, {
|
|
676
|
+
readonly type: "function";
|
|
677
|
+
readonly name: "setAddressArrayAttribute";
|
|
678
|
+
readonly stateMutability: "nonpayable";
|
|
679
|
+
readonly inputs: readonly [{
|
|
680
|
+
readonly name: "node";
|
|
681
|
+
readonly type: "bytes32";
|
|
682
|
+
}, {
|
|
683
|
+
readonly name: "predicate";
|
|
684
|
+
readonly type: "bytes32";
|
|
685
|
+
}, {
|
|
686
|
+
readonly name: "values";
|
|
687
|
+
readonly type: "address[]";
|
|
688
|
+
}];
|
|
689
|
+
readonly outputs: readonly [];
|
|
690
|
+
}, {
|
|
691
|
+
readonly type: "function";
|
|
692
|
+
readonly name: "setBytes32ArrayAttribute";
|
|
693
|
+
readonly stateMutability: "nonpayable";
|
|
694
|
+
readonly inputs: readonly [{
|
|
695
|
+
readonly name: "node";
|
|
696
|
+
readonly type: "bytes32";
|
|
697
|
+
}, {
|
|
698
|
+
readonly name: "predicate";
|
|
699
|
+
readonly type: "bytes32";
|
|
700
|
+
}, {
|
|
701
|
+
readonly name: "values";
|
|
702
|
+
readonly type: "bytes32[]";
|
|
703
|
+
}];
|
|
704
|
+
readonly outputs: readonly [];
|
|
705
|
+
}, {
|
|
706
|
+
readonly type: "function";
|
|
707
|
+
readonly name: "unsetAttribute";
|
|
708
|
+
readonly stateMutability: "nonpayable";
|
|
709
|
+
readonly inputs: readonly [{
|
|
710
|
+
readonly name: "node";
|
|
711
|
+
readonly type: "bytes32";
|
|
712
|
+
}, {
|
|
713
|
+
readonly name: "predicate";
|
|
714
|
+
readonly type: "bytes32";
|
|
715
|
+
}];
|
|
716
|
+
readonly outputs: readonly [];
|
|
717
|
+
}, {
|
|
718
|
+
readonly type: "function";
|
|
719
|
+
readonly name: "getString";
|
|
720
|
+
readonly stateMutability: "view";
|
|
721
|
+
readonly inputs: readonly [{
|
|
722
|
+
readonly name: "subject";
|
|
723
|
+
readonly type: "bytes32";
|
|
724
|
+
}, {
|
|
725
|
+
readonly name: "predicate";
|
|
726
|
+
readonly type: "bytes32";
|
|
727
|
+
}];
|
|
728
|
+
readonly outputs: readonly [{
|
|
729
|
+
readonly type: "string";
|
|
730
|
+
}];
|
|
731
|
+
}, {
|
|
732
|
+
readonly type: "function";
|
|
733
|
+
readonly name: "getAddress";
|
|
734
|
+
readonly stateMutability: "view";
|
|
735
|
+
readonly inputs: readonly [{
|
|
736
|
+
readonly name: "subject";
|
|
737
|
+
readonly type: "bytes32";
|
|
738
|
+
}, {
|
|
739
|
+
readonly name: "predicate";
|
|
740
|
+
readonly type: "bytes32";
|
|
741
|
+
}];
|
|
742
|
+
readonly outputs: readonly [{
|
|
743
|
+
readonly type: "address";
|
|
744
|
+
}];
|
|
745
|
+
}, {
|
|
746
|
+
readonly type: "function";
|
|
747
|
+
readonly name: "getBool";
|
|
748
|
+
readonly stateMutability: "view";
|
|
749
|
+
readonly inputs: readonly [{
|
|
750
|
+
readonly name: "subject";
|
|
751
|
+
readonly type: "bytes32";
|
|
752
|
+
}, {
|
|
753
|
+
readonly name: "predicate";
|
|
754
|
+
readonly type: "bytes32";
|
|
755
|
+
}];
|
|
756
|
+
readonly outputs: readonly [{
|
|
757
|
+
readonly type: "bool";
|
|
758
|
+
}];
|
|
759
|
+
}, {
|
|
760
|
+
readonly type: "function";
|
|
761
|
+
readonly name: "getUint";
|
|
762
|
+
readonly stateMutability: "view";
|
|
763
|
+
readonly inputs: readonly [{
|
|
764
|
+
readonly name: "subject";
|
|
765
|
+
readonly type: "bytes32";
|
|
766
|
+
}, {
|
|
767
|
+
readonly name: "predicate";
|
|
768
|
+
readonly type: "bytes32";
|
|
769
|
+
}];
|
|
770
|
+
readonly outputs: readonly [{
|
|
771
|
+
readonly type: "uint256";
|
|
772
|
+
}];
|
|
773
|
+
}, {
|
|
774
|
+
readonly type: "function";
|
|
775
|
+
readonly name: "getBytes32";
|
|
776
|
+
readonly stateMutability: "view";
|
|
777
|
+
readonly inputs: readonly [{
|
|
778
|
+
readonly name: "subject";
|
|
779
|
+
readonly type: "bytes32";
|
|
780
|
+
}, {
|
|
781
|
+
readonly name: "predicate";
|
|
782
|
+
readonly type: "bytes32";
|
|
783
|
+
}];
|
|
784
|
+
readonly outputs: readonly [{
|
|
785
|
+
readonly type: "bytes32";
|
|
786
|
+
}];
|
|
787
|
+
}, {
|
|
788
|
+
readonly type: "function";
|
|
789
|
+
readonly name: "getStringArr";
|
|
790
|
+
readonly stateMutability: "view";
|
|
791
|
+
readonly inputs: readonly [{
|
|
792
|
+
readonly name: "subject";
|
|
793
|
+
readonly type: "bytes32";
|
|
794
|
+
}, {
|
|
795
|
+
readonly name: "predicate";
|
|
796
|
+
readonly type: "bytes32";
|
|
797
|
+
}];
|
|
798
|
+
readonly outputs: readonly [{
|
|
799
|
+
readonly type: "string[]";
|
|
800
|
+
}];
|
|
801
|
+
}, {
|
|
802
|
+
readonly type: "function";
|
|
803
|
+
readonly name: "getAddressArr";
|
|
804
|
+
readonly stateMutability: "view";
|
|
805
|
+
readonly inputs: readonly [{
|
|
806
|
+
readonly name: "subject";
|
|
807
|
+
readonly type: "bytes32";
|
|
808
|
+
}, {
|
|
809
|
+
readonly name: "predicate";
|
|
810
|
+
readonly type: "bytes32";
|
|
811
|
+
}];
|
|
812
|
+
readonly outputs: readonly [{
|
|
813
|
+
readonly type: "address[]";
|
|
814
|
+
}];
|
|
815
|
+
}, {
|
|
816
|
+
readonly type: "function";
|
|
817
|
+
readonly name: "getBytes32Arr";
|
|
818
|
+
readonly stateMutability: "view";
|
|
819
|
+
readonly inputs: readonly [{
|
|
820
|
+
readonly name: "subject";
|
|
821
|
+
readonly type: "bytes32";
|
|
822
|
+
}, {
|
|
823
|
+
readonly name: "predicate";
|
|
824
|
+
readonly type: "bytes32";
|
|
825
|
+
}];
|
|
826
|
+
readonly outputs: readonly [{
|
|
827
|
+
readonly type: "bytes32[]";
|
|
828
|
+
}];
|
|
829
|
+
}, {
|
|
830
|
+
readonly type: "function";
|
|
831
|
+
readonly name: "predicatesOf";
|
|
832
|
+
readonly stateMutability: "view";
|
|
833
|
+
readonly inputs: readonly [{
|
|
834
|
+
readonly name: "subject";
|
|
835
|
+
readonly type: "bytes32";
|
|
836
|
+
}];
|
|
837
|
+
readonly outputs: readonly [{
|
|
838
|
+
readonly type: "bytes32[]";
|
|
839
|
+
}];
|
|
840
|
+
}, {
|
|
841
|
+
readonly type: "function";
|
|
842
|
+
readonly name: "datatypeOf";
|
|
843
|
+
readonly stateMutability: "view";
|
|
844
|
+
readonly inputs: readonly [{
|
|
845
|
+
readonly name: "subject";
|
|
846
|
+
readonly type: "bytes32";
|
|
847
|
+
}, {
|
|
848
|
+
readonly name: "predicate";
|
|
849
|
+
readonly type: "bytes32";
|
|
850
|
+
}];
|
|
851
|
+
readonly outputs: readonly [{
|
|
852
|
+
readonly type: "uint8";
|
|
853
|
+
}];
|
|
854
|
+
}, {
|
|
855
|
+
readonly type: "function";
|
|
856
|
+
readonly name: "updatedAt";
|
|
857
|
+
readonly stateMutability: "view";
|
|
858
|
+
readonly inputs: readonly [{
|
|
859
|
+
readonly name: "subject";
|
|
860
|
+
readonly type: "bytes32";
|
|
861
|
+
}, {
|
|
862
|
+
readonly name: "predicate";
|
|
863
|
+
readonly type: "bytes32";
|
|
864
|
+
}];
|
|
865
|
+
readonly outputs: readonly [{
|
|
866
|
+
readonly type: "uint64";
|
|
867
|
+
}];
|
|
868
|
+
}, {
|
|
869
|
+
readonly type: "function";
|
|
870
|
+
readonly name: "isSet";
|
|
871
|
+
readonly stateMutability: "view";
|
|
872
|
+
readonly inputs: readonly [{
|
|
873
|
+
readonly name: "subject";
|
|
874
|
+
readonly type: "bytes32";
|
|
875
|
+
}, {
|
|
876
|
+
readonly name: "predicate";
|
|
877
|
+
readonly type: "bytes32";
|
|
878
|
+
}];
|
|
879
|
+
readonly outputs: readonly [{
|
|
880
|
+
readonly type: "bool";
|
|
881
|
+
}];
|
|
882
|
+
}, {
|
|
883
|
+
readonly type: "function";
|
|
884
|
+
readonly name: "subjectVersion";
|
|
885
|
+
readonly stateMutability: "view";
|
|
886
|
+
readonly inputs: readonly [{
|
|
887
|
+
readonly name: "subject";
|
|
888
|
+
readonly type: "bytes32";
|
|
889
|
+
}];
|
|
890
|
+
readonly outputs: readonly [{
|
|
891
|
+
readonly type: "uint64";
|
|
892
|
+
}];
|
|
893
|
+
}, {
|
|
894
|
+
readonly type: "function";
|
|
895
|
+
readonly name: "allSubjects";
|
|
896
|
+
readonly stateMutability: "view";
|
|
897
|
+
readonly inputs: readonly [];
|
|
898
|
+
readonly outputs: readonly [{
|
|
899
|
+
readonly type: "bytes32[]";
|
|
900
|
+
}];
|
|
901
|
+
}, {
|
|
902
|
+
readonly type: "function";
|
|
903
|
+
readonly name: "subjectCount";
|
|
904
|
+
readonly stateMutability: "view";
|
|
905
|
+
readonly inputs: readonly [];
|
|
906
|
+
readonly outputs: readonly [{
|
|
907
|
+
readonly type: "uint256";
|
|
908
|
+
}];
|
|
909
|
+
}];
|
|
910
|
+
export declare const permissionlessSubregistryAbi: readonly [{
|
|
911
|
+
readonly type: "error";
|
|
912
|
+
readonly name: "AlreadyClaimed";
|
|
913
|
+
readonly inputs: readonly [{
|
|
914
|
+
readonly name: "existingNode";
|
|
915
|
+
readonly type: "bytes32";
|
|
916
|
+
}];
|
|
917
|
+
}, {
|
|
918
|
+
readonly type: "error";
|
|
919
|
+
readonly name: "LabelTooShort";
|
|
920
|
+
readonly inputs: readonly [];
|
|
921
|
+
}, {
|
|
922
|
+
readonly type: "error";
|
|
923
|
+
readonly name: "EmptyLabel";
|
|
924
|
+
readonly inputs: readonly [];
|
|
925
|
+
}, {
|
|
926
|
+
readonly type: "error";
|
|
927
|
+
readonly name: "ZeroNewOwner";
|
|
928
|
+
readonly inputs: readonly [];
|
|
929
|
+
}, {
|
|
930
|
+
readonly type: "event";
|
|
931
|
+
readonly name: "NameClaimed";
|
|
932
|
+
readonly inputs: readonly [{
|
|
933
|
+
readonly name: "caller";
|
|
934
|
+
readonly type: "address";
|
|
935
|
+
readonly indexed: true;
|
|
936
|
+
}, {
|
|
937
|
+
readonly name: "childNode";
|
|
938
|
+
readonly type: "bytes32";
|
|
939
|
+
readonly indexed: true;
|
|
940
|
+
}, {
|
|
941
|
+
readonly name: "label";
|
|
942
|
+
readonly type: "string";
|
|
943
|
+
readonly indexed: false;
|
|
944
|
+
}, {
|
|
945
|
+
readonly name: "newOwner";
|
|
946
|
+
readonly type: "address";
|
|
947
|
+
readonly indexed: false;
|
|
948
|
+
}];
|
|
949
|
+
}, {
|
|
950
|
+
readonly type: "function";
|
|
951
|
+
readonly name: "REGISTRY";
|
|
952
|
+
readonly stateMutability: "view";
|
|
953
|
+
readonly inputs: readonly [];
|
|
954
|
+
readonly outputs: readonly [{
|
|
955
|
+
readonly type: "address";
|
|
956
|
+
}];
|
|
957
|
+
}, {
|
|
958
|
+
readonly type: "function";
|
|
959
|
+
readonly name: "PARENT_NODE";
|
|
960
|
+
readonly stateMutability: "view";
|
|
961
|
+
readonly inputs: readonly [];
|
|
962
|
+
readonly outputs: readonly [{
|
|
963
|
+
readonly type: "bytes32";
|
|
964
|
+
}];
|
|
965
|
+
}, {
|
|
966
|
+
readonly type: "function";
|
|
967
|
+
readonly name: "DEFAULT_RESOLVER";
|
|
968
|
+
readonly stateMutability: "view";
|
|
969
|
+
readonly inputs: readonly [];
|
|
970
|
+
readonly outputs: readonly [{
|
|
971
|
+
readonly type: "address";
|
|
972
|
+
}];
|
|
973
|
+
}, {
|
|
974
|
+
readonly type: "function";
|
|
975
|
+
readonly name: "MIN_LABEL_LENGTH";
|
|
976
|
+
readonly stateMutability: "view";
|
|
977
|
+
readonly inputs: readonly [];
|
|
978
|
+
readonly outputs: readonly [{
|
|
979
|
+
readonly type: "uint256";
|
|
980
|
+
}];
|
|
981
|
+
}, {
|
|
982
|
+
readonly type: "function";
|
|
983
|
+
readonly name: "register";
|
|
984
|
+
readonly stateMutability: "nonpayable";
|
|
985
|
+
readonly inputs: readonly [{
|
|
986
|
+
readonly name: "label";
|
|
987
|
+
readonly type: "string";
|
|
988
|
+
}, {
|
|
989
|
+
readonly name: "newOwner";
|
|
990
|
+
readonly type: "address";
|
|
991
|
+
}];
|
|
992
|
+
readonly outputs: readonly [{
|
|
993
|
+
readonly name: "childNode";
|
|
994
|
+
readonly type: "bytes32";
|
|
995
|
+
}];
|
|
996
|
+
}, {
|
|
997
|
+
readonly type: "function";
|
|
998
|
+
readonly name: "claimedBy";
|
|
999
|
+
readonly stateMutability: "view";
|
|
1000
|
+
readonly inputs: readonly [{
|
|
1001
|
+
readonly name: "caller";
|
|
1002
|
+
readonly type: "address";
|
|
1003
|
+
}];
|
|
1004
|
+
readonly outputs: readonly [{
|
|
1005
|
+
readonly type: "bytes32";
|
|
1006
|
+
}];
|
|
1007
|
+
}, {
|
|
1008
|
+
readonly type: "function";
|
|
1009
|
+
readonly name: "hasClaimed";
|
|
1010
|
+
readonly stateMutability: "view";
|
|
1011
|
+
readonly inputs: readonly [{
|
|
1012
|
+
readonly name: "caller";
|
|
1013
|
+
readonly type: "address";
|
|
1014
|
+
}];
|
|
1015
|
+
readonly outputs: readonly [{
|
|
1016
|
+
readonly type: "bool";
|
|
1017
|
+
}];
|
|
1018
|
+
}, {
|
|
1019
|
+
readonly type: "function";
|
|
1020
|
+
readonly name: "claimCount";
|
|
1021
|
+
readonly stateMutability: "view";
|
|
1022
|
+
readonly inputs: readonly [];
|
|
1023
|
+
readonly outputs: readonly [{
|
|
1024
|
+
readonly type: "uint256";
|
|
1025
|
+
}];
|
|
1026
|
+
}];
|
|
1027
|
+
export declare const agentNameUniversalResolverAbi: readonly [{
|
|
1028
|
+
readonly type: "function";
|
|
1029
|
+
readonly name: "REGISTRY";
|
|
1030
|
+
readonly stateMutability: "view";
|
|
1031
|
+
readonly inputs: readonly [];
|
|
1032
|
+
readonly outputs: readonly [{
|
|
1033
|
+
readonly type: "address";
|
|
1034
|
+
}];
|
|
1035
|
+
}, {
|
|
1036
|
+
readonly type: "function";
|
|
1037
|
+
readonly name: "resolveName";
|
|
1038
|
+
readonly stateMutability: "view";
|
|
1039
|
+
readonly inputs: readonly [{
|
|
1040
|
+
readonly name: "node";
|
|
1041
|
+
readonly type: "bytes32";
|
|
1042
|
+
}];
|
|
1043
|
+
readonly outputs: readonly [{
|
|
1044
|
+
readonly type: "address";
|
|
1045
|
+
}];
|
|
1046
|
+
}, {
|
|
1047
|
+
readonly type: "function";
|
|
1048
|
+
readonly name: "resolveString";
|
|
1049
|
+
readonly stateMutability: "view";
|
|
1050
|
+
readonly inputs: readonly [{
|
|
1051
|
+
readonly name: "node";
|
|
1052
|
+
readonly type: "bytes32";
|
|
1053
|
+
}, {
|
|
1054
|
+
readonly name: "predicate";
|
|
1055
|
+
readonly type: "bytes32";
|
|
1056
|
+
}];
|
|
1057
|
+
readonly outputs: readonly [{
|
|
1058
|
+
readonly type: "string";
|
|
1059
|
+
}];
|
|
1060
|
+
}, {
|
|
1061
|
+
readonly type: "function";
|
|
1062
|
+
readonly name: "resolveBytes32";
|
|
1063
|
+
readonly stateMutability: "view";
|
|
1064
|
+
readonly inputs: readonly [{
|
|
1065
|
+
readonly name: "node";
|
|
1066
|
+
readonly type: "bytes32";
|
|
1067
|
+
}, {
|
|
1068
|
+
readonly name: "predicate";
|
|
1069
|
+
readonly type: "bytes32";
|
|
1070
|
+
}];
|
|
1071
|
+
readonly outputs: readonly [{
|
|
1072
|
+
readonly type: "bytes32";
|
|
1073
|
+
}];
|
|
1074
|
+
}, {
|
|
1075
|
+
readonly type: "function";
|
|
1076
|
+
readonly name: "resolveAddress";
|
|
1077
|
+
readonly stateMutability: "view";
|
|
1078
|
+
readonly inputs: readonly [{
|
|
1079
|
+
readonly name: "node";
|
|
1080
|
+
readonly type: "bytes32";
|
|
1081
|
+
}, {
|
|
1082
|
+
readonly name: "predicate";
|
|
1083
|
+
readonly type: "bytes32";
|
|
1084
|
+
}];
|
|
1085
|
+
readonly outputs: readonly [{
|
|
1086
|
+
readonly type: "address";
|
|
1087
|
+
}];
|
|
1088
|
+
}, {
|
|
1089
|
+
readonly type: "function";
|
|
1090
|
+
readonly name: "resolveStringBatch";
|
|
1091
|
+
readonly stateMutability: "view";
|
|
1092
|
+
readonly inputs: readonly [{
|
|
1093
|
+
readonly name: "node";
|
|
1094
|
+
readonly type: "bytes32";
|
|
1095
|
+
}, {
|
|
1096
|
+
readonly name: "predicates";
|
|
1097
|
+
readonly type: "bytes32[]";
|
|
1098
|
+
}];
|
|
1099
|
+
readonly outputs: readonly [{
|
|
1100
|
+
readonly type: "string[]";
|
|
1101
|
+
}];
|
|
1102
|
+
}, {
|
|
1103
|
+
readonly type: "function";
|
|
1104
|
+
readonly name: "reverseResolve";
|
|
1105
|
+
readonly stateMutability: "view";
|
|
1106
|
+
readonly inputs: readonly [{
|
|
1107
|
+
readonly name: "agent";
|
|
1108
|
+
readonly type: "address";
|
|
1109
|
+
}];
|
|
1110
|
+
readonly outputs: readonly [{
|
|
1111
|
+
readonly type: "bytes32";
|
|
1112
|
+
}];
|
|
1113
|
+
}, {
|
|
1114
|
+
readonly type: "function";
|
|
1115
|
+
readonly name: "reverseResolveString";
|
|
1116
|
+
readonly stateMutability: "view";
|
|
1117
|
+
readonly inputs: readonly [{
|
|
1118
|
+
readonly name: "agent";
|
|
1119
|
+
readonly type: "address";
|
|
1120
|
+
}];
|
|
1121
|
+
readonly outputs: readonly [{
|
|
1122
|
+
readonly type: "string";
|
|
1123
|
+
}];
|
|
1124
|
+
}, {
|
|
1125
|
+
readonly type: "function";
|
|
1126
|
+
readonly name: "nameOf";
|
|
1127
|
+
readonly stateMutability: "view";
|
|
1128
|
+
readonly inputs: readonly [{
|
|
1129
|
+
readonly name: "node";
|
|
1130
|
+
readonly type: "bytes32";
|
|
1131
|
+
}];
|
|
1132
|
+
readonly outputs: readonly [{
|
|
1133
|
+
readonly type: "string";
|
|
1134
|
+
}];
|
|
1135
|
+
}, {
|
|
1136
|
+
readonly type: "function";
|
|
1137
|
+
readonly name: "getChildren";
|
|
1138
|
+
readonly stateMutability: "view";
|
|
1139
|
+
readonly inputs: readonly [{
|
|
1140
|
+
readonly name: "parentNode";
|
|
1141
|
+
readonly type: "bytes32";
|
|
1142
|
+
}];
|
|
1143
|
+
readonly outputs: readonly [{
|
|
1144
|
+
readonly type: "bytes32[]";
|
|
1145
|
+
readonly name: "childNodes";
|
|
1146
|
+
}, {
|
|
1147
|
+
readonly type: "address[]";
|
|
1148
|
+
readonly name: "owners";
|
|
1149
|
+
}];
|
|
1150
|
+
}];
|
|
1151
|
+
export declare const ontologyTermRegistryAbi: readonly [{
|
|
1152
|
+
readonly type: "error";
|
|
1153
|
+
readonly name: "NotGovernor";
|
|
1154
|
+
readonly inputs: readonly [];
|
|
1155
|
+
}, {
|
|
1156
|
+
readonly type: "error";
|
|
1157
|
+
readonly name: "TermExists";
|
|
1158
|
+
readonly inputs: readonly [];
|
|
1159
|
+
}, {
|
|
1160
|
+
readonly type: "error";
|
|
1161
|
+
readonly name: "TermNotFound";
|
|
1162
|
+
readonly inputs: readonly [];
|
|
1163
|
+
}, {
|
|
1164
|
+
readonly type: "error";
|
|
1165
|
+
readonly name: "ZeroGovernor";
|
|
1166
|
+
readonly inputs: readonly [];
|
|
1167
|
+
}, {
|
|
1168
|
+
readonly type: "event";
|
|
1169
|
+
readonly name: "TermRegistered";
|
|
1170
|
+
readonly inputs: readonly [{
|
|
1171
|
+
readonly name: "id";
|
|
1172
|
+
readonly type: "bytes32";
|
|
1173
|
+
readonly indexed: true;
|
|
1174
|
+
}, {
|
|
1175
|
+
readonly name: "curie";
|
|
1176
|
+
readonly type: "string";
|
|
1177
|
+
readonly indexed: false;
|
|
1178
|
+
}, {
|
|
1179
|
+
readonly name: "uri";
|
|
1180
|
+
readonly type: "string";
|
|
1181
|
+
readonly indexed: false;
|
|
1182
|
+
}];
|
|
1183
|
+
}, {
|
|
1184
|
+
readonly type: "event";
|
|
1185
|
+
readonly name: "TermDeactivated";
|
|
1186
|
+
readonly inputs: readonly [{
|
|
1187
|
+
readonly name: "id";
|
|
1188
|
+
readonly type: "bytes32";
|
|
1189
|
+
readonly indexed: true;
|
|
1190
|
+
}];
|
|
1191
|
+
}, {
|
|
1192
|
+
readonly type: "event";
|
|
1193
|
+
readonly name: "TermActivated";
|
|
1194
|
+
readonly inputs: readonly [{
|
|
1195
|
+
readonly name: "id";
|
|
1196
|
+
readonly type: "bytes32";
|
|
1197
|
+
readonly indexed: true;
|
|
1198
|
+
}];
|
|
1199
|
+
}, {
|
|
1200
|
+
readonly type: "event";
|
|
1201
|
+
readonly name: "GovernorTransferred";
|
|
1202
|
+
readonly inputs: readonly [{
|
|
1203
|
+
readonly name: "oldGovernor";
|
|
1204
|
+
readonly type: "address";
|
|
1205
|
+
readonly indexed: true;
|
|
1206
|
+
}, {
|
|
1207
|
+
readonly name: "newGovernor";
|
|
1208
|
+
readonly type: "address";
|
|
1209
|
+
readonly indexed: true;
|
|
1210
|
+
}];
|
|
1211
|
+
}, {
|
|
1212
|
+
readonly type: "function";
|
|
1213
|
+
readonly name: "governor";
|
|
1214
|
+
readonly stateMutability: "view";
|
|
1215
|
+
readonly inputs: readonly [];
|
|
1216
|
+
readonly outputs: readonly [{
|
|
1217
|
+
readonly type: "address";
|
|
1218
|
+
}];
|
|
1219
|
+
}, {
|
|
1220
|
+
readonly type: "function";
|
|
1221
|
+
readonly name: "transferGovernor";
|
|
1222
|
+
readonly stateMutability: "nonpayable";
|
|
1223
|
+
readonly inputs: readonly [{
|
|
1224
|
+
readonly name: "newGovernor";
|
|
1225
|
+
readonly type: "address";
|
|
1226
|
+
}];
|
|
1227
|
+
readonly outputs: readonly [];
|
|
1228
|
+
}, {
|
|
1229
|
+
readonly type: "function";
|
|
1230
|
+
readonly name: "registerTerm";
|
|
1231
|
+
readonly stateMutability: "nonpayable";
|
|
1232
|
+
readonly inputs: readonly [{
|
|
1233
|
+
readonly name: "id";
|
|
1234
|
+
readonly type: "bytes32";
|
|
1235
|
+
}, {
|
|
1236
|
+
readonly name: "curie";
|
|
1237
|
+
readonly type: "string";
|
|
1238
|
+
}, {
|
|
1239
|
+
readonly name: "uri";
|
|
1240
|
+
readonly type: "string";
|
|
1241
|
+
}, {
|
|
1242
|
+
readonly name: "label";
|
|
1243
|
+
readonly type: "string";
|
|
1244
|
+
}, {
|
|
1245
|
+
readonly name: "datatype";
|
|
1246
|
+
readonly type: "string";
|
|
1247
|
+
}];
|
|
1248
|
+
readonly outputs: readonly [];
|
|
1249
|
+
}, {
|
|
1250
|
+
readonly type: "function";
|
|
1251
|
+
readonly name: "registerTermBatch";
|
|
1252
|
+
readonly stateMutability: "nonpayable";
|
|
1253
|
+
readonly inputs: readonly [{
|
|
1254
|
+
readonly name: "ids";
|
|
1255
|
+
readonly type: "bytes32[]";
|
|
1256
|
+
}, {
|
|
1257
|
+
readonly name: "curies";
|
|
1258
|
+
readonly type: "string[]";
|
|
1259
|
+
}, {
|
|
1260
|
+
readonly name: "uris";
|
|
1261
|
+
readonly type: "string[]";
|
|
1262
|
+
}, {
|
|
1263
|
+
readonly name: "labels";
|
|
1264
|
+
readonly type: "string[]";
|
|
1265
|
+
}, {
|
|
1266
|
+
readonly name: "datatypes";
|
|
1267
|
+
readonly type: "string[]";
|
|
1268
|
+
}];
|
|
1269
|
+
readonly outputs: readonly [];
|
|
1270
|
+
}, {
|
|
1271
|
+
readonly type: "function";
|
|
1272
|
+
readonly name: "deactivateTerm";
|
|
1273
|
+
readonly stateMutability: "nonpayable";
|
|
1274
|
+
readonly inputs: readonly [{
|
|
1275
|
+
readonly name: "id";
|
|
1276
|
+
readonly type: "bytes32";
|
|
1277
|
+
}];
|
|
1278
|
+
readonly outputs: readonly [];
|
|
1279
|
+
}, {
|
|
1280
|
+
readonly type: "function";
|
|
1281
|
+
readonly name: "activateTerm";
|
|
1282
|
+
readonly stateMutability: "nonpayable";
|
|
1283
|
+
readonly inputs: readonly [{
|
|
1284
|
+
readonly name: "id";
|
|
1285
|
+
readonly type: "bytes32";
|
|
1286
|
+
}];
|
|
1287
|
+
readonly outputs: readonly [];
|
|
1288
|
+
}, {
|
|
1289
|
+
readonly type: "function";
|
|
1290
|
+
readonly name: "getTerm";
|
|
1291
|
+
readonly stateMutability: "view";
|
|
1292
|
+
readonly inputs: readonly [{
|
|
1293
|
+
readonly name: "id";
|
|
1294
|
+
readonly type: "bytes32";
|
|
1295
|
+
}];
|
|
1296
|
+
readonly outputs: readonly [{
|
|
1297
|
+
readonly type: "tuple";
|
|
1298
|
+
readonly components: readonly [{
|
|
1299
|
+
readonly name: "id";
|
|
1300
|
+
readonly type: "bytes32";
|
|
1301
|
+
}, {
|
|
1302
|
+
readonly name: "curie";
|
|
1303
|
+
readonly type: "string";
|
|
1304
|
+
}, {
|
|
1305
|
+
readonly name: "uri";
|
|
1306
|
+
readonly type: "string";
|
|
1307
|
+
}, {
|
|
1308
|
+
readonly name: "label";
|
|
1309
|
+
readonly type: "string";
|
|
1310
|
+
}, {
|
|
1311
|
+
readonly name: "datatype";
|
|
1312
|
+
readonly type: "string";
|
|
1313
|
+
}, {
|
|
1314
|
+
readonly name: "active";
|
|
1315
|
+
readonly type: "bool";
|
|
1316
|
+
}, {
|
|
1317
|
+
readonly name: "registeredAt";
|
|
1318
|
+
readonly type: "uint256";
|
|
1319
|
+
}];
|
|
1320
|
+
}];
|
|
1321
|
+
}, {
|
|
1322
|
+
readonly type: "function";
|
|
1323
|
+
readonly name: "isRegistered";
|
|
1324
|
+
readonly stateMutability: "view";
|
|
1325
|
+
readonly inputs: readonly [{
|
|
1326
|
+
readonly name: "id";
|
|
1327
|
+
readonly type: "bytes32";
|
|
1328
|
+
}];
|
|
1329
|
+
readonly outputs: readonly [{
|
|
1330
|
+
readonly type: "bool";
|
|
1331
|
+
}];
|
|
1332
|
+
}, {
|
|
1333
|
+
readonly type: "function";
|
|
1334
|
+
readonly name: "isActive";
|
|
1335
|
+
readonly stateMutability: "view";
|
|
1336
|
+
readonly inputs: readonly [{
|
|
1337
|
+
readonly name: "id";
|
|
1338
|
+
readonly type: "bytes32";
|
|
1339
|
+
}];
|
|
1340
|
+
readonly outputs: readonly [{
|
|
1341
|
+
readonly type: "bool";
|
|
1342
|
+
}];
|
|
1343
|
+
}, {
|
|
1344
|
+
readonly type: "function";
|
|
1345
|
+
readonly name: "termCount";
|
|
1346
|
+
readonly stateMutability: "view";
|
|
1347
|
+
readonly inputs: readonly [];
|
|
1348
|
+
readonly outputs: readonly [{
|
|
1349
|
+
readonly type: "uint256";
|
|
1350
|
+
}];
|
|
1351
|
+
}, {
|
|
1352
|
+
readonly type: "function";
|
|
1353
|
+
readonly name: "getAllTermIds";
|
|
1354
|
+
readonly stateMutability: "view";
|
|
1355
|
+
readonly inputs: readonly [];
|
|
1356
|
+
readonly outputs: readonly [{
|
|
1357
|
+
readonly type: "bytes32[]";
|
|
1358
|
+
}];
|
|
1359
|
+
}];
|
|
1360
|
+
export declare const shapeRegistryAbi: readonly [{
|
|
1361
|
+
readonly type: "error";
|
|
1362
|
+
readonly name: "NotGovernor";
|
|
1363
|
+
readonly inputs: readonly [];
|
|
1364
|
+
}, {
|
|
1365
|
+
readonly type: "error";
|
|
1366
|
+
readonly name: "ShapeAlreadyDefined";
|
|
1367
|
+
readonly inputs: readonly [];
|
|
1368
|
+
}, {
|
|
1369
|
+
readonly type: "error";
|
|
1370
|
+
readonly name: "ShapeNotDefined";
|
|
1371
|
+
readonly inputs: readonly [];
|
|
1372
|
+
}, {
|
|
1373
|
+
readonly type: "error";
|
|
1374
|
+
readonly name: "ShapeNotActive";
|
|
1375
|
+
readonly inputs: readonly [];
|
|
1376
|
+
}, {
|
|
1377
|
+
readonly type: "error";
|
|
1378
|
+
readonly name: "MissingRequiredProperty";
|
|
1379
|
+
readonly inputs: readonly [{
|
|
1380
|
+
readonly name: "predicate";
|
|
1381
|
+
readonly type: "bytes32";
|
|
1382
|
+
}];
|
|
1383
|
+
}, {
|
|
1384
|
+
readonly type: "error";
|
|
1385
|
+
readonly name: "WrongDatatype";
|
|
1386
|
+
readonly inputs: readonly [{
|
|
1387
|
+
readonly name: "predicate";
|
|
1388
|
+
readonly type: "bytes32";
|
|
1389
|
+
}, {
|
|
1390
|
+
readonly name: "actual";
|
|
1391
|
+
readonly type: "uint8";
|
|
1392
|
+
}, {
|
|
1393
|
+
readonly name: "expected";
|
|
1394
|
+
readonly type: "uint8";
|
|
1395
|
+
}];
|
|
1396
|
+
}, {
|
|
1397
|
+
readonly type: "error";
|
|
1398
|
+
readonly name: "EnumValueNotAllowed";
|
|
1399
|
+
readonly inputs: readonly [{
|
|
1400
|
+
readonly name: "predicate";
|
|
1401
|
+
readonly type: "bytes32";
|
|
1402
|
+
}, {
|
|
1403
|
+
readonly name: "actualValue";
|
|
1404
|
+
readonly type: "bytes32";
|
|
1405
|
+
}];
|
|
1406
|
+
}, {
|
|
1407
|
+
readonly type: "error";
|
|
1408
|
+
readonly name: "EnumSetEmpty";
|
|
1409
|
+
readonly inputs: readonly [];
|
|
1410
|
+
}, {
|
|
1411
|
+
readonly type: "error";
|
|
1412
|
+
readonly name: "ZeroGovernor";
|
|
1413
|
+
readonly inputs: readonly [];
|
|
1414
|
+
}, {
|
|
1415
|
+
readonly type: "event";
|
|
1416
|
+
readonly name: "ShapeDefined";
|
|
1417
|
+
readonly inputs: readonly [{
|
|
1418
|
+
readonly name: "classId";
|
|
1419
|
+
readonly type: "bytes32";
|
|
1420
|
+
readonly indexed: true;
|
|
1421
|
+
}, {
|
|
1422
|
+
readonly name: "version";
|
|
1423
|
+
readonly type: "uint16";
|
|
1424
|
+
readonly indexed: false;
|
|
1425
|
+
}, {
|
|
1426
|
+
readonly name: "shapeURI";
|
|
1427
|
+
readonly type: "string";
|
|
1428
|
+
readonly indexed: false;
|
|
1429
|
+
}, {
|
|
1430
|
+
readonly name: "shapeHash";
|
|
1431
|
+
readonly type: "bytes32";
|
|
1432
|
+
readonly indexed: false;
|
|
1433
|
+
}];
|
|
1434
|
+
}, {
|
|
1435
|
+
readonly type: "function";
|
|
1436
|
+
readonly name: "governor";
|
|
1437
|
+
readonly stateMutability: "view";
|
|
1438
|
+
readonly inputs: readonly [];
|
|
1439
|
+
readonly outputs: readonly [{
|
|
1440
|
+
readonly type: "address";
|
|
1441
|
+
}];
|
|
1442
|
+
}, {
|
|
1443
|
+
readonly type: "function";
|
|
1444
|
+
readonly name: "isValid";
|
|
1445
|
+
readonly stateMutability: "view";
|
|
1446
|
+
readonly inputs: readonly [{
|
|
1447
|
+
readonly name: "classId";
|
|
1448
|
+
readonly type: "bytes32";
|
|
1449
|
+
}, {
|
|
1450
|
+
readonly name: "subject";
|
|
1451
|
+
readonly type: "bytes32";
|
|
1452
|
+
}, {
|
|
1453
|
+
readonly name: "store";
|
|
1454
|
+
readonly type: "address";
|
|
1455
|
+
}];
|
|
1456
|
+
readonly outputs: readonly [{
|
|
1457
|
+
readonly type: "bool";
|
|
1458
|
+
}];
|
|
1459
|
+
}, {
|
|
1460
|
+
readonly type: "function";
|
|
1461
|
+
readonly name: "validateSubject";
|
|
1462
|
+
readonly stateMutability: "view";
|
|
1463
|
+
readonly inputs: readonly [{
|
|
1464
|
+
readonly name: "classId";
|
|
1465
|
+
readonly type: "bytes32";
|
|
1466
|
+
}, {
|
|
1467
|
+
readonly name: "subject";
|
|
1468
|
+
readonly type: "bytes32";
|
|
1469
|
+
}, {
|
|
1470
|
+
readonly name: "store";
|
|
1471
|
+
readonly type: "address";
|
|
1472
|
+
}];
|
|
1473
|
+
readonly outputs: readonly [];
|
|
1474
|
+
}, {
|
|
1475
|
+
readonly type: "function";
|
|
1476
|
+
readonly name: "getShape";
|
|
1477
|
+
readonly stateMutability: "view";
|
|
1478
|
+
readonly inputs: readonly [{
|
|
1479
|
+
readonly name: "classId";
|
|
1480
|
+
readonly type: "bytes32";
|
|
1481
|
+
}];
|
|
1482
|
+
readonly outputs: readonly [{
|
|
1483
|
+
readonly type: "tuple";
|
|
1484
|
+
readonly components: readonly [{
|
|
1485
|
+
readonly name: "classId";
|
|
1486
|
+
readonly type: "bytes32";
|
|
1487
|
+
}, {
|
|
1488
|
+
readonly name: "shapeURI";
|
|
1489
|
+
readonly type: "string";
|
|
1490
|
+
}, {
|
|
1491
|
+
readonly name: "shapeHash";
|
|
1492
|
+
readonly type: "bytes32";
|
|
1493
|
+
}, {
|
|
1494
|
+
readonly name: "version";
|
|
1495
|
+
readonly type: "uint16";
|
|
1496
|
+
}, {
|
|
1497
|
+
readonly name: "active";
|
|
1498
|
+
readonly type: "bool";
|
|
1499
|
+
}, {
|
|
1500
|
+
readonly name: "exists";
|
|
1501
|
+
readonly type: "bool";
|
|
1502
|
+
}];
|
|
1503
|
+
}];
|
|
1504
|
+
}, {
|
|
1505
|
+
readonly type: "function";
|
|
1506
|
+
readonly name: "getProperties";
|
|
1507
|
+
readonly stateMutability: "view";
|
|
1508
|
+
readonly inputs: readonly [{
|
|
1509
|
+
readonly name: "classId";
|
|
1510
|
+
readonly type: "bytes32";
|
|
1511
|
+
}];
|
|
1512
|
+
readonly outputs: readonly [{
|
|
1513
|
+
readonly type: "tuple[]";
|
|
1514
|
+
readonly components: readonly [{
|
|
1515
|
+
readonly name: "predicate";
|
|
1516
|
+
readonly type: "bytes32";
|
|
1517
|
+
}, {
|
|
1518
|
+
readonly name: "expectedDatatype";
|
|
1519
|
+
readonly type: "uint8";
|
|
1520
|
+
}, {
|
|
1521
|
+
readonly name: "cardinality";
|
|
1522
|
+
readonly type: "uint8";
|
|
1523
|
+
}, {
|
|
1524
|
+
readonly name: "enumSetId";
|
|
1525
|
+
readonly type: "bytes32";
|
|
1526
|
+
}, {
|
|
1527
|
+
readonly name: "expectedClass";
|
|
1528
|
+
readonly type: "bytes32";
|
|
1529
|
+
}];
|
|
1530
|
+
}];
|
|
1531
|
+
}];
|
|
1532
|
+
//# sourceMappingURL=abis.d.ts.map
|