@moltlaunch/sdk 2.3.0 → 3.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,1549 @@
1
+ {
2
+ "address": "6AZSAhq4iJTwCfGEVssoa1p3GnBqGkbcQ1iDdP1U1pSb",
3
+ "metadata": {
4
+ "name": "moltlaunch",
5
+ "version": "0.1.0",
6
+ "spec": "0.1.0",
7
+ "description": "MoltLaunch V3 — Composable Signal Architecture for AI Agent Identity"
8
+ },
9
+ "instructions": [
10
+ {
11
+ "name": "add_authority",
12
+ "discriminator": [
13
+ 229,
14
+ 9,
15
+ 106,
16
+ 73,
17
+ 91,
18
+ 213,
19
+ 109,
20
+ 183
21
+ ],
22
+ "accounts": [
23
+ {
24
+ "name": "config",
25
+ "pda": {
26
+ "seeds": [
27
+ {
28
+ "kind": "const",
29
+ "value": [
30
+ 109,
31
+ 111,
32
+ 108,
33
+ 116,
34
+ 108,
35
+ 97,
36
+ 117,
37
+ 110,
38
+ 99,
39
+ 104
40
+ ]
41
+ }
42
+ ]
43
+ }
44
+ },
45
+ {
46
+ "name": "authority",
47
+ "writable": true,
48
+ "pda": {
49
+ "seeds": [
50
+ {
51
+ "kind": "const",
52
+ "value": [
53
+ 97,
54
+ 117,
55
+ 116,
56
+ 104,
57
+ 111,
58
+ 114,
59
+ 105,
60
+ 116,
61
+ 121
62
+ ]
63
+ },
64
+ {
65
+ "kind": "account",
66
+ "path": "authority_pubkey"
67
+ }
68
+ ]
69
+ }
70
+ },
71
+ {
72
+ "name": "authority_pubkey"
73
+ },
74
+ {
75
+ "name": "admin",
76
+ "writable": true,
77
+ "signer": true
78
+ },
79
+ {
80
+ "name": "system_program",
81
+ "address": "11111111111111111111111111111111"
82
+ }
83
+ ],
84
+ "args": [
85
+ {
86
+ "name": "authority_type",
87
+ "type": {
88
+ "defined": {
89
+ "name": "AuthorityType"
90
+ }
91
+ }
92
+ }
93
+ ]
94
+ },
95
+ {
96
+ "name": "close_attestation",
97
+ "discriminator": [
98
+ 249,
99
+ 84,
100
+ 133,
101
+ 23,
102
+ 48,
103
+ 175,
104
+ 252,
105
+ 221
106
+ ],
107
+ "accounts": [
108
+ {
109
+ "name": "attestation",
110
+ "writable": true,
111
+ "pda": {
112
+ "seeds": [
113
+ {
114
+ "kind": "const",
115
+ "value": [
116
+ 97,
117
+ 116,
118
+ 116,
119
+ 101,
120
+ 115,
121
+ 116,
122
+ 97,
123
+ 116,
124
+ 105,
125
+ 111,
126
+ 110
127
+ ]
128
+ },
129
+ {
130
+ "kind": "account",
131
+ "path": "attestation.agent",
132
+ "account": "Attestation"
133
+ },
134
+ {
135
+ "kind": "account",
136
+ "path": "attestation.authority",
137
+ "account": "Attestation"
138
+ }
139
+ ]
140
+ }
141
+ },
142
+ {
143
+ "name": "authority_signer",
144
+ "writable": true,
145
+ "signer": true
146
+ }
147
+ ],
148
+ "args": []
149
+ },
150
+ {
151
+ "name": "flag_agent",
152
+ "discriminator": [
153
+ 235,
154
+ 111,
155
+ 155,
156
+ 252,
157
+ 101,
158
+ 79,
159
+ 59,
160
+ 219
161
+ ],
162
+ "accounts": [
163
+ {
164
+ "name": "config",
165
+ "pda": {
166
+ "seeds": [
167
+ {
168
+ "kind": "const",
169
+ "value": [
170
+ 109,
171
+ 111,
172
+ 108,
173
+ 116,
174
+ 108,
175
+ 97,
176
+ 117,
177
+ 110,
178
+ 99,
179
+ 104
180
+ ]
181
+ }
182
+ ]
183
+ }
184
+ },
185
+ {
186
+ "name": "authority",
187
+ "pda": {
188
+ "seeds": [
189
+ {
190
+ "kind": "const",
191
+ "value": [
192
+ 97,
193
+ 117,
194
+ 116,
195
+ 104,
196
+ 111,
197
+ 114,
198
+ 105,
199
+ 116,
200
+ 121
201
+ ]
202
+ },
203
+ {
204
+ "kind": "account",
205
+ "path": "authority_signer"
206
+ }
207
+ ]
208
+ }
209
+ },
210
+ {
211
+ "name": "agent",
212
+ "writable": true,
213
+ "pda": {
214
+ "seeds": [
215
+ {
216
+ "kind": "const",
217
+ "value": [
218
+ 97,
219
+ 103,
220
+ 101,
221
+ 110,
222
+ 116
223
+ ]
224
+ },
225
+ {
226
+ "kind": "account",
227
+ "path": "agent.wallet",
228
+ "account": "AgentIdentity"
229
+ }
230
+ ]
231
+ }
232
+ },
233
+ {
234
+ "name": "authority_signer",
235
+ "signer": true
236
+ }
237
+ ],
238
+ "args": [
239
+ {
240
+ "name": "reason_hash",
241
+ "type": {
242
+ "array": [
243
+ "u8",
244
+ 32
245
+ ]
246
+ }
247
+ }
248
+ ]
249
+ },
250
+ {
251
+ "name": "initialize",
252
+ "discriminator": [
253
+ 175,
254
+ 175,
255
+ 109,
256
+ 31,
257
+ 13,
258
+ 152,
259
+ 155,
260
+ 237
261
+ ],
262
+ "accounts": [
263
+ {
264
+ "name": "config",
265
+ "writable": true,
266
+ "pda": {
267
+ "seeds": [
268
+ {
269
+ "kind": "const",
270
+ "value": [
271
+ 109,
272
+ 111,
273
+ 108,
274
+ 116,
275
+ 108,
276
+ 97,
277
+ 117,
278
+ 110,
279
+ 99,
280
+ 104
281
+ ]
282
+ }
283
+ ]
284
+ }
285
+ },
286
+ {
287
+ "name": "admin",
288
+ "writable": true,
289
+ "signer": true
290
+ },
291
+ {
292
+ "name": "system_program",
293
+ "address": "11111111111111111111111111111111"
294
+ }
295
+ ],
296
+ "args": []
297
+ },
298
+ {
299
+ "name": "refresh_identity_signals",
300
+ "discriminator": [
301
+ 192,
302
+ 171,
303
+ 41,
304
+ 249,
305
+ 54,
306
+ 12,
307
+ 114,
308
+ 128
309
+ ],
310
+ "accounts": [
311
+ {
312
+ "name": "config",
313
+ "pda": {
314
+ "seeds": [
315
+ {
316
+ "kind": "const",
317
+ "value": [
318
+ 109,
319
+ 111,
320
+ 108,
321
+ 116,
322
+ 108,
323
+ 97,
324
+ 117,
325
+ 110,
326
+ 99,
327
+ 104
328
+ ]
329
+ }
330
+ ]
331
+ }
332
+ },
333
+ {
334
+ "name": "agent",
335
+ "writable": true,
336
+ "pda": {
337
+ "seeds": [
338
+ {
339
+ "kind": "const",
340
+ "value": [
341
+ 97,
342
+ 103,
343
+ 101,
344
+ 110,
345
+ 116
346
+ ]
347
+ },
348
+ {
349
+ "kind": "account",
350
+ "path": "agent.wallet",
351
+ "account": "AgentIdentity"
352
+ }
353
+ ]
354
+ }
355
+ }
356
+ ],
357
+ "args": []
358
+ },
359
+ {
360
+ "name": "register_agent",
361
+ "discriminator": [
362
+ 135,
363
+ 157,
364
+ 66,
365
+ 195,
366
+ 2,
367
+ 113,
368
+ 175,
369
+ 30
370
+ ],
371
+ "accounts": [
372
+ {
373
+ "name": "config",
374
+ "writable": true,
375
+ "pda": {
376
+ "seeds": [
377
+ {
378
+ "kind": "const",
379
+ "value": [
380
+ 109,
381
+ 111,
382
+ 108,
383
+ 116,
384
+ 108,
385
+ 97,
386
+ 117,
387
+ 110,
388
+ 99,
389
+ 104
390
+ ]
391
+ }
392
+ ]
393
+ }
394
+ },
395
+ {
396
+ "name": "agent",
397
+ "writable": true,
398
+ "pda": {
399
+ "seeds": [
400
+ {
401
+ "kind": "const",
402
+ "value": [
403
+ 97,
404
+ 103,
405
+ 101,
406
+ 110,
407
+ 116
408
+ ]
409
+ },
410
+ {
411
+ "kind": "account",
412
+ "path": "wallet"
413
+ }
414
+ ]
415
+ }
416
+ },
417
+ {
418
+ "name": "wallet",
419
+ "writable": true,
420
+ "signer": true
421
+ },
422
+ {
423
+ "name": "system_program",
424
+ "address": "11111111111111111111111111111111"
425
+ }
426
+ ],
427
+ "args": [
428
+ {
429
+ "name": "name",
430
+ "type": "string"
431
+ }
432
+ ]
433
+ },
434
+ {
435
+ "name": "remove_authority",
436
+ "discriminator": [
437
+ 242,
438
+ 104,
439
+ 208,
440
+ 132,
441
+ 190,
442
+ 250,
443
+ 74,
444
+ 216
445
+ ],
446
+ "accounts": [
447
+ {
448
+ "name": "config",
449
+ "writable": true,
450
+ "pda": {
451
+ "seeds": [
452
+ {
453
+ "kind": "const",
454
+ "value": [
455
+ 109,
456
+ 111,
457
+ 108,
458
+ 116,
459
+ 108,
460
+ 97,
461
+ 117,
462
+ 110,
463
+ 99,
464
+ 104
465
+ ]
466
+ }
467
+ ]
468
+ }
469
+ },
470
+ {
471
+ "name": "authority",
472
+ "writable": true,
473
+ "pda": {
474
+ "seeds": [
475
+ {
476
+ "kind": "const",
477
+ "value": [
478
+ 97,
479
+ 117,
480
+ 116,
481
+ 104,
482
+ 111,
483
+ 114,
484
+ 105,
485
+ 116,
486
+ 121
487
+ ]
488
+ },
489
+ {
490
+ "kind": "account",
491
+ "path": "authority.pubkey",
492
+ "account": "Authority"
493
+ }
494
+ ]
495
+ }
496
+ },
497
+ {
498
+ "name": "admin",
499
+ "signer": true
500
+ }
501
+ ],
502
+ "args": []
503
+ },
504
+ {
505
+ "name": "revoke_attestation",
506
+ "discriminator": [
507
+ 12,
508
+ 156,
509
+ 103,
510
+ 161,
511
+ 194,
512
+ 246,
513
+ 211,
514
+ 179
515
+ ],
516
+ "accounts": [
517
+ {
518
+ "name": "config",
519
+ "writable": true,
520
+ "pda": {
521
+ "seeds": [
522
+ {
523
+ "kind": "const",
524
+ "value": [
525
+ 109,
526
+ 111,
527
+ 108,
528
+ 116,
529
+ 108,
530
+ 97,
531
+ 117,
532
+ 110,
533
+ 99,
534
+ 104
535
+ ]
536
+ }
537
+ ]
538
+ }
539
+ },
540
+ {
541
+ "name": "attestation",
542
+ "writable": true,
543
+ "pda": {
544
+ "seeds": [
545
+ {
546
+ "kind": "const",
547
+ "value": [
548
+ 97,
549
+ 116,
550
+ 116,
551
+ 101,
552
+ 115,
553
+ 116,
554
+ 97,
555
+ 116,
556
+ 105,
557
+ 111,
558
+ 110
559
+ ]
560
+ },
561
+ {
562
+ "kind": "account",
563
+ "path": "attestation.agent",
564
+ "account": "Attestation"
565
+ },
566
+ {
567
+ "kind": "account",
568
+ "path": "attestation.authority",
569
+ "account": "Attestation"
570
+ }
571
+ ]
572
+ }
573
+ },
574
+ {
575
+ "name": "authority_signer",
576
+ "signer": true
577
+ }
578
+ ],
579
+ "args": []
580
+ },
581
+ {
582
+ "name": "set_paused",
583
+ "discriminator": [
584
+ 91,
585
+ 60,
586
+ 125,
587
+ 192,
588
+ 176,
589
+ 225,
590
+ 166,
591
+ 218
592
+ ],
593
+ "accounts": [
594
+ {
595
+ "name": "config",
596
+ "writable": true,
597
+ "pda": {
598
+ "seeds": [
599
+ {
600
+ "kind": "const",
601
+ "value": [
602
+ 109,
603
+ 111,
604
+ 108,
605
+ 116,
606
+ 108,
607
+ 97,
608
+ 117,
609
+ 110,
610
+ 99,
611
+ 104
612
+ ]
613
+ }
614
+ ]
615
+ }
616
+ },
617
+ {
618
+ "name": "admin",
619
+ "signer": true
620
+ }
621
+ ],
622
+ "args": [
623
+ {
624
+ "name": "paused",
625
+ "type": "bool"
626
+ }
627
+ ]
628
+ },
629
+ {
630
+ "name": "submit_attestation",
631
+ "discriminator": [
632
+ 238,
633
+ 220,
634
+ 255,
635
+ 105,
636
+ 183,
637
+ 211,
638
+ 40,
639
+ 83
640
+ ],
641
+ "accounts": [
642
+ {
643
+ "name": "config",
644
+ "writable": true,
645
+ "pda": {
646
+ "seeds": [
647
+ {
648
+ "kind": "const",
649
+ "value": [
650
+ 109,
651
+ 111,
652
+ 108,
653
+ 116,
654
+ 108,
655
+ 97,
656
+ 117,
657
+ 110,
658
+ 99,
659
+ 104
660
+ ]
661
+ }
662
+ ]
663
+ }
664
+ },
665
+ {
666
+ "name": "authority",
667
+ "writable": true,
668
+ "pda": {
669
+ "seeds": [
670
+ {
671
+ "kind": "const",
672
+ "value": [
673
+ 97,
674
+ 117,
675
+ 116,
676
+ 104,
677
+ 111,
678
+ 114,
679
+ 105,
680
+ 116,
681
+ 121
682
+ ]
683
+ },
684
+ {
685
+ "kind": "account",
686
+ "path": "authority_signer"
687
+ }
688
+ ]
689
+ }
690
+ },
691
+ {
692
+ "name": "agent",
693
+ "writable": true,
694
+ "pda": {
695
+ "seeds": [
696
+ {
697
+ "kind": "const",
698
+ "value": [
699
+ 97,
700
+ 103,
701
+ 101,
702
+ 110,
703
+ 116
704
+ ]
705
+ },
706
+ {
707
+ "kind": "account",
708
+ "path": "agent.wallet",
709
+ "account": "AgentIdentity"
710
+ }
711
+ ]
712
+ }
713
+ },
714
+ {
715
+ "name": "attestation",
716
+ "writable": true,
717
+ "pda": {
718
+ "seeds": [
719
+ {
720
+ "kind": "const",
721
+ "value": [
722
+ 97,
723
+ 116,
724
+ 116,
725
+ 101,
726
+ 115,
727
+ 116,
728
+ 97,
729
+ 116,
730
+ 105,
731
+ 111,
732
+ 110
733
+ ]
734
+ },
735
+ {
736
+ "kind": "account",
737
+ "path": "agent.wallet",
738
+ "account": "AgentIdentity"
739
+ },
740
+ {
741
+ "kind": "account",
742
+ "path": "authority_signer"
743
+ }
744
+ ]
745
+ }
746
+ },
747
+ {
748
+ "name": "authority_signer",
749
+ "writable": true,
750
+ "signer": true
751
+ },
752
+ {
753
+ "name": "system_program",
754
+ "address": "11111111111111111111111111111111"
755
+ }
756
+ ],
757
+ "args": [
758
+ {
759
+ "name": "signal_type",
760
+ "type": {
761
+ "defined": {
762
+ "name": "SignalType"
763
+ }
764
+ }
765
+ },
766
+ {
767
+ "name": "attestation_hash",
768
+ "type": {
769
+ "array": [
770
+ "u8",
771
+ 32
772
+ ]
773
+ }
774
+ },
775
+ {
776
+ "name": "tee_quote",
777
+ "type": {
778
+ "option": {
779
+ "array": [
780
+ "u8",
781
+ 32
782
+ ]
783
+ }
784
+ }
785
+ },
786
+ {
787
+ "name": "expires_at",
788
+ "type": "i64"
789
+ }
790
+ ]
791
+ },
792
+ {
793
+ "name": "transfer_admin",
794
+ "discriminator": [
795
+ 42,
796
+ 242,
797
+ 66,
798
+ 106,
799
+ 228,
800
+ 10,
801
+ 111,
802
+ 156
803
+ ],
804
+ "accounts": [
805
+ {
806
+ "name": "config",
807
+ "writable": true,
808
+ "pda": {
809
+ "seeds": [
810
+ {
811
+ "kind": "const",
812
+ "value": [
813
+ 109,
814
+ 111,
815
+ 108,
816
+ 116,
817
+ 108,
818
+ 97,
819
+ 117,
820
+ 110,
821
+ 99,
822
+ 104
823
+ ]
824
+ }
825
+ ]
826
+ }
827
+ },
828
+ {
829
+ "name": "admin",
830
+ "signer": true
831
+ }
832
+ ],
833
+ "args": [
834
+ {
835
+ "name": "new_admin",
836
+ "type": "pubkey"
837
+ }
838
+ ]
839
+ },
840
+ {
841
+ "name": "unflag_agent",
842
+ "discriminator": [
843
+ 154,
844
+ 213,
845
+ 255,
846
+ 157,
847
+ 177,
848
+ 64,
849
+ 122,
850
+ 85
851
+ ],
852
+ "accounts": [
853
+ {
854
+ "name": "config",
855
+ "pda": {
856
+ "seeds": [
857
+ {
858
+ "kind": "const",
859
+ "value": [
860
+ 109,
861
+ 111,
862
+ 108,
863
+ 116,
864
+ 108,
865
+ 97,
866
+ 117,
867
+ 110,
868
+ 99,
869
+ 104
870
+ ]
871
+ }
872
+ ]
873
+ }
874
+ },
875
+ {
876
+ "name": "agent",
877
+ "writable": true,
878
+ "pda": {
879
+ "seeds": [
880
+ {
881
+ "kind": "const",
882
+ "value": [
883
+ 97,
884
+ 103,
885
+ 101,
886
+ 110,
887
+ 116
888
+ ]
889
+ },
890
+ {
891
+ "kind": "account",
892
+ "path": "agent.wallet",
893
+ "account": "AgentIdentity"
894
+ }
895
+ ]
896
+ }
897
+ },
898
+ {
899
+ "name": "admin",
900
+ "signer": true
901
+ }
902
+ ],
903
+ "args": []
904
+ }
905
+ ],
906
+ "accounts": [
907
+ {
908
+ "name": "AgentIdentity",
909
+ "discriminator": [
910
+ 11,
911
+ 149,
912
+ 31,
913
+ 27,
914
+ 186,
915
+ 76,
916
+ 241,
917
+ 72
918
+ ]
919
+ },
920
+ {
921
+ "name": "Attestation",
922
+ "discriminator": [
923
+ 152,
924
+ 125,
925
+ 183,
926
+ 86,
927
+ 36,
928
+ 146,
929
+ 121,
930
+ 73
931
+ ]
932
+ },
933
+ {
934
+ "name": "Authority",
935
+ "discriminator": [
936
+ 36,
937
+ 108,
938
+ 254,
939
+ 18,
940
+ 167,
941
+ 144,
942
+ 27,
943
+ 36
944
+ ]
945
+ },
946
+ {
947
+ "name": "ProtocolConfig",
948
+ "discriminator": [
949
+ 207,
950
+ 91,
951
+ 250,
952
+ 28,
953
+ 152,
954
+ 179,
955
+ 215,
956
+ 209
957
+ ]
958
+ }
959
+ ],
960
+ "events": [
961
+ {
962
+ "name": "AgentFlagged",
963
+ "discriminator": [
964
+ 233,
965
+ 147,
966
+ 162,
967
+ 100,
968
+ 245,
969
+ 61,
970
+ 175,
971
+ 85
972
+ ]
973
+ },
974
+ {
975
+ "name": "AgentRegistered",
976
+ "discriminator": [
977
+ 191,
978
+ 78,
979
+ 217,
980
+ 54,
981
+ 232,
982
+ 100,
983
+ 189,
984
+ 85
985
+ ]
986
+ },
987
+ {
988
+ "name": "AgentUnflagged",
989
+ "discriminator": [
990
+ 192,
991
+ 185,
992
+ 66,
993
+ 72,
994
+ 56,
995
+ 134,
996
+ 16,
997
+ 37
998
+ ]
999
+ },
1000
+ {
1001
+ "name": "AttestationRevoked",
1002
+ "discriminator": [
1003
+ 47,
1004
+ 106,
1005
+ 65,
1006
+ 238,
1007
+ 200,
1008
+ 127,
1009
+ 163,
1010
+ 50
1011
+ ]
1012
+ },
1013
+ {
1014
+ "name": "AttestationSubmitted",
1015
+ "discriminator": [
1016
+ 177,
1017
+ 213,
1018
+ 117,
1019
+ 225,
1020
+ 166,
1021
+ 11,
1022
+ 54,
1023
+ 218
1024
+ ]
1025
+ },
1026
+ {
1027
+ "name": "AuthorityAdded",
1028
+ "discriminator": [
1029
+ 50,
1030
+ 148,
1031
+ 144,
1032
+ 211,
1033
+ 13,
1034
+ 58,
1035
+ 69,
1036
+ 166
1037
+ ]
1038
+ },
1039
+ {
1040
+ "name": "AuthorityRemoved",
1041
+ "discriminator": [
1042
+ 141,
1043
+ 173,
1044
+ 114,
1045
+ 187,
1046
+ 213,
1047
+ 168,
1048
+ 90,
1049
+ 182
1050
+ ]
1051
+ },
1052
+ {
1053
+ "name": "TrustScoreRefreshed",
1054
+ "discriminator": [
1055
+ 111,
1056
+ 239,
1057
+ 179,
1058
+ 205,
1059
+ 136,
1060
+ 70,
1061
+ 213,
1062
+ 176
1063
+ ]
1064
+ }
1065
+ ],
1066
+ "errors": [
1067
+ {
1068
+ "code": 6000,
1069
+ "name": "Unauthorized",
1070
+ "msg": "Unauthorized"
1071
+ },
1072
+ {
1073
+ "code": 6001,
1074
+ "name": "AgentAlreadyRegistered",
1075
+ "msg": "Agent already registered"
1076
+ },
1077
+ {
1078
+ "code": 6002,
1079
+ "name": "AgentNotFound",
1080
+ "msg": "Agent not found"
1081
+ },
1082
+ {
1083
+ "code": 6003,
1084
+ "name": "AuthorityNotActive",
1085
+ "msg": "Authority is not active"
1086
+ },
1087
+ {
1088
+ "code": 6004,
1089
+ "name": "AttestationAlreadyExists",
1090
+ "msg": "Attestation already exists"
1091
+ },
1092
+ {
1093
+ "code": 6005,
1094
+ "name": "AttestationExpired",
1095
+ "msg": "Attestation has expired"
1096
+ },
1097
+ {
1098
+ "code": 6006,
1099
+ "name": "AgentFlagged",
1100
+ "msg": "Agent is flagged"
1101
+ },
1102
+ {
1103
+ "code": 6007,
1104
+ "name": "ProtocolPaused",
1105
+ "msg": "Protocol is paused"
1106
+ },
1107
+ {
1108
+ "code": 6008,
1109
+ "name": "NameTooLong",
1110
+ "msg": "Name too long (max 32 characters)"
1111
+ },
1112
+ {
1113
+ "code": 6009,
1114
+ "name": "InvalidSignalType",
1115
+ "msg": "Invalid signal type"
1116
+ },
1117
+ {
1118
+ "code": 6010,
1119
+ "name": "AttestationNotRevoked",
1120
+ "msg": "Attestation is not revoked"
1121
+ }
1122
+ ],
1123
+ "types": [
1124
+ {
1125
+ "name": "AgentFlagged",
1126
+ "type": {
1127
+ "kind": "struct",
1128
+ "fields": [
1129
+ {
1130
+ "name": "agent",
1131
+ "type": "pubkey"
1132
+ },
1133
+ {
1134
+ "name": "authority",
1135
+ "type": "pubkey"
1136
+ },
1137
+ {
1138
+ "name": "reason_hash",
1139
+ "type": {
1140
+ "array": [
1141
+ "u8",
1142
+ 32
1143
+ ]
1144
+ }
1145
+ }
1146
+ ]
1147
+ }
1148
+ },
1149
+ {
1150
+ "name": "AgentIdentity",
1151
+ "docs": [
1152
+ "AgentIdentity — the composable signal hub. Seeds: [\"agent\", wallet]"
1153
+ ],
1154
+ "type": {
1155
+ "kind": "struct",
1156
+ "fields": [
1157
+ {
1158
+ "name": "wallet",
1159
+ "type": "pubkey"
1160
+ },
1161
+ {
1162
+ "name": "infra_type",
1163
+ "type": {
1164
+ "defined": {
1165
+ "name": "InfraType"
1166
+ }
1167
+ }
1168
+ },
1169
+ {
1170
+ "name": "has_economic_stake",
1171
+ "type": "bool"
1172
+ },
1173
+ {
1174
+ "name": "has_hardware_binding",
1175
+ "type": "bool"
1176
+ },
1177
+ {
1178
+ "name": "attestation_count",
1179
+ "type": "u8"
1180
+ },
1181
+ {
1182
+ "name": "is_flagged",
1183
+ "type": "bool"
1184
+ },
1185
+ {
1186
+ "name": "trust_score",
1187
+ "type": "u8"
1188
+ },
1189
+ {
1190
+ "name": "last_verified",
1191
+ "type": "i64"
1192
+ },
1193
+ {
1194
+ "name": "nonce",
1195
+ "type": "u64"
1196
+ },
1197
+ {
1198
+ "name": "registered_at",
1199
+ "type": "i64"
1200
+ },
1201
+ {
1202
+ "name": "name",
1203
+ "type": "string"
1204
+ },
1205
+ {
1206
+ "name": "bump",
1207
+ "type": "u8"
1208
+ }
1209
+ ]
1210
+ }
1211
+ },
1212
+ {
1213
+ "name": "AgentRegistered",
1214
+ "type": {
1215
+ "kind": "struct",
1216
+ "fields": [
1217
+ {
1218
+ "name": "wallet",
1219
+ "type": "pubkey"
1220
+ },
1221
+ {
1222
+ "name": "name",
1223
+ "type": "string"
1224
+ }
1225
+ ]
1226
+ }
1227
+ },
1228
+ {
1229
+ "name": "AgentUnflagged",
1230
+ "type": {
1231
+ "kind": "struct",
1232
+ "fields": [
1233
+ {
1234
+ "name": "agent",
1235
+ "type": "pubkey"
1236
+ }
1237
+ ]
1238
+ }
1239
+ },
1240
+ {
1241
+ "name": "Attestation",
1242
+ "docs": [
1243
+ "Attestation — one per (agent, authority) pair.",
1244
+ "Seeds: [\"attestation\", agent_wallet, authority_pubkey]"
1245
+ ],
1246
+ "type": {
1247
+ "kind": "struct",
1248
+ "fields": [
1249
+ {
1250
+ "name": "agent",
1251
+ "type": "pubkey"
1252
+ },
1253
+ {
1254
+ "name": "authority",
1255
+ "type": "pubkey"
1256
+ },
1257
+ {
1258
+ "name": "authority_type",
1259
+ "type": {
1260
+ "defined": {
1261
+ "name": "AuthorityType"
1262
+ }
1263
+ }
1264
+ },
1265
+ {
1266
+ "name": "signal_contributed",
1267
+ "type": {
1268
+ "defined": {
1269
+ "name": "SignalType"
1270
+ }
1271
+ }
1272
+ },
1273
+ {
1274
+ "name": "attestation_hash",
1275
+ "type": {
1276
+ "array": [
1277
+ "u8",
1278
+ 32
1279
+ ]
1280
+ }
1281
+ },
1282
+ {
1283
+ "name": "tee_quote",
1284
+ "type": {
1285
+ "option": {
1286
+ "array": [
1287
+ "u8",
1288
+ 32
1289
+ ]
1290
+ }
1291
+ }
1292
+ },
1293
+ {
1294
+ "name": "created_at",
1295
+ "type": "i64"
1296
+ },
1297
+ {
1298
+ "name": "expires_at",
1299
+ "type": "i64"
1300
+ },
1301
+ {
1302
+ "name": "revoked",
1303
+ "type": "bool"
1304
+ },
1305
+ {
1306
+ "name": "bump",
1307
+ "type": "u8"
1308
+ }
1309
+ ]
1310
+ }
1311
+ },
1312
+ {
1313
+ "name": "AttestationRevoked",
1314
+ "type": {
1315
+ "kind": "struct",
1316
+ "fields": [
1317
+ {
1318
+ "name": "agent",
1319
+ "type": "pubkey"
1320
+ },
1321
+ {
1322
+ "name": "authority",
1323
+ "type": "pubkey"
1324
+ }
1325
+ ]
1326
+ }
1327
+ },
1328
+ {
1329
+ "name": "AttestationSubmitted",
1330
+ "type": {
1331
+ "kind": "struct",
1332
+ "fields": [
1333
+ {
1334
+ "name": "agent",
1335
+ "type": "pubkey"
1336
+ },
1337
+ {
1338
+ "name": "authority",
1339
+ "type": "pubkey"
1340
+ },
1341
+ {
1342
+ "name": "signal_type",
1343
+ "type": {
1344
+ "defined": {
1345
+ "name": "SignalType"
1346
+ }
1347
+ }
1348
+ }
1349
+ ]
1350
+ }
1351
+ },
1352
+ {
1353
+ "name": "Authority",
1354
+ "docs": [
1355
+ "Authority — one per authorized verifier. Seeds: [\"authority\", pubkey]"
1356
+ ],
1357
+ "type": {
1358
+ "kind": "struct",
1359
+ "fields": [
1360
+ {
1361
+ "name": "pubkey",
1362
+ "type": "pubkey"
1363
+ },
1364
+ {
1365
+ "name": "authority_type",
1366
+ "type": {
1367
+ "defined": {
1368
+ "name": "AuthorityType"
1369
+ }
1370
+ }
1371
+ },
1372
+ {
1373
+ "name": "attestation_count",
1374
+ "type": "u64"
1375
+ },
1376
+ {
1377
+ "name": "active",
1378
+ "type": "bool"
1379
+ },
1380
+ {
1381
+ "name": "added_by",
1382
+ "type": "pubkey"
1383
+ },
1384
+ {
1385
+ "name": "added_at",
1386
+ "type": "i64"
1387
+ },
1388
+ {
1389
+ "name": "bump",
1390
+ "type": "u8"
1391
+ }
1392
+ ]
1393
+ }
1394
+ },
1395
+ {
1396
+ "name": "AuthorityAdded",
1397
+ "type": {
1398
+ "kind": "struct",
1399
+ "fields": [
1400
+ {
1401
+ "name": "authority",
1402
+ "type": "pubkey"
1403
+ },
1404
+ {
1405
+ "name": "authority_type",
1406
+ "type": {
1407
+ "defined": {
1408
+ "name": "AuthorityType"
1409
+ }
1410
+ }
1411
+ }
1412
+ ]
1413
+ }
1414
+ },
1415
+ {
1416
+ "name": "AuthorityRemoved",
1417
+ "type": {
1418
+ "kind": "struct",
1419
+ "fields": [
1420
+ {
1421
+ "name": "authority",
1422
+ "type": "pubkey"
1423
+ }
1424
+ ]
1425
+ }
1426
+ },
1427
+ {
1428
+ "name": "AuthorityType",
1429
+ "type": {
1430
+ "kind": "enum",
1431
+ "variants": [
1432
+ {
1433
+ "name": "Single"
1434
+ },
1435
+ {
1436
+ "name": "MultisigMember"
1437
+ },
1438
+ {
1439
+ "name": "OracleOperator"
1440
+ },
1441
+ {
1442
+ "name": "NCNValidator"
1443
+ }
1444
+ ]
1445
+ }
1446
+ },
1447
+ {
1448
+ "name": "InfraType",
1449
+ "type": {
1450
+ "kind": "enum",
1451
+ "variants": [
1452
+ {
1453
+ "name": "Unknown"
1454
+ },
1455
+ {
1456
+ "name": "Cloud"
1457
+ },
1458
+ {
1459
+ "name": "TEE"
1460
+ },
1461
+ {
1462
+ "name": "DePIN"
1463
+ }
1464
+ ]
1465
+ }
1466
+ },
1467
+ {
1468
+ "name": "ProtocolConfig",
1469
+ "docs": [
1470
+ "Singleton protocol configuration — seeds: [\"moltlaunch\"]"
1471
+ ],
1472
+ "type": {
1473
+ "kind": "struct",
1474
+ "fields": [
1475
+ {
1476
+ "name": "admin",
1477
+ "type": "pubkey"
1478
+ },
1479
+ {
1480
+ "name": "revocation_nonce",
1481
+ "type": "u64"
1482
+ },
1483
+ {
1484
+ "name": "total_agents",
1485
+ "type": "u64"
1486
+ },
1487
+ {
1488
+ "name": "total_attestations",
1489
+ "type": "u64"
1490
+ },
1491
+ {
1492
+ "name": "paused",
1493
+ "type": "bool"
1494
+ },
1495
+ {
1496
+ "name": "bump",
1497
+ "type": "u8"
1498
+ }
1499
+ ]
1500
+ }
1501
+ },
1502
+ {
1503
+ "name": "SignalType",
1504
+ "type": {
1505
+ "kind": "enum",
1506
+ "variants": [
1507
+ {
1508
+ "name": "InfraCloud"
1509
+ },
1510
+ {
1511
+ "name": "InfraTEE"
1512
+ },
1513
+ {
1514
+ "name": "InfraDePIN"
1515
+ },
1516
+ {
1517
+ "name": "EconomicStake"
1518
+ },
1519
+ {
1520
+ "name": "HardwareBinding"
1521
+ },
1522
+ {
1523
+ "name": "General"
1524
+ }
1525
+ ]
1526
+ }
1527
+ },
1528
+ {
1529
+ "name": "TrustScoreRefreshed",
1530
+ "type": {
1531
+ "kind": "struct",
1532
+ "fields": [
1533
+ {
1534
+ "name": "agent",
1535
+ "type": "pubkey"
1536
+ },
1537
+ {
1538
+ "name": "old_score",
1539
+ "type": "u8"
1540
+ },
1541
+ {
1542
+ "name": "new_score",
1543
+ "type": "u8"
1544
+ }
1545
+ ]
1546
+ }
1547
+ }
1548
+ ]
1549
+ }