@agenticprimitives/agent-relationships 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/LICENSE +21 -0
- package/README.md +170 -0
- package/dist/abis.d.ts +543 -0
- package/dist/abis.d.ts.map +1 -0
- package/dist/abis.js +197 -0
- package/dist/abis.js.map +1 -0
- package/dist/calls.d.ts +77 -0
- package/dist/calls.d.ts.map +1 -0
- package/dist/calls.js +119 -0
- package/dist/calls.js.map +1 -0
- package/dist/client.d.ts +96 -0
- package/dist/client.d.ts.map +1 -0
- package/dist/client.js +227 -0
- package/dist/client.js.map +1 -0
- package/dist/constants.d.ts +50 -0
- package/dist/constants.d.ts.map +1 -0
- package/dist/constants.js +55 -0
- package/dist/constants.js.map +1 -0
- package/dist/edge-id.d.ts +15 -0
- package/dist/edge-id.d.ts.map +1 -0
- package/dist/edge-id.js +34 -0
- package/dist/edge-id.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 +9 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +20 -0
- package/dist/index.js.map +1 -0
- package/dist/taxonomy.d.ts +35 -0
- package/dist/taxonomy.d.ts.map +1 -0
- package/dist/taxonomy.js +65 -0
- package/dist/taxonomy.js.map +1 -0
- package/dist/types.d.ts +96 -0
- package/dist/types.d.ts.map +1 -0
- package/dist/types.js +23 -0
- package/dist/types.js.map +1 -0
- package/package.json +62 -0
- package/spec.md +13 -0
package/dist/abis.d.ts
ADDED
|
@@ -0,0 +1,543 @@
|
|
|
1
|
+
export declare const agentRelationshipAbi: readonly [{
|
|
2
|
+
readonly type: "error";
|
|
3
|
+
readonly name: "InvalidEdge";
|
|
4
|
+
readonly inputs: readonly [];
|
|
5
|
+
}, {
|
|
6
|
+
readonly type: "error";
|
|
7
|
+
readonly name: "EdgeAlreadyExists";
|
|
8
|
+
readonly inputs: readonly [];
|
|
9
|
+
}, {
|
|
10
|
+
readonly type: "error";
|
|
11
|
+
readonly name: "EdgeNotFound";
|
|
12
|
+
readonly inputs: readonly [];
|
|
13
|
+
}, {
|
|
14
|
+
readonly type: "error";
|
|
15
|
+
readonly name: "RoleAlreadyExists";
|
|
16
|
+
readonly inputs: readonly [];
|
|
17
|
+
}, {
|
|
18
|
+
readonly type: "error";
|
|
19
|
+
readonly name: "RoleNotFound";
|
|
20
|
+
readonly inputs: readonly [];
|
|
21
|
+
}, {
|
|
22
|
+
readonly type: "error";
|
|
23
|
+
readonly name: "NotAuthorized";
|
|
24
|
+
readonly inputs: readonly [];
|
|
25
|
+
}, {
|
|
26
|
+
readonly type: "error";
|
|
27
|
+
readonly name: "InvalidTransition";
|
|
28
|
+
readonly inputs: readonly [];
|
|
29
|
+
}, {
|
|
30
|
+
readonly type: "event";
|
|
31
|
+
readonly name: "EdgeProposed";
|
|
32
|
+
readonly inputs: readonly [{
|
|
33
|
+
readonly name: "edgeId";
|
|
34
|
+
readonly type: "bytes32";
|
|
35
|
+
readonly indexed: true;
|
|
36
|
+
}, {
|
|
37
|
+
readonly name: "subject";
|
|
38
|
+
readonly type: "address";
|
|
39
|
+
readonly indexed: true;
|
|
40
|
+
}, {
|
|
41
|
+
readonly name: "object_";
|
|
42
|
+
readonly type: "address";
|
|
43
|
+
readonly indexed: true;
|
|
44
|
+
}, {
|
|
45
|
+
readonly name: "relationshipType";
|
|
46
|
+
readonly type: "bytes32";
|
|
47
|
+
readonly indexed: false;
|
|
48
|
+
}, {
|
|
49
|
+
readonly name: "createdBy";
|
|
50
|
+
readonly type: "address";
|
|
51
|
+
readonly indexed: false;
|
|
52
|
+
}];
|
|
53
|
+
}, {
|
|
54
|
+
readonly type: "event";
|
|
55
|
+
readonly name: "EdgeConfirmed";
|
|
56
|
+
readonly inputs: readonly [{
|
|
57
|
+
readonly name: "edgeId";
|
|
58
|
+
readonly type: "bytes32";
|
|
59
|
+
readonly indexed: true;
|
|
60
|
+
}, {
|
|
61
|
+
readonly name: "confirmedBy";
|
|
62
|
+
readonly type: "address";
|
|
63
|
+
readonly indexed: true;
|
|
64
|
+
}];
|
|
65
|
+
}, {
|
|
66
|
+
readonly type: "event";
|
|
67
|
+
readonly name: "EdgeActivated";
|
|
68
|
+
readonly inputs: readonly [{
|
|
69
|
+
readonly name: "edgeId";
|
|
70
|
+
readonly type: "bytes32";
|
|
71
|
+
readonly indexed: true;
|
|
72
|
+
}, {
|
|
73
|
+
readonly name: "activatedBy";
|
|
74
|
+
readonly type: "address";
|
|
75
|
+
readonly indexed: true;
|
|
76
|
+
}];
|
|
77
|
+
}, {
|
|
78
|
+
readonly type: "event";
|
|
79
|
+
readonly name: "EdgeRevoked";
|
|
80
|
+
readonly inputs: readonly [{
|
|
81
|
+
readonly name: "edgeId";
|
|
82
|
+
readonly type: "bytes32";
|
|
83
|
+
readonly indexed: true;
|
|
84
|
+
}, {
|
|
85
|
+
readonly name: "revokedBy";
|
|
86
|
+
readonly type: "address";
|
|
87
|
+
readonly indexed: true;
|
|
88
|
+
}];
|
|
89
|
+
}, {
|
|
90
|
+
readonly type: "event";
|
|
91
|
+
readonly name: "RoleAdded";
|
|
92
|
+
readonly inputs: readonly [{
|
|
93
|
+
readonly name: "edgeId";
|
|
94
|
+
readonly type: "bytes32";
|
|
95
|
+
readonly indexed: true;
|
|
96
|
+
}, {
|
|
97
|
+
readonly name: "role";
|
|
98
|
+
readonly type: "bytes32";
|
|
99
|
+
readonly indexed: true;
|
|
100
|
+
}, {
|
|
101
|
+
readonly name: "updater";
|
|
102
|
+
readonly type: "address";
|
|
103
|
+
readonly indexed: true;
|
|
104
|
+
}];
|
|
105
|
+
}, {
|
|
106
|
+
readonly type: "event";
|
|
107
|
+
readonly name: "RoleRemoved";
|
|
108
|
+
readonly inputs: readonly [{
|
|
109
|
+
readonly name: "edgeId";
|
|
110
|
+
readonly type: "bytes32";
|
|
111
|
+
readonly indexed: true;
|
|
112
|
+
}, {
|
|
113
|
+
readonly name: "role";
|
|
114
|
+
readonly type: "bytes32";
|
|
115
|
+
readonly indexed: true;
|
|
116
|
+
}, {
|
|
117
|
+
readonly name: "updater";
|
|
118
|
+
readonly type: "address";
|
|
119
|
+
readonly indexed: true;
|
|
120
|
+
}];
|
|
121
|
+
}, {
|
|
122
|
+
readonly type: "event";
|
|
123
|
+
readonly name: "EdgeMetadataUpdated";
|
|
124
|
+
readonly inputs: readonly [{
|
|
125
|
+
readonly name: "edgeId";
|
|
126
|
+
readonly type: "bytes32";
|
|
127
|
+
readonly indexed: true;
|
|
128
|
+
}, {
|
|
129
|
+
readonly name: "metadataURI";
|
|
130
|
+
readonly type: "string";
|
|
131
|
+
readonly indexed: false;
|
|
132
|
+
}, {
|
|
133
|
+
readonly name: "metadataHash";
|
|
134
|
+
readonly type: "bytes32";
|
|
135
|
+
readonly indexed: false;
|
|
136
|
+
}, {
|
|
137
|
+
readonly name: "updater";
|
|
138
|
+
readonly type: "address";
|
|
139
|
+
readonly indexed: true;
|
|
140
|
+
}];
|
|
141
|
+
}, {
|
|
142
|
+
readonly type: "function";
|
|
143
|
+
readonly name: "computeEdgeId";
|
|
144
|
+
readonly stateMutability: "pure";
|
|
145
|
+
readonly inputs: readonly [{
|
|
146
|
+
readonly name: "subject";
|
|
147
|
+
readonly type: "address";
|
|
148
|
+
}, {
|
|
149
|
+
readonly name: "object_";
|
|
150
|
+
readonly type: "address";
|
|
151
|
+
}, {
|
|
152
|
+
readonly name: "relationshipType";
|
|
153
|
+
readonly type: "bytes32";
|
|
154
|
+
}];
|
|
155
|
+
readonly outputs: readonly [{
|
|
156
|
+
readonly type: "bytes32";
|
|
157
|
+
}];
|
|
158
|
+
}, {
|
|
159
|
+
readonly type: "function";
|
|
160
|
+
readonly name: "proposeEdge";
|
|
161
|
+
readonly stateMutability: "nonpayable";
|
|
162
|
+
readonly inputs: readonly [{
|
|
163
|
+
readonly name: "subject";
|
|
164
|
+
readonly type: "address";
|
|
165
|
+
}, {
|
|
166
|
+
readonly name: "object_";
|
|
167
|
+
readonly type: "address";
|
|
168
|
+
}, {
|
|
169
|
+
readonly name: "relationshipType";
|
|
170
|
+
readonly type: "bytes32";
|
|
171
|
+
}, {
|
|
172
|
+
readonly name: "initialRoles";
|
|
173
|
+
readonly type: "bytes32[]";
|
|
174
|
+
}, {
|
|
175
|
+
readonly name: "metadataURI";
|
|
176
|
+
readonly type: "string";
|
|
177
|
+
}, {
|
|
178
|
+
readonly name: "metadataHash";
|
|
179
|
+
readonly type: "bytes32";
|
|
180
|
+
}];
|
|
181
|
+
readonly outputs: readonly [{
|
|
182
|
+
readonly name: "edgeId";
|
|
183
|
+
readonly type: "bytes32";
|
|
184
|
+
}];
|
|
185
|
+
}, {
|
|
186
|
+
readonly type: "function";
|
|
187
|
+
readonly name: "confirmEdge";
|
|
188
|
+
readonly stateMutability: "nonpayable";
|
|
189
|
+
readonly inputs: readonly [{
|
|
190
|
+
readonly name: "edgeId";
|
|
191
|
+
readonly type: "bytes32";
|
|
192
|
+
}];
|
|
193
|
+
readonly outputs: readonly [];
|
|
194
|
+
}, {
|
|
195
|
+
readonly type: "function";
|
|
196
|
+
readonly name: "activateEdge";
|
|
197
|
+
readonly stateMutability: "nonpayable";
|
|
198
|
+
readonly inputs: readonly [{
|
|
199
|
+
readonly name: "edgeId";
|
|
200
|
+
readonly type: "bytes32";
|
|
201
|
+
}];
|
|
202
|
+
readonly outputs: readonly [];
|
|
203
|
+
}, {
|
|
204
|
+
readonly type: "function";
|
|
205
|
+
readonly name: "revokeEdge";
|
|
206
|
+
readonly stateMutability: "nonpayable";
|
|
207
|
+
readonly inputs: readonly [{
|
|
208
|
+
readonly name: "edgeId";
|
|
209
|
+
readonly type: "bytes32";
|
|
210
|
+
}];
|
|
211
|
+
readonly outputs: readonly [];
|
|
212
|
+
}, {
|
|
213
|
+
readonly type: "function";
|
|
214
|
+
readonly name: "addRole";
|
|
215
|
+
readonly stateMutability: "nonpayable";
|
|
216
|
+
readonly inputs: readonly [{
|
|
217
|
+
readonly name: "edgeId";
|
|
218
|
+
readonly type: "bytes32";
|
|
219
|
+
}, {
|
|
220
|
+
readonly name: "role";
|
|
221
|
+
readonly type: "bytes32";
|
|
222
|
+
}];
|
|
223
|
+
readonly outputs: readonly [];
|
|
224
|
+
}, {
|
|
225
|
+
readonly type: "function";
|
|
226
|
+
readonly name: "removeRole";
|
|
227
|
+
readonly stateMutability: "nonpayable";
|
|
228
|
+
readonly inputs: readonly [{
|
|
229
|
+
readonly name: "edgeId";
|
|
230
|
+
readonly type: "bytes32";
|
|
231
|
+
}, {
|
|
232
|
+
readonly name: "role";
|
|
233
|
+
readonly type: "bytes32";
|
|
234
|
+
}];
|
|
235
|
+
readonly outputs: readonly [];
|
|
236
|
+
}, {
|
|
237
|
+
readonly type: "function";
|
|
238
|
+
readonly name: "setMetadata";
|
|
239
|
+
readonly stateMutability: "nonpayable";
|
|
240
|
+
readonly inputs: readonly [{
|
|
241
|
+
readonly name: "edgeId";
|
|
242
|
+
readonly type: "bytes32";
|
|
243
|
+
}, {
|
|
244
|
+
readonly name: "metadataURI";
|
|
245
|
+
readonly type: "string";
|
|
246
|
+
}, {
|
|
247
|
+
readonly name: "metadataHash";
|
|
248
|
+
readonly type: "bytes32";
|
|
249
|
+
}];
|
|
250
|
+
readonly outputs: readonly [];
|
|
251
|
+
}, {
|
|
252
|
+
readonly type: "function";
|
|
253
|
+
readonly name: "getEdge";
|
|
254
|
+
readonly stateMutability: "view";
|
|
255
|
+
readonly inputs: readonly [{
|
|
256
|
+
readonly name: "edgeId";
|
|
257
|
+
readonly type: "bytes32";
|
|
258
|
+
}];
|
|
259
|
+
readonly outputs: readonly [{
|
|
260
|
+
readonly type: "tuple";
|
|
261
|
+
readonly components: readonly [{
|
|
262
|
+
readonly name: "edgeId";
|
|
263
|
+
readonly type: "bytes32";
|
|
264
|
+
}, {
|
|
265
|
+
readonly name: "subject";
|
|
266
|
+
readonly type: "address";
|
|
267
|
+
}, {
|
|
268
|
+
readonly name: "object_";
|
|
269
|
+
readonly type: "address";
|
|
270
|
+
}, {
|
|
271
|
+
readonly name: "relationshipType";
|
|
272
|
+
readonly type: "bytes32";
|
|
273
|
+
}, {
|
|
274
|
+
readonly name: "status";
|
|
275
|
+
readonly type: "uint8";
|
|
276
|
+
}, {
|
|
277
|
+
readonly name: "createdBy";
|
|
278
|
+
readonly type: "address";
|
|
279
|
+
}, {
|
|
280
|
+
readonly name: "createdAt";
|
|
281
|
+
readonly type: "uint64";
|
|
282
|
+
}, {
|
|
283
|
+
readonly name: "updatedAt";
|
|
284
|
+
readonly type: "uint64";
|
|
285
|
+
}, {
|
|
286
|
+
readonly name: "metadataURI";
|
|
287
|
+
readonly type: "string";
|
|
288
|
+
}, {
|
|
289
|
+
readonly name: "metadataHash";
|
|
290
|
+
readonly type: "bytes32";
|
|
291
|
+
}];
|
|
292
|
+
}];
|
|
293
|
+
}, {
|
|
294
|
+
readonly type: "function";
|
|
295
|
+
readonly name: "getRoles";
|
|
296
|
+
readonly stateMutability: "view";
|
|
297
|
+
readonly inputs: readonly [{
|
|
298
|
+
readonly name: "edgeId";
|
|
299
|
+
readonly type: "bytes32";
|
|
300
|
+
}];
|
|
301
|
+
readonly outputs: readonly [{
|
|
302
|
+
readonly type: "bytes32[]";
|
|
303
|
+
}];
|
|
304
|
+
}, {
|
|
305
|
+
readonly type: "function";
|
|
306
|
+
readonly name: "hasRole";
|
|
307
|
+
readonly stateMutability: "view";
|
|
308
|
+
readonly inputs: readonly [{
|
|
309
|
+
readonly name: "edgeId";
|
|
310
|
+
readonly type: "bytes32";
|
|
311
|
+
}, {
|
|
312
|
+
readonly name: "role";
|
|
313
|
+
readonly type: "bytes32";
|
|
314
|
+
}];
|
|
315
|
+
readonly outputs: readonly [{
|
|
316
|
+
readonly type: "bool";
|
|
317
|
+
}];
|
|
318
|
+
}, {
|
|
319
|
+
readonly type: "function";
|
|
320
|
+
readonly name: "getEdgesBySubject";
|
|
321
|
+
readonly stateMutability: "view";
|
|
322
|
+
readonly inputs: readonly [{
|
|
323
|
+
readonly name: "subject";
|
|
324
|
+
readonly type: "address";
|
|
325
|
+
}];
|
|
326
|
+
readonly outputs: readonly [{
|
|
327
|
+
readonly type: "bytes32[]";
|
|
328
|
+
}];
|
|
329
|
+
}, {
|
|
330
|
+
readonly type: "function";
|
|
331
|
+
readonly name: "getEdgesByObject";
|
|
332
|
+
readonly stateMutability: "view";
|
|
333
|
+
readonly inputs: readonly [{
|
|
334
|
+
readonly name: "object_";
|
|
335
|
+
readonly type: "address";
|
|
336
|
+
}];
|
|
337
|
+
readonly outputs: readonly [{
|
|
338
|
+
readonly type: "bytes32[]";
|
|
339
|
+
}];
|
|
340
|
+
}, {
|
|
341
|
+
readonly type: "function";
|
|
342
|
+
readonly name: "getEdgeByTriple";
|
|
343
|
+
readonly stateMutability: "view";
|
|
344
|
+
readonly inputs: readonly [{
|
|
345
|
+
readonly name: "subject";
|
|
346
|
+
readonly type: "address";
|
|
347
|
+
}, {
|
|
348
|
+
readonly name: "object_";
|
|
349
|
+
readonly type: "address";
|
|
350
|
+
}, {
|
|
351
|
+
readonly name: "relationshipType";
|
|
352
|
+
readonly type: "bytes32";
|
|
353
|
+
}];
|
|
354
|
+
readonly outputs: readonly [{
|
|
355
|
+
readonly type: "bytes32";
|
|
356
|
+
}];
|
|
357
|
+
}, {
|
|
358
|
+
readonly type: "function";
|
|
359
|
+
readonly name: "edgeExists";
|
|
360
|
+
readonly stateMutability: "view";
|
|
361
|
+
readonly inputs: readonly [{
|
|
362
|
+
readonly name: "edgeId";
|
|
363
|
+
readonly type: "bytes32";
|
|
364
|
+
}];
|
|
365
|
+
readonly outputs: readonly [{
|
|
366
|
+
readonly type: "bool";
|
|
367
|
+
}];
|
|
368
|
+
}];
|
|
369
|
+
export declare const relationshipTypeRegistryAbi: readonly [{
|
|
370
|
+
readonly type: "error";
|
|
371
|
+
readonly name: "NotGovernor";
|
|
372
|
+
readonly inputs: readonly [];
|
|
373
|
+
}, {
|
|
374
|
+
readonly type: "error";
|
|
375
|
+
readonly name: "TypeExists";
|
|
376
|
+
readonly inputs: readonly [];
|
|
377
|
+
}, {
|
|
378
|
+
readonly type: "error";
|
|
379
|
+
readonly name: "TypeNotFound";
|
|
380
|
+
readonly inputs: readonly [];
|
|
381
|
+
}, {
|
|
382
|
+
readonly type: "error";
|
|
383
|
+
readonly name: "ZeroGovernor";
|
|
384
|
+
readonly inputs: readonly [];
|
|
385
|
+
}, {
|
|
386
|
+
readonly type: "event";
|
|
387
|
+
readonly name: "TypeRegistered";
|
|
388
|
+
readonly inputs: readonly [{
|
|
389
|
+
readonly name: "relationshipType";
|
|
390
|
+
readonly type: "bytes32";
|
|
391
|
+
readonly indexed: true;
|
|
392
|
+
}, {
|
|
393
|
+
readonly name: "label";
|
|
394
|
+
readonly type: "string";
|
|
395
|
+
readonly indexed: false;
|
|
396
|
+
}, {
|
|
397
|
+
readonly name: "isHierarchical";
|
|
398
|
+
readonly type: "bool";
|
|
399
|
+
readonly indexed: false;
|
|
400
|
+
}, {
|
|
401
|
+
readonly name: "isTransitive";
|
|
402
|
+
readonly type: "bool";
|
|
403
|
+
readonly indexed: false;
|
|
404
|
+
}, {
|
|
405
|
+
readonly name: "isSymmetric";
|
|
406
|
+
readonly type: "bool";
|
|
407
|
+
readonly indexed: false;
|
|
408
|
+
}];
|
|
409
|
+
}, {
|
|
410
|
+
readonly type: "function";
|
|
411
|
+
readonly name: "governor";
|
|
412
|
+
readonly stateMutability: "view";
|
|
413
|
+
readonly inputs: readonly [];
|
|
414
|
+
readonly outputs: readonly [{
|
|
415
|
+
readonly type: "address";
|
|
416
|
+
}];
|
|
417
|
+
}, {
|
|
418
|
+
readonly type: "function";
|
|
419
|
+
readonly name: "registerType";
|
|
420
|
+
readonly stateMutability: "nonpayable";
|
|
421
|
+
readonly inputs: readonly [{
|
|
422
|
+
readonly name: "relationshipType";
|
|
423
|
+
readonly type: "bytes32";
|
|
424
|
+
}, {
|
|
425
|
+
readonly name: "label";
|
|
426
|
+
readonly type: "string";
|
|
427
|
+
}, {
|
|
428
|
+
readonly name: "hierarchical";
|
|
429
|
+
readonly type: "bool";
|
|
430
|
+
}, {
|
|
431
|
+
readonly name: "transitive";
|
|
432
|
+
readonly type: "bool";
|
|
433
|
+
}, {
|
|
434
|
+
readonly name: "symmetric";
|
|
435
|
+
readonly type: "bool";
|
|
436
|
+
}];
|
|
437
|
+
readonly outputs: readonly [];
|
|
438
|
+
}, {
|
|
439
|
+
readonly type: "function";
|
|
440
|
+
readonly name: "isRegistered";
|
|
441
|
+
readonly stateMutability: "view";
|
|
442
|
+
readonly inputs: readonly [{
|
|
443
|
+
readonly name: "relationshipType";
|
|
444
|
+
readonly type: "bytes32";
|
|
445
|
+
}];
|
|
446
|
+
readonly outputs: readonly [{
|
|
447
|
+
readonly type: "bool";
|
|
448
|
+
}];
|
|
449
|
+
}, {
|
|
450
|
+
readonly type: "function";
|
|
451
|
+
readonly name: "isActive";
|
|
452
|
+
readonly stateMutability: "view";
|
|
453
|
+
readonly inputs: readonly [{
|
|
454
|
+
readonly name: "relationshipType";
|
|
455
|
+
readonly type: "bytes32";
|
|
456
|
+
}];
|
|
457
|
+
readonly outputs: readonly [{
|
|
458
|
+
readonly type: "bool";
|
|
459
|
+
}];
|
|
460
|
+
}, {
|
|
461
|
+
readonly type: "function";
|
|
462
|
+
readonly name: "isHierarchical";
|
|
463
|
+
readonly stateMutability: "view";
|
|
464
|
+
readonly inputs: readonly [{
|
|
465
|
+
readonly name: "relationshipType";
|
|
466
|
+
readonly type: "bytes32";
|
|
467
|
+
}];
|
|
468
|
+
readonly outputs: readonly [{
|
|
469
|
+
readonly type: "bool";
|
|
470
|
+
}];
|
|
471
|
+
}, {
|
|
472
|
+
readonly type: "function";
|
|
473
|
+
readonly name: "isTransitive";
|
|
474
|
+
readonly stateMutability: "view";
|
|
475
|
+
readonly inputs: readonly [{
|
|
476
|
+
readonly name: "relationshipType";
|
|
477
|
+
readonly type: "bytes32";
|
|
478
|
+
}];
|
|
479
|
+
readonly outputs: readonly [{
|
|
480
|
+
readonly type: "bool";
|
|
481
|
+
}];
|
|
482
|
+
}, {
|
|
483
|
+
readonly type: "function";
|
|
484
|
+
readonly name: "isSymmetric";
|
|
485
|
+
readonly stateMutability: "view";
|
|
486
|
+
readonly inputs: readonly [{
|
|
487
|
+
readonly name: "relationshipType";
|
|
488
|
+
readonly type: "bytes32";
|
|
489
|
+
}];
|
|
490
|
+
readonly outputs: readonly [{
|
|
491
|
+
readonly type: "bool";
|
|
492
|
+
}];
|
|
493
|
+
}, {
|
|
494
|
+
readonly type: "function";
|
|
495
|
+
readonly name: "getTypeSemantics";
|
|
496
|
+
readonly stateMutability: "view";
|
|
497
|
+
readonly inputs: readonly [{
|
|
498
|
+
readonly name: "relationshipType";
|
|
499
|
+
readonly type: "bytes32";
|
|
500
|
+
}];
|
|
501
|
+
readonly outputs: readonly [{
|
|
502
|
+
readonly type: "tuple";
|
|
503
|
+
readonly components: readonly [{
|
|
504
|
+
readonly name: "relationshipType";
|
|
505
|
+
readonly type: "bytes32";
|
|
506
|
+
}, {
|
|
507
|
+
readonly name: "label";
|
|
508
|
+
readonly type: "string";
|
|
509
|
+
}, {
|
|
510
|
+
readonly name: "isHierarchical";
|
|
511
|
+
readonly type: "bool";
|
|
512
|
+
}, {
|
|
513
|
+
readonly name: "isTransitive";
|
|
514
|
+
readonly type: "bool";
|
|
515
|
+
}, {
|
|
516
|
+
readonly name: "isSymmetric";
|
|
517
|
+
readonly type: "bool";
|
|
518
|
+
}, {
|
|
519
|
+
readonly name: "active";
|
|
520
|
+
readonly type: "bool";
|
|
521
|
+
}, {
|
|
522
|
+
readonly name: "registeredAt";
|
|
523
|
+
readonly type: "uint256";
|
|
524
|
+
}];
|
|
525
|
+
}];
|
|
526
|
+
}, {
|
|
527
|
+
readonly type: "function";
|
|
528
|
+
readonly name: "typeCount";
|
|
529
|
+
readonly stateMutability: "view";
|
|
530
|
+
readonly inputs: readonly [];
|
|
531
|
+
readonly outputs: readonly [{
|
|
532
|
+
readonly type: "uint256";
|
|
533
|
+
}];
|
|
534
|
+
}, {
|
|
535
|
+
readonly type: "function";
|
|
536
|
+
readonly name: "getAllTypeIds";
|
|
537
|
+
readonly stateMutability: "view";
|
|
538
|
+
readonly inputs: readonly [];
|
|
539
|
+
readonly outputs: readonly [{
|
|
540
|
+
readonly type: "bytes32[]";
|
|
541
|
+
}];
|
|
542
|
+
}];
|
|
543
|
+
//# sourceMappingURL=abis.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"abis.d.ts","sourceRoot":"","sources":["../src/abis.ts"],"names":[],"mappings":"AAMA,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA2IvB,CAAC;AAEX,eAAO,MAAM,2BAA2B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA0D9B,CAAC"}
|