agent0-sdk 0.3.0-rc.1 → 1.0.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/README.md +95 -56
- package/dist/core/agent.d.ts +37 -2
- package/dist/core/agent.d.ts.map +1 -1
- package/dist/core/agent.js +362 -24
- package/dist/core/agent.js.map +1 -1
- package/dist/core/contracts.d.ts +335 -60
- package/dist/core/contracts.d.ts.map +1 -1
- package/dist/core/contracts.js +174 -59
- package/dist/core/contracts.js.map +1 -1
- package/dist/core/endpoint-crawler.d.ts +7 -0
- package/dist/core/endpoint-crawler.d.ts.map +1 -1
- package/dist/core/endpoint-crawler.js +43 -4
- package/dist/core/endpoint-crawler.js.map +1 -1
- package/dist/core/feedback-manager.d.ts +9 -29
- package/dist/core/feedback-manager.d.ts.map +1 -1
- package/dist/core/feedback-manager.js +140 -223
- package/dist/core/feedback-manager.js.map +1 -1
- package/dist/core/indexer.d.ts.map +1 -1
- package/dist/core/indexer.js +4 -2
- package/dist/core/indexer.js.map +1 -1
- package/dist/core/ipfs-client.d.ts +3 -3
- package/dist/core/ipfs-client.d.ts.map +1 -1
- package/dist/core/ipfs-client.js +31 -14
- package/dist/core/ipfs-client.js.map +1 -1
- package/dist/core/oasf-validator.d.ts +16 -0
- package/dist/core/oasf-validator.d.ts.map +1 -0
- package/dist/core/oasf-validator.js +26 -0
- package/dist/core/oasf-validator.js.map +1 -0
- package/dist/core/sdk.d.ts +9 -11
- package/dist/core/sdk.d.ts.map +1 -1
- package/dist/core/sdk.js +37 -37
- package/dist/core/sdk.js.map +1 -1
- package/dist/core/subgraph-client.d.ts +1 -1
- package/dist/core/subgraph-client.d.ts.map +1 -1
- package/dist/core/subgraph-client.js +74 -14
- package/dist/core/subgraph-client.js.map +1 -1
- package/dist/core/web3-client.d.ts +98 -6
- package/dist/core/web3-client.d.ts.map +1 -1
- package/dist/core/web3-client.js +119 -11
- package/dist/core/web3-client.js.map +1 -1
- package/dist/models/enums.d.ts +2 -1
- package/dist/models/enums.d.ts.map +1 -1
- package/dist/models/enums.js +1 -0
- package/dist/models/enums.js.map +1 -1
- package/dist/models/generated/subgraph-types.d.ts +11 -3
- package/dist/models/generated/subgraph-types.d.ts.map +1 -1
- package/dist/models/interfaces.d.ts +65 -0
- package/dist/models/interfaces.d.ts.map +1 -1
- package/dist/taxonomies/generated/all_domains.d.ts +9 -0
- package/dist/taxonomies/generated/all_domains.d.ts.map +1 -0
- package/dist/taxonomies/generated/all_domains.js +1574 -0
- package/dist/taxonomies/generated/all_domains.js.map +1 -0
- package/dist/taxonomies/generated/all_skills.d.ts +9 -0
- package/dist/taxonomies/generated/all_skills.d.ts.map +1 -0
- package/dist/taxonomies/generated/all_skills.js +1039 -0
- package/dist/taxonomies/generated/all_skills.js.map +1 -0
- package/package.json +7 -4
package/dist/core/contracts.d.ts
CHANGED
|
@@ -109,20 +109,6 @@ export declare const ERC721_URI_STORAGE_ABI: readonly [{
|
|
|
109
109
|
}];
|
|
110
110
|
readonly stateMutability: "view";
|
|
111
111
|
readonly type: "function";
|
|
112
|
-
}, {
|
|
113
|
-
readonly inputs: readonly [{
|
|
114
|
-
readonly internalType: "uint256";
|
|
115
|
-
readonly name: "tokenId";
|
|
116
|
-
readonly type: "uint256";
|
|
117
|
-
}, {
|
|
118
|
-
readonly internalType: "string";
|
|
119
|
-
readonly name: "_tokenURI";
|
|
120
|
-
readonly type: "string";
|
|
121
|
-
}];
|
|
122
|
-
readonly name: "setTokenURI";
|
|
123
|
-
readonly outputs: readonly [];
|
|
124
|
-
readonly stateMutability: "nonpayable";
|
|
125
|
-
readonly type: "function";
|
|
126
112
|
}];
|
|
127
113
|
export declare const IDENTITY_REGISTRY_ABI: readonly [{
|
|
128
114
|
readonly inputs: readonly [{
|
|
@@ -231,18 +217,48 @@ export declare const IDENTITY_REGISTRY_ABI: readonly [{
|
|
|
231
217
|
readonly stateMutability: "view";
|
|
232
218
|
readonly type: "function";
|
|
233
219
|
}, {
|
|
234
|
-
readonly inputs: readonly [
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
readonly
|
|
220
|
+
readonly inputs: readonly [];
|
|
221
|
+
readonly name: "DOMAIN_SEPARATOR";
|
|
222
|
+
readonly outputs: readonly [{
|
|
223
|
+
readonly internalType: "bytes32";
|
|
224
|
+
readonly name: "";
|
|
225
|
+
readonly type: "bytes32";
|
|
226
|
+
}];
|
|
227
|
+
readonly stateMutability: "view";
|
|
228
|
+
readonly type: "function";
|
|
229
|
+
}, {
|
|
230
|
+
readonly inputs: readonly [];
|
|
231
|
+
readonly name: "eip712Domain";
|
|
232
|
+
readonly outputs: readonly [{
|
|
233
|
+
readonly internalType: "bytes1";
|
|
234
|
+
readonly name: "fields";
|
|
235
|
+
readonly type: "bytes1";
|
|
236
|
+
}, {
|
|
237
|
+
readonly internalType: "string";
|
|
238
|
+
readonly name: "name";
|
|
239
|
+
readonly type: "string";
|
|
238
240
|
}, {
|
|
239
241
|
readonly internalType: "string";
|
|
240
|
-
readonly name: "
|
|
242
|
+
readonly name: "version";
|
|
241
243
|
readonly type: "string";
|
|
244
|
+
}, {
|
|
245
|
+
readonly internalType: "uint256";
|
|
246
|
+
readonly name: "chainId";
|
|
247
|
+
readonly type: "uint256";
|
|
248
|
+
}, {
|
|
249
|
+
readonly internalType: "address";
|
|
250
|
+
readonly name: "verifyingContract";
|
|
251
|
+
readonly type: "address";
|
|
252
|
+
}, {
|
|
253
|
+
readonly internalType: "bytes32";
|
|
254
|
+
readonly name: "salt";
|
|
255
|
+
readonly type: "bytes32";
|
|
256
|
+
}, {
|
|
257
|
+
readonly internalType: "uint256[]";
|
|
258
|
+
readonly name: "extensions";
|
|
259
|
+
readonly type: "uint256[]";
|
|
242
260
|
}];
|
|
243
|
-
readonly
|
|
244
|
-
readonly outputs: readonly [];
|
|
245
|
-
readonly stateMutability: "nonpayable";
|
|
261
|
+
readonly stateMutability: "view";
|
|
246
262
|
readonly type: "function";
|
|
247
263
|
}, {
|
|
248
264
|
readonly inputs: readonly [];
|
|
@@ -257,7 +273,7 @@ export declare const IDENTITY_REGISTRY_ABI: readonly [{
|
|
|
257
273
|
}, {
|
|
258
274
|
readonly inputs: readonly [{
|
|
259
275
|
readonly internalType: "string";
|
|
260
|
-
readonly name: "
|
|
276
|
+
readonly name: "agentURI";
|
|
261
277
|
readonly type: "string";
|
|
262
278
|
}];
|
|
263
279
|
readonly name: "register";
|
|
@@ -271,19 +287,19 @@ export declare const IDENTITY_REGISTRY_ABI: readonly [{
|
|
|
271
287
|
}, {
|
|
272
288
|
readonly inputs: readonly [{
|
|
273
289
|
readonly internalType: "string";
|
|
274
|
-
readonly name: "
|
|
290
|
+
readonly name: "agentURI";
|
|
275
291
|
readonly type: "string";
|
|
276
292
|
}, {
|
|
277
293
|
readonly components: readonly [{
|
|
278
294
|
readonly internalType: "string";
|
|
279
|
-
readonly name: "
|
|
295
|
+
readonly name: "metadataKey";
|
|
280
296
|
readonly type: "string";
|
|
281
297
|
}, {
|
|
282
298
|
readonly internalType: "bytes";
|
|
283
|
-
readonly name: "
|
|
299
|
+
readonly name: "metadataValue";
|
|
284
300
|
readonly type: "bytes";
|
|
285
301
|
}];
|
|
286
|
-
readonly internalType: "struct
|
|
302
|
+
readonly internalType: "struct IdentityRegistryUpgradeable.MetadataEntry[]";
|
|
287
303
|
readonly name: "metadata";
|
|
288
304
|
readonly type: "tuple[]";
|
|
289
305
|
}];
|
|
@@ -338,13 +354,49 @@ export declare const IDENTITY_REGISTRY_ABI: readonly [{
|
|
|
338
354
|
readonly type: "uint256";
|
|
339
355
|
}, {
|
|
340
356
|
readonly internalType: "string";
|
|
341
|
-
readonly name: "
|
|
357
|
+
readonly name: "newURI";
|
|
342
358
|
readonly type: "string";
|
|
343
359
|
}];
|
|
344
|
-
readonly name: "
|
|
360
|
+
readonly name: "setAgentURI";
|
|
361
|
+
readonly outputs: readonly [];
|
|
362
|
+
readonly stateMutability: "nonpayable";
|
|
363
|
+
readonly type: "function";
|
|
364
|
+
}, {
|
|
365
|
+
readonly inputs: readonly [{
|
|
366
|
+
readonly internalType: "uint256";
|
|
367
|
+
readonly name: "agentId";
|
|
368
|
+
readonly type: "uint256";
|
|
369
|
+
}, {
|
|
370
|
+
readonly internalType: "address";
|
|
371
|
+
readonly name: "newWallet";
|
|
372
|
+
readonly type: "address";
|
|
373
|
+
}, {
|
|
374
|
+
readonly internalType: "uint256";
|
|
375
|
+
readonly name: "deadline";
|
|
376
|
+
readonly type: "uint256";
|
|
377
|
+
}, {
|
|
378
|
+
readonly internalType: "bytes";
|
|
379
|
+
readonly name: "signature";
|
|
380
|
+
readonly type: "bytes";
|
|
381
|
+
}];
|
|
382
|
+
readonly name: "setAgentWallet";
|
|
345
383
|
readonly outputs: readonly [];
|
|
346
384
|
readonly stateMutability: "nonpayable";
|
|
347
385
|
readonly type: "function";
|
|
386
|
+
}, {
|
|
387
|
+
readonly inputs: readonly [{
|
|
388
|
+
readonly internalType: "uint256";
|
|
389
|
+
readonly name: "agentId";
|
|
390
|
+
readonly type: "uint256";
|
|
391
|
+
}];
|
|
392
|
+
readonly name: "getAgentWallet";
|
|
393
|
+
readonly outputs: readonly [{
|
|
394
|
+
readonly internalType: "address";
|
|
395
|
+
readonly name: "";
|
|
396
|
+
readonly type: "address";
|
|
397
|
+
}];
|
|
398
|
+
readonly stateMutability: "view";
|
|
399
|
+
readonly type: "function";
|
|
348
400
|
}, {
|
|
349
401
|
readonly anonymous: false;
|
|
350
402
|
readonly inputs: readonly [{
|
|
@@ -355,7 +407,7 @@ export declare const IDENTITY_REGISTRY_ABI: readonly [{
|
|
|
355
407
|
}, {
|
|
356
408
|
readonly indexed: false;
|
|
357
409
|
readonly internalType: "string";
|
|
358
|
-
readonly name: "
|
|
410
|
+
readonly name: "agentURI";
|
|
359
411
|
readonly type: "string";
|
|
360
412
|
}, {
|
|
361
413
|
readonly indexed: true;
|
|
@@ -365,6 +417,26 @@ export declare const IDENTITY_REGISTRY_ABI: readonly [{
|
|
|
365
417
|
}];
|
|
366
418
|
readonly name: "Registered";
|
|
367
419
|
readonly type: "event";
|
|
420
|
+
}, {
|
|
421
|
+
readonly anonymous: false;
|
|
422
|
+
readonly inputs: readonly [{
|
|
423
|
+
readonly indexed: true;
|
|
424
|
+
readonly internalType: "uint256";
|
|
425
|
+
readonly name: "agentId";
|
|
426
|
+
readonly type: "uint256";
|
|
427
|
+
}, {
|
|
428
|
+
readonly indexed: false;
|
|
429
|
+
readonly internalType: "string";
|
|
430
|
+
readonly name: "newURI";
|
|
431
|
+
readonly type: "string";
|
|
432
|
+
}, {
|
|
433
|
+
readonly indexed: true;
|
|
434
|
+
readonly internalType: "address";
|
|
435
|
+
readonly name: "updatedBy";
|
|
436
|
+
readonly type: "address";
|
|
437
|
+
}];
|
|
438
|
+
readonly name: "URIUpdated";
|
|
439
|
+
readonly type: "event";
|
|
368
440
|
}, {
|
|
369
441
|
readonly anonymous: false;
|
|
370
442
|
readonly inputs: readonly [{
|
|
@@ -375,17 +447,17 @@ export declare const IDENTITY_REGISTRY_ABI: readonly [{
|
|
|
375
447
|
}, {
|
|
376
448
|
readonly indexed: true;
|
|
377
449
|
readonly internalType: "string";
|
|
378
|
-
readonly name: "
|
|
450
|
+
readonly name: "indexedMetadataKey";
|
|
379
451
|
readonly type: "string";
|
|
380
452
|
}, {
|
|
381
453
|
readonly indexed: false;
|
|
382
454
|
readonly internalType: "string";
|
|
383
|
-
readonly name: "
|
|
455
|
+
readonly name: "metadataKey";
|
|
384
456
|
readonly type: "string";
|
|
385
457
|
}, {
|
|
386
458
|
readonly indexed: false;
|
|
387
459
|
readonly internalType: "bytes";
|
|
388
|
-
readonly name: "
|
|
460
|
+
readonly name: "metadataValue";
|
|
389
461
|
readonly type: "bytes";
|
|
390
462
|
}];
|
|
391
463
|
readonly name: "MetadataSet";
|
|
@@ -411,25 +483,25 @@ export declare const REPUTATION_REGISTRY_ABI: readonly [{
|
|
|
411
483
|
readonly name: "score";
|
|
412
484
|
readonly type: "uint8";
|
|
413
485
|
}, {
|
|
414
|
-
readonly internalType: "
|
|
486
|
+
readonly internalType: "string";
|
|
415
487
|
readonly name: "tag1";
|
|
416
|
-
readonly type: "
|
|
488
|
+
readonly type: "string";
|
|
417
489
|
}, {
|
|
418
|
-
readonly internalType: "
|
|
490
|
+
readonly internalType: "string";
|
|
419
491
|
readonly name: "tag2";
|
|
420
|
-
readonly type: "
|
|
492
|
+
readonly type: "string";
|
|
421
493
|
}, {
|
|
422
494
|
readonly internalType: "string";
|
|
423
|
-
readonly name: "
|
|
495
|
+
readonly name: "endpoint";
|
|
496
|
+
readonly type: "string";
|
|
497
|
+
}, {
|
|
498
|
+
readonly internalType: "string";
|
|
499
|
+
readonly name: "feedbackURI";
|
|
424
500
|
readonly type: "string";
|
|
425
501
|
}, {
|
|
426
502
|
readonly internalType: "bytes32";
|
|
427
503
|
readonly name: "feedbackHash";
|
|
428
504
|
readonly type: "bytes32";
|
|
429
|
-
}, {
|
|
430
|
-
readonly internalType: "bytes";
|
|
431
|
-
readonly name: "feedbackAuth";
|
|
432
|
-
readonly type: "bytes";
|
|
433
505
|
}];
|
|
434
506
|
readonly name: "giveFeedback";
|
|
435
507
|
readonly outputs: readonly [];
|
|
@@ -464,7 +536,7 @@ export declare const REPUTATION_REGISTRY_ABI: readonly [{
|
|
|
464
536
|
readonly type: "uint64";
|
|
465
537
|
}, {
|
|
466
538
|
readonly internalType: "string";
|
|
467
|
-
readonly name: "
|
|
539
|
+
readonly name: "responseURI";
|
|
468
540
|
readonly type: "string";
|
|
469
541
|
}, {
|
|
470
542
|
readonly internalType: "bytes32";
|
|
@@ -504,7 +576,7 @@ export declare const REPUTATION_REGISTRY_ABI: readonly [{
|
|
|
504
576
|
readonly type: "address";
|
|
505
577
|
}, {
|
|
506
578
|
readonly internalType: "uint64";
|
|
507
|
-
readonly name: "
|
|
579
|
+
readonly name: "feedbackIndex";
|
|
508
580
|
readonly type: "uint64";
|
|
509
581
|
}];
|
|
510
582
|
readonly name: "readFeedback";
|
|
@@ -513,13 +585,13 @@ export declare const REPUTATION_REGISTRY_ABI: readonly [{
|
|
|
513
585
|
readonly name: "score";
|
|
514
586
|
readonly type: "uint8";
|
|
515
587
|
}, {
|
|
516
|
-
readonly internalType: "
|
|
588
|
+
readonly internalType: "string";
|
|
517
589
|
readonly name: "tag1";
|
|
518
|
-
readonly type: "
|
|
590
|
+
readonly type: "string";
|
|
519
591
|
}, {
|
|
520
|
-
readonly internalType: "
|
|
592
|
+
readonly internalType: "string";
|
|
521
593
|
readonly name: "tag2";
|
|
522
|
-
readonly type: "
|
|
594
|
+
readonly type: "string";
|
|
523
595
|
}, {
|
|
524
596
|
readonly internalType: "bool";
|
|
525
597
|
readonly name: "isRevoked";
|
|
@@ -537,13 +609,13 @@ export declare const REPUTATION_REGISTRY_ABI: readonly [{
|
|
|
537
609
|
readonly name: "clientAddresses";
|
|
538
610
|
readonly type: "address[]";
|
|
539
611
|
}, {
|
|
540
|
-
readonly internalType: "
|
|
612
|
+
readonly internalType: "string";
|
|
541
613
|
readonly name: "tag1";
|
|
542
|
-
readonly type: "
|
|
614
|
+
readonly type: "string";
|
|
543
615
|
}, {
|
|
544
|
-
readonly internalType: "
|
|
616
|
+
readonly internalType: "string";
|
|
545
617
|
readonly name: "tag2";
|
|
546
|
-
readonly type: "
|
|
618
|
+
readonly type: "string";
|
|
547
619
|
}];
|
|
548
620
|
readonly name: "getSummary";
|
|
549
621
|
readonly outputs: readonly [{
|
|
@@ -557,6 +629,70 @@ export declare const REPUTATION_REGISTRY_ABI: readonly [{
|
|
|
557
629
|
}];
|
|
558
630
|
readonly stateMutability: "view";
|
|
559
631
|
readonly type: "function";
|
|
632
|
+
}, {
|
|
633
|
+
readonly inputs: readonly [{
|
|
634
|
+
readonly internalType: "uint256";
|
|
635
|
+
readonly name: "agentId";
|
|
636
|
+
readonly type: "uint256";
|
|
637
|
+
}, {
|
|
638
|
+
readonly internalType: "address[]";
|
|
639
|
+
readonly name: "clientAddresses";
|
|
640
|
+
readonly type: "address[]";
|
|
641
|
+
}, {
|
|
642
|
+
readonly internalType: "string";
|
|
643
|
+
readonly name: "tag1";
|
|
644
|
+
readonly type: "string";
|
|
645
|
+
}, {
|
|
646
|
+
readonly internalType: "string";
|
|
647
|
+
readonly name: "tag2";
|
|
648
|
+
readonly type: "string";
|
|
649
|
+
}, {
|
|
650
|
+
readonly internalType: "bool";
|
|
651
|
+
readonly name: "includeRevoked";
|
|
652
|
+
readonly type: "bool";
|
|
653
|
+
}];
|
|
654
|
+
readonly name: "readAllFeedback";
|
|
655
|
+
readonly outputs: readonly [{
|
|
656
|
+
readonly internalType: "address[]";
|
|
657
|
+
readonly name: "clients";
|
|
658
|
+
readonly type: "address[]";
|
|
659
|
+
}, {
|
|
660
|
+
readonly internalType: "uint64[]";
|
|
661
|
+
readonly name: "feedbackIndexes";
|
|
662
|
+
readonly type: "uint64[]";
|
|
663
|
+
}, {
|
|
664
|
+
readonly internalType: "uint8[]";
|
|
665
|
+
readonly name: "scores";
|
|
666
|
+
readonly type: "uint8[]";
|
|
667
|
+
}, {
|
|
668
|
+
readonly internalType: "string[]";
|
|
669
|
+
readonly name: "tag1s";
|
|
670
|
+
readonly type: "string[]";
|
|
671
|
+
}, {
|
|
672
|
+
readonly internalType: "string[]";
|
|
673
|
+
readonly name: "tag2s";
|
|
674
|
+
readonly type: "string[]";
|
|
675
|
+
}, {
|
|
676
|
+
readonly internalType: "bool[]";
|
|
677
|
+
readonly name: "revokedStatuses";
|
|
678
|
+
readonly type: "bool[]";
|
|
679
|
+
}];
|
|
680
|
+
readonly stateMutability: "view";
|
|
681
|
+
readonly type: "function";
|
|
682
|
+
}, {
|
|
683
|
+
readonly inputs: readonly [{
|
|
684
|
+
readonly internalType: "uint256";
|
|
685
|
+
readonly name: "agentId";
|
|
686
|
+
readonly type: "uint256";
|
|
687
|
+
}];
|
|
688
|
+
readonly name: "getClients";
|
|
689
|
+
readonly outputs: readonly [{
|
|
690
|
+
readonly internalType: "address[]";
|
|
691
|
+
readonly name: "";
|
|
692
|
+
readonly type: "address[]";
|
|
693
|
+
}];
|
|
694
|
+
readonly stateMutability: "view";
|
|
695
|
+
readonly type: "function";
|
|
560
696
|
}, {
|
|
561
697
|
readonly anonymous: false;
|
|
562
698
|
readonly inputs: readonly [{
|
|
@@ -569,6 +705,11 @@ export declare const REPUTATION_REGISTRY_ABI: readonly [{
|
|
|
569
705
|
readonly internalType: "address";
|
|
570
706
|
readonly name: "clientAddress";
|
|
571
707
|
readonly type: "address";
|
|
708
|
+
}, {
|
|
709
|
+
readonly indexed: false;
|
|
710
|
+
readonly internalType: "uint64";
|
|
711
|
+
readonly name: "feedbackIndex";
|
|
712
|
+
readonly type: "uint64";
|
|
572
713
|
}, {
|
|
573
714
|
readonly indexed: false;
|
|
574
715
|
readonly internalType: "uint8";
|
|
@@ -576,18 +717,28 @@ export declare const REPUTATION_REGISTRY_ABI: readonly [{
|
|
|
576
717
|
readonly type: "uint8";
|
|
577
718
|
}, {
|
|
578
719
|
readonly indexed: true;
|
|
579
|
-
readonly internalType: "
|
|
720
|
+
readonly internalType: "string";
|
|
721
|
+
readonly name: "indexedTag1";
|
|
722
|
+
readonly type: "string";
|
|
723
|
+
}, {
|
|
724
|
+
readonly indexed: false;
|
|
725
|
+
readonly internalType: "string";
|
|
580
726
|
readonly name: "tag1";
|
|
581
|
-
readonly type: "
|
|
727
|
+
readonly type: "string";
|
|
582
728
|
}, {
|
|
583
729
|
readonly indexed: false;
|
|
584
|
-
readonly internalType: "
|
|
730
|
+
readonly internalType: "string";
|
|
585
731
|
readonly name: "tag2";
|
|
586
|
-
readonly type: "
|
|
732
|
+
readonly type: "string";
|
|
587
733
|
}, {
|
|
588
734
|
readonly indexed: false;
|
|
589
735
|
readonly internalType: "string";
|
|
590
|
-
readonly name: "
|
|
736
|
+
readonly name: "endpoint";
|
|
737
|
+
readonly type: "string";
|
|
738
|
+
}, {
|
|
739
|
+
readonly indexed: false;
|
|
740
|
+
readonly internalType: "string";
|
|
741
|
+
readonly name: "feedbackURI";
|
|
591
742
|
readonly type: "string";
|
|
592
743
|
}, {
|
|
593
744
|
readonly indexed: false;
|
|
@@ -661,21 +812,145 @@ export declare const VALIDATION_REGISTRY_ABI: readonly [{
|
|
|
661
812
|
readonly type: "uint8";
|
|
662
813
|
}, {
|
|
663
814
|
readonly internalType: "string";
|
|
664
|
-
readonly name: "
|
|
815
|
+
readonly name: "responseURI";
|
|
665
816
|
readonly type: "string";
|
|
666
817
|
}, {
|
|
667
818
|
readonly internalType: "bytes32";
|
|
668
819
|
readonly name: "responseHash";
|
|
669
820
|
readonly type: "bytes32";
|
|
670
821
|
}, {
|
|
671
|
-
readonly internalType: "
|
|
822
|
+
readonly internalType: "string";
|
|
672
823
|
readonly name: "tag";
|
|
673
|
-
readonly type: "
|
|
824
|
+
readonly type: "string";
|
|
674
825
|
}];
|
|
675
826
|
readonly name: "validationResponse";
|
|
676
827
|
readonly outputs: readonly [];
|
|
677
828
|
readonly stateMutability: "nonpayable";
|
|
678
829
|
readonly type: "function";
|
|
830
|
+
}, {
|
|
831
|
+
readonly inputs: readonly [{
|
|
832
|
+
readonly internalType: "bytes32";
|
|
833
|
+
readonly name: "requestHash";
|
|
834
|
+
readonly type: "bytes32";
|
|
835
|
+
}];
|
|
836
|
+
readonly name: "getValidationStatus";
|
|
837
|
+
readonly outputs: readonly [{
|
|
838
|
+
readonly internalType: "address";
|
|
839
|
+
readonly name: "validatorAddress";
|
|
840
|
+
readonly type: "address";
|
|
841
|
+
}, {
|
|
842
|
+
readonly internalType: "uint256";
|
|
843
|
+
readonly name: "agentId";
|
|
844
|
+
readonly type: "uint256";
|
|
845
|
+
}, {
|
|
846
|
+
readonly internalType: "uint8";
|
|
847
|
+
readonly name: "response";
|
|
848
|
+
readonly type: "uint8";
|
|
849
|
+
}, {
|
|
850
|
+
readonly internalType: "string";
|
|
851
|
+
readonly name: "tag";
|
|
852
|
+
readonly type: "string";
|
|
853
|
+
}, {
|
|
854
|
+
readonly internalType: "uint256";
|
|
855
|
+
readonly name: "lastUpdate";
|
|
856
|
+
readonly type: "uint256";
|
|
857
|
+
}];
|
|
858
|
+
readonly stateMutability: "view";
|
|
859
|
+
readonly type: "function";
|
|
860
|
+
}, {
|
|
861
|
+
readonly inputs: readonly [{
|
|
862
|
+
readonly internalType: "uint256";
|
|
863
|
+
readonly name: "agentId";
|
|
864
|
+
readonly type: "uint256";
|
|
865
|
+
}, {
|
|
866
|
+
readonly internalType: "address[]";
|
|
867
|
+
readonly name: "validatorAddresses";
|
|
868
|
+
readonly type: "address[]";
|
|
869
|
+
}, {
|
|
870
|
+
readonly internalType: "string";
|
|
871
|
+
readonly name: "tag";
|
|
872
|
+
readonly type: "string";
|
|
873
|
+
}];
|
|
874
|
+
readonly name: "getSummary";
|
|
875
|
+
readonly outputs: readonly [{
|
|
876
|
+
readonly internalType: "uint64";
|
|
877
|
+
readonly name: "count";
|
|
878
|
+
readonly type: "uint64";
|
|
879
|
+
}, {
|
|
880
|
+
readonly internalType: "uint8";
|
|
881
|
+
readonly name: "avgResponse";
|
|
882
|
+
readonly type: "uint8";
|
|
883
|
+
}];
|
|
884
|
+
readonly stateMutability: "view";
|
|
885
|
+
readonly type: "function";
|
|
886
|
+
}, {
|
|
887
|
+
readonly inputs: readonly [{
|
|
888
|
+
readonly internalType: "uint256";
|
|
889
|
+
readonly name: "agentId";
|
|
890
|
+
readonly type: "uint256";
|
|
891
|
+
}];
|
|
892
|
+
readonly name: "getAgentValidations";
|
|
893
|
+
readonly outputs: readonly [{
|
|
894
|
+
readonly internalType: "bytes32[]";
|
|
895
|
+
readonly name: "";
|
|
896
|
+
readonly type: "bytes32[]";
|
|
897
|
+
}];
|
|
898
|
+
readonly stateMutability: "view";
|
|
899
|
+
readonly type: "function";
|
|
900
|
+
}, {
|
|
901
|
+
readonly inputs: readonly [{
|
|
902
|
+
readonly internalType: "address";
|
|
903
|
+
readonly name: "validatorAddress";
|
|
904
|
+
readonly type: "address";
|
|
905
|
+
}];
|
|
906
|
+
readonly name: "getValidatorRequests";
|
|
907
|
+
readonly outputs: readonly [{
|
|
908
|
+
readonly internalType: "bytes32[]";
|
|
909
|
+
readonly name: "";
|
|
910
|
+
readonly type: "bytes32[]";
|
|
911
|
+
}];
|
|
912
|
+
readonly stateMutability: "view";
|
|
913
|
+
readonly type: "function";
|
|
914
|
+
}, {
|
|
915
|
+
readonly anonymous: false;
|
|
916
|
+
readonly inputs: readonly [{
|
|
917
|
+
readonly indexed: true;
|
|
918
|
+
readonly internalType: "address";
|
|
919
|
+
readonly name: "validatorAddress";
|
|
920
|
+
readonly type: "address";
|
|
921
|
+
}, {
|
|
922
|
+
readonly indexed: true;
|
|
923
|
+
readonly internalType: "uint256";
|
|
924
|
+
readonly name: "agentId";
|
|
925
|
+
readonly type: "uint256";
|
|
926
|
+
}, {
|
|
927
|
+
readonly indexed: true;
|
|
928
|
+
readonly internalType: "bytes32";
|
|
929
|
+
readonly name: "requestHash";
|
|
930
|
+
readonly type: "bytes32";
|
|
931
|
+
}, {
|
|
932
|
+
readonly indexed: false;
|
|
933
|
+
readonly internalType: "uint8";
|
|
934
|
+
readonly name: "response";
|
|
935
|
+
readonly type: "uint8";
|
|
936
|
+
}, {
|
|
937
|
+
readonly indexed: false;
|
|
938
|
+
readonly internalType: "string";
|
|
939
|
+
readonly name: "responseURI";
|
|
940
|
+
readonly type: "string";
|
|
941
|
+
}, {
|
|
942
|
+
readonly indexed: false;
|
|
943
|
+
readonly internalType: "bytes32";
|
|
944
|
+
readonly name: "responseHash";
|
|
945
|
+
readonly type: "bytes32";
|
|
946
|
+
}, {
|
|
947
|
+
readonly indexed: false;
|
|
948
|
+
readonly internalType: "string";
|
|
949
|
+
readonly name: "tag";
|
|
950
|
+
readonly type: "string";
|
|
951
|
+
}];
|
|
952
|
+
readonly name: "ValidationResponse";
|
|
953
|
+
readonly type: "event";
|
|
679
954
|
}];
|
|
680
955
|
/**
|
|
681
956
|
* Contract registry for different chains
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"contracts.d.ts","sourceRoot":"","sources":["../../src/core/contracts.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,oBAAoB,CAAC;AAGlD,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAwDb,CAAC;AAGX,eAAO,MAAM,sBAAsB
|
|
1
|
+
{"version":3,"file":"contracts.d.ts","sourceRoot":"","sources":["../../src/core/contracts.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,oBAAoB,CAAC;AAGlD,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAwDb,CAAC;AAGX,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;EAQzB,CAAC;AAGX,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA0IxB,CAAC;AAGX,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA+I1B,CAAC;AAGX,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA8F1B,CAAC;AAEX;;GAEG;AACH,eAAO,MAAM,kBAAkB,EAAE,MAAM,CAAC,OAAO,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAQtE,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,qBAAqB,EAAE,MAAM,CAAC,OAAO,EAAE,MAAM,CAGzD,CAAC"}
|