@molpha/sdk 0.2.0-dev-20261001084453 → 0.2.0-dev-20261002062009
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 +80 -56
- package/dist/{chunk-DT6IKCWB.js → chunk-2X22JY7Q.js} +3 -15
- package/dist/chunk-2X22JY7Q.js.map +1 -0
- package/dist/index.d.ts +162 -33
- package/dist/index.js +2682 -1462
- package/dist/index.js.map +1 -1
- package/dist/utils.d.ts +2 -6
- package/dist/utils.js +2 -6
- package/dist/utils.js.map +1 -1
- package/dist/{wallet-DwdBZgl1.d.ts → wallet-HfGXPpOp.d.ts} +49 -15
- package/idl/molpha.json +2004 -1098
- package/package.json +1 -1
- package/dist/chunk-DT6IKCWB.js.map +0 -1
package/idl/molpha.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"address": "
|
|
2
|
+
"address": "chivcFQgxzwkpLvW41PV431HQ4dYpaW3povQH3AdpQt",
|
|
3
3
|
"metadata": {
|
|
4
4
|
"name": "molpha",
|
|
5
5
|
"version": "0.1.0",
|
|
@@ -386,34 +386,131 @@
|
|
|
386
386
|
"args": []
|
|
387
387
|
},
|
|
388
388
|
{
|
|
389
|
-
"name": "
|
|
389
|
+
"name": "close_epoch",
|
|
390
390
|
"discriminator": [
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
391
|
+
13,
|
|
392
|
+
87,
|
|
393
|
+
7,
|
|
394
|
+
133,
|
|
395
|
+
109,
|
|
396
|
+
14,
|
|
397
|
+
83,
|
|
398
|
+
25
|
|
399
399
|
],
|
|
400
400
|
"accounts": [
|
|
401
401
|
{
|
|
402
|
-
"name": "
|
|
403
|
-
"
|
|
404
|
-
|
|
405
|
-
|
|
402
|
+
"name": "epoch_state",
|
|
403
|
+
"writable": true,
|
|
404
|
+
"pda": {
|
|
405
|
+
"seeds": [
|
|
406
|
+
{
|
|
407
|
+
"kind": "const",
|
|
408
|
+
"value": [
|
|
409
|
+
109,
|
|
410
|
+
111,
|
|
411
|
+
108,
|
|
412
|
+
112,
|
|
413
|
+
104,
|
|
414
|
+
97,
|
|
415
|
+
95,
|
|
416
|
+
101,
|
|
417
|
+
112,
|
|
418
|
+
111,
|
|
419
|
+
99,
|
|
420
|
+
104
|
|
421
|
+
]
|
|
422
|
+
},
|
|
423
|
+
{
|
|
424
|
+
"kind": "arg",
|
|
425
|
+
"path": "epoch"
|
|
426
|
+
}
|
|
427
|
+
]
|
|
428
|
+
}
|
|
429
|
+
},
|
|
430
|
+
{
|
|
431
|
+
"name": "open_epoch_state",
|
|
432
|
+
"writable": true,
|
|
433
|
+
"pda": {
|
|
434
|
+
"seeds": [
|
|
435
|
+
{
|
|
436
|
+
"kind": "const",
|
|
437
|
+
"value": [
|
|
438
|
+
109,
|
|
439
|
+
111,
|
|
440
|
+
108,
|
|
441
|
+
112,
|
|
442
|
+
104,
|
|
443
|
+
97,
|
|
444
|
+
95,
|
|
445
|
+
101,
|
|
446
|
+
112,
|
|
447
|
+
111,
|
|
448
|
+
99,
|
|
449
|
+
104
|
|
450
|
+
]
|
|
451
|
+
},
|
|
452
|
+
{
|
|
453
|
+
"kind": "arg",
|
|
454
|
+
"path": "open_epoch"
|
|
455
|
+
}
|
|
456
|
+
]
|
|
457
|
+
}
|
|
406
458
|
},
|
|
407
459
|
{
|
|
408
|
-
"name": "
|
|
460
|
+
"name": "rent_payer",
|
|
409
461
|
"writable": true
|
|
462
|
+
}
|
|
463
|
+
],
|
|
464
|
+
"args": [
|
|
465
|
+
{
|
|
466
|
+
"name": "epoch",
|
|
467
|
+
"type": "u64"
|
|
410
468
|
},
|
|
411
469
|
{
|
|
412
|
-
"name": "
|
|
413
|
-
"
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
470
|
+
"name": "open_epoch",
|
|
471
|
+
"type": "u64"
|
|
472
|
+
}
|
|
473
|
+
]
|
|
474
|
+
},
|
|
475
|
+
{
|
|
476
|
+
"name": "close_ticket_marker",
|
|
477
|
+
"discriminator": [
|
|
478
|
+
26,
|
|
479
|
+
65,
|
|
480
|
+
122,
|
|
481
|
+
188,
|
|
482
|
+
125,
|
|
483
|
+
132,
|
|
484
|
+
159,
|
|
485
|
+
107
|
|
486
|
+
],
|
|
487
|
+
"accounts": [
|
|
488
|
+
{
|
|
489
|
+
"name": "ticket_marker",
|
|
490
|
+
"writable": true
|
|
491
|
+
},
|
|
492
|
+
{
|
|
493
|
+
"name": "submitter",
|
|
494
|
+
"writable": true
|
|
495
|
+
}
|
|
496
|
+
],
|
|
497
|
+
"args": []
|
|
498
|
+
},
|
|
499
|
+
{
|
|
500
|
+
"name": "credit_epoch_rewards",
|
|
501
|
+
"discriminator": [
|
|
502
|
+
212,
|
|
503
|
+
185,
|
|
504
|
+
139,
|
|
505
|
+
96,
|
|
506
|
+
103,
|
|
507
|
+
248,
|
|
508
|
+
140,
|
|
509
|
+
198
|
|
510
|
+
],
|
|
511
|
+
"accounts": [
|
|
512
|
+
{
|
|
513
|
+
"name": "protocol_config",
|
|
417
514
|
"writable": true,
|
|
418
515
|
"pda": {
|
|
419
516
|
"seeds": [
|
|
@@ -427,27 +524,59 @@
|
|
|
427
524
|
104,
|
|
428
525
|
97,
|
|
429
526
|
95,
|
|
430
|
-
|
|
527
|
+
99,
|
|
431
528
|
111,
|
|
432
|
-
117,
|
|
433
529
|
110,
|
|
434
|
-
|
|
530
|
+
102,
|
|
531
|
+
105,
|
|
532
|
+
103
|
|
435
533
|
]
|
|
436
|
-
}
|
|
534
|
+
}
|
|
535
|
+
]
|
|
536
|
+
}
|
|
537
|
+
},
|
|
538
|
+
{
|
|
539
|
+
"name": "epoch_state",
|
|
540
|
+
"writable": true,
|
|
541
|
+
"pda": {
|
|
542
|
+
"seeds": [
|
|
437
543
|
{
|
|
438
|
-
"kind": "
|
|
439
|
-
"
|
|
544
|
+
"kind": "const",
|
|
545
|
+
"value": [
|
|
546
|
+
109,
|
|
547
|
+
111,
|
|
548
|
+
108,
|
|
549
|
+
112,
|
|
550
|
+
104,
|
|
551
|
+
97,
|
|
552
|
+
95,
|
|
553
|
+
101,
|
|
554
|
+
112,
|
|
555
|
+
111,
|
|
556
|
+
99,
|
|
557
|
+
104
|
|
558
|
+
]
|
|
440
559
|
},
|
|
441
560
|
{
|
|
442
|
-
"kind": "
|
|
443
|
-
"path": "
|
|
444
|
-
"account": "RoundReplayMarker"
|
|
561
|
+
"kind": "arg",
|
|
562
|
+
"path": "epoch"
|
|
445
563
|
}
|
|
446
564
|
]
|
|
447
565
|
}
|
|
448
566
|
}
|
|
449
567
|
],
|
|
450
|
-
"args": [
|
|
568
|
+
"args": [
|
|
569
|
+
{
|
|
570
|
+
"name": "epoch",
|
|
571
|
+
"type": "u64"
|
|
572
|
+
},
|
|
573
|
+
{
|
|
574
|
+
"name": "slots",
|
|
575
|
+
"type": {
|
|
576
|
+
"vec": "u16"
|
|
577
|
+
}
|
|
578
|
+
}
|
|
579
|
+
]
|
|
451
580
|
},
|
|
452
581
|
{
|
|
453
582
|
"name": "deactivate_gateway",
|
|
@@ -889,21 +1018,25 @@
|
|
|
889
1018
|
"args": []
|
|
890
1019
|
},
|
|
891
1020
|
{
|
|
892
|
-
"name": "
|
|
1021
|
+
"name": "finalize_epoch",
|
|
893
1022
|
"discriminator": [
|
|
894
|
-
|
|
895
|
-
|
|
896
|
-
|
|
897
|
-
|
|
898
|
-
|
|
899
|
-
|
|
900
|
-
|
|
901
|
-
|
|
1023
|
+
159,
|
|
1024
|
+
93,
|
|
1025
|
+
117,
|
|
1026
|
+
217,
|
|
1027
|
+
63,
|
|
1028
|
+
44,
|
|
1029
|
+
249,
|
|
1030
|
+
76
|
|
902
1031
|
],
|
|
903
1032
|
"accounts": [
|
|
904
1033
|
{
|
|
905
|
-
"name": "
|
|
1034
|
+
"name": "payer",
|
|
906
1035
|
"writable": true,
|
|
1036
|
+
"signer": true
|
|
1037
|
+
},
|
|
1038
|
+
{
|
|
1039
|
+
"name": "protocol_config",
|
|
907
1040
|
"pda": {
|
|
908
1041
|
"seeds": [
|
|
909
1042
|
{
|
|
@@ -928,7 +1061,7 @@
|
|
|
928
1061
|
}
|
|
929
1062
|
},
|
|
930
1063
|
{
|
|
931
|
-
"name": "
|
|
1064
|
+
"name": "target",
|
|
932
1065
|
"writable": true,
|
|
933
1066
|
"pda": {
|
|
934
1067
|
"seeds": [
|
|
@@ -942,22 +1075,22 @@
|
|
|
942
1075
|
104,
|
|
943
1076
|
97,
|
|
944
1077
|
95,
|
|
945
|
-
114,
|
|
946
1078
|
101,
|
|
947
|
-
|
|
948
|
-
|
|
949
|
-
|
|
950
|
-
|
|
951
|
-
114,
|
|
952
|
-
121
|
|
1079
|
+
112,
|
|
1080
|
+
111,
|
|
1081
|
+
99,
|
|
1082
|
+
104
|
|
953
1083
|
]
|
|
1084
|
+
},
|
|
1085
|
+
{
|
|
1086
|
+
"kind": "arg",
|
|
1087
|
+
"path": "epoch"
|
|
954
1088
|
}
|
|
955
1089
|
]
|
|
956
1090
|
}
|
|
957
1091
|
},
|
|
958
1092
|
{
|
|
959
|
-
"name": "
|
|
960
|
-
"writable": true,
|
|
1093
|
+
"name": "next",
|
|
961
1094
|
"pda": {
|
|
962
1095
|
"seeds": [
|
|
963
1096
|
{
|
|
@@ -970,45 +1103,182 @@
|
|
|
970
1103
|
104,
|
|
971
1104
|
97,
|
|
972
1105
|
95,
|
|
973
|
-
114,
|
|
974
1106
|
101,
|
|
975
|
-
|
|
976
|
-
|
|
977
|
-
|
|
978
|
-
|
|
979
|
-
114,
|
|
980
|
-
121
|
|
1107
|
+
112,
|
|
1108
|
+
111,
|
|
1109
|
+
99,
|
|
1110
|
+
104
|
|
981
1111
|
]
|
|
982
1112
|
},
|
|
1113
|
+
{
|
|
1114
|
+
"kind": "arg",
|
|
1115
|
+
"path": "epoch.saturating_add(1)"
|
|
1116
|
+
}
|
|
1117
|
+
]
|
|
1118
|
+
}
|
|
1119
|
+
},
|
|
1120
|
+
{
|
|
1121
|
+
"name": "successor",
|
|
1122
|
+
"writable": true,
|
|
1123
|
+
"pda": {
|
|
1124
|
+
"seeds": [
|
|
983
1125
|
{
|
|
984
1126
|
"kind": "const",
|
|
985
1127
|
"value": [
|
|
986
|
-
|
|
987
|
-
|
|
988
|
-
|
|
989
|
-
|
|
1128
|
+
109,
|
|
1129
|
+
111,
|
|
1130
|
+
108,
|
|
1131
|
+
112,
|
|
1132
|
+
104,
|
|
1133
|
+
97,
|
|
1134
|
+
95,
|
|
1135
|
+
101,
|
|
1136
|
+
112,
|
|
1137
|
+
111,
|
|
1138
|
+
99,
|
|
1139
|
+
104
|
|
990
1140
|
]
|
|
1141
|
+
},
|
|
1142
|
+
{
|
|
1143
|
+
"kind": "arg",
|
|
1144
|
+
"path": "epoch.saturating_add(2)"
|
|
991
1145
|
}
|
|
992
1146
|
]
|
|
993
1147
|
}
|
|
994
1148
|
},
|
|
995
1149
|
{
|
|
996
|
-
"name": "
|
|
997
|
-
|
|
1150
|
+
"name": "system_program",
|
|
1151
|
+
"address": "11111111111111111111111111111111"
|
|
1152
|
+
}
|
|
1153
|
+
],
|
|
1154
|
+
"args": [
|
|
998
1155
|
{
|
|
999
|
-
"name": "
|
|
1156
|
+
"name": "epoch",
|
|
1157
|
+
"type": "u64"
|
|
1158
|
+
}
|
|
1159
|
+
]
|
|
1160
|
+
},
|
|
1161
|
+
{
|
|
1162
|
+
"name": "initialize",
|
|
1163
|
+
"discriminator": [
|
|
1164
|
+
175,
|
|
1165
|
+
175,
|
|
1166
|
+
109,
|
|
1167
|
+
31,
|
|
1168
|
+
13,
|
|
1169
|
+
152,
|
|
1170
|
+
155,
|
|
1171
|
+
237
|
|
1172
|
+
],
|
|
1173
|
+
"accounts": [
|
|
1174
|
+
{
|
|
1175
|
+
"name": "protocol_config",
|
|
1000
1176
|
"writable": true,
|
|
1001
1177
|
"pda": {
|
|
1002
1178
|
"seeds": [
|
|
1003
1179
|
{
|
|
1004
|
-
"kind": "
|
|
1005
|
-
"
|
|
1006
|
-
|
|
1007
|
-
|
|
1008
|
-
|
|
1009
|
-
|
|
1010
|
-
|
|
1011
|
-
|
|
1180
|
+
"kind": "const",
|
|
1181
|
+
"value": [
|
|
1182
|
+
109,
|
|
1183
|
+
111,
|
|
1184
|
+
108,
|
|
1185
|
+
112,
|
|
1186
|
+
104,
|
|
1187
|
+
97,
|
|
1188
|
+
95,
|
|
1189
|
+
99,
|
|
1190
|
+
111,
|
|
1191
|
+
110,
|
|
1192
|
+
102,
|
|
1193
|
+
105,
|
|
1194
|
+
103
|
|
1195
|
+
]
|
|
1196
|
+
}
|
|
1197
|
+
]
|
|
1198
|
+
}
|
|
1199
|
+
},
|
|
1200
|
+
{
|
|
1201
|
+
"name": "registry_state",
|
|
1202
|
+
"writable": true,
|
|
1203
|
+
"pda": {
|
|
1204
|
+
"seeds": [
|
|
1205
|
+
{
|
|
1206
|
+
"kind": "const",
|
|
1207
|
+
"value": [
|
|
1208
|
+
109,
|
|
1209
|
+
111,
|
|
1210
|
+
108,
|
|
1211
|
+
112,
|
|
1212
|
+
104,
|
|
1213
|
+
97,
|
|
1214
|
+
95,
|
|
1215
|
+
114,
|
|
1216
|
+
101,
|
|
1217
|
+
103,
|
|
1218
|
+
105,
|
|
1219
|
+
115,
|
|
1220
|
+
116,
|
|
1221
|
+
114,
|
|
1222
|
+
121
|
|
1223
|
+
]
|
|
1224
|
+
}
|
|
1225
|
+
]
|
|
1226
|
+
}
|
|
1227
|
+
},
|
|
1228
|
+
{
|
|
1229
|
+
"name": "registry",
|
|
1230
|
+
"writable": true,
|
|
1231
|
+
"pda": {
|
|
1232
|
+
"seeds": [
|
|
1233
|
+
{
|
|
1234
|
+
"kind": "const",
|
|
1235
|
+
"value": [
|
|
1236
|
+
109,
|
|
1237
|
+
111,
|
|
1238
|
+
108,
|
|
1239
|
+
112,
|
|
1240
|
+
104,
|
|
1241
|
+
97,
|
|
1242
|
+
95,
|
|
1243
|
+
114,
|
|
1244
|
+
101,
|
|
1245
|
+
103,
|
|
1246
|
+
105,
|
|
1247
|
+
115,
|
|
1248
|
+
116,
|
|
1249
|
+
114,
|
|
1250
|
+
121
|
|
1251
|
+
]
|
|
1252
|
+
},
|
|
1253
|
+
{
|
|
1254
|
+
"kind": "const",
|
|
1255
|
+
"value": [
|
|
1256
|
+
0,
|
|
1257
|
+
0,
|
|
1258
|
+
0,
|
|
1259
|
+
0
|
|
1260
|
+
]
|
|
1261
|
+
}
|
|
1262
|
+
]
|
|
1263
|
+
}
|
|
1264
|
+
},
|
|
1265
|
+
{
|
|
1266
|
+
"name": "usdc_mint"
|
|
1267
|
+
},
|
|
1268
|
+
{
|
|
1269
|
+
"name": "treasury",
|
|
1270
|
+
"writable": true,
|
|
1271
|
+
"pda": {
|
|
1272
|
+
"seeds": [
|
|
1273
|
+
{
|
|
1274
|
+
"kind": "account",
|
|
1275
|
+
"path": "protocol_config"
|
|
1276
|
+
},
|
|
1277
|
+
{
|
|
1278
|
+
"kind": "account",
|
|
1279
|
+
"path": "token_program"
|
|
1280
|
+
},
|
|
1281
|
+
{
|
|
1012
1282
|
"kind": "account",
|
|
1013
1283
|
"path": "usdc_mint"
|
|
1014
1284
|
}
|
|
@@ -1112,6 +1382,82 @@
|
|
|
1112
1382
|
}
|
|
1113
1383
|
}
|
|
1114
1384
|
},
|
|
1385
|
+
{
|
|
1386
|
+
"name": "epoch0",
|
|
1387
|
+
"writable": true,
|
|
1388
|
+
"pda": {
|
|
1389
|
+
"seeds": [
|
|
1390
|
+
{
|
|
1391
|
+
"kind": "const",
|
|
1392
|
+
"value": [
|
|
1393
|
+
109,
|
|
1394
|
+
111,
|
|
1395
|
+
108,
|
|
1396
|
+
112,
|
|
1397
|
+
104,
|
|
1398
|
+
97,
|
|
1399
|
+
95,
|
|
1400
|
+
101,
|
|
1401
|
+
112,
|
|
1402
|
+
111,
|
|
1403
|
+
99,
|
|
1404
|
+
104
|
|
1405
|
+
]
|
|
1406
|
+
},
|
|
1407
|
+
{
|
|
1408
|
+
"kind": "const",
|
|
1409
|
+
"value": [
|
|
1410
|
+
0,
|
|
1411
|
+
0,
|
|
1412
|
+
0,
|
|
1413
|
+
0,
|
|
1414
|
+
0,
|
|
1415
|
+
0,
|
|
1416
|
+
0,
|
|
1417
|
+
0
|
|
1418
|
+
]
|
|
1419
|
+
}
|
|
1420
|
+
]
|
|
1421
|
+
}
|
|
1422
|
+
},
|
|
1423
|
+
{
|
|
1424
|
+
"name": "epoch1",
|
|
1425
|
+
"writable": true,
|
|
1426
|
+
"pda": {
|
|
1427
|
+
"seeds": [
|
|
1428
|
+
{
|
|
1429
|
+
"kind": "const",
|
|
1430
|
+
"value": [
|
|
1431
|
+
109,
|
|
1432
|
+
111,
|
|
1433
|
+
108,
|
|
1434
|
+
112,
|
|
1435
|
+
104,
|
|
1436
|
+
97,
|
|
1437
|
+
95,
|
|
1438
|
+
101,
|
|
1439
|
+
112,
|
|
1440
|
+
111,
|
|
1441
|
+
99,
|
|
1442
|
+
104
|
|
1443
|
+
]
|
|
1444
|
+
},
|
|
1445
|
+
{
|
|
1446
|
+
"kind": "const",
|
|
1447
|
+
"value": [
|
|
1448
|
+
1,
|
|
1449
|
+
0,
|
|
1450
|
+
0,
|
|
1451
|
+
0,
|
|
1452
|
+
0,
|
|
1453
|
+
0,
|
|
1454
|
+
0,
|
|
1455
|
+
0
|
|
1456
|
+
]
|
|
1457
|
+
}
|
|
1458
|
+
]
|
|
1459
|
+
}
|
|
1460
|
+
},
|
|
1115
1461
|
{
|
|
1116
1462
|
"name": "authority",
|
|
1117
1463
|
"writable": true,
|
|
@@ -1826,28 +2172,25 @@
|
|
|
1826
2172
|
]
|
|
1827
2173
|
},
|
|
1828
2174
|
{
|
|
1829
|
-
"name": "
|
|
2175
|
+
"name": "slash_offence",
|
|
1830
2176
|
"discriminator": [
|
|
1831
|
-
|
|
1832
|
-
|
|
2177
|
+
108,
|
|
2178
|
+
88,
|
|
2179
|
+
94,
|
|
2180
|
+
69,
|
|
2181
|
+
17,
|
|
2182
|
+
2,
|
|
1833
2183
|
103,
|
|
1834
|
-
|
|
1835
|
-
197,
|
|
1836
|
-
245,
|
|
1837
|
-
65,
|
|
1838
|
-
210
|
|
2184
|
+
124
|
|
1839
2185
|
],
|
|
1840
2186
|
"accounts": [
|
|
1841
2187
|
{
|
|
1842
|
-
"name": "
|
|
2188
|
+
"name": "reporter",
|
|
1843
2189
|
"writable": true,
|
|
1844
|
-
"signer": true
|
|
1845
|
-
"relations": [
|
|
1846
|
-
"gateway"
|
|
1847
|
-
]
|
|
2190
|
+
"signer": true
|
|
1848
2191
|
},
|
|
1849
2192
|
{
|
|
1850
|
-
"name": "
|
|
2193
|
+
"name": "protocol_config",
|
|
1851
2194
|
"writable": true,
|
|
1852
2195
|
"pda": {
|
|
1853
2196
|
"seeds": [
|
|
@@ -1873,7 +2216,35 @@
|
|
|
1873
2216
|
}
|
|
1874
2217
|
},
|
|
1875
2218
|
{
|
|
1876
|
-
"name": "
|
|
2219
|
+
"name": "registry_state",
|
|
2220
|
+
"writable": true,
|
|
2221
|
+
"pda": {
|
|
2222
|
+
"seeds": [
|
|
2223
|
+
{
|
|
2224
|
+
"kind": "const",
|
|
2225
|
+
"value": [
|
|
2226
|
+
109,
|
|
2227
|
+
111,
|
|
2228
|
+
108,
|
|
2229
|
+
112,
|
|
2230
|
+
104,
|
|
2231
|
+
97,
|
|
2232
|
+
95,
|
|
2233
|
+
114,
|
|
2234
|
+
101,
|
|
2235
|
+
103,
|
|
2236
|
+
105,
|
|
2237
|
+
115,
|
|
2238
|
+
116,
|
|
2239
|
+
114,
|
|
2240
|
+
121
|
|
2241
|
+
]
|
|
2242
|
+
}
|
|
2243
|
+
]
|
|
2244
|
+
}
|
|
2245
|
+
},
|
|
2246
|
+
{
|
|
2247
|
+
"name": "evidence_registry",
|
|
1877
2248
|
"pda": {
|
|
1878
2249
|
"seeds": [
|
|
1879
2250
|
{
|
|
@@ -1898,76 +2269,47 @@
|
|
|
1898
2269
|
},
|
|
1899
2270
|
{
|
|
1900
2271
|
"kind": "arg",
|
|
1901
|
-
"path": "
|
|
2272
|
+
"path": "offence"
|
|
1902
2273
|
}
|
|
1903
2274
|
]
|
|
1904
2275
|
}
|
|
1905
2276
|
},
|
|
1906
2277
|
{
|
|
1907
|
-
"name": "
|
|
1908
|
-
"writable": true
|
|
1909
|
-
},
|
|
1910
|
-
{
|
|
1911
|
-
"name": "treasury",
|
|
2278
|
+
"name": "current_registry",
|
|
2279
|
+
"writable": true,
|
|
1912
2280
|
"pda": {
|
|
1913
2281
|
"seeds": [
|
|
1914
2282
|
{
|
|
1915
|
-
"kind": "
|
|
1916
|
-
"
|
|
1917
|
-
|
|
1918
|
-
|
|
1919
|
-
|
|
1920
|
-
|
|
2283
|
+
"kind": "const",
|
|
2284
|
+
"value": [
|
|
2285
|
+
109,
|
|
2286
|
+
111,
|
|
2287
|
+
108,
|
|
2288
|
+
112,
|
|
2289
|
+
104,
|
|
2290
|
+
97,
|
|
2291
|
+
95,
|
|
2292
|
+
114,
|
|
2293
|
+
101,
|
|
2294
|
+
103,
|
|
2295
|
+
105,
|
|
2296
|
+
115,
|
|
2297
|
+
116,
|
|
2298
|
+
114,
|
|
2299
|
+
121
|
|
2300
|
+
]
|
|
1921
2301
|
},
|
|
1922
2302
|
{
|
|
1923
2303
|
"kind": "account",
|
|
1924
|
-
"path": "
|
|
1925
|
-
"account": "
|
|
2304
|
+
"path": "registry_state.current_version",
|
|
2305
|
+
"account": "RegistryState"
|
|
1926
2306
|
}
|
|
1927
|
-
]
|
|
1928
|
-
"program": {
|
|
1929
|
-
"kind": "const",
|
|
1930
|
-
"value": [
|
|
1931
|
-
140,
|
|
1932
|
-
151,
|
|
1933
|
-
37,
|
|
1934
|
-
143,
|
|
1935
|
-
78,
|
|
1936
|
-
36,
|
|
1937
|
-
137,
|
|
1938
|
-
241,
|
|
1939
|
-
187,
|
|
1940
|
-
61,
|
|
1941
|
-
16,
|
|
1942
|
-
41,
|
|
1943
|
-
20,
|
|
1944
|
-
142,
|
|
1945
|
-
13,
|
|
1946
|
-
131,
|
|
1947
|
-
11,
|
|
1948
|
-
90,
|
|
1949
|
-
19,
|
|
1950
|
-
153,
|
|
1951
|
-
218,
|
|
1952
|
-
255,
|
|
1953
|
-
16,
|
|
1954
|
-
132,
|
|
1955
|
-
4,
|
|
1956
|
-
142,
|
|
1957
|
-
123,
|
|
1958
|
-
216,
|
|
1959
|
-
219,
|
|
1960
|
-
233,
|
|
1961
|
-
248,
|
|
1962
|
-
89
|
|
1963
|
-
]
|
|
1964
|
-
}
|
|
2307
|
+
]
|
|
1965
2308
|
}
|
|
1966
2309
|
},
|
|
1967
2310
|
{
|
|
1968
|
-
"name": "
|
|
2311
|
+
"name": "new_registry",
|
|
1969
2312
|
"writable": true,
|
|
1970
|
-
"optional": true,
|
|
1971
2313
|
"pda": {
|
|
1972
2314
|
"seeds": [
|
|
1973
2315
|
{
|
|
@@ -1980,87 +2322,26 @@
|
|
|
1980
2322
|
104,
|
|
1981
2323
|
97,
|
|
1982
2324
|
95,
|
|
1983
|
-
|
|
1984
|
-
101,
|
|
1985
|
-
108,
|
|
2325
|
+
114,
|
|
1986
2326
|
101,
|
|
1987
2327
|
103,
|
|
1988
|
-
|
|
2328
|
+
105,
|
|
2329
|
+
115,
|
|
1989
2330
|
116,
|
|
1990
|
-
|
|
2331
|
+
114,
|
|
2332
|
+
121
|
|
1991
2333
|
]
|
|
1992
2334
|
},
|
|
1993
2335
|
{
|
|
1994
2336
|
"kind": "account",
|
|
1995
|
-
"path": "
|
|
1996
|
-
"account": "
|
|
1997
|
-
},
|
|
1998
|
-
{
|
|
1999
|
-
"kind": "arg",
|
|
2000
|
-
"path": "consumer_authority"
|
|
2337
|
+
"path": "registry_state.next_version",
|
|
2338
|
+
"account": "RegistryState"
|
|
2001
2339
|
}
|
|
2002
2340
|
]
|
|
2003
2341
|
}
|
|
2004
2342
|
},
|
|
2005
2343
|
{
|
|
2006
|
-
"name": "
|
|
2007
|
-
"writable": true
|
|
2008
|
-
},
|
|
2009
|
-
{
|
|
2010
|
-
"name": "round_replay",
|
|
2011
|
-
"writable": true
|
|
2012
|
-
},
|
|
2013
|
-
{
|
|
2014
|
-
"name": "instructions_sysvar",
|
|
2015
|
-
"address": "Sysvar1nstructions1111111111111111111111111"
|
|
2016
|
-
},
|
|
2017
|
-
{
|
|
2018
|
-
"name": "system_program",
|
|
2019
|
-
"address": "11111111111111111111111111111111"
|
|
2020
|
-
},
|
|
2021
|
-
{
|
|
2022
|
-
"name": "token_program",
|
|
2023
|
-
"address": "TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA"
|
|
2024
|
-
}
|
|
2025
|
-
],
|
|
2026
|
-
"args": [
|
|
2027
|
-
{
|
|
2028
|
-
"name": "attestation",
|
|
2029
|
-
"type": {
|
|
2030
|
-
"defined": {
|
|
2031
|
-
"name": "Attestation"
|
|
2032
|
-
}
|
|
2033
|
-
}
|
|
2034
|
-
},
|
|
2035
|
-
{
|
|
2036
|
-
"name": "consumer_authority",
|
|
2037
|
-
"type": "pubkey"
|
|
2038
|
-
}
|
|
2039
|
-
]
|
|
2040
|
-
},
|
|
2041
|
-
{
|
|
2042
|
-
"name": "settle_x402_round",
|
|
2043
|
-
"discriminator": [
|
|
2044
|
-
19,
|
|
2045
|
-
84,
|
|
2046
|
-
17,
|
|
2047
|
-
46,
|
|
2048
|
-
196,
|
|
2049
|
-
5,
|
|
2050
|
-
241,
|
|
2051
|
-
86
|
|
2052
|
-
],
|
|
2053
|
-
"accounts": [
|
|
2054
|
-
{
|
|
2055
|
-
"name": "authority",
|
|
2056
|
-
"writable": true,
|
|
2057
|
-
"signer": true,
|
|
2058
|
-
"relations": [
|
|
2059
|
-
"gateway"
|
|
2060
|
-
]
|
|
2061
|
-
},
|
|
2062
|
-
{
|
|
2063
|
-
"name": "config",
|
|
2344
|
+
"name": "punishment_case",
|
|
2064
2345
|
"writable": true,
|
|
2065
2346
|
"pda": {
|
|
2066
2347
|
"seeds": [
|
|
@@ -2074,60 +2355,91 @@
|
|
|
2074
2355
|
104,
|
|
2075
2356
|
97,
|
|
2076
2357
|
95,
|
|
2077
|
-
|
|
2078
|
-
|
|
2358
|
+
112,
|
|
2359
|
+
117,
|
|
2079
2360
|
110,
|
|
2080
|
-
102,
|
|
2081
2361
|
105,
|
|
2082
|
-
|
|
2362
|
+
115,
|
|
2363
|
+
104,
|
|
2364
|
+
109,
|
|
2365
|
+
101,
|
|
2366
|
+
110,
|
|
2367
|
+
116
|
|
2083
2368
|
]
|
|
2369
|
+
},
|
|
2370
|
+
{
|
|
2371
|
+
"kind": "arg",
|
|
2372
|
+
"path": "offence"
|
|
2084
2373
|
}
|
|
2085
2374
|
]
|
|
2086
2375
|
}
|
|
2087
2376
|
},
|
|
2088
2377
|
{
|
|
2089
|
-
"name": "
|
|
2378
|
+
"name": "node_deposit_vault",
|
|
2379
|
+
"writable": true,
|
|
2090
2380
|
"pda": {
|
|
2091
2381
|
"seeds": [
|
|
2092
2382
|
{
|
|
2093
|
-
"kind": "
|
|
2094
|
-
"
|
|
2095
|
-
109,
|
|
2096
|
-
111,
|
|
2097
|
-
108,
|
|
2098
|
-
112,
|
|
2099
|
-
104,
|
|
2100
|
-
97,
|
|
2101
|
-
95,
|
|
2102
|
-
114,
|
|
2103
|
-
101,
|
|
2104
|
-
103,
|
|
2105
|
-
105,
|
|
2106
|
-
115,
|
|
2107
|
-
116,
|
|
2108
|
-
114,
|
|
2109
|
-
121
|
|
2110
|
-
]
|
|
2383
|
+
"kind": "account",
|
|
2384
|
+
"path": "registry_state"
|
|
2111
2385
|
},
|
|
2112
2386
|
{
|
|
2113
|
-
"kind": "
|
|
2114
|
-
"path": "
|
|
2387
|
+
"kind": "account",
|
|
2388
|
+
"path": "token_program"
|
|
2389
|
+
},
|
|
2390
|
+
{
|
|
2391
|
+
"kind": "account",
|
|
2392
|
+
"path": "protocol_config.usdc_mint",
|
|
2393
|
+
"account": "ProtocolConfig"
|
|
2115
2394
|
}
|
|
2116
|
-
]
|
|
2395
|
+
],
|
|
2396
|
+
"program": {
|
|
2397
|
+
"kind": "const",
|
|
2398
|
+
"value": [
|
|
2399
|
+
140,
|
|
2400
|
+
151,
|
|
2401
|
+
37,
|
|
2402
|
+
143,
|
|
2403
|
+
78,
|
|
2404
|
+
36,
|
|
2405
|
+
137,
|
|
2406
|
+
241,
|
|
2407
|
+
187,
|
|
2408
|
+
61,
|
|
2409
|
+
16,
|
|
2410
|
+
41,
|
|
2411
|
+
20,
|
|
2412
|
+
142,
|
|
2413
|
+
13,
|
|
2414
|
+
131,
|
|
2415
|
+
11,
|
|
2416
|
+
90,
|
|
2417
|
+
19,
|
|
2418
|
+
153,
|
|
2419
|
+
218,
|
|
2420
|
+
255,
|
|
2421
|
+
16,
|
|
2422
|
+
132,
|
|
2423
|
+
4,
|
|
2424
|
+
142,
|
|
2425
|
+
123,
|
|
2426
|
+
216,
|
|
2427
|
+
219,
|
|
2428
|
+
233,
|
|
2429
|
+
248,
|
|
2430
|
+
89
|
|
2431
|
+
]
|
|
2432
|
+
}
|
|
2117
2433
|
}
|
|
2118
2434
|
},
|
|
2119
2435
|
{
|
|
2120
|
-
"name": "
|
|
2121
|
-
"writable": true
|
|
2122
|
-
},
|
|
2123
|
-
{
|
|
2124
|
-
"name": "gateway_usdc",
|
|
2436
|
+
"name": "treasury",
|
|
2125
2437
|
"writable": true,
|
|
2126
2438
|
"pda": {
|
|
2127
2439
|
"seeds": [
|
|
2128
2440
|
{
|
|
2129
2441
|
"kind": "account",
|
|
2130
|
-
"path": "
|
|
2442
|
+
"path": "protocol_config"
|
|
2131
2443
|
},
|
|
2132
2444
|
{
|
|
2133
2445
|
"kind": "account",
|
|
@@ -2135,7 +2447,7 @@
|
|
|
2135
2447
|
},
|
|
2136
2448
|
{
|
|
2137
2449
|
"kind": "account",
|
|
2138
|
-
"path": "
|
|
2450
|
+
"path": "protocol_config.usdc_mint",
|
|
2139
2451
|
"account": "ProtocolConfig"
|
|
2140
2452
|
}
|
|
2141
2453
|
],
|
|
@@ -2179,13 +2491,17 @@
|
|
|
2179
2491
|
}
|
|
2180
2492
|
},
|
|
2181
2493
|
{
|
|
2182
|
-
"name": "
|
|
2494
|
+
"name": "reporter_usdc",
|
|
2495
|
+
"docs": [
|
|
2496
|
+
"Must already exist. Creating it here would cost two more transaction slots, which the",
|
|
2497
|
+
"signer list needs more than a reporter needs the convenience."
|
|
2498
|
+
],
|
|
2183
2499
|
"writable": true,
|
|
2184
2500
|
"pda": {
|
|
2185
2501
|
"seeds": [
|
|
2186
2502
|
{
|
|
2187
2503
|
"kind": "account",
|
|
2188
|
-
"path": "
|
|
2504
|
+
"path": "reporter"
|
|
2189
2505
|
},
|
|
2190
2506
|
{
|
|
2191
2507
|
"kind": "account",
|
|
@@ -2193,7 +2509,7 @@
|
|
|
2193
2509
|
},
|
|
2194
2510
|
{
|
|
2195
2511
|
"kind": "account",
|
|
2196
|
-
"path": "
|
|
2512
|
+
"path": "protocol_config.usdc_mint",
|
|
2197
2513
|
"account": "ProtocolConfig"
|
|
2198
2514
|
}
|
|
2199
2515
|
],
|
|
@@ -2236,10 +2552,6 @@
|
|
|
2236
2552
|
}
|
|
2237
2553
|
}
|
|
2238
2554
|
},
|
|
2239
|
-
{
|
|
2240
|
-
"name": "round_replay",
|
|
2241
|
-
"writable": true
|
|
2242
|
-
},
|
|
2243
2555
|
{
|
|
2244
2556
|
"name": "token_program",
|
|
2245
2557
|
"address": "TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA"
|
|
@@ -2251,97 +2563,35 @@
|
|
|
2251
2563
|
],
|
|
2252
2564
|
"args": [
|
|
2253
2565
|
{
|
|
2254
|
-
"name": "
|
|
2255
|
-
"type": {
|
|
2256
|
-
"defined": {
|
|
2257
|
-
"name": "Attestation"
|
|
2258
|
-
}
|
|
2259
|
-
}
|
|
2260
|
-
},
|
|
2261
|
-
{
|
|
2262
|
-
"name": "args",
|
|
2566
|
+
"name": "offence",
|
|
2263
2567
|
"type": {
|
|
2264
2568
|
"defined": {
|
|
2265
|
-
"name": "
|
|
2569
|
+
"name": "Offence"
|
|
2266
2570
|
}
|
|
2267
2571
|
}
|
|
2268
2572
|
}
|
|
2269
2573
|
]
|
|
2270
2574
|
},
|
|
2271
2575
|
{
|
|
2272
|
-
"name": "
|
|
2576
|
+
"name": "submit_attestation",
|
|
2273
2577
|
"discriminator": [
|
|
2274
|
-
|
|
2275
|
-
|
|
2276
|
-
|
|
2277
|
-
|
|
2278
|
-
|
|
2279
|
-
|
|
2280
|
-
|
|
2281
|
-
|
|
2578
|
+
238,
|
|
2579
|
+
220,
|
|
2580
|
+
255,
|
|
2581
|
+
105,
|
|
2582
|
+
183,
|
|
2583
|
+
211,
|
|
2584
|
+
40,
|
|
2585
|
+
83
|
|
2282
2586
|
],
|
|
2283
2587
|
"accounts": [
|
|
2284
2588
|
{
|
|
2285
|
-
"name": "
|
|
2589
|
+
"name": "submitter",
|
|
2286
2590
|
"writable": true,
|
|
2287
2591
|
"signer": true
|
|
2288
2592
|
},
|
|
2289
2593
|
{
|
|
2290
|
-
"name": "
|
|
2291
|
-
"writable": true,
|
|
2292
|
-
"pda": {
|
|
2293
|
-
"seeds": [
|
|
2294
|
-
{
|
|
2295
|
-
"kind": "const",
|
|
2296
|
-
"value": [
|
|
2297
|
-
109,
|
|
2298
|
-
111,
|
|
2299
|
-
108,
|
|
2300
|
-
112,
|
|
2301
|
-
104,
|
|
2302
|
-
97,
|
|
2303
|
-
95,
|
|
2304
|
-
99,
|
|
2305
|
-
111,
|
|
2306
|
-
110,
|
|
2307
|
-
102,
|
|
2308
|
-
105,
|
|
2309
|
-
103
|
|
2310
|
-
]
|
|
2311
|
-
}
|
|
2312
|
-
]
|
|
2313
|
-
}
|
|
2314
|
-
},
|
|
2315
|
-
{
|
|
2316
|
-
"name": "registry_state",
|
|
2317
|
-
"writable": true,
|
|
2318
|
-
"pda": {
|
|
2319
|
-
"seeds": [
|
|
2320
|
-
{
|
|
2321
|
-
"kind": "const",
|
|
2322
|
-
"value": [
|
|
2323
|
-
109,
|
|
2324
|
-
111,
|
|
2325
|
-
108,
|
|
2326
|
-
112,
|
|
2327
|
-
104,
|
|
2328
|
-
97,
|
|
2329
|
-
95,
|
|
2330
|
-
114,
|
|
2331
|
-
101,
|
|
2332
|
-
103,
|
|
2333
|
-
105,
|
|
2334
|
-
115,
|
|
2335
|
-
116,
|
|
2336
|
-
114,
|
|
2337
|
-
121
|
|
2338
|
-
]
|
|
2339
|
-
}
|
|
2340
|
-
]
|
|
2341
|
-
}
|
|
2342
|
-
},
|
|
2343
|
-
{
|
|
2344
|
-
"name": "evidence_registry",
|
|
2594
|
+
"name": "registry",
|
|
2345
2595
|
"pda": {
|
|
2346
2596
|
"seeds": [
|
|
2347
2597
|
{
|
|
@@ -2366,13 +2616,13 @@
|
|
|
2366
2616
|
},
|
|
2367
2617
|
{
|
|
2368
2618
|
"kind": "arg",
|
|
2369
|
-
"path": "
|
|
2619
|
+
"path": "args.attestation.payload.registry_version"
|
|
2370
2620
|
}
|
|
2371
2621
|
]
|
|
2372
2622
|
}
|
|
2373
2623
|
},
|
|
2374
2624
|
{
|
|
2375
|
-
"name": "
|
|
2625
|
+
"name": "feed",
|
|
2376
2626
|
"writable": true,
|
|
2377
2627
|
"pda": {
|
|
2378
2628
|
"seeds": [
|
|
@@ -2386,60 +2636,29 @@
|
|
|
2386
2636
|
104,
|
|
2387
2637
|
97,
|
|
2388
2638
|
95,
|
|
2389
|
-
|
|
2639
|
+
102,
|
|
2390
2640
|
101,
|
|
2391
|
-
|
|
2392
|
-
|
|
2393
|
-
115,
|
|
2394
|
-
116,
|
|
2395
|
-
114,
|
|
2396
|
-
121
|
|
2641
|
+
101,
|
|
2642
|
+
100
|
|
2397
2643
|
]
|
|
2398
2644
|
},
|
|
2399
2645
|
{
|
|
2400
|
-
"kind": "
|
|
2401
|
-
"path": "
|
|
2402
|
-
|
|
2403
|
-
}
|
|
2404
|
-
]
|
|
2405
|
-
}
|
|
2406
|
-
},
|
|
2407
|
-
{
|
|
2408
|
-
"name": "new_registry",
|
|
2409
|
-
"writable": true,
|
|
2410
|
-
"pda": {
|
|
2411
|
-
"seeds": [
|
|
2646
|
+
"kind": "arg",
|
|
2647
|
+
"path": "args.attestation.payload.source_id"
|
|
2648
|
+
},
|
|
2412
2649
|
{
|
|
2413
|
-
"kind": "
|
|
2414
|
-
"
|
|
2415
|
-
109,
|
|
2416
|
-
111,
|
|
2417
|
-
108,
|
|
2418
|
-
112,
|
|
2419
|
-
104,
|
|
2420
|
-
97,
|
|
2421
|
-
95,
|
|
2422
|
-
114,
|
|
2423
|
-
101,
|
|
2424
|
-
103,
|
|
2425
|
-
105,
|
|
2426
|
-
115,
|
|
2427
|
-
116,
|
|
2428
|
-
114,
|
|
2429
|
-
121
|
|
2430
|
-
]
|
|
2650
|
+
"kind": "arg",
|
|
2651
|
+
"path": "args.attestation.payload.signatures_required"
|
|
2431
2652
|
},
|
|
2432
2653
|
{
|
|
2433
2654
|
"kind": "account",
|
|
2434
|
-
"path": "
|
|
2435
|
-
"account": "RegistryState"
|
|
2655
|
+
"path": "submitter"
|
|
2436
2656
|
}
|
|
2437
2657
|
]
|
|
2438
2658
|
}
|
|
2439
2659
|
},
|
|
2440
2660
|
{
|
|
2441
|
-
"name": "
|
|
2442
|
-
"writable": true,
|
|
2661
|
+
"name": "protocol_config",
|
|
2443
2662
|
"pda": {
|
|
2444
2663
|
"seeds": [
|
|
2445
2664
|
{
|
|
@@ -2452,207 +2671,17 @@
|
|
|
2452
2671
|
104,
|
|
2453
2672
|
97,
|
|
2454
2673
|
95,
|
|
2455
|
-
|
|
2456
|
-
|
|
2674
|
+
99,
|
|
2675
|
+
111,
|
|
2457
2676
|
110,
|
|
2677
|
+
102,
|
|
2458
2678
|
105,
|
|
2459
|
-
|
|
2460
|
-
104,
|
|
2461
|
-
109,
|
|
2462
|
-
101,
|
|
2463
|
-
110,
|
|
2464
|
-
116
|
|
2679
|
+
103
|
|
2465
2680
|
]
|
|
2466
|
-
},
|
|
2467
|
-
{
|
|
2468
|
-
"kind": "arg",
|
|
2469
|
-
"path": "offence"
|
|
2470
2681
|
}
|
|
2471
2682
|
]
|
|
2472
2683
|
}
|
|
2473
2684
|
},
|
|
2474
|
-
{
|
|
2475
|
-
"name": "node_deposit_vault",
|
|
2476
|
-
"writable": true,
|
|
2477
|
-
"pda": {
|
|
2478
|
-
"seeds": [
|
|
2479
|
-
{
|
|
2480
|
-
"kind": "account",
|
|
2481
|
-
"path": "registry_state"
|
|
2482
|
-
},
|
|
2483
|
-
{
|
|
2484
|
-
"kind": "account",
|
|
2485
|
-
"path": "token_program"
|
|
2486
|
-
},
|
|
2487
|
-
{
|
|
2488
|
-
"kind": "account",
|
|
2489
|
-
"path": "protocol_config.usdc_mint",
|
|
2490
|
-
"account": "ProtocolConfig"
|
|
2491
|
-
}
|
|
2492
|
-
],
|
|
2493
|
-
"program": {
|
|
2494
|
-
"kind": "const",
|
|
2495
|
-
"value": [
|
|
2496
|
-
140,
|
|
2497
|
-
151,
|
|
2498
|
-
37,
|
|
2499
|
-
143,
|
|
2500
|
-
78,
|
|
2501
|
-
36,
|
|
2502
|
-
137,
|
|
2503
|
-
241,
|
|
2504
|
-
187,
|
|
2505
|
-
61,
|
|
2506
|
-
16,
|
|
2507
|
-
41,
|
|
2508
|
-
20,
|
|
2509
|
-
142,
|
|
2510
|
-
13,
|
|
2511
|
-
131,
|
|
2512
|
-
11,
|
|
2513
|
-
90,
|
|
2514
|
-
19,
|
|
2515
|
-
153,
|
|
2516
|
-
218,
|
|
2517
|
-
255,
|
|
2518
|
-
16,
|
|
2519
|
-
132,
|
|
2520
|
-
4,
|
|
2521
|
-
142,
|
|
2522
|
-
123,
|
|
2523
|
-
216,
|
|
2524
|
-
219,
|
|
2525
|
-
233,
|
|
2526
|
-
248,
|
|
2527
|
-
89
|
|
2528
|
-
]
|
|
2529
|
-
}
|
|
2530
|
-
}
|
|
2531
|
-
},
|
|
2532
|
-
{
|
|
2533
|
-
"name": "treasury",
|
|
2534
|
-
"writable": true,
|
|
2535
|
-
"pda": {
|
|
2536
|
-
"seeds": [
|
|
2537
|
-
{
|
|
2538
|
-
"kind": "account",
|
|
2539
|
-
"path": "protocol_config"
|
|
2540
|
-
},
|
|
2541
|
-
{
|
|
2542
|
-
"kind": "account",
|
|
2543
|
-
"path": "token_program"
|
|
2544
|
-
},
|
|
2545
|
-
{
|
|
2546
|
-
"kind": "account",
|
|
2547
|
-
"path": "protocol_config.usdc_mint",
|
|
2548
|
-
"account": "ProtocolConfig"
|
|
2549
|
-
}
|
|
2550
|
-
],
|
|
2551
|
-
"program": {
|
|
2552
|
-
"kind": "const",
|
|
2553
|
-
"value": [
|
|
2554
|
-
140,
|
|
2555
|
-
151,
|
|
2556
|
-
37,
|
|
2557
|
-
143,
|
|
2558
|
-
78,
|
|
2559
|
-
36,
|
|
2560
|
-
137,
|
|
2561
|
-
241,
|
|
2562
|
-
187,
|
|
2563
|
-
61,
|
|
2564
|
-
16,
|
|
2565
|
-
41,
|
|
2566
|
-
20,
|
|
2567
|
-
142,
|
|
2568
|
-
13,
|
|
2569
|
-
131,
|
|
2570
|
-
11,
|
|
2571
|
-
90,
|
|
2572
|
-
19,
|
|
2573
|
-
153,
|
|
2574
|
-
218,
|
|
2575
|
-
255,
|
|
2576
|
-
16,
|
|
2577
|
-
132,
|
|
2578
|
-
4,
|
|
2579
|
-
142,
|
|
2580
|
-
123,
|
|
2581
|
-
216,
|
|
2582
|
-
219,
|
|
2583
|
-
233,
|
|
2584
|
-
248,
|
|
2585
|
-
89
|
|
2586
|
-
]
|
|
2587
|
-
}
|
|
2588
|
-
}
|
|
2589
|
-
},
|
|
2590
|
-
{
|
|
2591
|
-
"name": "reporter_usdc",
|
|
2592
|
-
"docs": [
|
|
2593
|
-
"Must already exist. Creating it here would cost two more transaction slots, which the",
|
|
2594
|
-
"signer list needs more than a reporter needs the convenience."
|
|
2595
|
-
],
|
|
2596
|
-
"writable": true,
|
|
2597
|
-
"pda": {
|
|
2598
|
-
"seeds": [
|
|
2599
|
-
{
|
|
2600
|
-
"kind": "account",
|
|
2601
|
-
"path": "reporter"
|
|
2602
|
-
},
|
|
2603
|
-
{
|
|
2604
|
-
"kind": "account",
|
|
2605
|
-
"path": "token_program"
|
|
2606
|
-
},
|
|
2607
|
-
{
|
|
2608
|
-
"kind": "account",
|
|
2609
|
-
"path": "protocol_config.usdc_mint",
|
|
2610
|
-
"account": "ProtocolConfig"
|
|
2611
|
-
}
|
|
2612
|
-
],
|
|
2613
|
-
"program": {
|
|
2614
|
-
"kind": "const",
|
|
2615
|
-
"value": [
|
|
2616
|
-
140,
|
|
2617
|
-
151,
|
|
2618
|
-
37,
|
|
2619
|
-
143,
|
|
2620
|
-
78,
|
|
2621
|
-
36,
|
|
2622
|
-
137,
|
|
2623
|
-
241,
|
|
2624
|
-
187,
|
|
2625
|
-
61,
|
|
2626
|
-
16,
|
|
2627
|
-
41,
|
|
2628
|
-
20,
|
|
2629
|
-
142,
|
|
2630
|
-
13,
|
|
2631
|
-
131,
|
|
2632
|
-
11,
|
|
2633
|
-
90,
|
|
2634
|
-
19,
|
|
2635
|
-
153,
|
|
2636
|
-
218,
|
|
2637
|
-
255,
|
|
2638
|
-
16,
|
|
2639
|
-
132,
|
|
2640
|
-
4,
|
|
2641
|
-
142,
|
|
2642
|
-
123,
|
|
2643
|
-
216,
|
|
2644
|
-
219,
|
|
2645
|
-
233,
|
|
2646
|
-
248,
|
|
2647
|
-
89
|
|
2648
|
-
]
|
|
2649
|
-
}
|
|
2650
|
-
}
|
|
2651
|
-
},
|
|
2652
|
-
{
|
|
2653
|
-
"name": "token_program",
|
|
2654
|
-
"address": "TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA"
|
|
2655
|
-
},
|
|
2656
2685
|
{
|
|
2657
2686
|
"name": "system_program",
|
|
2658
2687
|
"address": "11111111111111111111111111111111"
|
|
@@ -2660,26 +2689,26 @@
|
|
|
2660
2689
|
],
|
|
2661
2690
|
"args": [
|
|
2662
2691
|
{
|
|
2663
|
-
"name": "
|
|
2692
|
+
"name": "args",
|
|
2664
2693
|
"type": {
|
|
2665
2694
|
"defined": {
|
|
2666
|
-
"name": "
|
|
2695
|
+
"name": "SubmitAttestationArgs"
|
|
2667
2696
|
}
|
|
2668
2697
|
}
|
|
2669
2698
|
}
|
|
2670
2699
|
]
|
|
2671
2700
|
},
|
|
2672
2701
|
{
|
|
2673
|
-
"name": "
|
|
2674
|
-
"discriminator": [
|
|
2675
|
-
|
|
2676
|
-
|
|
2677
|
-
|
|
2678
|
-
|
|
2679
|
-
|
|
2680
|
-
|
|
2681
|
-
|
|
2682
|
-
|
|
2702
|
+
"name": "submit_ticket",
|
|
2703
|
+
"discriminator": [
|
|
2704
|
+
180,
|
|
2705
|
+
57,
|
|
2706
|
+
11,
|
|
2707
|
+
108,
|
|
2708
|
+
162,
|
|
2709
|
+
36,
|
|
2710
|
+
145,
|
|
2711
|
+
150
|
|
2683
2712
|
],
|
|
2684
2713
|
"accounts": [
|
|
2685
2714
|
{
|
|
@@ -2687,6 +2716,31 @@
|
|
|
2687
2716
|
"writable": true,
|
|
2688
2717
|
"signer": true
|
|
2689
2718
|
},
|
|
2719
|
+
{
|
|
2720
|
+
"name": "protocol_config",
|
|
2721
|
+
"pda": {
|
|
2722
|
+
"seeds": [
|
|
2723
|
+
{
|
|
2724
|
+
"kind": "const",
|
|
2725
|
+
"value": [
|
|
2726
|
+
109,
|
|
2727
|
+
111,
|
|
2728
|
+
108,
|
|
2729
|
+
112,
|
|
2730
|
+
104,
|
|
2731
|
+
97,
|
|
2732
|
+
95,
|
|
2733
|
+
99,
|
|
2734
|
+
111,
|
|
2735
|
+
110,
|
|
2736
|
+
102,
|
|
2737
|
+
105,
|
|
2738
|
+
103
|
|
2739
|
+
]
|
|
2740
|
+
}
|
|
2741
|
+
]
|
|
2742
|
+
}
|
|
2743
|
+
},
|
|
2690
2744
|
{
|
|
2691
2745
|
"name": "registry",
|
|
2692
2746
|
"pda": {
|
|
@@ -2713,13 +2767,13 @@
|
|
|
2713
2767
|
},
|
|
2714
2768
|
{
|
|
2715
2769
|
"kind": "arg",
|
|
2716
|
-
"path": "
|
|
2770
|
+
"path": "attestation.payload.registry_version"
|
|
2717
2771
|
}
|
|
2718
2772
|
]
|
|
2719
2773
|
}
|
|
2720
2774
|
},
|
|
2721
2775
|
{
|
|
2722
|
-
"name": "
|
|
2776
|
+
"name": "epoch_state",
|
|
2723
2777
|
"writable": true,
|
|
2724
2778
|
"pda": {
|
|
2725
2779
|
"seeds": [
|
|
@@ -2733,29 +2787,25 @@
|
|
|
2733
2787
|
104,
|
|
2734
2788
|
97,
|
|
2735
2789
|
95,
|
|
2736
|
-
102,
|
|
2737
2790
|
101,
|
|
2738
|
-
|
|
2739
|
-
|
|
2791
|
+
112,
|
|
2792
|
+
111,
|
|
2793
|
+
99,
|
|
2794
|
+
104
|
|
2740
2795
|
]
|
|
2741
2796
|
},
|
|
2742
2797
|
{
|
|
2743
2798
|
"kind": "arg",
|
|
2744
|
-
"path": "
|
|
2745
|
-
},
|
|
2746
|
-
{
|
|
2747
|
-
"kind": "arg",
|
|
2748
|
-
"path": "args.attestation.payload.signatures_required"
|
|
2749
|
-
},
|
|
2750
|
-
{
|
|
2751
|
-
"kind": "account",
|
|
2752
|
-
"path": "submitter"
|
|
2799
|
+
"path": "epoch_index"
|
|
2753
2800
|
}
|
|
2754
2801
|
]
|
|
2755
2802
|
}
|
|
2756
2803
|
},
|
|
2757
2804
|
{
|
|
2758
|
-
"name": "
|
|
2805
|
+
"name": "gateway",
|
|
2806
|
+
"docs": [
|
|
2807
|
+
"Gateway whose authority signed the round dispatch."
|
|
2808
|
+
],
|
|
2759
2809
|
"pda": {
|
|
2760
2810
|
"seeds": [
|
|
2761
2811
|
{
|
|
@@ -2768,17 +2818,31 @@
|
|
|
2768
2818
|
104,
|
|
2769
2819
|
97,
|
|
2770
2820
|
95,
|
|
2771
|
-
|
|
2772
|
-
|
|
2773
|
-
|
|
2774
|
-
|
|
2775
|
-
|
|
2776
|
-
|
|
2821
|
+
103,
|
|
2822
|
+
97,
|
|
2823
|
+
116,
|
|
2824
|
+
101,
|
|
2825
|
+
119,
|
|
2826
|
+
97,
|
|
2827
|
+
121
|
|
2777
2828
|
]
|
|
2829
|
+
},
|
|
2830
|
+
{
|
|
2831
|
+
"kind": "account",
|
|
2832
|
+
"path": "gateway.authority",
|
|
2833
|
+
"account": "Gateway"
|
|
2778
2834
|
}
|
|
2779
2835
|
]
|
|
2780
2836
|
}
|
|
2781
2837
|
},
|
|
2838
|
+
{
|
|
2839
|
+
"name": "ticket_marker",
|
|
2840
|
+
"writable": true
|
|
2841
|
+
},
|
|
2842
|
+
{
|
|
2843
|
+
"name": "instructions_sysvar",
|
|
2844
|
+
"address": "Sysvar1nstructions1111111111111111111111111"
|
|
2845
|
+
},
|
|
2782
2846
|
{
|
|
2783
2847
|
"name": "system_program",
|
|
2784
2848
|
"address": "11111111111111111111111111111111"
|
|
@@ -2786,10 +2850,28 @@
|
|
|
2786
2850
|
],
|
|
2787
2851
|
"args": [
|
|
2788
2852
|
{
|
|
2789
|
-
"name": "
|
|
2853
|
+
"name": "epoch",
|
|
2854
|
+
"type": "u64"
|
|
2855
|
+
},
|
|
2856
|
+
{
|
|
2857
|
+
"name": "attestation",
|
|
2790
2858
|
"type": {
|
|
2791
2859
|
"defined": {
|
|
2792
|
-
"name": "
|
|
2860
|
+
"name": "Attestation"
|
|
2861
|
+
}
|
|
2862
|
+
}
|
|
2863
|
+
},
|
|
2864
|
+
{
|
|
2865
|
+
"name": "roster_slots",
|
|
2866
|
+
"type": {
|
|
2867
|
+
"vec": "u16"
|
|
2868
|
+
}
|
|
2869
|
+
},
|
|
2870
|
+
{
|
|
2871
|
+
"name": "coalition_key",
|
|
2872
|
+
"type": {
|
|
2873
|
+
"defined": {
|
|
2874
|
+
"name": "CoalitionKey"
|
|
2793
2875
|
}
|
|
2794
2876
|
}
|
|
2795
2877
|
}
|
|
@@ -3013,6 +3095,143 @@
|
|
|
3013
3095
|
}
|
|
3014
3096
|
]
|
|
3015
3097
|
},
|
|
3098
|
+
{
|
|
3099
|
+
"name": "sweep_treasury_revenue",
|
|
3100
|
+
"discriminator": [
|
|
3101
|
+
72,
|
|
3102
|
+
190,
|
|
3103
|
+
138,
|
|
3104
|
+
104,
|
|
3105
|
+
78,
|
|
3106
|
+
128,
|
|
3107
|
+
112,
|
|
3108
|
+
59
|
|
3109
|
+
],
|
|
3110
|
+
"accounts": [
|
|
3111
|
+
{
|
|
3112
|
+
"name": "protocol_config",
|
|
3113
|
+
"writable": true,
|
|
3114
|
+
"pda": {
|
|
3115
|
+
"seeds": [
|
|
3116
|
+
{
|
|
3117
|
+
"kind": "const",
|
|
3118
|
+
"value": [
|
|
3119
|
+
109,
|
|
3120
|
+
111,
|
|
3121
|
+
108,
|
|
3122
|
+
112,
|
|
3123
|
+
104,
|
|
3124
|
+
97,
|
|
3125
|
+
95,
|
|
3126
|
+
99,
|
|
3127
|
+
111,
|
|
3128
|
+
110,
|
|
3129
|
+
102,
|
|
3130
|
+
105,
|
|
3131
|
+
103
|
|
3132
|
+
]
|
|
3133
|
+
}
|
|
3134
|
+
]
|
|
3135
|
+
}
|
|
3136
|
+
},
|
|
3137
|
+
{
|
|
3138
|
+
"name": "treasury",
|
|
3139
|
+
"pda": {
|
|
3140
|
+
"seeds": [
|
|
3141
|
+
{
|
|
3142
|
+
"kind": "account",
|
|
3143
|
+
"path": "protocol_config"
|
|
3144
|
+
},
|
|
3145
|
+
{
|
|
3146
|
+
"kind": "account",
|
|
3147
|
+
"path": "token_program"
|
|
3148
|
+
},
|
|
3149
|
+
{
|
|
3150
|
+
"kind": "account",
|
|
3151
|
+
"path": "protocol_config.usdc_mint",
|
|
3152
|
+
"account": "ProtocolConfig"
|
|
3153
|
+
}
|
|
3154
|
+
],
|
|
3155
|
+
"program": {
|
|
3156
|
+
"kind": "const",
|
|
3157
|
+
"value": [
|
|
3158
|
+
140,
|
|
3159
|
+
151,
|
|
3160
|
+
37,
|
|
3161
|
+
143,
|
|
3162
|
+
78,
|
|
3163
|
+
36,
|
|
3164
|
+
137,
|
|
3165
|
+
241,
|
|
3166
|
+
187,
|
|
3167
|
+
61,
|
|
3168
|
+
16,
|
|
3169
|
+
41,
|
|
3170
|
+
20,
|
|
3171
|
+
142,
|
|
3172
|
+
13,
|
|
3173
|
+
131,
|
|
3174
|
+
11,
|
|
3175
|
+
90,
|
|
3176
|
+
19,
|
|
3177
|
+
153,
|
|
3178
|
+
218,
|
|
3179
|
+
255,
|
|
3180
|
+
16,
|
|
3181
|
+
132,
|
|
3182
|
+
4,
|
|
3183
|
+
142,
|
|
3184
|
+
123,
|
|
3185
|
+
216,
|
|
3186
|
+
219,
|
|
3187
|
+
233,
|
|
3188
|
+
248,
|
|
3189
|
+
89
|
|
3190
|
+
]
|
|
3191
|
+
}
|
|
3192
|
+
}
|
|
3193
|
+
},
|
|
3194
|
+
{
|
|
3195
|
+
"name": "epoch_state",
|
|
3196
|
+
"writable": true,
|
|
3197
|
+
"pda": {
|
|
3198
|
+
"seeds": [
|
|
3199
|
+
{
|
|
3200
|
+
"kind": "const",
|
|
3201
|
+
"value": [
|
|
3202
|
+
109,
|
|
3203
|
+
111,
|
|
3204
|
+
108,
|
|
3205
|
+
112,
|
|
3206
|
+
104,
|
|
3207
|
+
97,
|
|
3208
|
+
95,
|
|
3209
|
+
101,
|
|
3210
|
+
112,
|
|
3211
|
+
111,
|
|
3212
|
+
99,
|
|
3213
|
+
104
|
|
3214
|
+
]
|
|
3215
|
+
},
|
|
3216
|
+
{
|
|
3217
|
+
"kind": "arg",
|
|
3218
|
+
"path": "open_epoch"
|
|
3219
|
+
}
|
|
3220
|
+
]
|
|
3221
|
+
}
|
|
3222
|
+
},
|
|
3223
|
+
{
|
|
3224
|
+
"name": "token_program",
|
|
3225
|
+
"address": "TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA"
|
|
3226
|
+
}
|
|
3227
|
+
],
|
|
3228
|
+
"args": [
|
|
3229
|
+
{
|
|
3230
|
+
"name": "open_epoch",
|
|
3231
|
+
"type": "u64"
|
|
3232
|
+
}
|
|
3233
|
+
]
|
|
3234
|
+
},
|
|
3016
3235
|
{
|
|
3017
3236
|
"name": "update_config",
|
|
3018
3237
|
"discriminator": [
|
|
@@ -3442,13 +3661,71 @@
|
|
|
3442
3661
|
}
|
|
3443
3662
|
},
|
|
3444
3663
|
{
|
|
3445
|
-
"name": "node_deposit_vault",
|
|
3664
|
+
"name": "node_deposit_vault",
|
|
3665
|
+
"writable": true,
|
|
3666
|
+
"pda": {
|
|
3667
|
+
"seeds": [
|
|
3668
|
+
{
|
|
3669
|
+
"kind": "account",
|
|
3670
|
+
"path": "registry_state"
|
|
3671
|
+
},
|
|
3672
|
+
{
|
|
3673
|
+
"kind": "account",
|
|
3674
|
+
"path": "token_program"
|
|
3675
|
+
},
|
|
3676
|
+
{
|
|
3677
|
+
"kind": "account",
|
|
3678
|
+
"path": "protocol_config.usdc_mint",
|
|
3679
|
+
"account": "ProtocolConfig"
|
|
3680
|
+
}
|
|
3681
|
+
],
|
|
3682
|
+
"program": {
|
|
3683
|
+
"kind": "const",
|
|
3684
|
+
"value": [
|
|
3685
|
+
140,
|
|
3686
|
+
151,
|
|
3687
|
+
37,
|
|
3688
|
+
143,
|
|
3689
|
+
78,
|
|
3690
|
+
36,
|
|
3691
|
+
137,
|
|
3692
|
+
241,
|
|
3693
|
+
187,
|
|
3694
|
+
61,
|
|
3695
|
+
16,
|
|
3696
|
+
41,
|
|
3697
|
+
20,
|
|
3698
|
+
142,
|
|
3699
|
+
13,
|
|
3700
|
+
131,
|
|
3701
|
+
11,
|
|
3702
|
+
90,
|
|
3703
|
+
19,
|
|
3704
|
+
153,
|
|
3705
|
+
218,
|
|
3706
|
+
255,
|
|
3707
|
+
16,
|
|
3708
|
+
132,
|
|
3709
|
+
4,
|
|
3710
|
+
142,
|
|
3711
|
+
123,
|
|
3712
|
+
216,
|
|
3713
|
+
219,
|
|
3714
|
+
233,
|
|
3715
|
+
248,
|
|
3716
|
+
89
|
|
3717
|
+
]
|
|
3718
|
+
}
|
|
3719
|
+
}
|
|
3720
|
+
},
|
|
3721
|
+
{
|
|
3722
|
+
"name": "destination",
|
|
3446
3723
|
"writable": true,
|
|
3447
3724
|
"pda": {
|
|
3448
3725
|
"seeds": [
|
|
3449
3726
|
{
|
|
3450
3727
|
"kind": "account",
|
|
3451
|
-
"path": "
|
|
3728
|
+
"path": "authority"
|
|
3452
3729
|
},
|
|
3453
3730
|
{
|
|
3454
3731
|
"kind": "account",
|
|
@@ -3500,13 +3777,74 @@
|
|
|
3500
3777
|
}
|
|
3501
3778
|
},
|
|
3502
3779
|
{
|
|
3503
|
-
"name": "
|
|
3780
|
+
"name": "token_program",
|
|
3781
|
+
"address": "TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA"
|
|
3782
|
+
},
|
|
3783
|
+
{
|
|
3784
|
+
"name": "associated_token_program",
|
|
3785
|
+
"address": "ATokenGPvbdGVxr1b2hvZbsiqW5xWH25efTNsLJA8knL"
|
|
3786
|
+
},
|
|
3787
|
+
{
|
|
3788
|
+
"name": "system_program",
|
|
3789
|
+
"address": "11111111111111111111111111111111"
|
|
3790
|
+
}
|
|
3791
|
+
],
|
|
3792
|
+
"args": []
|
|
3793
|
+
},
|
|
3794
|
+
{
|
|
3795
|
+
"name": "withdraw_protocol_reserve",
|
|
3796
|
+
"discriminator": [
|
|
3797
|
+
68,
|
|
3798
|
+
111,
|
|
3799
|
+
180,
|
|
3800
|
+
79,
|
|
3801
|
+
228,
|
|
3802
|
+
72,
|
|
3803
|
+
116,
|
|
3804
|
+
12
|
|
3805
|
+
],
|
|
3806
|
+
"accounts": [
|
|
3807
|
+
{
|
|
3808
|
+
"name": "authority",
|
|
3809
|
+
"signer": true,
|
|
3810
|
+
"relations": [
|
|
3811
|
+
"protocol_config"
|
|
3812
|
+
]
|
|
3813
|
+
},
|
|
3814
|
+
{
|
|
3815
|
+
"name": "protocol_config",
|
|
3816
|
+
"writable": true,
|
|
3817
|
+
"pda": {
|
|
3818
|
+
"seeds": [
|
|
3819
|
+
{
|
|
3820
|
+
"kind": "const",
|
|
3821
|
+
"value": [
|
|
3822
|
+
109,
|
|
3823
|
+
111,
|
|
3824
|
+
108,
|
|
3825
|
+
112,
|
|
3826
|
+
104,
|
|
3827
|
+
97,
|
|
3828
|
+
95,
|
|
3829
|
+
99,
|
|
3830
|
+
111,
|
|
3831
|
+
110,
|
|
3832
|
+
102,
|
|
3833
|
+
105,
|
|
3834
|
+
103
|
|
3835
|
+
]
|
|
3836
|
+
}
|
|
3837
|
+
]
|
|
3838
|
+
}
|
|
3839
|
+
},
|
|
3840
|
+
{
|
|
3841
|
+
"name": "treasury",
|
|
3504
3842
|
"writable": true,
|
|
3505
3843
|
"pda": {
|
|
3506
3844
|
"seeds": [
|
|
3507
3845
|
{
|
|
3508
3846
|
"kind": "account",
|
|
3509
|
-
"path": "
|
|
3847
|
+
"path": "protocol_config"
|
|
3510
3848
|
},
|
|
3511
3849
|
{
|
|
3512
3850
|
"kind": "account",
|
|
@@ -3558,19 +3896,20 @@
|
|
|
3558
3896
|
}
|
|
3559
3897
|
},
|
|
3560
3898
|
{
|
|
3561
|
-
"name": "
|
|
3562
|
-
"
|
|
3563
|
-
},
|
|
3564
|
-
{
|
|
3565
|
-
"name": "associated_token_program",
|
|
3566
|
-
"address": "ATokenGPvbdGVxr1b2hvZbsiqW5xWH25efTNsLJA8knL"
|
|
3899
|
+
"name": "destination",
|
|
3900
|
+
"writable": true
|
|
3567
3901
|
},
|
|
3568
3902
|
{
|
|
3569
|
-
"name": "
|
|
3570
|
-
"address": "
|
|
3903
|
+
"name": "token_program",
|
|
3904
|
+
"address": "TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA"
|
|
3571
3905
|
}
|
|
3572
3906
|
],
|
|
3573
|
-
"args": [
|
|
3907
|
+
"args": [
|
|
3908
|
+
{
|
|
3909
|
+
"name": "amount",
|
|
3910
|
+
"type": "u64"
|
|
3911
|
+
}
|
|
3912
|
+
]
|
|
3574
3913
|
}
|
|
3575
3914
|
],
|
|
3576
3915
|
"accounts": [
|
|
@@ -3587,6 +3926,19 @@
|
|
|
3587
3926
|
247
|
|
3588
3927
|
]
|
|
3589
3928
|
},
|
|
3929
|
+
{
|
|
3930
|
+
"name": "EpochState",
|
|
3931
|
+
"discriminator": [
|
|
3932
|
+
191,
|
|
3933
|
+
63,
|
|
3934
|
+
139,
|
|
3935
|
+
237,
|
|
3936
|
+
144,
|
|
3937
|
+
12,
|
|
3938
|
+
223,
|
|
3939
|
+
210
|
|
3940
|
+
]
|
|
3941
|
+
},
|
|
3590
3942
|
{
|
|
3591
3943
|
"name": "Feed",
|
|
3592
3944
|
"discriminator": [
|
|
@@ -3691,19 +4043,6 @@
|
|
|
3691
4043
|
97
|
|
3692
4044
|
]
|
|
3693
4045
|
},
|
|
3694
|
-
{
|
|
3695
|
-
"name": "RoundReplayMarker",
|
|
3696
|
-
"discriminator": [
|
|
3697
|
-
189,
|
|
3698
|
-
232,
|
|
3699
|
-
25,
|
|
3700
|
-
7,
|
|
3701
|
-
112,
|
|
3702
|
-
5,
|
|
3703
|
-
195,
|
|
3704
|
-
190
|
|
3705
|
-
]
|
|
3706
|
-
},
|
|
3707
4046
|
{
|
|
3708
4047
|
"name": "Secp256k1KeyClaim",
|
|
3709
4048
|
"discriminator": [
|
|
@@ -3729,6 +4068,19 @@
|
|
|
3729
4068
|
98,
|
|
3730
4069
|
33
|
|
3731
4070
|
]
|
|
4071
|
+
},
|
|
4072
|
+
{
|
|
4073
|
+
"name": "TicketMarker",
|
|
4074
|
+
"discriminator": [
|
|
4075
|
+
1,
|
|
4076
|
+
117,
|
|
4077
|
+
194,
|
|
4078
|
+
234,
|
|
4079
|
+
146,
|
|
4080
|
+
15,
|
|
4081
|
+
115,
|
|
4082
|
+
255
|
|
4083
|
+
]
|
|
3732
4084
|
}
|
|
3733
4085
|
],
|
|
3734
4086
|
"events": [
|
|
@@ -3771,6 +4123,58 @@
|
|
|
3771
4123
|
92
|
|
3772
4124
|
]
|
|
3773
4125
|
},
|
|
4126
|
+
{
|
|
4127
|
+
"name": "EpochClosed",
|
|
4128
|
+
"discriminator": [
|
|
4129
|
+
21,
|
|
4130
|
+
4,
|
|
4131
|
+
48,
|
|
4132
|
+
56,
|
|
4133
|
+
29,
|
|
4134
|
+
169,
|
|
4135
|
+
77,
|
|
4136
|
+
42
|
|
4137
|
+
]
|
|
4138
|
+
},
|
|
4139
|
+
{
|
|
4140
|
+
"name": "EpochCreated",
|
|
4141
|
+
"discriminator": [
|
|
4142
|
+
191,
|
|
4143
|
+
150,
|
|
4144
|
+
240,
|
|
4145
|
+
63,
|
|
4146
|
+
59,
|
|
4147
|
+
212,
|
|
4148
|
+
233,
|
|
4149
|
+
124
|
|
4150
|
+
]
|
|
4151
|
+
},
|
|
4152
|
+
{
|
|
4153
|
+
"name": "EpochFinalized",
|
|
4154
|
+
"discriminator": [
|
|
4155
|
+
109,
|
|
4156
|
+
54,
|
|
4157
|
+
231,
|
|
4158
|
+
81,
|
|
4159
|
+
101,
|
|
4160
|
+
249,
|
|
4161
|
+
145,
|
|
4162
|
+
107
|
|
4163
|
+
]
|
|
4164
|
+
},
|
|
4165
|
+
{
|
|
4166
|
+
"name": "EpochRewardCredited",
|
|
4167
|
+
"discriminator": [
|
|
4168
|
+
12,
|
|
4169
|
+
42,
|
|
4170
|
+
166,
|
|
4171
|
+
244,
|
|
4172
|
+
196,
|
|
4173
|
+
241,
|
|
4174
|
+
134,
|
|
4175
|
+
186
|
|
4176
|
+
]
|
|
4177
|
+
},
|
|
3774
4178
|
{
|
|
3775
4179
|
"name": "FeedUpdated",
|
|
3776
4180
|
"discriminator": [
|
|
@@ -3849,19 +4253,6 @@
|
|
|
3849
4253
|
240
|
|
3850
4254
|
]
|
|
3851
4255
|
},
|
|
3852
|
-
{
|
|
3853
|
-
"name": "NodeLivelinessPenalized",
|
|
3854
|
-
"discriminator": [
|
|
3855
|
-
206,
|
|
3856
|
-
204,
|
|
3857
|
-
205,
|
|
3858
|
-
149,
|
|
3859
|
-
115,
|
|
3860
|
-
28,
|
|
3861
|
-
68,
|
|
3862
|
-
11
|
|
3863
|
-
]
|
|
3864
|
-
},
|
|
3865
4256
|
{
|
|
3866
4257
|
"name": "NodePunished",
|
|
3867
4258
|
"discriminator": [
|
|
@@ -3966,6 +4357,19 @@
|
|
|
3966
4357
|
132
|
|
3967
4358
|
]
|
|
3968
4359
|
},
|
|
4360
|
+
{
|
|
4361
|
+
"name": "ProtocolReserveWithdrawn",
|
|
4362
|
+
"discriminator": [
|
|
4363
|
+
116,
|
|
4364
|
+
158,
|
|
4365
|
+
232,
|
|
4366
|
+
233,
|
|
4367
|
+
174,
|
|
4368
|
+
58,
|
|
4369
|
+
218,
|
|
4370
|
+
183
|
|
4371
|
+
]
|
|
4372
|
+
},
|
|
3969
4373
|
{
|
|
3970
4374
|
"name": "RegistryUpdated",
|
|
3971
4375
|
"discriminator": [
|
|
@@ -3979,6 +4383,19 @@
|
|
|
3979
4383
|
83
|
|
3980
4384
|
]
|
|
3981
4385
|
},
|
|
4386
|
+
{
|
|
4387
|
+
"name": "RevenueSwept",
|
|
4388
|
+
"discriminator": [
|
|
4389
|
+
57,
|
|
4390
|
+
110,
|
|
4391
|
+
215,
|
|
4392
|
+
130,
|
|
4393
|
+
155,
|
|
4394
|
+
53,
|
|
4395
|
+
55,
|
|
4396
|
+
28
|
|
4397
|
+
]
|
|
4398
|
+
},
|
|
3982
4399
|
{
|
|
3983
4400
|
"name": "RewardsClaimed",
|
|
3984
4401
|
"discriminator": [
|
|
@@ -3992,32 +4409,6 @@
|
|
|
3992
4409
|
121
|
|
3993
4410
|
]
|
|
3994
4411
|
},
|
|
3995
|
-
{
|
|
3996
|
-
"name": "RoundReplayClosed",
|
|
3997
|
-
"discriminator": [
|
|
3998
|
-
85,
|
|
3999
|
-
29,
|
|
4000
|
-
108,
|
|
4001
|
-
196,
|
|
4002
|
-
52,
|
|
4003
|
-
246,
|
|
4004
|
-
205,
|
|
4005
|
-
24
|
|
4006
|
-
]
|
|
4007
|
-
},
|
|
4008
|
-
{
|
|
4009
|
-
"name": "RoundSettled",
|
|
4010
|
-
"discriminator": [
|
|
4011
|
-
249,
|
|
4012
|
-
225,
|
|
4013
|
-
66,
|
|
4014
|
-
54,
|
|
4015
|
-
157,
|
|
4016
|
-
200,
|
|
4017
|
-
234,
|
|
4018
|
-
222
|
|
4019
|
-
]
|
|
4020
|
-
},
|
|
4021
4412
|
{
|
|
4022
4413
|
"name": "Subscribed",
|
|
4023
4414
|
"discriminator": [
|
|
@@ -4045,16 +4436,42 @@
|
|
|
4045
4436
|
]
|
|
4046
4437
|
},
|
|
4047
4438
|
{
|
|
4048
|
-
"name": "
|
|
4439
|
+
"name": "TicketMarkerClosed",
|
|
4049
4440
|
"discriminator": [
|
|
4050
|
-
|
|
4051
|
-
|
|
4052
|
-
|
|
4053
|
-
|
|
4054
|
-
|
|
4055
|
-
|
|
4056
|
-
|
|
4057
|
-
|
|
4441
|
+
109,
|
|
4442
|
+
122,
|
|
4443
|
+
80,
|
|
4444
|
+
119,
|
|
4445
|
+
203,
|
|
4446
|
+
4,
|
|
4447
|
+
131,
|
|
4448
|
+
160
|
|
4449
|
+
]
|
|
4450
|
+
},
|
|
4451
|
+
{
|
|
4452
|
+
"name": "TicketRosterOverflow",
|
|
4453
|
+
"discriminator": [
|
|
4454
|
+
147,
|
|
4455
|
+
69,
|
|
4456
|
+
132,
|
|
4457
|
+
24,
|
|
4458
|
+
191,
|
|
4459
|
+
8,
|
|
4460
|
+
117,
|
|
4461
|
+
185
|
|
4462
|
+
]
|
|
4463
|
+
},
|
|
4464
|
+
{
|
|
4465
|
+
"name": "TicketSubmitted",
|
|
4466
|
+
"discriminator": [
|
|
4467
|
+
190,
|
|
4468
|
+
48,
|
|
4469
|
+
169,
|
|
4470
|
+
171,
|
|
4471
|
+
61,
|
|
4472
|
+
217,
|
|
4473
|
+
169,
|
|
4474
|
+
249
|
|
4058
4475
|
]
|
|
4059
4476
|
}
|
|
4060
4477
|
],
|
|
@@ -4146,408 +4563,423 @@
|
|
|
4146
4563
|
},
|
|
4147
4564
|
{
|
|
4148
4565
|
"code": 6017,
|
|
4149
|
-
"name": "InvalidOwnerUsdc",
|
|
4150
|
-
"msg": "owner_usdc token account mismatch"
|
|
4151
|
-
},
|
|
4152
|
-
{
|
|
4153
|
-
"code": 6018,
|
|
4154
4566
|
"name": "InvalidSignature",
|
|
4155
4567
|
"msg": "Invalid aggregate signature"
|
|
4156
4568
|
},
|
|
4157
4569
|
{
|
|
4158
|
-
"code":
|
|
4570
|
+
"code": 6018,
|
|
4159
4571
|
"name": "GroupBitmapDerivationFailed",
|
|
4160
4572
|
"msg": "Could not derive group bitmap"
|
|
4161
4573
|
},
|
|
4162
4574
|
{
|
|
4163
|
-
"code":
|
|
4575
|
+
"code": 6019,
|
|
4164
4576
|
"name": "InvalidSignersBitmap",
|
|
4165
4577
|
"msg": "Signers bitmap contains out-of-range indices"
|
|
4166
4578
|
},
|
|
4167
4579
|
{
|
|
4168
|
-
"code":
|
|
4580
|
+
"code": 6020,
|
|
4169
4581
|
"name": "PlanNotActive",
|
|
4170
4582
|
"msg": "plan exists but is_active is false"
|
|
4171
4583
|
},
|
|
4172
4584
|
{
|
|
4173
|
-
"code":
|
|
4585
|
+
"code": 6021,
|
|
4174
4586
|
"name": "InvalidPlanParams",
|
|
4175
4587
|
"msg": "invalid plan quorum or signer parameters"
|
|
4176
4588
|
},
|
|
4177
4589
|
{
|
|
4178
|
-
"code":
|
|
4590
|
+
"code": 6022,
|
|
4179
4591
|
"name": "InvalidDelegateLimits",
|
|
4180
4592
|
"msg": "invalid delegate limit parameters"
|
|
4181
4593
|
},
|
|
4182
4594
|
{
|
|
4183
|
-
"code":
|
|
4595
|
+
"code": 6023,
|
|
4184
4596
|
"name": "DelegateCannotBeOwner",
|
|
4185
4597
|
"msg": "delegate cannot be the owner"
|
|
4186
4598
|
},
|
|
4187
4599
|
{
|
|
4188
|
-
"code":
|
|
4189
|
-
"name": "DelegateAccountRequired",
|
|
4190
|
-
"msg": "delegate account required for non-owner action"
|
|
4191
|
-
},
|
|
4192
|
-
{
|
|
4193
|
-
"code": 6026,
|
|
4194
|
-
"name": "UnexpectedDelegateAccount",
|
|
4195
|
-
"msg": "delegate account must not be supplied for owner action"
|
|
4196
|
-
},
|
|
4197
|
-
{
|
|
4198
|
-
"code": 6027,
|
|
4199
|
-
"name": "DelegateDataRequestLimitReached",
|
|
4200
|
-
"msg": "delegate data_requests_used >= max_data_requests"
|
|
4201
|
-
},
|
|
4202
|
-
{
|
|
4203
|
-
"code": 6028,
|
|
4600
|
+
"code": 6024,
|
|
4204
4601
|
"name": "DelegateCapReached",
|
|
4205
4602
|
"msg": "subscription delegate_count >= plan.max_delegates"
|
|
4206
4603
|
},
|
|
4207
4604
|
{
|
|
4208
|
-
"code":
|
|
4605
|
+
"code": 6025,
|
|
4209
4606
|
"name": "InvalidRegistrationSalt",
|
|
4210
4607
|
"msg": "registration_salt must not be zero"
|
|
4211
4608
|
},
|
|
4212
4609
|
{
|
|
4213
|
-
"code":
|
|
4610
|
+
"code": 6026,
|
|
4214
4611
|
"name": "InsufficientSigners",
|
|
4215
4612
|
"msg": "popcount(signers_bitmap) < signatures_required"
|
|
4216
4613
|
},
|
|
4217
4614
|
{
|
|
4218
|
-
"code":
|
|
4219
|
-
"name": "SignaturesExceedSubscriptionMax",
|
|
4220
|
-
"msg": "signatures_required exceeds subscription.max_signers"
|
|
4221
|
-
},
|
|
4222
|
-
{
|
|
4223
|
-
"code": 6032,
|
|
4615
|
+
"code": 6027,
|
|
4224
4616
|
"name": "SignaturesBelowMinSigners",
|
|
4225
4617
|
"msg": "signatures_required is below protocol min_signers"
|
|
4226
4618
|
},
|
|
4227
4619
|
{
|
|
4228
|
-
"code":
|
|
4620
|
+
"code": 6028,
|
|
4229
4621
|
"name": "SignersNotSubsetOfSelection",
|
|
4230
4622
|
"msg": "Signer bits outside selection bitmap"
|
|
4231
4623
|
},
|
|
4232
4624
|
{
|
|
4233
|
-
"code":
|
|
4625
|
+
"code": 6029,
|
|
4234
4626
|
"name": "InvalidAggregateSignature",
|
|
4235
4627
|
"msg": "PoP-Schnorr aggregate verification failed"
|
|
4236
4628
|
},
|
|
4237
4629
|
{
|
|
4238
|
-
"code":
|
|
4630
|
+
"code": 6030,
|
|
4239
4631
|
"name": "FeedNotNewer",
|
|
4240
4632
|
"msg": "canonical_timestamp <= feed.canonical_timestamp"
|
|
4241
4633
|
},
|
|
4242
4634
|
{
|
|
4243
|
-
"code":
|
|
4635
|
+
"code": 6031,
|
|
4244
4636
|
"name": "SignaturesRequiredMismatch",
|
|
4245
4637
|
"msg": "signatures_required does not match feed.signatures_required"
|
|
4246
4638
|
},
|
|
4247
4639
|
{
|
|
4248
|
-
"code":
|
|
4640
|
+
"code": 6032,
|
|
4249
4641
|
"name": "MissingSignerAccount",
|
|
4250
4642
|
"msg": "Missing or mis-ordered signer slot version account"
|
|
4251
4643
|
},
|
|
4252
4644
|
{
|
|
4253
|
-
"code":
|
|
4645
|
+
"code": 6033,
|
|
4254
4646
|
"name": "SubscriptionNotActive",
|
|
4255
4647
|
"msg": "subscription has expired"
|
|
4256
4648
|
},
|
|
4257
4649
|
{
|
|
4258
|
-
"code":
|
|
4259
|
-
"name": "ConsumerSigInvalid",
|
|
4260
|
-
"msg": "consumer Ed25519 signature missing or invalid"
|
|
4261
|
-
},
|
|
4262
|
-
{
|
|
4263
|
-
"code": 6040,
|
|
4650
|
+
"code": 6034,
|
|
4264
4651
|
"name": "QuorumBelowThreshold",
|
|
4265
4652
|
"msg": "popcount(signers_bitmap) < signatures_required"
|
|
4266
4653
|
},
|
|
4267
4654
|
{
|
|
4268
|
-
"code":
|
|
4655
|
+
"code": 6035,
|
|
4269
4656
|
"name": "GatewayNotActive",
|
|
4270
4657
|
"msg": "gateway is not active"
|
|
4271
4658
|
},
|
|
4272
4659
|
{
|
|
4273
|
-
"code":
|
|
4274
|
-
"name": "UnauthorizedGatewayAuthority",
|
|
4275
|
-
"msg": "caller is not gateway.authority or protocol_config.authority"
|
|
4276
|
-
},
|
|
4277
|
-
{
|
|
4278
|
-
"code": 6043,
|
|
4279
|
-
"name": "SubscriptionInactiveOrExhausted",
|
|
4280
|
-
"msg": "subscription inactive or round quota exhausted"
|
|
4281
|
-
},
|
|
4282
|
-
{
|
|
4283
|
-
"code": 6044,
|
|
4660
|
+
"code": 6036,
|
|
4284
4661
|
"name": "NothingToClaim",
|
|
4285
4662
|
"msg": "no claimable rewards"
|
|
4286
4663
|
},
|
|
4287
4664
|
{
|
|
4288
|
-
"code":
|
|
4665
|
+
"code": 6037,
|
|
4289
4666
|
"name": "InvalidWithdrawalState",
|
|
4290
4667
|
"msg": "account is not in a state that permits withdrawal"
|
|
4291
4668
|
},
|
|
4292
4669
|
{
|
|
4293
|
-
"code":
|
|
4670
|
+
"code": 6038,
|
|
4294
4671
|
"name": "NothingToWithdraw",
|
|
4295
4672
|
"msg": "withdrawable balance is zero"
|
|
4296
4673
|
},
|
|
4297
4674
|
{
|
|
4298
|
-
"code":
|
|
4675
|
+
"code": 6039,
|
|
4299
4676
|
"name": "WithdrawalCooldownActive",
|
|
4300
4677
|
"msg": "withdrawal cooldown has not elapsed"
|
|
4301
4678
|
},
|
|
4302
4679
|
{
|
|
4303
|
-
"code":
|
|
4680
|
+
"code": 6040,
|
|
4304
4681
|
"name": "WithdrawalArithmeticOverflow",
|
|
4305
4682
|
"msg": "withdrawal deadline arithmetic overflow"
|
|
4306
4683
|
},
|
|
4307
4684
|
{
|
|
4308
|
-
"code":
|
|
4685
|
+
"code": 6041,
|
|
4309
4686
|
"name": "InvalidWithdrawalCooldown",
|
|
4310
4687
|
"msg": "withdrawal cooldown must be positive and fit a slot deadline"
|
|
4311
4688
|
},
|
|
4312
4689
|
{
|
|
4313
|
-
"code":
|
|
4690
|
+
"code": 6042,
|
|
4314
4691
|
"name": "InvalidInstructionsSysvar",
|
|
4315
4692
|
"msg": "instructions sysvar account is invalid"
|
|
4316
4693
|
},
|
|
4317
4694
|
{
|
|
4318
|
-
"code":
|
|
4319
|
-
"name": "UnauthorisedConsumer",
|
|
4320
|
-
"msg": "consumer authority is not the delegate authority"
|
|
4321
|
-
},
|
|
4322
|
-
{
|
|
4323
|
-
"code": 6052,
|
|
4324
|
-
"name": "InvalidCreditNodeAccount",
|
|
4325
|
-
"msg": "mismatched or missing credited node account"
|
|
4326
|
-
},
|
|
4327
|
-
{
|
|
4328
|
-
"code": 6053,
|
|
4329
|
-
"name": "InvalidMissedNodeAccount",
|
|
4330
|
-
"msg": "mismatched or missing missed node account"
|
|
4331
|
-
},
|
|
4332
|
-
{
|
|
4333
|
-
"code": 6054,
|
|
4334
|
-
"name": "AmountMismatch",
|
|
4335
|
-
"msg": "computed price does not match the gateway-signed amount"
|
|
4336
|
-
},
|
|
4337
|
-
{
|
|
4338
|
-
"code": 6055,
|
|
4339
|
-
"name": "InsufficientGatewayFloat",
|
|
4340
|
-
"msg": "gateway USDC float balance below computed price"
|
|
4341
|
-
},
|
|
4342
|
-
{
|
|
4343
|
-
"code": 6056,
|
|
4344
|
-
"name": "PaymentRefTooLong",
|
|
4345
|
-
"msg": "payment_ref exceeds 64 bytes"
|
|
4346
|
-
},
|
|
4347
|
-
{
|
|
4348
|
-
"code": 6057,
|
|
4695
|
+
"code": 6043,
|
|
4349
4696
|
"name": "CreditedExceedsSelection",
|
|
4350
4697
|
"msg": "credited signer count exceeds signatures_required + redundancy_buffer"
|
|
4351
4698
|
},
|
|
4352
4699
|
{
|
|
4353
|
-
"code":
|
|
4700
|
+
"code": 6044,
|
|
4354
4701
|
"name": "InvalidRawValue",
|
|
4355
4702
|
"msg": "raw value exceeds Feed::MAX_VALUE_LEN or does not match the hash of the attestation value"
|
|
4356
4703
|
},
|
|
4357
4704
|
{
|
|
4358
|
-
"code":
|
|
4705
|
+
"code": 6045,
|
|
4359
4706
|
"name": "EquivocationSameStatement",
|
|
4360
4707
|
"msg": "equivocation requires two attestations for one duty with different values"
|
|
4361
4708
|
},
|
|
4362
4709
|
{
|
|
4363
|
-
"code":
|
|
4710
|
+
"code": 6046,
|
|
4364
4711
|
"name": "NotEquivocation",
|
|
4365
4712
|
"msg": "attestations do not sign different values for one duty"
|
|
4366
4713
|
},
|
|
4367
4714
|
{
|
|
4368
|
-
"code":
|
|
4715
|
+
"code": 6047,
|
|
4369
4716
|
"name": "EvidenceHashMismatch",
|
|
4370
4717
|
"msg": "recomputed evidence hash does not match the supplied evidence_hash"
|
|
4371
4718
|
},
|
|
4372
4719
|
{
|
|
4373
|
-
"code":
|
|
4720
|
+
"code": 6048,
|
|
4374
4721
|
"name": "GuiltySetEmpty",
|
|
4375
4722
|
"msg": "intersection of the two signer bitmaps is empty"
|
|
4376
4723
|
},
|
|
4377
4724
|
{
|
|
4378
|
-
"code":
|
|
4725
|
+
"code": 6049,
|
|
4379
4726
|
"name": "NodeTombstoned",
|
|
4380
4727
|
"msg": "node is permanently tombstoned"
|
|
4381
4728
|
},
|
|
4382
4729
|
{
|
|
4383
|
-
"code":
|
|
4730
|
+
"code": 6050,
|
|
4384
4731
|
"name": "NodeNotFrozen",
|
|
4385
4732
|
"msg": "node is not Frozen"
|
|
4386
4733
|
},
|
|
4387
4734
|
{
|
|
4388
|
-
"code":
|
|
4735
|
+
"code": 6051,
|
|
4389
4736
|
"name": "NodeStillFrozen",
|
|
4390
4737
|
"msg": "node is still inside its freeze window"
|
|
4391
4738
|
},
|
|
4392
4739
|
{
|
|
4393
|
-
"code":
|
|
4740
|
+
"code": 6052,
|
|
4394
4741
|
"name": "NodeAlreadyInRegistry",
|
|
4395
4742
|
"msg": "node is already present in the current registry"
|
|
4396
4743
|
},
|
|
4397
4744
|
{
|
|
4398
|
-
"code":
|
|
4399
|
-
"name": "LivelinessAboveThreshold",
|
|
4400
|
-
"msg": "node liveliness score is not below the freeze threshold"
|
|
4401
|
-
},
|
|
4402
|
-
{
|
|
4403
|
-
"code": 6068,
|
|
4745
|
+
"code": 6053,
|
|
4404
4746
|
"name": "SignersFullySelected",
|
|
4405
4747
|
"msg": "every signer was within the derived selection - no unsolicited signer"
|
|
4406
4748
|
},
|
|
4407
4749
|
{
|
|
4408
|
-
"code":
|
|
4750
|
+
"code": 6054,
|
|
4409
4751
|
"name": "NothingToPunish",
|
|
4410
4752
|
"msg": "every guilty node is already tombstoned"
|
|
4411
4753
|
},
|
|
4412
4754
|
{
|
|
4413
|
-
"code":
|
|
4755
|
+
"code": 6055,
|
|
4414
4756
|
"name": "NonceCommitmentMismatch",
|
|
4415
4757
|
"msg": "attestations do not share an aggregate nonce commitment"
|
|
4416
4758
|
},
|
|
4417
4759
|
{
|
|
4418
|
-
"code":
|
|
4760
|
+
"code": 6056,
|
|
4419
4761
|
"name": "RegistryVersionMismatch",
|
|
4420
4762
|
"msg": "attestations have different registry versions, or one older than the feed's"
|
|
4421
4763
|
},
|
|
4422
4764
|
{
|
|
4423
|
-
"code":
|
|
4765
|
+
"code": 6057,
|
|
4424
4766
|
"name": "NonceReuseSameMessage",
|
|
4425
4767
|
"msg": "attestations sign the same message"
|
|
4426
4768
|
},
|
|
4427
4769
|
{
|
|
4428
|
-
"code":
|
|
4770
|
+
"code": 6058,
|
|
4429
4771
|
"name": "PreferEquivocation",
|
|
4430
4772
|
"msg": "same duty with different values is equivocation - file it as one"
|
|
4431
4773
|
},
|
|
4432
4774
|
{
|
|
4433
|
-
"code":
|
|
4775
|
+
"code": 6059,
|
|
4434
4776
|
"name": "AttestationTooStale",
|
|
4435
4777
|
"msg": "canonical_timestamp is older than now - max_settlement_delay_seconds"
|
|
4436
4778
|
},
|
|
4437
4779
|
{
|
|
4438
|
-
"code":
|
|
4780
|
+
"code": 6060,
|
|
4439
4781
|
"name": "AttestationInFuture",
|
|
4440
4782
|
"msg": "canonical_timestamp is further ahead of cluster time than the allowed drift"
|
|
4441
4783
|
},
|
|
4442
4784
|
{
|
|
4443
|
-
"code":
|
|
4785
|
+
"code": 6061,
|
|
4444
4786
|
"name": "InvalidMaxReceiptDelay",
|
|
4445
4787
|
"msg": "max_settlement_delay_seconds must be positive and fit a timestamp deadline"
|
|
4446
4788
|
},
|
|
4447
4789
|
{
|
|
4448
|
-
"code":
|
|
4790
|
+
"code": 6062,
|
|
4449
4791
|
"name": "TreasuryInsolvent",
|
|
4450
4792
|
"msg": "treasury balance cannot back the protocol's reward liability"
|
|
4451
4793
|
},
|
|
4452
4794
|
{
|
|
4453
|
-
"code":
|
|
4795
|
+
"code": 6063,
|
|
4454
4796
|
"name": "InvalidChallengerBounty",
|
|
4455
4797
|
"msg": "challenger_bounty_bps must not exceed 10000"
|
|
4456
4798
|
},
|
|
4457
4799
|
{
|
|
4458
|
-
"code":
|
|
4800
|
+
"code": 6064,
|
|
4459
4801
|
"name": "RewardLiabilityUnderflow",
|
|
4460
4802
|
"msg": "reward liability underflow"
|
|
4461
4803
|
},
|
|
4462
4804
|
{
|
|
4463
|
-
"code":
|
|
4805
|
+
"code": 6065,
|
|
4464
4806
|
"name": "DepositVaultUnderfunded",
|
|
4465
4807
|
"msg": "node deposit vault does not cover the recorded total deposits"
|
|
4466
4808
|
},
|
|
4467
4809
|
{
|
|
4468
|
-
"code":
|
|
4810
|
+
"code": 6066,
|
|
4469
4811
|
"name": "TranscriptContextsEqual",
|
|
4470
4812
|
"msg": "both transcripts carry the same (b, c) challenge pair"
|
|
4471
4813
|
},
|
|
4472
4814
|
{
|
|
4473
|
-
"code":
|
|
4815
|
+
"code": 6067,
|
|
4474
4816
|
"name": "NonCanonicalScalar",
|
|
4475
4817
|
"msg": "scalar is zero or not below the secp256k1 curve order"
|
|
4476
4818
|
},
|
|
4477
4819
|
{
|
|
4478
|
-
"code":
|
|
4820
|
+
"code": 6068,
|
|
4479
4821
|
"name": "MerkleProofTooDeep",
|
|
4480
4822
|
"msg": "merkle proof exceeds the maximum accepted depth"
|
|
4481
4823
|
},
|
|
4482
4824
|
{
|
|
4483
|
-
"code":
|
|
4825
|
+
"code": 6069,
|
|
4484
4826
|
"name": "InvalidMerkleProof",
|
|
4485
4827
|
"msg": "merkle proof does not connect the leaf to the signed batch root"
|
|
4486
4828
|
},
|
|
4487
4829
|
{
|
|
4488
|
-
"code":
|
|
4830
|
+
"code": 6070,
|
|
4489
4831
|
"name": "InvalidBatchSignature",
|
|
4490
4832
|
"msg": "commitment batch signature does not verify against the node key"
|
|
4491
4833
|
},
|
|
4492
4834
|
{
|
|
4493
|
-
"code":
|
|
4835
|
+
"code": 6071,
|
|
4494
4836
|
"name": "InvalidPartialSignature",
|
|
4495
4837
|
"msg": "partial signature does not satisfy the nonce equation"
|
|
4496
4838
|
},
|
|
4497
4839
|
{
|
|
4498
|
-
"code":
|
|
4840
|
+
"code": 6072,
|
|
4499
4841
|
"name": "InvalidNoncePoint",
|
|
4500
4842
|
"msg": "committed nonce is not a valid secp256k1 point"
|
|
4501
4843
|
},
|
|
4502
4844
|
{
|
|
4503
|
-
"code":
|
|
4845
|
+
"code": 6073,
|
|
4504
4846
|
"name": "InvalidMinimumNodeDeposit",
|
|
4505
4847
|
"msg": "minimum node deposit must be positive"
|
|
4506
4848
|
},
|
|
4849
|
+
{
|
|
4850
|
+
"code": 6074,
|
|
4851
|
+
"name": "InvalidRoundPrice",
|
|
4852
|
+
"msg": "base price plus rewards for the maximum signer count must fit u64"
|
|
4853
|
+
},
|
|
4854
|
+
{
|
|
4855
|
+
"code": 6075,
|
|
4856
|
+
"name": "RewardOverflow",
|
|
4857
|
+
"msg": "reward or reward liability arithmetic overflowed"
|
|
4858
|
+
},
|
|
4859
|
+
{
|
|
4860
|
+
"code": 6076,
|
|
4861
|
+
"name": "UnexpectedSignerAccounts",
|
|
4862
|
+
"msg": "signer account list must contain exactly one account per signer"
|
|
4863
|
+
},
|
|
4864
|
+
{
|
|
4865
|
+
"code": 6077,
|
|
4866
|
+
"name": "InvalidCoalitionKey",
|
|
4867
|
+
"msg": "coalition key is not the sum of the signer keys"
|
|
4868
|
+
},
|
|
4869
|
+
{
|
|
4870
|
+
"code": 6078,
|
|
4871
|
+
"name": "InvalidEpochLength",
|
|
4872
|
+
"msg": "epoch_len_seconds is outside the allowed bounds"
|
|
4873
|
+
},
|
|
4874
|
+
{
|
|
4875
|
+
"code": 6079,
|
|
4876
|
+
"name": "InvalidTicketGrace",
|
|
4877
|
+
"msg": "ticket_grace_seconds must be positive and shorter than the epoch"
|
|
4878
|
+
},
|
|
4879
|
+
{
|
|
4880
|
+
"code": 6080,
|
|
4881
|
+
"name": "InvalidTicketTarget",
|
|
4882
|
+
"msg": "target_tickets_per_epoch is outside the allowed bounds"
|
|
4883
|
+
},
|
|
4884
|
+
{
|
|
4885
|
+
"code": 6081,
|
|
4886
|
+
"name": "InvalidAvailabilityFloor",
|
|
4887
|
+
"msg": "availability floor must not exceed 10000 bps and needs a positive sample minimum"
|
|
4888
|
+
},
|
|
4889
|
+
{
|
|
4890
|
+
"code": 6082,
|
|
4891
|
+
"name": "InvalidProtocolFee",
|
|
4892
|
+
"msg": "protocol_fee_bps must not exceed 10000"
|
|
4893
|
+
},
|
|
4894
|
+
{
|
|
4895
|
+
"code": 6083,
|
|
4896
|
+
"name": "EpochNotOpen",
|
|
4897
|
+
"msg": "epoch is not open at the current cluster time"
|
|
4898
|
+
},
|
|
4899
|
+
{
|
|
4900
|
+
"code": 6084,
|
|
4901
|
+
"name": "TicketWindowClosed",
|
|
4902
|
+
"msg": "epoch no longer accepts tickets"
|
|
4903
|
+
},
|
|
4904
|
+
{
|
|
4905
|
+
"code": 6085,
|
|
4906
|
+
"name": "RoundOutsideEpoch",
|
|
4907
|
+
"msg": "canonical_timestamp is outside the epoch window"
|
|
4908
|
+
},
|
|
4909
|
+
{
|
|
4910
|
+
"code": 6086,
|
|
4911
|
+
"name": "NotATicket",
|
|
4912
|
+
"msg": "round does not fall under the epoch ticket threshold"
|
|
4913
|
+
},
|
|
4914
|
+
{
|
|
4915
|
+
"code": 6087,
|
|
4916
|
+
"name": "DispatchSigInvalid",
|
|
4917
|
+
"msg": "gateway dispatch signature missing or invalid"
|
|
4918
|
+
},
|
|
4919
|
+
{
|
|
4920
|
+
"code": 6088,
|
|
4921
|
+
"name": "InvalidRosterSlot",
|
|
4922
|
+
"msg": "roster slot hint does not match the epoch roster"
|
|
4923
|
+
},
|
|
4507
4924
|
{
|
|
4508
4925
|
"code": 6089,
|
|
4509
|
-
"name": "
|
|
4510
|
-
"msg": "
|
|
4926
|
+
"name": "TicketCapReached",
|
|
4927
|
+
"msg": "epoch ticket cap reached"
|
|
4511
4928
|
},
|
|
4512
4929
|
{
|
|
4513
4930
|
"code": 6090,
|
|
4514
|
-
"name": "
|
|
4515
|
-
"msg": "
|
|
4931
|
+
"name": "TicketMarkerNotExpired",
|
|
4932
|
+
"msg": "ticket marker is still inside its epoch ticket window"
|
|
4516
4933
|
},
|
|
4517
4934
|
{
|
|
4518
4935
|
"code": 6091,
|
|
4519
|
-
"name": "
|
|
4520
|
-
"msg": "
|
|
4936
|
+
"name": "EpochNotFinalizable",
|
|
4937
|
+
"msg": "epoch ticket window has not ended"
|
|
4521
4938
|
},
|
|
4522
4939
|
{
|
|
4523
4940
|
"code": 6092,
|
|
4524
|
-
"name": "
|
|
4525
|
-
"msg": "
|
|
4941
|
+
"name": "EpochNotFinalized",
|
|
4942
|
+
"msg": "epoch is not finalized"
|
|
4526
4943
|
},
|
|
4527
4944
|
{
|
|
4528
4945
|
"code": 6093,
|
|
4529
|
-
"name": "
|
|
4530
|
-
"msg": "
|
|
4946
|
+
"name": "InvalidEpochSequence",
|
|
4947
|
+
"msg": "next epoch account does not follow the finalized epoch"
|
|
4531
4948
|
},
|
|
4532
4949
|
{
|
|
4533
4950
|
"code": 6094,
|
|
4534
|
-
"name": "
|
|
4535
|
-
"msg": "
|
|
4951
|
+
"name": "NothingToCredit",
|
|
4952
|
+
"msg": "roster slot has no weight or was already credited"
|
|
4536
4953
|
},
|
|
4537
4954
|
{
|
|
4538
4955
|
"code": 6095,
|
|
4539
|
-
"name": "
|
|
4540
|
-
"msg": "
|
|
4956
|
+
"name": "EpochNotClosable",
|
|
4957
|
+
"msg": "epoch still has uncredited nodes or is inside its evidence window"
|
|
4541
4958
|
},
|
|
4542
4959
|
{
|
|
4543
4960
|
"code": 6096,
|
|
4544
|
-
"name": "
|
|
4545
|
-
"msg": "
|
|
4961
|
+
"name": "NothingToSweep",
|
|
4962
|
+
"msg": "treasury holds no unswept income"
|
|
4546
4963
|
},
|
|
4547
4964
|
{
|
|
4548
4965
|
"code": 6097,
|
|
4549
|
-
"name": "
|
|
4550
|
-
"msg": "
|
|
4966
|
+
"name": "InsufficientProtocolReserve",
|
|
4967
|
+
"msg": "amount exceeds the protocol reserve"
|
|
4968
|
+
},
|
|
4969
|
+
{
|
|
4970
|
+
"code": 6098,
|
|
4971
|
+
"name": "AvailabilityAboveFloor",
|
|
4972
|
+
"msg": "node availability is not below the epoch payout floor"
|
|
4973
|
+
},
|
|
4974
|
+
{
|
|
4975
|
+
"code": 6099,
|
|
4976
|
+
"name": "InactivityAlreadyPunished",
|
|
4977
|
+
"msg": "node was already frozen during this epoch"
|
|
4978
|
+
},
|
|
4979
|
+
{
|
|
4980
|
+
"code": 6100,
|
|
4981
|
+
"name": "InvalidRentReceiver",
|
|
4982
|
+
"msg": "rent receiver must be the account that paid for the closed account"
|
|
4551
4983
|
}
|
|
4552
4984
|
],
|
|
4553
4985
|
"types": [
|
|
@@ -4635,6 +5067,43 @@
|
|
|
4635
5067
|
]
|
|
4636
5068
|
}
|
|
4637
5069
|
},
|
|
5070
|
+
{
|
|
5071
|
+
"name": "CoalitionKey",
|
|
5072
|
+
"docs": [
|
|
5073
|
+
"Affine coalition key `Σ X_i = (x, y)`, big-endian: an untrusted verification input.",
|
|
5074
|
+
"",
|
|
5075
|
+
"Supplying it lets the verifier check its Jacobian sum against the key instead of normalizing",
|
|
5076
|
+
"the sum with a field inversion (see [`CoalitionAccumulator::compressed_pubkey_with_key`]).",
|
|
5077
|
+
"It is a property of the point, not of the verifier's arithmetic: any secp256k1 library",
|
|
5078
|
+
"computes it as the plain sum of the signers' public keys, in any order.",
|
|
5079
|
+
"",
|
|
5080
|
+
"Not part of the signed message or the cross-VM [`crate::Attestation`]; carry it next to the",
|
|
5081
|
+
"attestation, e.g. in Solana instruction data."
|
|
5082
|
+
],
|
|
5083
|
+
"type": {
|
|
5084
|
+
"kind": "struct",
|
|
5085
|
+
"fields": [
|
|
5086
|
+
{
|
|
5087
|
+
"name": "x",
|
|
5088
|
+
"type": {
|
|
5089
|
+
"array": [
|
|
5090
|
+
"u8",
|
|
5091
|
+
32
|
|
5092
|
+
]
|
|
5093
|
+
}
|
|
5094
|
+
},
|
|
5095
|
+
{
|
|
5096
|
+
"name": "y",
|
|
5097
|
+
"type": {
|
|
5098
|
+
"array": [
|
|
5099
|
+
"u8",
|
|
5100
|
+
32
|
|
5101
|
+
]
|
|
5102
|
+
}
|
|
5103
|
+
}
|
|
5104
|
+
]
|
|
5105
|
+
}
|
|
5106
|
+
},
|
|
4638
5107
|
{
|
|
4639
5108
|
"name": "CommitmentReuseEvidence",
|
|
4640
5109
|
"type": {
|
|
@@ -4655,6 +5124,29 @@
|
|
|
4655
5124
|
"name": "Attestation"
|
|
4656
5125
|
}
|
|
4657
5126
|
}
|
|
5127
|
+
},
|
|
5128
|
+
{
|
|
5129
|
+
"name": "coalition_key_a",
|
|
5130
|
+
"docs": [
|
|
5131
|
+
"Affine sum of `attestation_a`'s signer keys. A verification input, not evidence: it is",
|
|
5132
|
+
"left out of [`Evidence::hash`], so the case PDA derives from the attestations alone."
|
|
5133
|
+
],
|
|
5134
|
+
"type": {
|
|
5135
|
+
"defined": {
|
|
5136
|
+
"name": "CoalitionKey"
|
|
5137
|
+
}
|
|
5138
|
+
}
|
|
5139
|
+
},
|
|
5140
|
+
{
|
|
5141
|
+
"name": "coalition_key_b",
|
|
5142
|
+
"docs": [
|
|
5143
|
+
"Affine sum of `attestation_b`'s signer keys; see `coalition_key_a`."
|
|
5144
|
+
],
|
|
5145
|
+
"type": {
|
|
5146
|
+
"defined": {
|
|
5147
|
+
"name": "CoalitionKey"
|
|
5148
|
+
}
|
|
5149
|
+
}
|
|
4658
5150
|
}
|
|
4659
5151
|
]
|
|
4660
5152
|
}
|
|
@@ -4712,7 +5204,8 @@
|
|
|
4712
5204
|
{
|
|
4713
5205
|
"name": "Delegate",
|
|
4714
5206
|
"docs": [
|
|
4715
|
-
"Owner-scoped delegate authorization
|
|
5207
|
+
"Owner-scoped delegate authorization. `max_data_requests` is enforced by the gateway at",
|
|
5208
|
+
"admission, not on chain."
|
|
4716
5209
|
],
|
|
4717
5210
|
"type": {
|
|
4718
5211
|
"kind": "struct",
|
|
@@ -4729,10 +5222,6 @@
|
|
|
4729
5222
|
"name": "max_data_requests",
|
|
4730
5223
|
"type": "u64"
|
|
4731
5224
|
},
|
|
4732
|
-
{
|
|
4733
|
-
"name": "data_requests_used",
|
|
4734
|
-
"type": "u64"
|
|
4735
|
-
},
|
|
4736
5225
|
{
|
|
4737
5226
|
"name": "bump",
|
|
4738
5227
|
"type": "u8"
|
|
@@ -4802,16 +5291,340 @@
|
|
|
4802
5291
|
"type": "pubkey"
|
|
4803
5292
|
},
|
|
4804
5293
|
{
|
|
4805
|
-
"name": "old_status",
|
|
4806
|
-
"type": "u8"
|
|
5294
|
+
"name": "old_status",
|
|
5295
|
+
"type": "u8"
|
|
5296
|
+
},
|
|
5297
|
+
{
|
|
5298
|
+
"name": "new_status",
|
|
5299
|
+
"type": "u8"
|
|
5300
|
+
},
|
|
5301
|
+
{
|
|
5302
|
+
"name": "updated_at",
|
|
5303
|
+
"type": "i64"
|
|
5304
|
+
}
|
|
5305
|
+
]
|
|
5306
|
+
}
|
|
5307
|
+
},
|
|
5308
|
+
{
|
|
5309
|
+
"name": "EpochClosed",
|
|
5310
|
+
"type": {
|
|
5311
|
+
"kind": "struct",
|
|
5312
|
+
"fields": [
|
|
5313
|
+
{
|
|
5314
|
+
"name": "epoch",
|
|
5315
|
+
"type": "u64"
|
|
5316
|
+
},
|
|
5317
|
+
{
|
|
5318
|
+
"name": "residual",
|
|
5319
|
+
"type": "u64"
|
|
5320
|
+
},
|
|
5321
|
+
{
|
|
5322
|
+
"name": "rolled_into",
|
|
5323
|
+
"type": "u64"
|
|
5324
|
+
},
|
|
5325
|
+
{
|
|
5326
|
+
"name": "closed_at",
|
|
5327
|
+
"type": "i64"
|
|
5328
|
+
}
|
|
5329
|
+
]
|
|
5330
|
+
}
|
|
5331
|
+
},
|
|
5332
|
+
{
|
|
5333
|
+
"name": "EpochCreated",
|
|
5334
|
+
"type": {
|
|
5335
|
+
"kind": "struct",
|
|
5336
|
+
"fields": [
|
|
5337
|
+
{
|
|
5338
|
+
"name": "epoch",
|
|
5339
|
+
"type": "u64"
|
|
5340
|
+
},
|
|
5341
|
+
{
|
|
5342
|
+
"name": "start",
|
|
5343
|
+
"type": "i64"
|
|
5344
|
+
},
|
|
5345
|
+
{
|
|
5346
|
+
"name": "end",
|
|
5347
|
+
"type": "i64"
|
|
5348
|
+
},
|
|
5349
|
+
{
|
|
5350
|
+
"name": "ticket_grace",
|
|
5351
|
+
"type": "i64"
|
|
5352
|
+
},
|
|
5353
|
+
{
|
|
5354
|
+
"name": "tau",
|
|
5355
|
+
"type": "u64"
|
|
5356
|
+
}
|
|
5357
|
+
]
|
|
5358
|
+
}
|
|
5359
|
+
},
|
|
5360
|
+
{
|
|
5361
|
+
"name": "EpochFinalized",
|
|
5362
|
+
"type": {
|
|
5363
|
+
"kind": "struct",
|
|
5364
|
+
"fields": [
|
|
5365
|
+
{
|
|
5366
|
+
"name": "epoch",
|
|
5367
|
+
"type": "u64"
|
|
5368
|
+
},
|
|
5369
|
+
{
|
|
5370
|
+
"name": "pool",
|
|
5371
|
+
"type": "u64"
|
|
5372
|
+
},
|
|
5373
|
+
{
|
|
5374
|
+
"name": "tickets",
|
|
5375
|
+
"type": "u32"
|
|
5376
|
+
},
|
|
5377
|
+
{
|
|
5378
|
+
"name": "roster_len",
|
|
5379
|
+
"type": "u16"
|
|
5380
|
+
},
|
|
5381
|
+
{
|
|
5382
|
+
"name": "weight_total",
|
|
5383
|
+
"type": "u64"
|
|
5384
|
+
},
|
|
5385
|
+
{
|
|
5386
|
+
"name": "weighted_count",
|
|
5387
|
+
"type": "u16"
|
|
5388
|
+
},
|
|
5389
|
+
{
|
|
5390
|
+
"name": "finalized_at",
|
|
5391
|
+
"type": "i64"
|
|
5392
|
+
}
|
|
5393
|
+
]
|
|
5394
|
+
}
|
|
5395
|
+
},
|
|
5396
|
+
{
|
|
5397
|
+
"name": "EpochRewardCredited",
|
|
5398
|
+
"type": {
|
|
5399
|
+
"kind": "struct",
|
|
5400
|
+
"fields": [
|
|
5401
|
+
{
|
|
5402
|
+
"name": "epoch",
|
|
5403
|
+
"type": "u64"
|
|
5404
|
+
},
|
|
5405
|
+
{
|
|
5406
|
+
"name": "node",
|
|
5407
|
+
"type": "pubkey"
|
|
5408
|
+
},
|
|
5409
|
+
{
|
|
5410
|
+
"name": "weight",
|
|
5411
|
+
"type": "u64"
|
|
5412
|
+
},
|
|
5413
|
+
{
|
|
5414
|
+
"name": "amount",
|
|
5415
|
+
"type": "u64"
|
|
5416
|
+
},
|
|
5417
|
+
{
|
|
5418
|
+
"name": "forfeited",
|
|
5419
|
+
"docs": [
|
|
5420
|
+
"The node was tombstoned; its share stays in the epoch residual."
|
|
5421
|
+
],
|
|
5422
|
+
"type": "bool"
|
|
5423
|
+
}
|
|
5424
|
+
]
|
|
5425
|
+
}
|
|
5426
|
+
},
|
|
5427
|
+
{
|
|
5428
|
+
"name": "EpochState",
|
|
5429
|
+
"docs": [
|
|
5430
|
+
"One epoch of the reward pool: its window, pinned ticket threshold, swept income and the",
|
|
5431
|
+
"per-node participation counters fed by tickets.",
|
|
5432
|
+
"",
|
|
5433
|
+
"Counters are keyed by an epoch-local roster of `Node` PDAs rather than by registry position,",
|
|
5434
|
+
"because registry positions move between versions (swap-remove) while one epoch spans several.",
|
|
5435
|
+
"The roster fills lazily as tickets name nodes for the first time.",
|
|
5436
|
+
"",
|
|
5437
|
+
"PDA: `[SEED_PREFIX, epoch.to_le_bytes()]`. Layout has no implicit padding."
|
|
5438
|
+
],
|
|
5439
|
+
"serialization": "bytemuck",
|
|
5440
|
+
"repr": {
|
|
5441
|
+
"kind": "c"
|
|
5442
|
+
},
|
|
5443
|
+
"type": {
|
|
5444
|
+
"kind": "struct",
|
|
5445
|
+
"fields": [
|
|
5446
|
+
{
|
|
5447
|
+
"name": "epoch",
|
|
5448
|
+
"type": "u64"
|
|
5449
|
+
},
|
|
5450
|
+
{
|
|
5451
|
+
"name": "start",
|
|
5452
|
+
"docs": [
|
|
5453
|
+
"Inclusive window start (unix seconds). Equals the previous epoch's `end`."
|
|
5454
|
+
],
|
|
5455
|
+
"type": "i64"
|
|
5456
|
+
},
|
|
5457
|
+
{
|
|
5458
|
+
"name": "end",
|
|
5459
|
+
"docs": [
|
|
5460
|
+
"Exclusive window end (unix seconds)."
|
|
5461
|
+
],
|
|
5462
|
+
"type": "i64"
|
|
5463
|
+
},
|
|
5464
|
+
{
|
|
5465
|
+
"name": "ticket_grace",
|
|
5466
|
+
"docs": [
|
|
5467
|
+
"Snapshot of `ticket_grace_seconds` at creation."
|
|
5468
|
+
],
|
|
5469
|
+
"type": "i64"
|
|
5470
|
+
},
|
|
5471
|
+
{
|
|
5472
|
+
"name": "tau",
|
|
5473
|
+
"docs": [
|
|
5474
|
+
"A round is a ticket when the big-endian `u64` prefix of its ticket hash is below this."
|
|
5475
|
+
],
|
|
5476
|
+
"type": "u64"
|
|
5477
|
+
},
|
|
5478
|
+
{
|
|
5479
|
+
"name": "pool",
|
|
5480
|
+
"docs": [
|
|
5481
|
+
"USDC swept into this epoch while it was open."
|
|
5482
|
+
],
|
|
5483
|
+
"type": "u64"
|
|
5484
|
+
},
|
|
5485
|
+
{
|
|
5486
|
+
"name": "paid",
|
|
5487
|
+
"docs": [
|
|
5488
|
+
"Sum of payouts credited to nodes."
|
|
5489
|
+
],
|
|
5490
|
+
"type": "u64"
|
|
5491
|
+
},
|
|
5492
|
+
{
|
|
5493
|
+
"name": "weight_total",
|
|
5494
|
+
"docs": [
|
|
5495
|
+
"`Σ weight(slot)`, frozen at finalization."
|
|
5496
|
+
],
|
|
5497
|
+
"type": "u64"
|
|
5498
|
+
},
|
|
5499
|
+
{
|
|
5500
|
+
"name": "tickets",
|
|
5501
|
+
"type": "u32"
|
|
5502
|
+
},
|
|
5503
|
+
{
|
|
5504
|
+
"name": "sum_signed",
|
|
5505
|
+
"docs": [
|
|
5506
|
+
"`Σ signed`, maintained per ticket."
|
|
5507
|
+
],
|
|
5508
|
+
"type": "u32"
|
|
5509
|
+
},
|
|
5510
|
+
{
|
|
5511
|
+
"name": "sum_selected",
|
|
5512
|
+
"docs": [
|
|
5513
|
+
"`Σ selected`, maintained per ticket."
|
|
5514
|
+
],
|
|
5515
|
+
"type": "u32"
|
|
5516
|
+
},
|
|
5517
|
+
{
|
|
5518
|
+
"name": "min_availability_bps",
|
|
5519
|
+
"docs": [
|
|
5520
|
+
"Snapshot: availability floor relative to the network inclusion rate, in bps."
|
|
5521
|
+
],
|
|
5522
|
+
"type": "u16"
|
|
5523
|
+
},
|
|
5524
|
+
{
|
|
5525
|
+
"name": "min_samples",
|
|
5526
|
+
"docs": [
|
|
5527
|
+
"Snapshot: samples below which the availability floor does not apply."
|
|
5528
|
+
],
|
|
5529
|
+
"type": "u16"
|
|
5530
|
+
},
|
|
5531
|
+
{
|
|
5532
|
+
"name": "roster_len",
|
|
5533
|
+
"type": "u16"
|
|
5534
|
+
},
|
|
5535
|
+
{
|
|
5536
|
+
"name": "weighted_count",
|
|
5537
|
+
"docs": [
|
|
5538
|
+
"Roster slots with non-zero weight, frozen at finalization."
|
|
5539
|
+
],
|
|
5540
|
+
"type": "u16"
|
|
5541
|
+
},
|
|
5542
|
+
{
|
|
5543
|
+
"name": "credited_count",
|
|
5544
|
+
"docs": [
|
|
5545
|
+
"Weighted slots already processed by `credit_epoch_rewards`."
|
|
5546
|
+
],
|
|
5547
|
+
"type": "u16"
|
|
5548
|
+
},
|
|
5549
|
+
{
|
|
5550
|
+
"name": "finalized",
|
|
5551
|
+
"type": "u8"
|
|
5552
|
+
},
|
|
5553
|
+
{
|
|
5554
|
+
"name": "bump",
|
|
5555
|
+
"type": "u8"
|
|
5556
|
+
},
|
|
5557
|
+
{
|
|
5558
|
+
"name": "rent_payer",
|
|
5559
|
+
"docs": [
|
|
5560
|
+
"Receives this account's rent when the epoch is closed."
|
|
5561
|
+
],
|
|
5562
|
+
"type": {
|
|
5563
|
+
"array": [
|
|
5564
|
+
"u8",
|
|
5565
|
+
32
|
|
5566
|
+
]
|
|
5567
|
+
}
|
|
5568
|
+
},
|
|
5569
|
+
{
|
|
5570
|
+
"name": "credited",
|
|
5571
|
+
"docs": [
|
|
5572
|
+
"Bitmap over roster slots already credited."
|
|
5573
|
+
],
|
|
5574
|
+
"type": {
|
|
5575
|
+
"array": [
|
|
5576
|
+
"u8",
|
|
5577
|
+
32
|
|
5578
|
+
]
|
|
5579
|
+
}
|
|
5580
|
+
},
|
|
5581
|
+
{
|
|
5582
|
+
"name": "signed",
|
|
5583
|
+
"type": {
|
|
5584
|
+
"array": [
|
|
5585
|
+
"u16",
|
|
5586
|
+
256
|
|
5587
|
+
]
|
|
5588
|
+
}
|
|
5589
|
+
},
|
|
5590
|
+
{
|
|
5591
|
+
"name": "selected",
|
|
5592
|
+
"type": {
|
|
5593
|
+
"array": [
|
|
5594
|
+
"u16",
|
|
5595
|
+
256
|
|
5596
|
+
]
|
|
5597
|
+
}
|
|
5598
|
+
},
|
|
5599
|
+
{
|
|
5600
|
+
"name": "roster",
|
|
5601
|
+
"type": {
|
|
5602
|
+
"array": [
|
|
5603
|
+
{
|
|
5604
|
+
"array": [
|
|
5605
|
+
"u8",
|
|
5606
|
+
32
|
|
5607
|
+
]
|
|
5608
|
+
},
|
|
5609
|
+
256
|
|
5610
|
+
]
|
|
5611
|
+
}
|
|
4807
5612
|
},
|
|
4808
5613
|
{
|
|
4809
|
-
"name": "
|
|
5614
|
+
"name": "min_signers",
|
|
5615
|
+
"docs": [
|
|
5616
|
+
"Snapshot of the admission quorum floor for rounds counted in this epoch."
|
|
5617
|
+
],
|
|
4810
5618
|
"type": "u8"
|
|
4811
5619
|
},
|
|
4812
5620
|
{
|
|
4813
|
-
"name": "
|
|
4814
|
-
"type":
|
|
5621
|
+
"name": "_reserved",
|
|
5622
|
+
"type": {
|
|
5623
|
+
"array": [
|
|
5624
|
+
"u8",
|
|
5625
|
+
7
|
|
5626
|
+
]
|
|
5627
|
+
}
|
|
4815
5628
|
}
|
|
4816
5629
|
]
|
|
4817
5630
|
}
|
|
@@ -4836,6 +5649,29 @@
|
|
|
4836
5649
|
"name": "Attestation"
|
|
4837
5650
|
}
|
|
4838
5651
|
}
|
|
5652
|
+
},
|
|
5653
|
+
{
|
|
5654
|
+
"name": "coalition_key_a",
|
|
5655
|
+
"docs": [
|
|
5656
|
+
"Affine sum of `attestation_a`'s signer keys. A verification input, not evidence: it is",
|
|
5657
|
+
"left out of [`Evidence::hash`], so the case PDA derives from the attestations alone."
|
|
5658
|
+
],
|
|
5659
|
+
"type": {
|
|
5660
|
+
"defined": {
|
|
5661
|
+
"name": "CoalitionKey"
|
|
5662
|
+
}
|
|
5663
|
+
}
|
|
5664
|
+
},
|
|
5665
|
+
{
|
|
5666
|
+
"name": "coalition_key_b",
|
|
5667
|
+
"docs": [
|
|
5668
|
+
"Affine sum of `attestation_b`'s signer keys; see `coalition_key_a`."
|
|
5669
|
+
],
|
|
5670
|
+
"type": {
|
|
5671
|
+
"defined": {
|
|
5672
|
+
"name": "CoalitionKey"
|
|
5673
|
+
}
|
|
5674
|
+
}
|
|
4839
5675
|
}
|
|
4840
5676
|
]
|
|
4841
5677
|
}
|
|
@@ -4980,7 +5816,9 @@
|
|
|
4980
5816
|
"docs": [
|
|
4981
5817
|
"Protocol-authorized gateway identified by its Solana authority.",
|
|
4982
5818
|
"",
|
|
4983
|
-
"Holds endpoint metadata and activation status. Keyed by the gateway's authority key
|
|
5819
|
+
"Holds endpoint metadata and activation status. Keyed by the gateway's authority key, which",
|
|
5820
|
+
"signs the round dispatches tickets must carry. Gateways hold no funds: x402 payers pay the",
|
|
5821
|
+
"protocol treasury directly."
|
|
4984
5822
|
],
|
|
4985
5823
|
"type": {
|
|
4986
5824
|
"kind": "struct",
|
|
@@ -5087,12 +5925,25 @@
|
|
|
5087
5925
|
{
|
|
5088
5926
|
"name": "InactivityEvidence",
|
|
5089
5927
|
"docs": [
|
|
5090
|
-
"
|
|
5091
|
-
"
|
|
5928
|
+
"A node whose availability in a finalized epoch fell below that epoch's payout floor.",
|
|
5929
|
+
"",
|
|
5930
|
+
"Proven from the epoch's own counters; `registry_version` / `node_index` locate the node in the",
|
|
5931
|
+
"current registry so it can be removed. The case hash covers only `(epoch, roster_slot)`, so a",
|
|
5932
|
+
"node can be punished at most once per epoch, including after reinstatement.",
|
|
5933
|
+
"",
|
|
5934
|
+
"Remaining accounts: `[node, epoch_state]`."
|
|
5092
5935
|
],
|
|
5093
5936
|
"type": {
|
|
5094
5937
|
"kind": "struct",
|
|
5095
5938
|
"fields": [
|
|
5939
|
+
{
|
|
5940
|
+
"name": "epoch",
|
|
5941
|
+
"type": "u64"
|
|
5942
|
+
},
|
|
5943
|
+
{
|
|
5944
|
+
"name": "roster_slot",
|
|
5945
|
+
"type": "u16"
|
|
5946
|
+
},
|
|
5096
5947
|
{
|
|
5097
5948
|
"name": "registry_version",
|
|
5098
5949
|
"type": "u32"
|
|
@@ -5134,28 +5985,40 @@
|
|
|
5134
5985
|
"type": "u16"
|
|
5135
5986
|
},
|
|
5136
5987
|
{
|
|
5137
|
-
"name": "
|
|
5138
|
-
"type": "
|
|
5988
|
+
"name": "usdc_mint",
|
|
5989
|
+
"type": "pubkey"
|
|
5139
5990
|
},
|
|
5140
5991
|
{
|
|
5141
|
-
"name": "
|
|
5142
|
-
"type": "
|
|
5992
|
+
"name": "x402_round_base",
|
|
5993
|
+
"type": "u64"
|
|
5143
5994
|
},
|
|
5144
5995
|
{
|
|
5145
|
-
"name": "
|
|
5146
|
-
"type": "
|
|
5996
|
+
"name": "min_signers",
|
|
5997
|
+
"type": "u8"
|
|
5147
5998
|
},
|
|
5148
5999
|
{
|
|
5149
|
-
"name": "
|
|
5150
|
-
"type": "
|
|
6000
|
+
"name": "epoch_len_seconds",
|
|
6001
|
+
"type": "u64"
|
|
5151
6002
|
},
|
|
5152
6003
|
{
|
|
5153
|
-
"name": "
|
|
6004
|
+
"name": "ticket_grace_seconds",
|
|
5154
6005
|
"type": "u64"
|
|
5155
6006
|
},
|
|
5156
6007
|
{
|
|
5157
|
-
"name": "
|
|
5158
|
-
"type": "
|
|
6008
|
+
"name": "target_tickets_per_epoch",
|
|
6009
|
+
"type": "u32"
|
|
6010
|
+
},
|
|
6011
|
+
{
|
|
6012
|
+
"name": "min_availability_bps",
|
|
6013
|
+
"type": "u16"
|
|
6014
|
+
},
|
|
6015
|
+
{
|
|
6016
|
+
"name": "min_availability_samples",
|
|
6017
|
+
"type": "u16"
|
|
6018
|
+
},
|
|
6019
|
+
{
|
|
6020
|
+
"name": "protocol_fee_bps",
|
|
6021
|
+
"type": "u16"
|
|
5159
6022
|
}
|
|
5160
6023
|
]
|
|
5161
6024
|
}
|
|
@@ -5219,10 +6082,6 @@
|
|
|
5219
6082
|
"name": "claimable_rewards",
|
|
5220
6083
|
"type": "u64"
|
|
5221
6084
|
},
|
|
5222
|
-
{
|
|
5223
|
-
"name": "liveliness_score",
|
|
5224
|
-
"type": "u16"
|
|
5225
|
-
},
|
|
5226
6085
|
{
|
|
5227
6086
|
"name": "registered_at",
|
|
5228
6087
|
"type": "i64"
|
|
@@ -5327,26 +6186,6 @@
|
|
|
5327
6186
|
]
|
|
5328
6187
|
}
|
|
5329
6188
|
},
|
|
5330
|
-
{
|
|
5331
|
-
"name": "NodeLivelinessPenalized",
|
|
5332
|
-
"type": {
|
|
5333
|
-
"kind": "struct",
|
|
5334
|
-
"fields": [
|
|
5335
|
-
{
|
|
5336
|
-
"name": "node",
|
|
5337
|
-
"type": "pubkey"
|
|
5338
|
-
},
|
|
5339
|
-
{
|
|
5340
|
-
"name": "round_replay",
|
|
5341
|
-
"type": "pubkey"
|
|
5342
|
-
},
|
|
5343
|
-
{
|
|
5344
|
-
"name": "score",
|
|
5345
|
-
"type": "u16"
|
|
5346
|
-
}
|
|
5347
|
-
]
|
|
5348
|
-
}
|
|
5349
|
-
},
|
|
5350
6189
|
{
|
|
5351
6190
|
"name": "NodePunished",
|
|
5352
6191
|
"type": {
|
|
@@ -5965,13 +6804,17 @@
|
|
|
5965
6804
|
},
|
|
5966
6805
|
{
|
|
5967
6806
|
"name": "reward_per_signature",
|
|
6807
|
+
"docs": [
|
|
6808
|
+
"Published x402 pricing input: `x402_round_base + (k + b) · reward_per_signature`.",
|
|
6809
|
+
"Not read on chain; payouts come from the epoch pool."
|
|
6810
|
+
],
|
|
5968
6811
|
"type": "u64"
|
|
5969
6812
|
},
|
|
5970
6813
|
{
|
|
5971
6814
|
"name": "max_settlement_delay_seconds",
|
|
5972
6815
|
"docs": [
|
|
5973
|
-
"Max age in seconds of `canonical_timestamp` relative to cluster time at",
|
|
5974
|
-
"
|
|
6816
|
+
"Max age in seconds of `canonical_timestamp` relative to cluster time at attestation",
|
|
6817
|
+
"ingress, and the grace period of a superseded registry version."
|
|
5975
6818
|
],
|
|
5976
6819
|
"type": "u64"
|
|
5977
6820
|
},
|
|
@@ -5988,31 +6831,81 @@
|
|
|
5988
6831
|
"type": "u64"
|
|
5989
6832
|
},
|
|
5990
6833
|
{
|
|
5991
|
-
"name": "
|
|
5992
|
-
"
|
|
6834
|
+
"name": "x402_round_base",
|
|
6835
|
+
"docs": [
|
|
6836
|
+
"Published x402 pricing input; see `reward_per_signature`."
|
|
6837
|
+
],
|
|
6838
|
+
"type": "u64"
|
|
6839
|
+
},
|
|
6840
|
+
{
|
|
6841
|
+
"name": "reward_liability",
|
|
6842
|
+
"docs": [
|
|
6843
|
+
"Sum of every `Node.claimable_rewards`."
|
|
6844
|
+
],
|
|
6845
|
+
"type": "u64"
|
|
6846
|
+
},
|
|
6847
|
+
{
|
|
6848
|
+
"name": "min_signers",
|
|
6849
|
+
"docs": [
|
|
6850
|
+
"Current feed-admission floor; copied into each new epoch for ticket verification."
|
|
6851
|
+
],
|
|
6852
|
+
"type": "u8"
|
|
6853
|
+
},
|
|
6854
|
+
{
|
|
6855
|
+
"name": "epoch_len_seconds",
|
|
6856
|
+
"docs": [
|
|
6857
|
+
"Length of epochs created from now on."
|
|
6858
|
+
],
|
|
6859
|
+
"type": "u64"
|
|
6860
|
+
},
|
|
6861
|
+
{
|
|
6862
|
+
"name": "ticket_grace_seconds",
|
|
6863
|
+
"docs": [
|
|
6864
|
+
"Late-ticket window after an epoch ends, for epochs created from now on."
|
|
6865
|
+
],
|
|
6866
|
+
"type": "u64"
|
|
6867
|
+
},
|
|
6868
|
+
{
|
|
6869
|
+
"name": "target_tickets_per_epoch",
|
|
6870
|
+
"docs": [
|
|
6871
|
+
"Ticket count per epoch the threshold controller aims for."
|
|
6872
|
+
],
|
|
6873
|
+
"type": "u32"
|
|
5993
6874
|
},
|
|
5994
6875
|
{
|
|
5995
|
-
"name": "
|
|
6876
|
+
"name": "min_availability_bps",
|
|
6877
|
+
"docs": [
|
|
6878
|
+
"Payout floor relative to the network inclusion rate, in bps, for new epochs."
|
|
6879
|
+
],
|
|
5996
6880
|
"type": "u16"
|
|
5997
6881
|
},
|
|
5998
6882
|
{
|
|
5999
|
-
"name": "
|
|
6883
|
+
"name": "min_availability_samples",
|
|
6884
|
+
"docs": [
|
|
6885
|
+
"Selections below which the availability floor does not apply, for new epochs."
|
|
6886
|
+
],
|
|
6000
6887
|
"type": "u16"
|
|
6001
6888
|
},
|
|
6002
6889
|
{
|
|
6003
|
-
"name": "
|
|
6004
|
-
"
|
|
6890
|
+
"name": "protocol_fee_bps",
|
|
6891
|
+
"docs": [
|
|
6892
|
+
"Share of all swept income kept by the protocol; the rest joins the epoch pool."
|
|
6893
|
+
],
|
|
6894
|
+
"type": "u16"
|
|
6005
6895
|
},
|
|
6006
6896
|
{
|
|
6007
|
-
"name": "
|
|
6897
|
+
"name": "pool_liability",
|
|
6008
6898
|
"docs": [
|
|
6009
|
-
"Sum of
|
|
6899
|
+
"Sum of `pool - paid` over every epoch not yet closed."
|
|
6010
6900
|
],
|
|
6011
6901
|
"type": "u64"
|
|
6012
6902
|
},
|
|
6013
6903
|
{
|
|
6014
|
-
"name": "
|
|
6015
|
-
"
|
|
6904
|
+
"name": "protocol_reserved",
|
|
6905
|
+
"docs": [
|
|
6906
|
+
"Protocol fees and slashing proceeds held in the treasury."
|
|
6907
|
+
],
|
|
6908
|
+
"type": "u64"
|
|
6016
6909
|
},
|
|
6017
6910
|
{
|
|
6018
6911
|
"name": "bump",
|
|
@@ -6047,24 +6940,36 @@
|
|
|
6047
6940
|
"type": "u64"
|
|
6048
6941
|
},
|
|
6049
6942
|
{
|
|
6050
|
-
"name": "
|
|
6051
|
-
"type": "
|
|
6943
|
+
"name": "x402_round_base",
|
|
6944
|
+
"type": "u64"
|
|
6052
6945
|
},
|
|
6053
6946
|
{
|
|
6054
|
-
"name": "
|
|
6055
|
-
"type": "
|
|
6947
|
+
"name": "min_signers",
|
|
6948
|
+
"type": "u8"
|
|
6056
6949
|
},
|
|
6057
6950
|
{
|
|
6058
|
-
"name": "
|
|
6059
|
-
"type": "
|
|
6951
|
+
"name": "epoch_len_seconds",
|
|
6952
|
+
"type": "u64"
|
|
6060
6953
|
},
|
|
6061
6954
|
{
|
|
6062
|
-
"name": "
|
|
6955
|
+
"name": "ticket_grace_seconds",
|
|
6063
6956
|
"type": "u64"
|
|
6064
6957
|
},
|
|
6065
6958
|
{
|
|
6066
|
-
"name": "
|
|
6067
|
-
"type": "
|
|
6959
|
+
"name": "target_tickets_per_epoch",
|
|
6960
|
+
"type": "u32"
|
|
6961
|
+
},
|
|
6962
|
+
{
|
|
6963
|
+
"name": "min_availability_bps",
|
|
6964
|
+
"type": "u16"
|
|
6965
|
+
},
|
|
6966
|
+
{
|
|
6967
|
+
"name": "min_availability_samples",
|
|
6968
|
+
"type": "u16"
|
|
6969
|
+
},
|
|
6970
|
+
{
|
|
6971
|
+
"name": "protocol_fee_bps",
|
|
6972
|
+
"type": "u16"
|
|
6068
6973
|
}
|
|
6069
6974
|
]
|
|
6070
6975
|
}
|
|
@@ -6109,6 +7014,26 @@
|
|
|
6109
7014
|
]
|
|
6110
7015
|
}
|
|
6111
7016
|
},
|
|
7017
|
+
{
|
|
7018
|
+
"name": "ProtocolReserveWithdrawn",
|
|
7019
|
+
"type": {
|
|
7020
|
+
"kind": "struct",
|
|
7021
|
+
"fields": [
|
|
7022
|
+
{
|
|
7023
|
+
"name": "destination",
|
|
7024
|
+
"type": "pubkey"
|
|
7025
|
+
},
|
|
7026
|
+
{
|
|
7027
|
+
"name": "amount",
|
|
7028
|
+
"type": "u64"
|
|
7029
|
+
},
|
|
7030
|
+
{
|
|
7031
|
+
"name": "withdrawn_at",
|
|
7032
|
+
"type": "i64"
|
|
7033
|
+
}
|
|
7034
|
+
]
|
|
7035
|
+
}
|
|
7036
|
+
},
|
|
6112
7037
|
{
|
|
6113
7038
|
"name": "PunishmentCase",
|
|
6114
7039
|
"docs": [
|
|
@@ -6310,6 +7235,13 @@
|
|
|
6310
7235
|
{
|
|
6311
7236
|
"name": "grace_active_until",
|
|
6312
7237
|
"type": "i64"
|
|
7238
|
+
},
|
|
7239
|
+
{
|
|
7240
|
+
"name": "active_from",
|
|
7241
|
+
"docs": [
|
|
7242
|
+
"Inclusive creation time. A version cannot verify a round dated before it existed."
|
|
7243
|
+
],
|
|
7244
|
+
"type": "i64"
|
|
6313
7245
|
}
|
|
6314
7246
|
]
|
|
6315
7247
|
}
|
|
@@ -6405,143 +7337,48 @@
|
|
|
6405
7337
|
}
|
|
6406
7338
|
},
|
|
6407
7339
|
{
|
|
6408
|
-
"name": "
|
|
7340
|
+
"name": "RevenueSwept",
|
|
6409
7341
|
"type": {
|
|
6410
7342
|
"kind": "struct",
|
|
6411
7343
|
"fields": [
|
|
6412
7344
|
{
|
|
6413
|
-
"name": "
|
|
6414
|
-
"type": "pubkey"
|
|
6415
|
-
},
|
|
6416
|
-
{
|
|
6417
|
-
"name": "amount",
|
|
7345
|
+
"name": "epoch",
|
|
6418
7346
|
"type": "u64"
|
|
6419
7347
|
},
|
|
6420
7348
|
{
|
|
6421
|
-
"name": "
|
|
6422
|
-
"type": "i64"
|
|
6423
|
-
}
|
|
6424
|
-
]
|
|
6425
|
-
}
|
|
6426
|
-
},
|
|
6427
|
-
{
|
|
6428
|
-
"name": "RoundReplayClosed",
|
|
6429
|
-
"type": {
|
|
6430
|
-
"kind": "struct",
|
|
6431
|
-
"fields": [
|
|
6432
|
-
{
|
|
6433
|
-
"name": "round_replay",
|
|
6434
|
-
"type": "pubkey"
|
|
6435
|
-
},
|
|
6436
|
-
{
|
|
6437
|
-
"name": "round_id",
|
|
6438
|
-
"type": {
|
|
6439
|
-
"array": [
|
|
6440
|
-
"u8",
|
|
6441
|
-
32
|
|
6442
|
-
]
|
|
6443
|
-
}
|
|
6444
|
-
},
|
|
6445
|
-
{
|
|
6446
|
-
"name": "gateway",
|
|
6447
|
-
"type": "pubkey"
|
|
6448
|
-
},
|
|
6449
|
-
{
|
|
6450
|
-
"name": "rent_receiver",
|
|
6451
|
-
"type": "pubkey"
|
|
6452
|
-
},
|
|
6453
|
-
{
|
|
6454
|
-
"name": "canonical_timestamp",
|
|
7349
|
+
"name": "gross",
|
|
6455
7350
|
"type": "u64"
|
|
6456
7351
|
},
|
|
6457
7352
|
{
|
|
6458
|
-
"name": "
|
|
6459
|
-
"type": "
|
|
6460
|
-
}
|
|
6461
|
-
]
|
|
6462
|
-
}
|
|
6463
|
-
},
|
|
6464
|
-
{
|
|
6465
|
-
"name": "RoundReplayMarker",
|
|
6466
|
-
"docs": [
|
|
6467
|
-
"Per-settlement marker that makes settlement idempotent by PDA creation.",
|
|
6468
|
-
"",
|
|
6469
|
-
"PDA: `[SEED_PREFIX, gateway, round_id]`. It only has to outlive its round's freshness window:",
|
|
6470
|
-
"once `timestamp + MAX_SETTLEMENT_DELAY_CAP_SECONDS` has passed, no configuration can make the",
|
|
6471
|
-
"round settleable again, and `close_round_replay` returns the rent to the gateway authority."
|
|
6472
|
-
],
|
|
6473
|
-
"type": {
|
|
6474
|
-
"kind": "struct",
|
|
6475
|
-
"fields": [
|
|
6476
|
-
{
|
|
6477
|
-
"name": "round_id",
|
|
6478
|
-
"docs": [
|
|
6479
|
-
"Seed component; stored so `close_round_replay` can re-derive the PDA and bind the marker",
|
|
6480
|
-
"to the gateway whose authority paid for it."
|
|
6481
|
-
],
|
|
6482
|
-
"type": {
|
|
6483
|
-
"array": [
|
|
6484
|
-
"u8",
|
|
6485
|
-
32
|
|
6486
|
-
]
|
|
6487
|
-
}
|
|
7353
|
+
"name": "protocol_fee",
|
|
7354
|
+
"type": "u64"
|
|
6488
7355
|
},
|
|
6489
7356
|
{
|
|
6490
|
-
"name": "
|
|
6491
|
-
"docs": [
|
|
6492
|
-
"The settled round's `canonical_timestamp` (not the settlement time): freshness is judged",
|
|
6493
|
-
"against it, so it is what bounds when the round can no longer be re-admitted."
|
|
6494
|
-
],
|
|
7357
|
+
"name": "pool_share",
|
|
6495
7358
|
"type": "u64"
|
|
6496
7359
|
},
|
|
6497
7360
|
{
|
|
6498
|
-
"name": "
|
|
6499
|
-
"type": "
|
|
7361
|
+
"name": "swept_at",
|
|
7362
|
+
"type": "i64"
|
|
6500
7363
|
}
|
|
6501
7364
|
]
|
|
6502
7365
|
}
|
|
6503
7366
|
},
|
|
6504
7367
|
{
|
|
6505
|
-
"name": "
|
|
7368
|
+
"name": "RewardsClaimed",
|
|
6506
7369
|
"type": {
|
|
6507
7370
|
"kind": "struct",
|
|
6508
7371
|
"fields": [
|
|
6509
7372
|
{
|
|
6510
|
-
"name": "
|
|
7373
|
+
"name": "beneficiary",
|
|
6511
7374
|
"type": "pubkey"
|
|
6512
7375
|
},
|
|
6513
7376
|
{
|
|
6514
|
-
"name": "
|
|
6515
|
-
"type": {
|
|
6516
|
-
"array": [
|
|
6517
|
-
"u8",
|
|
6518
|
-
32
|
|
6519
|
-
]
|
|
6520
|
-
}
|
|
6521
|
-
},
|
|
6522
|
-
{
|
|
6523
|
-
"name": "canonical_timestamp",
|
|
6524
|
-
"type": "u64"
|
|
6525
|
-
},
|
|
6526
|
-
{
|
|
6527
|
-
"name": "signers_bitmap",
|
|
6528
|
-
"type": {
|
|
6529
|
-
"array": [
|
|
6530
|
-
"u8",
|
|
6531
|
-
32
|
|
6532
|
-
]
|
|
6533
|
-
}
|
|
6534
|
-
},
|
|
6535
|
-
{
|
|
6536
|
-
"name": "reward_per_signature",
|
|
6537
|
-
"type": "u64"
|
|
6538
|
-
},
|
|
6539
|
-
{
|
|
6540
|
-
"name": "recorded_slot",
|
|
7377
|
+
"name": "amount",
|
|
6541
7378
|
"type": "u64"
|
|
6542
7379
|
},
|
|
6543
7380
|
{
|
|
6544
|
-
"name": "
|
|
7381
|
+
"name": "claimed_at",
|
|
6545
7382
|
"type": "i64"
|
|
6546
7383
|
}
|
|
6547
7384
|
]
|
|
@@ -6604,41 +7441,6 @@
|
|
|
6604
7441
|
]
|
|
6605
7442
|
}
|
|
6606
7443
|
},
|
|
6607
|
-
{
|
|
6608
|
-
"name": "SettleX402RoundArgs",
|
|
6609
|
-
"type": {
|
|
6610
|
-
"kind": "struct",
|
|
6611
|
-
"fields": [
|
|
6612
|
-
{
|
|
6613
|
-
"name": "payer_id",
|
|
6614
|
-
"docs": [
|
|
6615
|
-
"Rail-scoped payer identity for PDA seeds; not derivable on-chain."
|
|
6616
|
-
],
|
|
6617
|
-
"type": {
|
|
6618
|
-
"array": [
|
|
6619
|
-
"u8",
|
|
6620
|
-
32
|
|
6621
|
-
]
|
|
6622
|
-
}
|
|
6623
|
-
},
|
|
6624
|
-
{
|
|
6625
|
-
"name": "amount",
|
|
6626
|
-
"type": "u64"
|
|
6627
|
-
},
|
|
6628
|
-
{
|
|
6629
|
-
"name": "payment_rail",
|
|
6630
|
-
"type": "u16"
|
|
6631
|
-
},
|
|
6632
|
-
{
|
|
6633
|
-
"name": "payment_ref",
|
|
6634
|
-
"docs": [
|
|
6635
|
-
"Attested off-chain payment reference; not verified on-chain."
|
|
6636
|
-
],
|
|
6637
|
-
"type": "bytes"
|
|
6638
|
-
}
|
|
6639
|
-
]
|
|
6640
|
-
}
|
|
6641
|
-
},
|
|
6642
7444
|
{
|
|
6643
7445
|
"name": "SubmitAttestationArgs",
|
|
6644
7446
|
"type": {
|
|
@@ -6662,6 +7464,20 @@
|
|
|
6662
7464
|
"type": {
|
|
6663
7465
|
"option": "bytes"
|
|
6664
7466
|
}
|
|
7467
|
+
},
|
|
7468
|
+
{
|
|
7469
|
+
"name": "coalition_key",
|
|
7470
|
+
"docs": [
|
|
7471
|
+
"Affine sum of the signers' secp256k1 keys (`molpha_verifier::coalition_key`, or any",
|
|
7472
|
+
"library's point sum over their `Node` accounts). Unsigned and untrusted: the verifier",
|
|
7473
|
+
"checks it projectively against its own sum instead of inverting. A wrong key only fails",
|
|
7474
|
+
"the instruction."
|
|
7475
|
+
],
|
|
7476
|
+
"type": {
|
|
7477
|
+
"defined": {
|
|
7478
|
+
"name": "CoalitionKey"
|
|
7479
|
+
}
|
|
7480
|
+
}
|
|
6665
7481
|
}
|
|
6666
7482
|
]
|
|
6667
7483
|
}
|
|
@@ -6719,12 +7535,11 @@
|
|
|
6719
7535
|
"name": "valid_until",
|
|
6720
7536
|
"type": "i64"
|
|
6721
7537
|
},
|
|
6722
|
-
{
|
|
6723
|
-
"name": "used_rounds",
|
|
6724
|
-
"type": "u64"
|
|
6725
|
-
},
|
|
6726
7538
|
{
|
|
6727
7539
|
"name": "max_rounds",
|
|
7540
|
+
"docs": [
|
|
7541
|
+
"Round quota per plan snapshot. Enforced by the gateway at admission, not on chain."
|
|
7542
|
+
],
|
|
6728
7543
|
"type": "u64"
|
|
6729
7544
|
},
|
|
6730
7545
|
{
|
|
@@ -6771,145 +7586,236 @@
|
|
|
6771
7586
|
}
|
|
6772
7587
|
},
|
|
6773
7588
|
{
|
|
6774
|
-
"name": "
|
|
7589
|
+
"name": "TicketMarker",
|
|
7590
|
+
"docs": [
|
|
7591
|
+
"Existence marker for a submitted ticket; blocks resubmitting the same round.",
|
|
7592
|
+
"",
|
|
7593
|
+
"PDA: `[SEED_PREFIX, ticket_id]`. Once the round's epoch stops accepting tickets the round can",
|
|
7594
|
+
"never be submitted again, so the marker becomes closable and returns its rent."
|
|
7595
|
+
],
|
|
6775
7596
|
"type": {
|
|
6776
7597
|
"kind": "struct",
|
|
6777
7598
|
"fields": [
|
|
6778
7599
|
{
|
|
6779
|
-
"name": "
|
|
6780
|
-
"
|
|
6781
|
-
"
|
|
6782
|
-
|
|
6783
|
-
|
|
6784
|
-
|
|
7600
|
+
"name": "closable_after",
|
|
7601
|
+
"docs": [
|
|
7602
|
+
"The round's epoch ticket deadline (`end + ticket_grace`)."
|
|
7603
|
+
],
|
|
7604
|
+
"type": "i64"
|
|
7605
|
+
},
|
|
7606
|
+
{
|
|
7607
|
+
"name": "submitter",
|
|
7608
|
+
"type": "pubkey"
|
|
7609
|
+
},
|
|
7610
|
+
{
|
|
7611
|
+
"name": "bump",
|
|
7612
|
+
"type": "u8"
|
|
6785
7613
|
}
|
|
6786
7614
|
]
|
|
6787
7615
|
}
|
|
6788
7616
|
},
|
|
6789
7617
|
{
|
|
6790
|
-
"name": "
|
|
7618
|
+
"name": "TicketMarkerClosed",
|
|
6791
7619
|
"type": {
|
|
6792
7620
|
"kind": "struct",
|
|
6793
7621
|
"fields": [
|
|
6794
7622
|
{
|
|
6795
|
-
"name": "
|
|
6796
|
-
"type": "
|
|
7623
|
+
"name": "ticket_marker",
|
|
7624
|
+
"type": "pubkey"
|
|
6797
7625
|
},
|
|
6798
7626
|
{
|
|
6799
|
-
"name": "
|
|
6800
|
-
"type": "
|
|
7627
|
+
"name": "submitter",
|
|
7628
|
+
"type": "pubkey"
|
|
6801
7629
|
},
|
|
6802
7630
|
{
|
|
6803
|
-
"name": "
|
|
7631
|
+
"name": "closed_at",
|
|
7632
|
+
"type": "i64"
|
|
7633
|
+
}
|
|
7634
|
+
]
|
|
7635
|
+
}
|
|
7636
|
+
},
|
|
7637
|
+
{
|
|
7638
|
+
"name": "TicketRosterOverflow",
|
|
7639
|
+
"docs": [
|
|
7640
|
+
"Selected nodes left uncounted because the epoch roster was full."
|
|
7641
|
+
],
|
|
7642
|
+
"type": {
|
|
7643
|
+
"kind": "struct",
|
|
7644
|
+
"fields": [
|
|
7645
|
+
{
|
|
7646
|
+
"name": "epoch",
|
|
6804
7647
|
"type": "u64"
|
|
6805
7648
|
},
|
|
6806
7649
|
{
|
|
6807
|
-
"name": "
|
|
6808
|
-
"type":
|
|
7650
|
+
"name": "ticket_id",
|
|
7651
|
+
"type": {
|
|
7652
|
+
"array": [
|
|
7653
|
+
"u8",
|
|
7654
|
+
32
|
|
7655
|
+
]
|
|
7656
|
+
}
|
|
6809
7657
|
},
|
|
6810
7658
|
{
|
|
6811
|
-
"name": "
|
|
6812
|
-
"type": "
|
|
7659
|
+
"name": "uncounted",
|
|
7660
|
+
"type": "u32"
|
|
7661
|
+
}
|
|
7662
|
+
]
|
|
7663
|
+
}
|
|
7664
|
+
},
|
|
7665
|
+
{
|
|
7666
|
+
"name": "TicketSubmitted",
|
|
7667
|
+
"type": {
|
|
7668
|
+
"kind": "struct",
|
|
7669
|
+
"fields": [
|
|
7670
|
+
{
|
|
7671
|
+
"name": "epoch",
|
|
7672
|
+
"type": "u64"
|
|
6813
7673
|
},
|
|
6814
7674
|
{
|
|
6815
|
-
"name": "
|
|
6816
|
-
"type":
|
|
7675
|
+
"name": "ticket_id",
|
|
7676
|
+
"type": {
|
|
7677
|
+
"array": [
|
|
7678
|
+
"u8",
|
|
7679
|
+
32
|
|
7680
|
+
]
|
|
7681
|
+
}
|
|
6817
7682
|
},
|
|
6818
7683
|
{
|
|
6819
|
-
"name": "
|
|
6820
|
-
"
|
|
7684
|
+
"name": "gateway",
|
|
7685
|
+
"docs": [
|
|
7686
|
+
"Gateway PDA whose authority signed the round dispatch."
|
|
7687
|
+
],
|
|
7688
|
+
"type": "pubkey"
|
|
6821
7689
|
},
|
|
6822
7690
|
{
|
|
6823
|
-
"name": "
|
|
6824
|
-
"type": "
|
|
7691
|
+
"name": "submitter",
|
|
7692
|
+
"type": "pubkey"
|
|
6825
7693
|
},
|
|
6826
7694
|
{
|
|
6827
|
-
"name": "
|
|
6828
|
-
"type": "
|
|
7695
|
+
"name": "registry_version",
|
|
7696
|
+
"type": "u32"
|
|
6829
7697
|
},
|
|
6830
7698
|
{
|
|
6831
|
-
"name": "
|
|
6832
|
-
"type":
|
|
7699
|
+
"name": "signers_bitmap",
|
|
7700
|
+
"type": {
|
|
7701
|
+
"array": [
|
|
7702
|
+
"u8",
|
|
7703
|
+
32
|
|
7704
|
+
]
|
|
7705
|
+
}
|
|
6833
7706
|
}
|
|
6834
7707
|
]
|
|
6835
7708
|
}
|
|
6836
7709
|
},
|
|
6837
7710
|
{
|
|
6838
|
-
"name": "
|
|
7711
|
+
"name": "UnsolicitedSigningEvidence",
|
|
6839
7712
|
"type": {
|
|
6840
7713
|
"kind": "struct",
|
|
6841
7714
|
"fields": [
|
|
6842
7715
|
{
|
|
6843
|
-
"name": "
|
|
7716
|
+
"name": "attestation",
|
|
6844
7717
|
"type": {
|
|
6845
|
-
"
|
|
6846
|
-
"
|
|
6847
|
-
|
|
6848
|
-
]
|
|
7718
|
+
"defined": {
|
|
7719
|
+
"name": "Attestation"
|
|
7720
|
+
}
|
|
6849
7721
|
}
|
|
6850
7722
|
},
|
|
6851
7723
|
{
|
|
6852
|
-
"name": "
|
|
6853
|
-
"
|
|
7724
|
+
"name": "coalition_key",
|
|
7725
|
+
"docs": [
|
|
7726
|
+
"Affine sum of the attestation's signer keys, intruders included. A verification input,",
|
|
7727
|
+
"not evidence: it is left out of [`Evidence::hash`], so the case PDA derives from the",
|
|
7728
|
+
"attestation alone."
|
|
7729
|
+
],
|
|
7730
|
+
"type": {
|
|
7731
|
+
"defined": {
|
|
7732
|
+
"name": "CoalitionKey"
|
|
7733
|
+
}
|
|
7734
|
+
}
|
|
6854
7735
|
}
|
|
6855
7736
|
]
|
|
6856
7737
|
}
|
|
6857
7738
|
},
|
|
6858
7739
|
{
|
|
6859
|
-
"name": "
|
|
7740
|
+
"name": "UpdateConfigArgs",
|
|
6860
7741
|
"type": {
|
|
6861
7742
|
"kind": "struct",
|
|
6862
7743
|
"fields": [
|
|
6863
7744
|
{
|
|
6864
|
-
"name": "
|
|
6865
|
-
"type":
|
|
6866
|
-
|
|
6867
|
-
|
|
6868
|
-
|
|
6869
|
-
|
|
6870
|
-
|
|
7745
|
+
"name": "withdrawal_cooldown_slots",
|
|
7746
|
+
"type": "u64"
|
|
7747
|
+
},
|
|
7748
|
+
{
|
|
7749
|
+
"name": "minimum_node_deposit",
|
|
7750
|
+
"type": "u64"
|
|
7751
|
+
},
|
|
7752
|
+
{
|
|
7753
|
+
"name": "reward_per_signature",
|
|
7754
|
+
"type": "u64"
|
|
7755
|
+
},
|
|
7756
|
+
{
|
|
7757
|
+
"name": "max_settlement_delay_seconds",
|
|
7758
|
+
"type": "u64"
|
|
6871
7759
|
},
|
|
6872
7760
|
{
|
|
6873
|
-
"name": "
|
|
7761
|
+
"name": "challenger_bounty_bps",
|
|
6874
7762
|
"type": "u16"
|
|
6875
7763
|
},
|
|
6876
7764
|
{
|
|
6877
|
-
"name": "
|
|
7765
|
+
"name": "x402_round_base",
|
|
6878
7766
|
"type": "u64"
|
|
6879
7767
|
},
|
|
6880
7768
|
{
|
|
6881
|
-
"name": "
|
|
6882
|
-
"type":
|
|
6883
|
-
"array": [
|
|
6884
|
-
"u8",
|
|
6885
|
-
32
|
|
6886
|
-
]
|
|
6887
|
-
}
|
|
7769
|
+
"name": "min_signers",
|
|
7770
|
+
"type": "u8"
|
|
6888
7771
|
},
|
|
6889
7772
|
{
|
|
6890
|
-
"name": "
|
|
7773
|
+
"name": "epoch_len_seconds",
|
|
7774
|
+
"docs": [
|
|
7775
|
+
"Epoch parameters apply to epochs created after this update, never to existing ones."
|
|
7776
|
+
],
|
|
6891
7777
|
"type": "u64"
|
|
6892
7778
|
},
|
|
6893
7779
|
{
|
|
6894
|
-
"name": "
|
|
6895
|
-
"type": "
|
|
7780
|
+
"name": "ticket_grace_seconds",
|
|
7781
|
+
"type": "u64"
|
|
6896
7782
|
},
|
|
6897
7783
|
{
|
|
6898
|
-
"name": "
|
|
7784
|
+
"name": "target_tickets_per_epoch",
|
|
7785
|
+
"type": "u32"
|
|
7786
|
+
},
|
|
7787
|
+
{
|
|
7788
|
+
"name": "min_availability_bps",
|
|
7789
|
+
"type": "u16"
|
|
7790
|
+
},
|
|
7791
|
+
{
|
|
7792
|
+
"name": "min_availability_samples",
|
|
7793
|
+
"type": "u16"
|
|
7794
|
+
},
|
|
7795
|
+
{
|
|
7796
|
+
"name": "protocol_fee_bps",
|
|
7797
|
+
"type": "u16"
|
|
7798
|
+
}
|
|
7799
|
+
]
|
|
7800
|
+
}
|
|
7801
|
+
},
|
|
7802
|
+
{
|
|
7803
|
+
"name": "UpdateNodeEndpointArgs",
|
|
7804
|
+
"type": {
|
|
7805
|
+
"kind": "struct",
|
|
7806
|
+
"fields": [
|
|
7807
|
+
{
|
|
7808
|
+
"name": "ip",
|
|
6899
7809
|
"type": {
|
|
6900
7810
|
"array": [
|
|
6901
7811
|
"u8",
|
|
6902
|
-
|
|
7812
|
+
4
|
|
6903
7813
|
]
|
|
6904
7814
|
}
|
|
6905
7815
|
},
|
|
6906
7816
|
{
|
|
6907
|
-
"name": "
|
|
6908
|
-
"type": "
|
|
6909
|
-
},
|
|
6910
|
-
{
|
|
6911
|
-
"name": "recorded_at",
|
|
6912
|
-
"type": "i64"
|
|
7817
|
+
"name": "port",
|
|
7818
|
+
"type": "u16"
|
|
6913
7819
|
}
|
|
6914
7820
|
]
|
|
6915
7821
|
}
|