@aixyz/erc-8004 0.0.6

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.
@@ -0,0 +1,730 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ReputationRegistryAbi_V2 = void 0;
4
+ exports.ReputationRegistryAbi_V2 = [
5
+ {
6
+ inputs: [],
7
+ stateMutability: "nonpayable",
8
+ type: "constructor",
9
+ },
10
+ {
11
+ inputs: [
12
+ {
13
+ internalType: "address",
14
+ name: "target",
15
+ type: "address",
16
+ },
17
+ ],
18
+ name: "AddressEmptyCode",
19
+ type: "error",
20
+ },
21
+ {
22
+ inputs: [
23
+ {
24
+ internalType: "address",
25
+ name: "implementation",
26
+ type: "address",
27
+ },
28
+ ],
29
+ name: "ERC1967InvalidImplementation",
30
+ type: "error",
31
+ },
32
+ {
33
+ inputs: [],
34
+ name: "ERC1967NonPayable",
35
+ type: "error",
36
+ },
37
+ {
38
+ inputs: [],
39
+ name: "FailedCall",
40
+ type: "error",
41
+ },
42
+ {
43
+ inputs: [],
44
+ name: "InvalidInitialization",
45
+ type: "error",
46
+ },
47
+ {
48
+ inputs: [],
49
+ name: "NotInitializing",
50
+ type: "error",
51
+ },
52
+ {
53
+ inputs: [
54
+ {
55
+ internalType: "address",
56
+ name: "owner",
57
+ type: "address",
58
+ },
59
+ ],
60
+ name: "OwnableInvalidOwner",
61
+ type: "error",
62
+ },
63
+ {
64
+ inputs: [
65
+ {
66
+ internalType: "address",
67
+ name: "account",
68
+ type: "address",
69
+ },
70
+ ],
71
+ name: "OwnableUnauthorizedAccount",
72
+ type: "error",
73
+ },
74
+ {
75
+ inputs: [],
76
+ name: "UUPSUnauthorizedCallContext",
77
+ type: "error",
78
+ },
79
+ {
80
+ inputs: [
81
+ {
82
+ internalType: "bytes32",
83
+ name: "slot",
84
+ type: "bytes32",
85
+ },
86
+ ],
87
+ name: "UUPSUnsupportedProxiableUUID",
88
+ type: "error",
89
+ },
90
+ {
91
+ anonymous: false,
92
+ inputs: [
93
+ {
94
+ indexed: true,
95
+ internalType: "uint256",
96
+ name: "agentId",
97
+ type: "uint256",
98
+ },
99
+ {
100
+ indexed: true,
101
+ internalType: "address",
102
+ name: "clientAddress",
103
+ type: "address",
104
+ },
105
+ {
106
+ indexed: true,
107
+ internalType: "uint64",
108
+ name: "feedbackIndex",
109
+ type: "uint64",
110
+ },
111
+ ],
112
+ name: "FeedbackRevoked",
113
+ type: "event",
114
+ },
115
+ {
116
+ anonymous: false,
117
+ inputs: [
118
+ {
119
+ indexed: false,
120
+ internalType: "uint64",
121
+ name: "version",
122
+ type: "uint64",
123
+ },
124
+ ],
125
+ name: "Initialized",
126
+ type: "event",
127
+ },
128
+ {
129
+ anonymous: false,
130
+ inputs: [
131
+ {
132
+ indexed: true,
133
+ internalType: "uint256",
134
+ name: "agentId",
135
+ type: "uint256",
136
+ },
137
+ {
138
+ indexed: true,
139
+ internalType: "address",
140
+ name: "clientAddress",
141
+ type: "address",
142
+ },
143
+ {
144
+ indexed: false,
145
+ internalType: "uint64",
146
+ name: "feedbackIndex",
147
+ type: "uint64",
148
+ },
149
+ {
150
+ indexed: false,
151
+ internalType: "int256",
152
+ name: "value",
153
+ type: "int256",
154
+ },
155
+ {
156
+ indexed: false,
157
+ internalType: "uint8",
158
+ name: "valueDecimals",
159
+ type: "uint8",
160
+ },
161
+ {
162
+ indexed: true,
163
+ internalType: "string",
164
+ name: "indexedTag1",
165
+ type: "string",
166
+ },
167
+ {
168
+ indexed: false,
169
+ internalType: "string",
170
+ name: "tag1",
171
+ type: "string",
172
+ },
173
+ {
174
+ indexed: false,
175
+ internalType: "string",
176
+ name: "tag2",
177
+ type: "string",
178
+ },
179
+ {
180
+ indexed: false,
181
+ internalType: "string",
182
+ name: "endpoint",
183
+ type: "string",
184
+ },
185
+ {
186
+ indexed: false,
187
+ internalType: "string",
188
+ name: "feedbackURI",
189
+ type: "string",
190
+ },
191
+ {
192
+ indexed: false,
193
+ internalType: "bytes32",
194
+ name: "feedbackHash",
195
+ type: "bytes32",
196
+ },
197
+ ],
198
+ name: "NewFeedback",
199
+ type: "event",
200
+ },
201
+ {
202
+ anonymous: false,
203
+ inputs: [
204
+ {
205
+ indexed: true,
206
+ internalType: "address",
207
+ name: "previousOwner",
208
+ type: "address",
209
+ },
210
+ {
211
+ indexed: true,
212
+ internalType: "address",
213
+ name: "newOwner",
214
+ type: "address",
215
+ },
216
+ ],
217
+ name: "OwnershipTransferred",
218
+ type: "event",
219
+ },
220
+ {
221
+ anonymous: false,
222
+ inputs: [
223
+ {
224
+ indexed: true,
225
+ internalType: "uint256",
226
+ name: "agentId",
227
+ type: "uint256",
228
+ },
229
+ {
230
+ indexed: true,
231
+ internalType: "address",
232
+ name: "clientAddress",
233
+ type: "address",
234
+ },
235
+ {
236
+ indexed: false,
237
+ internalType: "uint64",
238
+ name: "feedbackIndex",
239
+ type: "uint64",
240
+ },
241
+ {
242
+ indexed: true,
243
+ internalType: "address",
244
+ name: "responder",
245
+ type: "address",
246
+ },
247
+ {
248
+ indexed: false,
249
+ internalType: "string",
250
+ name: "responseURI",
251
+ type: "string",
252
+ },
253
+ {
254
+ indexed: false,
255
+ internalType: "bytes32",
256
+ name: "responseHash",
257
+ type: "bytes32",
258
+ },
259
+ ],
260
+ name: "ResponseAppended",
261
+ type: "event",
262
+ },
263
+ {
264
+ anonymous: false,
265
+ inputs: [
266
+ {
267
+ indexed: true,
268
+ internalType: "address",
269
+ name: "implementation",
270
+ type: "address",
271
+ },
272
+ ],
273
+ name: "Upgraded",
274
+ type: "event",
275
+ },
276
+ {
277
+ inputs: [],
278
+ name: "UPGRADE_INTERFACE_VERSION",
279
+ outputs: [
280
+ {
281
+ internalType: "string",
282
+ name: "",
283
+ type: "string",
284
+ },
285
+ ],
286
+ stateMutability: "view",
287
+ type: "function",
288
+ },
289
+ {
290
+ inputs: [
291
+ {
292
+ internalType: "uint256",
293
+ name: "agentId",
294
+ type: "uint256",
295
+ },
296
+ {
297
+ internalType: "address",
298
+ name: "clientAddress",
299
+ type: "address",
300
+ },
301
+ {
302
+ internalType: "uint64",
303
+ name: "feedbackIndex",
304
+ type: "uint64",
305
+ },
306
+ {
307
+ internalType: "string",
308
+ name: "responseURI",
309
+ type: "string",
310
+ },
311
+ {
312
+ internalType: "bytes32",
313
+ name: "responseHash",
314
+ type: "bytes32",
315
+ },
316
+ ],
317
+ name: "appendResponse",
318
+ outputs: [],
319
+ stateMutability: "nonpayable",
320
+ type: "function",
321
+ },
322
+ {
323
+ inputs: [
324
+ {
325
+ internalType: "uint256",
326
+ name: "agentId",
327
+ type: "uint256",
328
+ },
329
+ ],
330
+ name: "getClients",
331
+ outputs: [
332
+ {
333
+ internalType: "address[]",
334
+ name: "",
335
+ type: "address[]",
336
+ },
337
+ ],
338
+ stateMutability: "view",
339
+ type: "function",
340
+ },
341
+ {
342
+ inputs: [],
343
+ name: "getIdentityRegistry",
344
+ outputs: [
345
+ {
346
+ internalType: "address",
347
+ name: "",
348
+ type: "address",
349
+ },
350
+ ],
351
+ stateMutability: "view",
352
+ type: "function",
353
+ },
354
+ {
355
+ inputs: [
356
+ {
357
+ internalType: "uint256",
358
+ name: "agentId",
359
+ type: "uint256",
360
+ },
361
+ {
362
+ internalType: "address",
363
+ name: "clientAddress",
364
+ type: "address",
365
+ },
366
+ ],
367
+ name: "getLastIndex",
368
+ outputs: [
369
+ {
370
+ internalType: "uint64",
371
+ name: "",
372
+ type: "uint64",
373
+ },
374
+ ],
375
+ stateMutability: "view",
376
+ type: "function",
377
+ },
378
+ {
379
+ inputs: [
380
+ {
381
+ internalType: "uint256",
382
+ name: "agentId",
383
+ type: "uint256",
384
+ },
385
+ {
386
+ internalType: "address",
387
+ name: "clientAddress",
388
+ type: "address",
389
+ },
390
+ {
391
+ internalType: "uint64",
392
+ name: "feedbackIndex",
393
+ type: "uint64",
394
+ },
395
+ {
396
+ internalType: "address[]",
397
+ name: "responders",
398
+ type: "address[]",
399
+ },
400
+ ],
401
+ name: "getResponseCount",
402
+ outputs: [
403
+ {
404
+ internalType: "uint64",
405
+ name: "count",
406
+ type: "uint64",
407
+ },
408
+ ],
409
+ stateMutability: "view",
410
+ type: "function",
411
+ },
412
+ {
413
+ inputs: [
414
+ {
415
+ internalType: "uint256",
416
+ name: "agentId",
417
+ type: "uint256",
418
+ },
419
+ {
420
+ internalType: "address[]",
421
+ name: "clientAddresses",
422
+ type: "address[]",
423
+ },
424
+ {
425
+ internalType: "string",
426
+ name: "tag1",
427
+ type: "string",
428
+ },
429
+ {
430
+ internalType: "string",
431
+ name: "tag2",
432
+ type: "string",
433
+ },
434
+ ],
435
+ name: "getSummary",
436
+ outputs: [
437
+ {
438
+ internalType: "uint64",
439
+ name: "count",
440
+ type: "uint64",
441
+ },
442
+ {
443
+ internalType: "int256",
444
+ name: "summaryValue",
445
+ type: "int256",
446
+ },
447
+ {
448
+ internalType: "uint8",
449
+ name: "summaryValueDecimals",
450
+ type: "uint8",
451
+ },
452
+ ],
453
+ stateMutability: "view",
454
+ type: "function",
455
+ },
456
+ {
457
+ inputs: [],
458
+ name: "getVersion",
459
+ outputs: [
460
+ {
461
+ internalType: "string",
462
+ name: "",
463
+ type: "string",
464
+ },
465
+ ],
466
+ stateMutability: "pure",
467
+ type: "function",
468
+ },
469
+ {
470
+ inputs: [
471
+ {
472
+ internalType: "uint256",
473
+ name: "agentId",
474
+ type: "uint256",
475
+ },
476
+ {
477
+ internalType: "int256",
478
+ name: "value",
479
+ type: "int256",
480
+ },
481
+ {
482
+ internalType: "uint8",
483
+ name: "valueDecimals",
484
+ type: "uint8",
485
+ },
486
+ {
487
+ internalType: "string",
488
+ name: "tag1",
489
+ type: "string",
490
+ },
491
+ {
492
+ internalType: "string",
493
+ name: "tag2",
494
+ type: "string",
495
+ },
496
+ {
497
+ internalType: "string",
498
+ name: "endpoint",
499
+ type: "string",
500
+ },
501
+ {
502
+ internalType: "string",
503
+ name: "feedbackURI",
504
+ type: "string",
505
+ },
506
+ {
507
+ internalType: "bytes32",
508
+ name: "feedbackHash",
509
+ type: "bytes32",
510
+ },
511
+ ],
512
+ name: "giveFeedback",
513
+ outputs: [],
514
+ stateMutability: "nonpayable",
515
+ type: "function",
516
+ },
517
+ {
518
+ inputs: [
519
+ {
520
+ internalType: "address",
521
+ name: "identityRegistry_",
522
+ type: "address",
523
+ },
524
+ ],
525
+ name: "initialize",
526
+ outputs: [],
527
+ stateMutability: "nonpayable",
528
+ type: "function",
529
+ },
530
+ {
531
+ inputs: [],
532
+ name: "owner",
533
+ outputs: [
534
+ {
535
+ internalType: "address",
536
+ name: "",
537
+ type: "address",
538
+ },
539
+ ],
540
+ stateMutability: "view",
541
+ type: "function",
542
+ },
543
+ {
544
+ inputs: [],
545
+ name: "proxiableUUID",
546
+ outputs: [
547
+ {
548
+ internalType: "bytes32",
549
+ name: "",
550
+ type: "bytes32",
551
+ },
552
+ ],
553
+ stateMutability: "view",
554
+ type: "function",
555
+ },
556
+ {
557
+ inputs: [
558
+ {
559
+ internalType: "uint256",
560
+ name: "agentId",
561
+ type: "uint256",
562
+ },
563
+ {
564
+ internalType: "address[]",
565
+ name: "clientAddresses",
566
+ type: "address[]",
567
+ },
568
+ {
569
+ internalType: "string",
570
+ name: "tag1",
571
+ type: "string",
572
+ },
573
+ {
574
+ internalType: "string",
575
+ name: "tag2",
576
+ type: "string",
577
+ },
578
+ {
579
+ internalType: "bool",
580
+ name: "includeRevoked",
581
+ type: "bool",
582
+ },
583
+ ],
584
+ name: "readAllFeedback",
585
+ outputs: [
586
+ {
587
+ internalType: "address[]",
588
+ name: "clients",
589
+ type: "address[]",
590
+ },
591
+ {
592
+ internalType: "uint64[]",
593
+ name: "feedbackIndexes",
594
+ type: "uint64[]",
595
+ },
596
+ {
597
+ internalType: "int256[]",
598
+ name: "values",
599
+ type: "int256[]",
600
+ },
601
+ {
602
+ internalType: "uint8[]",
603
+ name: "valueDecimals",
604
+ type: "uint8[]",
605
+ },
606
+ {
607
+ internalType: "string[]",
608
+ name: "tag1s",
609
+ type: "string[]",
610
+ },
611
+ {
612
+ internalType: "string[]",
613
+ name: "tag2s",
614
+ type: "string[]",
615
+ },
616
+ {
617
+ internalType: "bool[]",
618
+ name: "revokedStatuses",
619
+ type: "bool[]",
620
+ },
621
+ ],
622
+ stateMutability: "view",
623
+ type: "function",
624
+ },
625
+ {
626
+ inputs: [
627
+ {
628
+ internalType: "uint256",
629
+ name: "agentId",
630
+ type: "uint256",
631
+ },
632
+ {
633
+ internalType: "address",
634
+ name: "clientAddress",
635
+ type: "address",
636
+ },
637
+ {
638
+ internalType: "uint64",
639
+ name: "feedbackIndex",
640
+ type: "uint64",
641
+ },
642
+ ],
643
+ name: "readFeedback",
644
+ outputs: [
645
+ {
646
+ internalType: "int256",
647
+ name: "value",
648
+ type: "int256",
649
+ },
650
+ {
651
+ internalType: "uint8",
652
+ name: "valueDecimals",
653
+ type: "uint8",
654
+ },
655
+ {
656
+ internalType: "string",
657
+ name: "tag1",
658
+ type: "string",
659
+ },
660
+ {
661
+ internalType: "string",
662
+ name: "tag2",
663
+ type: "string",
664
+ },
665
+ {
666
+ internalType: "bool",
667
+ name: "isRevoked",
668
+ type: "bool",
669
+ },
670
+ ],
671
+ stateMutability: "view",
672
+ type: "function",
673
+ },
674
+ {
675
+ inputs: [],
676
+ name: "renounceOwnership",
677
+ outputs: [],
678
+ stateMutability: "nonpayable",
679
+ type: "function",
680
+ },
681
+ {
682
+ inputs: [
683
+ {
684
+ internalType: "uint256",
685
+ name: "agentId",
686
+ type: "uint256",
687
+ },
688
+ {
689
+ internalType: "uint64",
690
+ name: "feedbackIndex",
691
+ type: "uint64",
692
+ },
693
+ ],
694
+ name: "revokeFeedback",
695
+ outputs: [],
696
+ stateMutability: "nonpayable",
697
+ type: "function",
698
+ },
699
+ {
700
+ inputs: [
701
+ {
702
+ internalType: "address",
703
+ name: "newOwner",
704
+ type: "address",
705
+ },
706
+ ],
707
+ name: "transferOwnership",
708
+ outputs: [],
709
+ stateMutability: "nonpayable",
710
+ type: "function",
711
+ },
712
+ {
713
+ inputs: [
714
+ {
715
+ internalType: "address",
716
+ name: "newImplementation",
717
+ type: "address",
718
+ },
719
+ {
720
+ internalType: "bytes",
721
+ name: "data",
722
+ type: "bytes",
723
+ },
724
+ ],
725
+ name: "upgradeToAndCall",
726
+ outputs: [],
727
+ stateMutability: "payable",
728
+ type: "function",
729
+ },
730
+ ];