@oobe-protocol-labs/synapse-sap-sdk 0.7.0 → 0.8.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/constants/seeds.js +2 -0
- package/dist/cjs/constants/seeds.js.map +1 -1
- package/dist/cjs/core/client.js +13 -0
- package/dist/cjs/core/client.js.map +1 -1
- package/dist/cjs/idl/synapse_agent_sap.json +1050 -629
- package/dist/cjs/index.js +7 -3
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/modules/escrow-v2.js +17 -38
- package/dist/cjs/modules/escrow-v2.js.map +1 -1
- package/dist/cjs/modules/index.js +3 -1
- package/dist/cjs/modules/index.js.map +1 -1
- package/dist/cjs/modules/receipt.js +144 -0
- package/dist/cjs/modules/receipt.js.map +1 -0
- package/dist/cjs/pda/index.js +24 -1
- package/dist/cjs/pda/index.js.map +1 -1
- package/dist/cjs/types/enums.js +47 -2
- package/dist/cjs/types/enums.js.map +1 -1
- package/dist/cjs/types/index.js +3 -1
- package/dist/cjs/types/index.js.map +1 -1
- package/dist/esm/constants/seeds.js +2 -0
- package/dist/esm/constants/seeds.js.map +1 -1
- package/dist/esm/core/client.js +13 -0
- package/dist/esm/core/client.js.map +1 -1
- package/dist/esm/idl/synapse_agent_sap.json +1050 -629
- package/dist/esm/index.js +3 -3
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/modules/escrow-v2.js +18 -39
- package/dist/esm/modules/escrow-v2.js.map +1 -1
- package/dist/esm/modules/index.js +1 -0
- package/dist/esm/modules/index.js.map +1 -1
- package/dist/esm/modules/receipt.js +140 -0
- package/dist/esm/modules/receipt.js.map +1 -0
- package/dist/esm/pda/index.js +22 -0
- package/dist/esm/pda/index.js.map +1 -1
- package/dist/esm/types/enums.js +46 -1
- package/dist/esm/types/enums.js.map +1 -1
- package/dist/esm/types/index.js +1 -1
- package/dist/esm/types/index.js.map +1 -1
- package/dist/types/constants/seeds.d.ts +2 -0
- package/dist/types/constants/seeds.d.ts.map +1 -1
- package/dist/types/core/client.d.ts +10 -0
- package/dist/types/core/client.d.ts.map +1 -1
- package/dist/types/index.d.ts +4 -4
- package/dist/types/index.d.ts.map +1 -1
- package/dist/types/modules/escrow-v2.d.ts +13 -6
- package/dist/types/modules/escrow-v2.d.ts.map +1 -1
- package/dist/types/modules/index.d.ts +1 -0
- package/dist/types/modules/index.d.ts.map +1 -1
- package/dist/types/modules/receipt.d.ts +77 -0
- package/dist/types/modules/receipt.d.ts.map +1 -0
- package/dist/types/pda/index.d.ts +15 -0
- package/dist/types/pda/index.d.ts.map +1 -1
- package/dist/types/types/accounts.d.ts +46 -2
- package/dist/types/types/accounts.d.ts.map +1 -1
- package/dist/types/types/enums.d.ts +52 -1
- package/dist/types/types/enums.d.ts.map +1 -1
- package/dist/types/types/index.d.ts +3 -3
- package/dist/types/types/index.d.ts.map +1 -1
- package/package.json +2 -2
- package/src/constants/seeds.ts +2 -0
- package/src/core/client.ts +14 -0
- package/src/idl/synapse_agent_sap.json +1050 -629
- package/src/index.ts +7 -0
- package/src/modules/escrow-v2.ts +21 -42
- package/src/modules/index.ts +1 -0
- package/src/modules/receipt.ts +207 -0
- package/src/pda/index.ts +32 -0
- package/src/types/accounts.ts +51 -2
- package/src/types/enums.ts +55 -1
- package/src/types/index.ts +5 -0
|
@@ -438,6 +438,170 @@
|
|
|
438
438
|
}
|
|
439
439
|
]
|
|
440
440
|
},
|
|
441
|
+
{
|
|
442
|
+
"name": "auto_resolve_dispute",
|
|
443
|
+
"docs": [
|
|
444
|
+
"Permissionless auto-resolution after proof deadline."
|
|
445
|
+
],
|
|
446
|
+
"discriminator": [
|
|
447
|
+
145,
|
|
448
|
+
254,
|
|
449
|
+
222,
|
|
450
|
+
128,
|
|
451
|
+
182,
|
|
452
|
+
85,
|
|
453
|
+
88,
|
|
454
|
+
124
|
|
455
|
+
],
|
|
456
|
+
"accounts": [
|
|
457
|
+
{
|
|
458
|
+
"name": "payer",
|
|
459
|
+
"docs": [
|
|
460
|
+
"Anyone can crank"
|
|
461
|
+
],
|
|
462
|
+
"writable": true,
|
|
463
|
+
"signer": true
|
|
464
|
+
},
|
|
465
|
+
{
|
|
466
|
+
"name": "depositor",
|
|
467
|
+
"writable": true
|
|
468
|
+
},
|
|
469
|
+
{
|
|
470
|
+
"name": "agent_wallet",
|
|
471
|
+
"writable": true
|
|
472
|
+
},
|
|
473
|
+
{
|
|
474
|
+
"name": "escrow",
|
|
475
|
+
"writable": true,
|
|
476
|
+
"pda": {
|
|
477
|
+
"seeds": [
|
|
478
|
+
{
|
|
479
|
+
"kind": "const",
|
|
480
|
+
"value": [
|
|
481
|
+
115,
|
|
482
|
+
97,
|
|
483
|
+
112,
|
|
484
|
+
95,
|
|
485
|
+
101,
|
|
486
|
+
115,
|
|
487
|
+
99,
|
|
488
|
+
114,
|
|
489
|
+
111,
|
|
490
|
+
119,
|
|
491
|
+
95,
|
|
492
|
+
118,
|
|
493
|
+
50
|
|
494
|
+
]
|
|
495
|
+
},
|
|
496
|
+
{
|
|
497
|
+
"kind": "account",
|
|
498
|
+
"path": "escrow.agent",
|
|
499
|
+
"account": "EscrowAccountV2"
|
|
500
|
+
},
|
|
501
|
+
{
|
|
502
|
+
"kind": "account",
|
|
503
|
+
"path": "escrow.depositor",
|
|
504
|
+
"account": "EscrowAccountV2"
|
|
505
|
+
},
|
|
506
|
+
{
|
|
507
|
+
"kind": "account",
|
|
508
|
+
"path": "escrow.escrow_nonce",
|
|
509
|
+
"account": "EscrowAccountV2"
|
|
510
|
+
}
|
|
511
|
+
]
|
|
512
|
+
}
|
|
513
|
+
},
|
|
514
|
+
{
|
|
515
|
+
"name": "pending_settlement",
|
|
516
|
+
"writable": true,
|
|
517
|
+
"pda": {
|
|
518
|
+
"seeds": [
|
|
519
|
+
{
|
|
520
|
+
"kind": "const",
|
|
521
|
+
"value": [
|
|
522
|
+
115,
|
|
523
|
+
97,
|
|
524
|
+
112,
|
|
525
|
+
95,
|
|
526
|
+
112,
|
|
527
|
+
101,
|
|
528
|
+
110,
|
|
529
|
+
100,
|
|
530
|
+
105,
|
|
531
|
+
110,
|
|
532
|
+
103
|
|
533
|
+
]
|
|
534
|
+
},
|
|
535
|
+
{
|
|
536
|
+
"kind": "account",
|
|
537
|
+
"path": "escrow"
|
|
538
|
+
},
|
|
539
|
+
{
|
|
540
|
+
"kind": "account",
|
|
541
|
+
"path": "pending_settlement.settlement_index",
|
|
542
|
+
"account": "PendingSettlement"
|
|
543
|
+
}
|
|
544
|
+
]
|
|
545
|
+
}
|
|
546
|
+
},
|
|
547
|
+
{
|
|
548
|
+
"name": "dispute",
|
|
549
|
+
"writable": true,
|
|
550
|
+
"pda": {
|
|
551
|
+
"seeds": [
|
|
552
|
+
{
|
|
553
|
+
"kind": "const",
|
|
554
|
+
"value": [
|
|
555
|
+
115,
|
|
556
|
+
97,
|
|
557
|
+
112,
|
|
558
|
+
95,
|
|
559
|
+
100,
|
|
560
|
+
105,
|
|
561
|
+
115,
|
|
562
|
+
112,
|
|
563
|
+
117,
|
|
564
|
+
116,
|
|
565
|
+
101
|
|
566
|
+
]
|
|
567
|
+
},
|
|
568
|
+
{
|
|
569
|
+
"kind": "account",
|
|
570
|
+
"path": "pending_settlement"
|
|
571
|
+
}
|
|
572
|
+
]
|
|
573
|
+
}
|
|
574
|
+
},
|
|
575
|
+
{
|
|
576
|
+
"name": "agent_stats",
|
|
577
|
+
"writable": true,
|
|
578
|
+
"pda": {
|
|
579
|
+
"seeds": [
|
|
580
|
+
{
|
|
581
|
+
"kind": "const",
|
|
582
|
+
"value": [
|
|
583
|
+
115,
|
|
584
|
+
97,
|
|
585
|
+
112,
|
|
586
|
+
95,
|
|
587
|
+
115,
|
|
588
|
+
116,
|
|
589
|
+
97,
|
|
590
|
+
116,
|
|
591
|
+
115
|
|
592
|
+
]
|
|
593
|
+
},
|
|
594
|
+
{
|
|
595
|
+
"kind": "account",
|
|
596
|
+
"path": "escrow.agent",
|
|
597
|
+
"account": "EscrowAccountV2"
|
|
598
|
+
}
|
|
599
|
+
]
|
|
600
|
+
}
|
|
601
|
+
}
|
|
602
|
+
],
|
|
603
|
+
"args": []
|
|
604
|
+
},
|
|
441
605
|
{
|
|
442
606
|
"name": "cancel_subscription",
|
|
443
607
|
"docs": [
|
|
@@ -2877,6 +3041,15 @@
|
|
|
2877
3041
|
32
|
|
2878
3042
|
]
|
|
2879
3043
|
}
|
|
3044
|
+
},
|
|
3045
|
+
{
|
|
3046
|
+
"name": "receipt_merkle_root",
|
|
3047
|
+
"type": {
|
|
3048
|
+
"array": [
|
|
3049
|
+
"u8",
|
|
3050
|
+
32
|
|
3051
|
+
]
|
|
3052
|
+
}
|
|
2880
3053
|
}
|
|
2881
3054
|
]
|
|
2882
3055
|
},
|
|
@@ -3617,6 +3790,10 @@
|
|
|
3617
3790
|
32
|
|
3618
3791
|
]
|
|
3619
3792
|
}
|
|
3793
|
+
},
|
|
3794
|
+
{
|
|
3795
|
+
"name": "dispute_type",
|
|
3796
|
+
"type": "u8"
|
|
3620
3797
|
}
|
|
3621
3798
|
]
|
|
3622
3799
|
},
|
|
@@ -5072,28 +5249,25 @@
|
|
|
5072
5249
|
]
|
|
5073
5250
|
},
|
|
5074
5251
|
{
|
|
5075
|
-
"name": "
|
|
5252
|
+
"name": "inscribe_receipt_batch",
|
|
5076
5253
|
"docs": [
|
|
5077
|
-
"
|
|
5254
|
+
"Agent commits a batch of receipt merkle roots."
|
|
5078
5255
|
],
|
|
5079
5256
|
"discriminator": [
|
|
5080
|
-
|
|
5081
|
-
|
|
5082
|
-
|
|
5083
|
-
|
|
5084
|
-
|
|
5085
|
-
|
|
5086
|
-
|
|
5087
|
-
|
|
5257
|
+
119,
|
|
5258
|
+
91,
|
|
5259
|
+
168,
|
|
5260
|
+
213,
|
|
5261
|
+
167,
|
|
5262
|
+
150,
|
|
5263
|
+
149,
|
|
5264
|
+
246
|
|
5088
5265
|
],
|
|
5089
5266
|
"accounts": [
|
|
5090
5267
|
{
|
|
5091
5268
|
"name": "wallet",
|
|
5092
5269
|
"writable": true,
|
|
5093
|
-
"signer": true
|
|
5094
|
-
"relations": [
|
|
5095
|
-
"agent"
|
|
5096
|
-
]
|
|
5270
|
+
"signer": true
|
|
5097
5271
|
},
|
|
5098
5272
|
{
|
|
5099
5273
|
"name": "agent",
|
|
@@ -5118,71 +5292,10 @@
|
|
|
5118
5292
|
"path": "wallet"
|
|
5119
5293
|
}
|
|
5120
5294
|
]
|
|
5121
|
-
},
|
|
5122
|
-
"relations": [
|
|
5123
|
-
"tool"
|
|
5124
|
-
]
|
|
5125
|
-
},
|
|
5126
|
-
{
|
|
5127
|
-
"name": "tool"
|
|
5128
|
-
}
|
|
5129
|
-
],
|
|
5130
|
-
"args": [
|
|
5131
|
-
{
|
|
5132
|
-
"name": "schema_type",
|
|
5133
|
-
"type": "u8"
|
|
5134
|
-
},
|
|
5135
|
-
{
|
|
5136
|
-
"name": "schema_data",
|
|
5137
|
-
"type": "bytes"
|
|
5138
|
-
},
|
|
5139
|
-
{
|
|
5140
|
-
"name": "schema_hash",
|
|
5141
|
-
"type": {
|
|
5142
|
-
"array": [
|
|
5143
|
-
"u8",
|
|
5144
|
-
32
|
|
5145
|
-
]
|
|
5146
5295
|
}
|
|
5147
5296
|
},
|
|
5148
5297
|
{
|
|
5149
|
-
"name": "
|
|
5150
|
-
"type": "u8"
|
|
5151
|
-
}
|
|
5152
|
-
]
|
|
5153
|
-
},
|
|
5154
|
-
{
|
|
5155
|
-
"name": "migrate_escrow_v1_to_v2",
|
|
5156
|
-
"docs": [
|
|
5157
|
-
"Migrate V1 escrow to V2 (nonce=0, SelfReport mode)."
|
|
5158
|
-
],
|
|
5159
|
-
"discriminator": [
|
|
5160
|
-
70,
|
|
5161
|
-
76,
|
|
5162
|
-
99,
|
|
5163
|
-
21,
|
|
5164
|
-
154,
|
|
5165
|
-
50,
|
|
5166
|
-
111,
|
|
5167
|
-
221
|
|
5168
|
-
],
|
|
5169
|
-
"accounts": [
|
|
5170
|
-
{
|
|
5171
|
-
"name": "depositor",
|
|
5172
|
-
"writable": true,
|
|
5173
|
-
"signer": true,
|
|
5174
|
-
"relations": [
|
|
5175
|
-
"escrow_v1"
|
|
5176
|
-
]
|
|
5177
|
-
},
|
|
5178
|
-
{
|
|
5179
|
-
"name": "agent"
|
|
5180
|
-
},
|
|
5181
|
-
{
|
|
5182
|
-
"name": "escrow_v1",
|
|
5183
|
-
"docs": [
|
|
5184
|
-
"V1 escrow being migrated — will be closed"
|
|
5185
|
-
],
|
|
5298
|
+
"name": "escrow",
|
|
5186
5299
|
"writable": true,
|
|
5187
5300
|
"pda": {
|
|
5188
5301
|
"seeds": [
|
|
@@ -5198,25 +5311,31 @@
|
|
|
5198
5311
|
99,
|
|
5199
5312
|
114,
|
|
5200
5313
|
111,
|
|
5201
|
-
119
|
|
5202
|
-
|
|
5203
|
-
|
|
5204
|
-
|
|
5314
|
+
119,
|
|
5315
|
+
95,
|
|
5316
|
+
118,
|
|
5317
|
+
50
|
|
5318
|
+
]
|
|
5319
|
+
},
|
|
5320
|
+
{
|
|
5205
5321
|
"kind": "account",
|
|
5206
5322
|
"path": "agent"
|
|
5207
5323
|
},
|
|
5208
5324
|
{
|
|
5209
5325
|
"kind": "account",
|
|
5210
|
-
"path": "depositor"
|
|
5326
|
+
"path": "escrow.depositor",
|
|
5327
|
+
"account": "EscrowAccountV2"
|
|
5328
|
+
},
|
|
5329
|
+
{
|
|
5330
|
+
"kind": "account",
|
|
5331
|
+
"path": "escrow.escrow_nonce",
|
|
5332
|
+
"account": "EscrowAccountV2"
|
|
5211
5333
|
}
|
|
5212
5334
|
]
|
|
5213
5335
|
}
|
|
5214
5336
|
},
|
|
5215
5337
|
{
|
|
5216
|
-
"name": "
|
|
5217
|
-
"docs": [
|
|
5218
|
-
"V2 escrow — init with nonce=0 (first escrow for this pair)"
|
|
5219
|
-
],
|
|
5338
|
+
"name": "receipt_batch",
|
|
5220
5339
|
"writable": true,
|
|
5221
5340
|
"pda": {
|
|
5222
5341
|
"seeds": [
|
|
@@ -5227,47 +5346,138 @@
|
|
|
5227
5346
|
97,
|
|
5228
5347
|
112,
|
|
5229
5348
|
95,
|
|
5349
|
+
114,
|
|
5230
5350
|
101,
|
|
5231
|
-
115,
|
|
5232
5351
|
99,
|
|
5233
|
-
|
|
5234
|
-
|
|
5235
|
-
|
|
5236
|
-
|
|
5237
|
-
118,
|
|
5238
|
-
50
|
|
5352
|
+
101,
|
|
5353
|
+
105,
|
|
5354
|
+
112,
|
|
5355
|
+
116
|
|
5239
5356
|
]
|
|
5240
5357
|
},
|
|
5241
5358
|
{
|
|
5242
5359
|
"kind": "account",
|
|
5243
|
-
"path": "
|
|
5360
|
+
"path": "escrow"
|
|
5244
5361
|
},
|
|
5245
5362
|
{
|
|
5246
|
-
"kind": "
|
|
5247
|
-
"path": "
|
|
5248
|
-
}
|
|
5363
|
+
"kind": "arg",
|
|
5364
|
+
"path": "batch_index"
|
|
5365
|
+
}
|
|
5366
|
+
]
|
|
5367
|
+
}
|
|
5368
|
+
},
|
|
5369
|
+
{
|
|
5370
|
+
"name": "system_program",
|
|
5371
|
+
"address": "11111111111111111111111111111111"
|
|
5372
|
+
}
|
|
5373
|
+
],
|
|
5374
|
+
"args": [
|
|
5375
|
+
{
|
|
5376
|
+
"name": "batch_index",
|
|
5377
|
+
"type": "u32"
|
|
5378
|
+
},
|
|
5379
|
+
{
|
|
5380
|
+
"name": "merkle_root",
|
|
5381
|
+
"type": {
|
|
5382
|
+
"array": [
|
|
5383
|
+
"u8",
|
|
5384
|
+
32
|
|
5385
|
+
]
|
|
5386
|
+
}
|
|
5387
|
+
},
|
|
5388
|
+
{
|
|
5389
|
+
"name": "call_count",
|
|
5390
|
+
"type": "u32"
|
|
5391
|
+
},
|
|
5392
|
+
{
|
|
5393
|
+
"name": "period_start",
|
|
5394
|
+
"type": "i64"
|
|
5395
|
+
},
|
|
5396
|
+
{
|
|
5397
|
+
"name": "period_end",
|
|
5398
|
+
"type": "i64"
|
|
5399
|
+
}
|
|
5400
|
+
]
|
|
5401
|
+
},
|
|
5402
|
+
{
|
|
5403
|
+
"name": "inscribe_tool_schema",
|
|
5404
|
+
"docs": [
|
|
5405
|
+
"Inscribe JSON schema to TX log. schema_type: 0=input, 1=output, 2=desc."
|
|
5406
|
+
],
|
|
5407
|
+
"discriminator": [
|
|
5408
|
+
110,
|
|
5409
|
+
30,
|
|
5410
|
+
94,
|
|
5411
|
+
199,
|
|
5412
|
+
11,
|
|
5413
|
+
139,
|
|
5414
|
+
211,
|
|
5415
|
+
188
|
|
5416
|
+
],
|
|
5417
|
+
"accounts": [
|
|
5418
|
+
{
|
|
5419
|
+
"name": "wallet",
|
|
5420
|
+
"writable": true,
|
|
5421
|
+
"signer": true,
|
|
5422
|
+
"relations": [
|
|
5423
|
+
"agent"
|
|
5424
|
+
]
|
|
5425
|
+
},
|
|
5426
|
+
{
|
|
5427
|
+
"name": "agent",
|
|
5428
|
+
"pda": {
|
|
5429
|
+
"seeds": [
|
|
5249
5430
|
{
|
|
5250
5431
|
"kind": "const",
|
|
5251
5432
|
"value": [
|
|
5252
|
-
|
|
5253
|
-
|
|
5254
|
-
|
|
5255
|
-
|
|
5256
|
-
|
|
5257
|
-
|
|
5258
|
-
|
|
5259
|
-
|
|
5433
|
+
115,
|
|
5434
|
+
97,
|
|
5435
|
+
112,
|
|
5436
|
+
95,
|
|
5437
|
+
97,
|
|
5438
|
+
103,
|
|
5439
|
+
101,
|
|
5440
|
+
110,
|
|
5441
|
+
116
|
|
5260
5442
|
]
|
|
5443
|
+
},
|
|
5444
|
+
{
|
|
5445
|
+
"kind": "account",
|
|
5446
|
+
"path": "wallet"
|
|
5261
5447
|
}
|
|
5262
5448
|
]
|
|
5263
|
-
}
|
|
5449
|
+
},
|
|
5450
|
+
"relations": [
|
|
5451
|
+
"tool"
|
|
5452
|
+
]
|
|
5264
5453
|
},
|
|
5265
5454
|
{
|
|
5266
|
-
"name": "
|
|
5267
|
-
"address": "11111111111111111111111111111111"
|
|
5455
|
+
"name": "tool"
|
|
5268
5456
|
}
|
|
5269
5457
|
],
|
|
5270
|
-
"args": [
|
|
5458
|
+
"args": [
|
|
5459
|
+
{
|
|
5460
|
+
"name": "schema_type",
|
|
5461
|
+
"type": "u8"
|
|
5462
|
+
},
|
|
5463
|
+
{
|
|
5464
|
+
"name": "schema_data",
|
|
5465
|
+
"type": "bytes"
|
|
5466
|
+
},
|
|
5467
|
+
{
|
|
5468
|
+
"name": "schema_hash",
|
|
5469
|
+
"type": {
|
|
5470
|
+
"array": [
|
|
5471
|
+
"u8",
|
|
5472
|
+
32
|
|
5473
|
+
]
|
|
5474
|
+
}
|
|
5475
|
+
},
|
|
5476
|
+
{
|
|
5477
|
+
"name": "compression",
|
|
5478
|
+
"type": "u8"
|
|
5479
|
+
}
|
|
5480
|
+
]
|
|
5271
5481
|
},
|
|
5272
5482
|
{
|
|
5273
5483
|
"name": "open_session",
|
|
@@ -6189,19 +6399,19 @@
|
|
|
6189
6399
|
]
|
|
6190
6400
|
},
|
|
6191
6401
|
{
|
|
6192
|
-
"name": "
|
|
6402
|
+
"name": "request_unstake",
|
|
6193
6403
|
"docs": [
|
|
6194
|
-
"
|
|
6404
|
+
"Request unstake — starts 7-day cooldown. Supports partial unstake."
|
|
6195
6405
|
],
|
|
6196
6406
|
"discriminator": [
|
|
6197
|
-
|
|
6198
|
-
|
|
6199
|
-
|
|
6200
|
-
|
|
6201
|
-
|
|
6202
|
-
|
|
6203
|
-
|
|
6204
|
-
|
|
6407
|
+
44,
|
|
6408
|
+
154,
|
|
6409
|
+
110,
|
|
6410
|
+
253,
|
|
6411
|
+
160,
|
|
6412
|
+
202,
|
|
6413
|
+
54,
|
|
6414
|
+
34
|
|
6205
6415
|
],
|
|
6206
6416
|
"accounts": [
|
|
6207
6417
|
{
|
|
@@ -6234,7 +6444,7 @@
|
|
|
6234
6444
|
}
|
|
6235
6445
|
},
|
|
6236
6446
|
{
|
|
6237
|
-
"name": "
|
|
6447
|
+
"name": "stake",
|
|
6238
6448
|
"writable": true,
|
|
6239
6449
|
"pda": {
|
|
6240
6450
|
"seeds": [
|
|
@@ -6248,8 +6458,8 @@
|
|
|
6248
6458
|
115,
|
|
6249
6459
|
116,
|
|
6250
6460
|
97,
|
|
6251
|
-
|
|
6252
|
-
|
|
6461
|
+
107,
|
|
6462
|
+
101
|
|
6253
6463
|
]
|
|
6254
6464
|
},
|
|
6255
6465
|
{
|
|
@@ -6262,36 +6472,43 @@
|
|
|
6262
6472
|
],
|
|
6263
6473
|
"args": [
|
|
6264
6474
|
{
|
|
6265
|
-
"name": "
|
|
6475
|
+
"name": "amount",
|
|
6266
6476
|
"type": "u64"
|
|
6267
6477
|
}
|
|
6268
6478
|
]
|
|
6269
6479
|
},
|
|
6270
6480
|
{
|
|
6271
|
-
"name": "
|
|
6481
|
+
"name": "revoke_attestation",
|
|
6272
6482
|
"docs": [
|
|
6273
|
-
"
|
|
6483
|
+
"Revoke attestation. Original attester only."
|
|
6274
6484
|
],
|
|
6275
6485
|
"discriminator": [
|
|
6276
|
-
|
|
6277
|
-
|
|
6278
|
-
|
|
6279
|
-
|
|
6280
|
-
|
|
6281
|
-
|
|
6282
|
-
|
|
6283
|
-
|
|
6486
|
+
12,
|
|
6487
|
+
156,
|
|
6488
|
+
103,
|
|
6489
|
+
161,
|
|
6490
|
+
194,
|
|
6491
|
+
246,
|
|
6492
|
+
211,
|
|
6493
|
+
179
|
|
6284
6494
|
],
|
|
6285
6495
|
"accounts": [
|
|
6286
6496
|
{
|
|
6287
|
-
"name": "
|
|
6497
|
+
"name": "attester",
|
|
6288
6498
|
"signer": true,
|
|
6289
6499
|
"relations": [
|
|
6290
|
-
"
|
|
6500
|
+
"attestation"
|
|
6291
6501
|
]
|
|
6292
6502
|
},
|
|
6293
6503
|
{
|
|
6294
6504
|
"name": "agent",
|
|
6505
|
+
"relations": [
|
|
6506
|
+
"attestation"
|
|
6507
|
+
]
|
|
6508
|
+
},
|
|
6509
|
+
{
|
|
6510
|
+
"name": "attestation",
|
|
6511
|
+
"writable": true,
|
|
6295
6512
|
"pda": {
|
|
6296
6513
|
"seeds": [
|
|
6297
6514
|
{
|
|
@@ -6302,56 +6519,53 @@
|
|
|
6302
6519
|
112,
|
|
6303
6520
|
95,
|
|
6304
6521
|
97,
|
|
6305
|
-
|
|
6522
|
+
116,
|
|
6523
|
+
116,
|
|
6306
6524
|
101,
|
|
6307
|
-
|
|
6525
|
+
115,
|
|
6308
6526
|
116
|
|
6309
6527
|
]
|
|
6310
6528
|
},
|
|
6311
6529
|
{
|
|
6312
6530
|
"kind": "account",
|
|
6313
|
-
"path": "
|
|
6531
|
+
"path": "agent"
|
|
6532
|
+
},
|
|
6533
|
+
{
|
|
6534
|
+
"kind": "account",
|
|
6535
|
+
"path": "attester"
|
|
6314
6536
|
}
|
|
6315
6537
|
]
|
|
6316
|
-
}
|
|
6317
|
-
"relations": [
|
|
6318
|
-
"tool"
|
|
6319
|
-
]
|
|
6320
|
-
},
|
|
6321
|
-
{
|
|
6322
|
-
"name": "tool",
|
|
6323
|
-
"writable": true
|
|
6538
|
+
}
|
|
6324
6539
|
}
|
|
6325
6540
|
],
|
|
6326
|
-
"args": [
|
|
6327
|
-
{
|
|
6328
|
-
"name": "invocations",
|
|
6329
|
-
"type": "u64"
|
|
6330
|
-
}
|
|
6331
|
-
]
|
|
6541
|
+
"args": []
|
|
6332
6542
|
},
|
|
6333
6543
|
{
|
|
6334
|
-
"name": "
|
|
6544
|
+
"name": "revoke_feedback",
|
|
6335
6545
|
"docs": [
|
|
6336
|
-
"
|
|
6546
|
+
"Mark feedback as revoked. Excluded from reputation."
|
|
6337
6547
|
],
|
|
6338
6548
|
"discriminator": [
|
|
6339
|
-
|
|
6340
|
-
|
|
6341
|
-
|
|
6342
|
-
|
|
6343
|
-
|
|
6344
|
-
|
|
6345
|
-
|
|
6346
|
-
|
|
6549
|
+
211,
|
|
6550
|
+
37,
|
|
6551
|
+
230,
|
|
6552
|
+
82,
|
|
6553
|
+
118,
|
|
6554
|
+
216,
|
|
6555
|
+
137,
|
|
6556
|
+
206
|
|
6347
6557
|
],
|
|
6348
6558
|
"accounts": [
|
|
6349
6559
|
{
|
|
6350
|
-
"name": "
|
|
6351
|
-
"signer": true
|
|
6560
|
+
"name": "reviewer",
|
|
6561
|
+
"signer": true,
|
|
6562
|
+
"relations": [
|
|
6563
|
+
"feedback"
|
|
6564
|
+
]
|
|
6352
6565
|
},
|
|
6353
6566
|
{
|
|
6354
|
-
"name": "
|
|
6567
|
+
"name": "feedback",
|
|
6568
|
+
"writable": true,
|
|
6355
6569
|
"pda": {
|
|
6356
6570
|
"seeds": [
|
|
6357
6571
|
{
|
|
@@ -6361,319 +6575,7 @@
|
|
|
6361
6575
|
97,
|
|
6362
6576
|
112,
|
|
6363
6577
|
95,
|
|
6364
|
-
|
|
6365
|
-
103,
|
|
6366
|
-
101,
|
|
6367
|
-
110,
|
|
6368
|
-
116
|
|
6369
|
-
]
|
|
6370
|
-
},
|
|
6371
|
-
{
|
|
6372
|
-
"kind": "account",
|
|
6373
|
-
"path": "wallet"
|
|
6374
|
-
}
|
|
6375
|
-
]
|
|
6376
|
-
}
|
|
6377
|
-
},
|
|
6378
|
-
{
|
|
6379
|
-
"name": "stake",
|
|
6380
|
-
"writable": true,
|
|
6381
|
-
"pda": {
|
|
6382
|
-
"seeds": [
|
|
6383
|
-
{
|
|
6384
|
-
"kind": "const",
|
|
6385
|
-
"value": [
|
|
6386
|
-
115,
|
|
6387
|
-
97,
|
|
6388
|
-
112,
|
|
6389
|
-
95,
|
|
6390
|
-
115,
|
|
6391
|
-
116,
|
|
6392
|
-
97,
|
|
6393
|
-
107,
|
|
6394
|
-
101
|
|
6395
|
-
]
|
|
6396
|
-
},
|
|
6397
|
-
{
|
|
6398
|
-
"kind": "account",
|
|
6399
|
-
"path": "agent"
|
|
6400
|
-
}
|
|
6401
|
-
]
|
|
6402
|
-
}
|
|
6403
|
-
}
|
|
6404
|
-
],
|
|
6405
|
-
"args": [
|
|
6406
|
-
{
|
|
6407
|
-
"name": "amount",
|
|
6408
|
-
"type": "u64"
|
|
6409
|
-
}
|
|
6410
|
-
]
|
|
6411
|
-
},
|
|
6412
|
-
{
|
|
6413
|
-
"name": "resolve_dispute",
|
|
6414
|
-
"docs": [
|
|
6415
|
-
"Arbiter resolves dispute. outcome: 2=DepositorWins, 3=AgentWins."
|
|
6416
|
-
],
|
|
6417
|
-
"discriminator": [
|
|
6418
|
-
231,
|
|
6419
|
-
6,
|
|
6420
|
-
202,
|
|
6421
|
-
6,
|
|
6422
|
-
96,
|
|
6423
|
-
103,
|
|
6424
|
-
12,
|
|
6425
|
-
230
|
|
6426
|
-
],
|
|
6427
|
-
"accounts": [
|
|
6428
|
-
{
|
|
6429
|
-
"name": "arbiter",
|
|
6430
|
-
"writable": true,
|
|
6431
|
-
"signer": true
|
|
6432
|
-
},
|
|
6433
|
-
{
|
|
6434
|
-
"name": "depositor",
|
|
6435
|
-
"writable": true
|
|
6436
|
-
},
|
|
6437
|
-
{
|
|
6438
|
-
"name": "agent_wallet",
|
|
6439
|
-
"writable": true
|
|
6440
|
-
},
|
|
6441
|
-
{
|
|
6442
|
-
"name": "escrow",
|
|
6443
|
-
"writable": true,
|
|
6444
|
-
"pda": {
|
|
6445
|
-
"seeds": [
|
|
6446
|
-
{
|
|
6447
|
-
"kind": "const",
|
|
6448
|
-
"value": [
|
|
6449
|
-
115,
|
|
6450
|
-
97,
|
|
6451
|
-
112,
|
|
6452
|
-
95,
|
|
6453
|
-
101,
|
|
6454
|
-
115,
|
|
6455
|
-
99,
|
|
6456
|
-
114,
|
|
6457
|
-
111,
|
|
6458
|
-
119,
|
|
6459
|
-
95,
|
|
6460
|
-
118,
|
|
6461
|
-
50
|
|
6462
|
-
]
|
|
6463
|
-
},
|
|
6464
|
-
{
|
|
6465
|
-
"kind": "account",
|
|
6466
|
-
"path": "escrow.agent",
|
|
6467
|
-
"account": "EscrowAccountV2"
|
|
6468
|
-
},
|
|
6469
|
-
{
|
|
6470
|
-
"kind": "account",
|
|
6471
|
-
"path": "escrow.depositor",
|
|
6472
|
-
"account": "EscrowAccountV2"
|
|
6473
|
-
},
|
|
6474
|
-
{
|
|
6475
|
-
"kind": "account",
|
|
6476
|
-
"path": "escrow.escrow_nonce",
|
|
6477
|
-
"account": "EscrowAccountV2"
|
|
6478
|
-
}
|
|
6479
|
-
]
|
|
6480
|
-
}
|
|
6481
|
-
},
|
|
6482
|
-
{
|
|
6483
|
-
"name": "pending_settlement",
|
|
6484
|
-
"writable": true,
|
|
6485
|
-
"pda": {
|
|
6486
|
-
"seeds": [
|
|
6487
|
-
{
|
|
6488
|
-
"kind": "const",
|
|
6489
|
-
"value": [
|
|
6490
|
-
115,
|
|
6491
|
-
97,
|
|
6492
|
-
112,
|
|
6493
|
-
95,
|
|
6494
|
-
112,
|
|
6495
|
-
101,
|
|
6496
|
-
110,
|
|
6497
|
-
100,
|
|
6498
|
-
105,
|
|
6499
|
-
110,
|
|
6500
|
-
103
|
|
6501
|
-
]
|
|
6502
|
-
},
|
|
6503
|
-
{
|
|
6504
|
-
"kind": "account",
|
|
6505
|
-
"path": "escrow"
|
|
6506
|
-
},
|
|
6507
|
-
{
|
|
6508
|
-
"kind": "account",
|
|
6509
|
-
"path": "pending_settlement.settlement_index",
|
|
6510
|
-
"account": "PendingSettlement"
|
|
6511
|
-
}
|
|
6512
|
-
]
|
|
6513
|
-
}
|
|
6514
|
-
},
|
|
6515
|
-
{
|
|
6516
|
-
"name": "dispute",
|
|
6517
|
-
"writable": true,
|
|
6518
|
-
"pda": {
|
|
6519
|
-
"seeds": [
|
|
6520
|
-
{
|
|
6521
|
-
"kind": "const",
|
|
6522
|
-
"value": [
|
|
6523
|
-
115,
|
|
6524
|
-
97,
|
|
6525
|
-
112,
|
|
6526
|
-
95,
|
|
6527
|
-
100,
|
|
6528
|
-
105,
|
|
6529
|
-
115,
|
|
6530
|
-
112,
|
|
6531
|
-
117,
|
|
6532
|
-
116,
|
|
6533
|
-
101
|
|
6534
|
-
]
|
|
6535
|
-
},
|
|
6536
|
-
{
|
|
6537
|
-
"kind": "account",
|
|
6538
|
-
"path": "pending_settlement"
|
|
6539
|
-
}
|
|
6540
|
-
]
|
|
6541
|
-
}
|
|
6542
|
-
},
|
|
6543
|
-
{
|
|
6544
|
-
"name": "agent_stats",
|
|
6545
|
-
"writable": true,
|
|
6546
|
-
"pda": {
|
|
6547
|
-
"seeds": [
|
|
6548
|
-
{
|
|
6549
|
-
"kind": "const",
|
|
6550
|
-
"value": [
|
|
6551
|
-
115,
|
|
6552
|
-
97,
|
|
6553
|
-
112,
|
|
6554
|
-
95,
|
|
6555
|
-
115,
|
|
6556
|
-
116,
|
|
6557
|
-
97,
|
|
6558
|
-
116,
|
|
6559
|
-
115
|
|
6560
|
-
]
|
|
6561
|
-
},
|
|
6562
|
-
{
|
|
6563
|
-
"kind": "account",
|
|
6564
|
-
"path": "escrow.agent",
|
|
6565
|
-
"account": "EscrowAccountV2"
|
|
6566
|
-
}
|
|
6567
|
-
]
|
|
6568
|
-
}
|
|
6569
|
-
}
|
|
6570
|
-
],
|
|
6571
|
-
"args": [
|
|
6572
|
-
{
|
|
6573
|
-
"name": "outcome",
|
|
6574
|
-
"type": "u8"
|
|
6575
|
-
}
|
|
6576
|
-
]
|
|
6577
|
-
},
|
|
6578
|
-
{
|
|
6579
|
-
"name": "revoke_attestation",
|
|
6580
|
-
"docs": [
|
|
6581
|
-
"Revoke attestation. Original attester only."
|
|
6582
|
-
],
|
|
6583
|
-
"discriminator": [
|
|
6584
|
-
12,
|
|
6585
|
-
156,
|
|
6586
|
-
103,
|
|
6587
|
-
161,
|
|
6588
|
-
194,
|
|
6589
|
-
246,
|
|
6590
|
-
211,
|
|
6591
|
-
179
|
|
6592
|
-
],
|
|
6593
|
-
"accounts": [
|
|
6594
|
-
{
|
|
6595
|
-
"name": "attester",
|
|
6596
|
-
"signer": true,
|
|
6597
|
-
"relations": [
|
|
6598
|
-
"attestation"
|
|
6599
|
-
]
|
|
6600
|
-
},
|
|
6601
|
-
{
|
|
6602
|
-
"name": "agent",
|
|
6603
|
-
"relations": [
|
|
6604
|
-
"attestation"
|
|
6605
|
-
]
|
|
6606
|
-
},
|
|
6607
|
-
{
|
|
6608
|
-
"name": "attestation",
|
|
6609
|
-
"writable": true,
|
|
6610
|
-
"pda": {
|
|
6611
|
-
"seeds": [
|
|
6612
|
-
{
|
|
6613
|
-
"kind": "const",
|
|
6614
|
-
"value": [
|
|
6615
|
-
115,
|
|
6616
|
-
97,
|
|
6617
|
-
112,
|
|
6618
|
-
95,
|
|
6619
|
-
97,
|
|
6620
|
-
116,
|
|
6621
|
-
116,
|
|
6622
|
-
101,
|
|
6623
|
-
115,
|
|
6624
|
-
116
|
|
6625
|
-
]
|
|
6626
|
-
},
|
|
6627
|
-
{
|
|
6628
|
-
"kind": "account",
|
|
6629
|
-
"path": "agent"
|
|
6630
|
-
},
|
|
6631
|
-
{
|
|
6632
|
-
"kind": "account",
|
|
6633
|
-
"path": "attester"
|
|
6634
|
-
}
|
|
6635
|
-
]
|
|
6636
|
-
}
|
|
6637
|
-
}
|
|
6638
|
-
],
|
|
6639
|
-
"args": []
|
|
6640
|
-
},
|
|
6641
|
-
{
|
|
6642
|
-
"name": "revoke_feedback",
|
|
6643
|
-
"docs": [
|
|
6644
|
-
"Mark feedback as revoked. Excluded from reputation."
|
|
6645
|
-
],
|
|
6646
|
-
"discriminator": [
|
|
6647
|
-
211,
|
|
6648
|
-
37,
|
|
6649
|
-
230,
|
|
6650
|
-
82,
|
|
6651
|
-
118,
|
|
6652
|
-
216,
|
|
6653
|
-
137,
|
|
6654
|
-
206
|
|
6655
|
-
],
|
|
6656
|
-
"accounts": [
|
|
6657
|
-
{
|
|
6658
|
-
"name": "reviewer",
|
|
6659
|
-
"signer": true,
|
|
6660
|
-
"relations": [
|
|
6661
|
-
"feedback"
|
|
6662
|
-
]
|
|
6663
|
-
},
|
|
6664
|
-
{
|
|
6665
|
-
"name": "feedback",
|
|
6666
|
-
"writable": true,
|
|
6667
|
-
"pda": {
|
|
6668
|
-
"seeds": [
|
|
6669
|
-
{
|
|
6670
|
-
"kind": "const",
|
|
6671
|
-
"value": [
|
|
6672
|
-
115,
|
|
6673
|
-
97,
|
|
6674
|
-
112,
|
|
6675
|
-
95,
|
|
6676
|
-
102,
|
|
6578
|
+
102,
|
|
6677
6579
|
101,
|
|
6678
6580
|
101,
|
|
6679
6581
|
100,
|
|
@@ -7346,8 +7248,229 @@
|
|
|
7346
7248
|
}
|
|
7347
7249
|
},
|
|
7348
7250
|
{
|
|
7349
|
-
"name": "agent_stats",
|
|
7350
|
-
"writable": true,
|
|
7251
|
+
"name": "agent_stats",
|
|
7252
|
+
"writable": true,
|
|
7253
|
+
"pda": {
|
|
7254
|
+
"seeds": [
|
|
7255
|
+
{
|
|
7256
|
+
"kind": "const",
|
|
7257
|
+
"value": [
|
|
7258
|
+
115,
|
|
7259
|
+
97,
|
|
7260
|
+
112,
|
|
7261
|
+
95,
|
|
7262
|
+
115,
|
|
7263
|
+
116,
|
|
7264
|
+
97,
|
|
7265
|
+
116,
|
|
7266
|
+
115
|
|
7267
|
+
]
|
|
7268
|
+
},
|
|
7269
|
+
{
|
|
7270
|
+
"kind": "account",
|
|
7271
|
+
"path": "agent"
|
|
7272
|
+
}
|
|
7273
|
+
]
|
|
7274
|
+
}
|
|
7275
|
+
},
|
|
7276
|
+
{
|
|
7277
|
+
"name": "escrow",
|
|
7278
|
+
"writable": true,
|
|
7279
|
+
"pda": {
|
|
7280
|
+
"seeds": [
|
|
7281
|
+
{
|
|
7282
|
+
"kind": "const",
|
|
7283
|
+
"value": [
|
|
7284
|
+
115,
|
|
7285
|
+
97,
|
|
7286
|
+
112,
|
|
7287
|
+
95,
|
|
7288
|
+
101,
|
|
7289
|
+
115,
|
|
7290
|
+
99,
|
|
7291
|
+
114,
|
|
7292
|
+
111,
|
|
7293
|
+
119,
|
|
7294
|
+
95,
|
|
7295
|
+
118,
|
|
7296
|
+
50
|
|
7297
|
+
]
|
|
7298
|
+
},
|
|
7299
|
+
{
|
|
7300
|
+
"kind": "account",
|
|
7301
|
+
"path": "agent"
|
|
7302
|
+
},
|
|
7303
|
+
{
|
|
7304
|
+
"kind": "account",
|
|
7305
|
+
"path": "escrow.depositor",
|
|
7306
|
+
"account": "EscrowAccountV2"
|
|
7307
|
+
},
|
|
7308
|
+
{
|
|
7309
|
+
"kind": "arg",
|
|
7310
|
+
"path": "escrow_nonce"
|
|
7311
|
+
}
|
|
7312
|
+
]
|
|
7313
|
+
}
|
|
7314
|
+
},
|
|
7315
|
+
{
|
|
7316
|
+
"name": "system_program",
|
|
7317
|
+
"address": "11111111111111111111111111111111"
|
|
7318
|
+
}
|
|
7319
|
+
],
|
|
7320
|
+
"args": [
|
|
7321
|
+
{
|
|
7322
|
+
"name": "escrow_nonce",
|
|
7323
|
+
"type": "u64"
|
|
7324
|
+
},
|
|
7325
|
+
{
|
|
7326
|
+
"name": "calls_to_settle",
|
|
7327
|
+
"type": "u64"
|
|
7328
|
+
},
|
|
7329
|
+
{
|
|
7330
|
+
"name": "service_hash",
|
|
7331
|
+
"type": {
|
|
7332
|
+
"array": [
|
|
7333
|
+
"u8",
|
|
7334
|
+
32
|
|
7335
|
+
]
|
|
7336
|
+
}
|
|
7337
|
+
}
|
|
7338
|
+
]
|
|
7339
|
+
},
|
|
7340
|
+
{
|
|
7341
|
+
"name": "submit_agent_evidence",
|
|
7342
|
+
"docs": [
|
|
7343
|
+
"Agent submits counter-evidence for a dispute."
|
|
7344
|
+
],
|
|
7345
|
+
"discriminator": [
|
|
7346
|
+
130,
|
|
7347
|
+
134,
|
|
7348
|
+
123,
|
|
7349
|
+
126,
|
|
7350
|
+
94,
|
|
7351
|
+
248,
|
|
7352
|
+
126,
|
|
7353
|
+
133
|
|
7354
|
+
],
|
|
7355
|
+
"accounts": [
|
|
7356
|
+
{
|
|
7357
|
+
"name": "wallet",
|
|
7358
|
+
"signer": true
|
|
7359
|
+
},
|
|
7360
|
+
{
|
|
7361
|
+
"name": "agent",
|
|
7362
|
+
"pda": {
|
|
7363
|
+
"seeds": [
|
|
7364
|
+
{
|
|
7365
|
+
"kind": "const",
|
|
7366
|
+
"value": [
|
|
7367
|
+
115,
|
|
7368
|
+
97,
|
|
7369
|
+
112,
|
|
7370
|
+
95,
|
|
7371
|
+
97,
|
|
7372
|
+
103,
|
|
7373
|
+
101,
|
|
7374
|
+
110,
|
|
7375
|
+
116
|
|
7376
|
+
]
|
|
7377
|
+
},
|
|
7378
|
+
{
|
|
7379
|
+
"kind": "account",
|
|
7380
|
+
"path": "wallet"
|
|
7381
|
+
}
|
|
7382
|
+
]
|
|
7383
|
+
}
|
|
7384
|
+
},
|
|
7385
|
+
{
|
|
7386
|
+
"name": "dispute",
|
|
7387
|
+
"writable": true,
|
|
7388
|
+
"pda": {
|
|
7389
|
+
"seeds": [
|
|
7390
|
+
{
|
|
7391
|
+
"kind": "const",
|
|
7392
|
+
"value": [
|
|
7393
|
+
115,
|
|
7394
|
+
97,
|
|
7395
|
+
112,
|
|
7396
|
+
95,
|
|
7397
|
+
100,
|
|
7398
|
+
105,
|
|
7399
|
+
115,
|
|
7400
|
+
112,
|
|
7401
|
+
117,
|
|
7402
|
+
116,
|
|
7403
|
+
101
|
|
7404
|
+
]
|
|
7405
|
+
},
|
|
7406
|
+
{
|
|
7407
|
+
"kind": "account",
|
|
7408
|
+
"path": "dispute.pending_settlement",
|
|
7409
|
+
"account": "DisputeRecord"
|
|
7410
|
+
}
|
|
7411
|
+
]
|
|
7412
|
+
}
|
|
7413
|
+
}
|
|
7414
|
+
],
|
|
7415
|
+
"args": [
|
|
7416
|
+
{
|
|
7417
|
+
"name": "evidence_hash",
|
|
7418
|
+
"type": {
|
|
7419
|
+
"array": [
|
|
7420
|
+
"u8",
|
|
7421
|
+
32
|
|
7422
|
+
]
|
|
7423
|
+
}
|
|
7424
|
+
}
|
|
7425
|
+
]
|
|
7426
|
+
},
|
|
7427
|
+
{
|
|
7428
|
+
"name": "submit_receipt_proof",
|
|
7429
|
+
"docs": [
|
|
7430
|
+
"Agent submits receipt proofs during dispute resolution."
|
|
7431
|
+
],
|
|
7432
|
+
"discriminator": [
|
|
7433
|
+
116,
|
|
7434
|
+
134,
|
|
7435
|
+
236,
|
|
7436
|
+
210,
|
|
7437
|
+
42,
|
|
7438
|
+
154,
|
|
7439
|
+
122,
|
|
7440
|
+
182
|
|
7441
|
+
],
|
|
7442
|
+
"accounts": [
|
|
7443
|
+
{
|
|
7444
|
+
"name": "wallet",
|
|
7445
|
+
"signer": true
|
|
7446
|
+
},
|
|
7447
|
+
{
|
|
7448
|
+
"name": "agent",
|
|
7449
|
+
"pda": {
|
|
7450
|
+
"seeds": [
|
|
7451
|
+
{
|
|
7452
|
+
"kind": "const",
|
|
7453
|
+
"value": [
|
|
7454
|
+
115,
|
|
7455
|
+
97,
|
|
7456
|
+
112,
|
|
7457
|
+
95,
|
|
7458
|
+
97,
|
|
7459
|
+
103,
|
|
7460
|
+
101,
|
|
7461
|
+
110,
|
|
7462
|
+
116
|
|
7463
|
+
]
|
|
7464
|
+
},
|
|
7465
|
+
{
|
|
7466
|
+
"kind": "account",
|
|
7467
|
+
"path": "wallet"
|
|
7468
|
+
}
|
|
7469
|
+
]
|
|
7470
|
+
}
|
|
7471
|
+
},
|
|
7472
|
+
{
|
|
7473
|
+
"name": "escrow",
|
|
7351
7474
|
"pda": {
|
|
7352
7475
|
"seeds": [
|
|
7353
7476
|
{
|
|
@@ -7357,23 +7480,36 @@
|
|
|
7357
7480
|
97,
|
|
7358
7481
|
112,
|
|
7359
7482
|
95,
|
|
7483
|
+
101,
|
|
7360
7484
|
115,
|
|
7361
|
-
|
|
7362
|
-
|
|
7363
|
-
|
|
7364
|
-
|
|
7485
|
+
99,
|
|
7486
|
+
114,
|
|
7487
|
+
111,
|
|
7488
|
+
119,
|
|
7489
|
+
95,
|
|
7490
|
+
118,
|
|
7491
|
+
50
|
|
7365
7492
|
]
|
|
7366
7493
|
},
|
|
7367
7494
|
{
|
|
7368
7495
|
"kind": "account",
|
|
7369
7496
|
"path": "agent"
|
|
7497
|
+
},
|
|
7498
|
+
{
|
|
7499
|
+
"kind": "account",
|
|
7500
|
+
"path": "escrow.depositor",
|
|
7501
|
+
"account": "EscrowAccountV2"
|
|
7502
|
+
},
|
|
7503
|
+
{
|
|
7504
|
+
"kind": "account",
|
|
7505
|
+
"path": "escrow.escrow_nonce",
|
|
7506
|
+
"account": "EscrowAccountV2"
|
|
7370
7507
|
}
|
|
7371
7508
|
]
|
|
7372
7509
|
}
|
|
7373
7510
|
},
|
|
7374
7511
|
{
|
|
7375
|
-
"name": "
|
|
7376
|
-
"writable": true,
|
|
7512
|
+
"name": "receipt_batch",
|
|
7377
7513
|
"pda": {
|
|
7378
7514
|
"seeds": [
|
|
7379
7515
|
{
|
|
@@ -7383,80 +7519,29 @@
|
|
|
7383
7519
|
97,
|
|
7384
7520
|
112,
|
|
7385
7521
|
95,
|
|
7522
|
+
114,
|
|
7386
7523
|
101,
|
|
7387
|
-
115,
|
|
7388
7524
|
99,
|
|
7389
|
-
|
|
7390
|
-
|
|
7391
|
-
|
|
7392
|
-
|
|
7393
|
-
118,
|
|
7394
|
-
50
|
|
7525
|
+
101,
|
|
7526
|
+
105,
|
|
7527
|
+
112,
|
|
7528
|
+
116
|
|
7395
7529
|
]
|
|
7396
7530
|
},
|
|
7397
7531
|
{
|
|
7398
7532
|
"kind": "account",
|
|
7399
|
-
"path": "
|
|
7533
|
+
"path": "escrow"
|
|
7400
7534
|
},
|
|
7401
7535
|
{
|
|
7402
7536
|
"kind": "account",
|
|
7403
|
-
"path": "
|
|
7404
|
-
"account": "
|
|
7405
|
-
},
|
|
7406
|
-
{
|
|
7407
|
-
"kind": "arg",
|
|
7408
|
-
"path": "escrow_nonce"
|
|
7537
|
+
"path": "receipt_batch.batch_index",
|
|
7538
|
+
"account": "ReceiptBatch"
|
|
7409
7539
|
}
|
|
7410
7540
|
]
|
|
7411
7541
|
}
|
|
7412
7542
|
},
|
|
7413
7543
|
{
|
|
7414
|
-
"name": "
|
|
7415
|
-
"address": "11111111111111111111111111111111"
|
|
7416
|
-
}
|
|
7417
|
-
],
|
|
7418
|
-
"args": [
|
|
7419
|
-
{
|
|
7420
|
-
"name": "escrow_nonce",
|
|
7421
|
-
"type": "u64"
|
|
7422
|
-
},
|
|
7423
|
-
{
|
|
7424
|
-
"name": "calls_to_settle",
|
|
7425
|
-
"type": "u64"
|
|
7426
|
-
},
|
|
7427
|
-
{
|
|
7428
|
-
"name": "service_hash",
|
|
7429
|
-
"type": {
|
|
7430
|
-
"array": [
|
|
7431
|
-
"u8",
|
|
7432
|
-
32
|
|
7433
|
-
]
|
|
7434
|
-
}
|
|
7435
|
-
}
|
|
7436
|
-
]
|
|
7437
|
-
},
|
|
7438
|
-
{
|
|
7439
|
-
"name": "submit_agent_evidence",
|
|
7440
|
-
"docs": [
|
|
7441
|
-
"Agent submits counter-evidence for a dispute."
|
|
7442
|
-
],
|
|
7443
|
-
"discriminator": [
|
|
7444
|
-
130,
|
|
7445
|
-
134,
|
|
7446
|
-
123,
|
|
7447
|
-
126,
|
|
7448
|
-
94,
|
|
7449
|
-
248,
|
|
7450
|
-
126,
|
|
7451
|
-
133
|
|
7452
|
-
],
|
|
7453
|
-
"accounts": [
|
|
7454
|
-
{
|
|
7455
|
-
"name": "wallet",
|
|
7456
|
-
"signer": true
|
|
7457
|
-
},
|
|
7458
|
-
{
|
|
7459
|
-
"name": "agent",
|
|
7544
|
+
"name": "pending_settlement",
|
|
7460
7545
|
"pda": {
|
|
7461
7546
|
"seeds": [
|
|
7462
7547
|
{
|
|
@@ -7466,16 +7551,23 @@
|
|
|
7466
7551
|
97,
|
|
7467
7552
|
112,
|
|
7468
7553
|
95,
|
|
7469
|
-
|
|
7470
|
-
103,
|
|
7554
|
+
112,
|
|
7471
7555
|
101,
|
|
7472
7556
|
110,
|
|
7473
|
-
|
|
7557
|
+
100,
|
|
7558
|
+
105,
|
|
7559
|
+
110,
|
|
7560
|
+
103
|
|
7474
7561
|
]
|
|
7475
7562
|
},
|
|
7476
7563
|
{
|
|
7477
7564
|
"kind": "account",
|
|
7478
|
-
"path": "
|
|
7565
|
+
"path": "escrow"
|
|
7566
|
+
},
|
|
7567
|
+
{
|
|
7568
|
+
"kind": "account",
|
|
7569
|
+
"path": "pending_settlement.settlement_index",
|
|
7570
|
+
"account": "PendingSettlement"
|
|
7479
7571
|
}
|
|
7480
7572
|
]
|
|
7481
7573
|
}
|
|
@@ -7503,8 +7595,7 @@
|
|
|
7503
7595
|
},
|
|
7504
7596
|
{
|
|
7505
7597
|
"kind": "account",
|
|
7506
|
-
"path": "
|
|
7507
|
-
"account": "DisputeRecord"
|
|
7598
|
+
"path": "pending_settlement"
|
|
7508
7599
|
}
|
|
7509
7600
|
]
|
|
7510
7601
|
}
|
|
@@ -7512,12 +7603,27 @@
|
|
|
7512
7603
|
],
|
|
7513
7604
|
"args": [
|
|
7514
7605
|
{
|
|
7515
|
-
"name": "
|
|
7606
|
+
"name": "receipt_hashes",
|
|
7516
7607
|
"type": {
|
|
7517
|
-
"
|
|
7518
|
-
"
|
|
7519
|
-
|
|
7520
|
-
|
|
7608
|
+
"vec": {
|
|
7609
|
+
"array": [
|
|
7610
|
+
"u8",
|
|
7611
|
+
32
|
|
7612
|
+
]
|
|
7613
|
+
}
|
|
7614
|
+
}
|
|
7615
|
+
},
|
|
7616
|
+
{
|
|
7617
|
+
"name": "merkle_proofs",
|
|
7618
|
+
"type": {
|
|
7619
|
+
"vec": {
|
|
7620
|
+
"vec": {
|
|
7621
|
+
"array": [
|
|
7622
|
+
"u8",
|
|
7623
|
+
32
|
|
7624
|
+
]
|
|
7625
|
+
}
|
|
7626
|
+
}
|
|
7521
7627
|
}
|
|
7522
7628
|
}
|
|
7523
7629
|
]
|
|
@@ -7729,67 +7835,6 @@
|
|
|
7729
7835
|
}
|
|
7730
7836
|
]
|
|
7731
7837
|
},
|
|
7732
|
-
{
|
|
7733
|
-
"name": "update_reputation",
|
|
7734
|
-
"docs": [
|
|
7735
|
-
"Self-report latency & uptime. No reputation_score effect."
|
|
7736
|
-
],
|
|
7737
|
-
"discriminator": [
|
|
7738
|
-
194,
|
|
7739
|
-
220,
|
|
7740
|
-
43,
|
|
7741
|
-
201,
|
|
7742
|
-
54,
|
|
7743
|
-
209,
|
|
7744
|
-
49,
|
|
7745
|
-
178
|
|
7746
|
-
],
|
|
7747
|
-
"accounts": [
|
|
7748
|
-
{
|
|
7749
|
-
"name": "wallet",
|
|
7750
|
-
"signer": true,
|
|
7751
|
-
"relations": [
|
|
7752
|
-
"agent"
|
|
7753
|
-
]
|
|
7754
|
-
},
|
|
7755
|
-
{
|
|
7756
|
-
"name": "agent",
|
|
7757
|
-
"writable": true,
|
|
7758
|
-
"pda": {
|
|
7759
|
-
"seeds": [
|
|
7760
|
-
{
|
|
7761
|
-
"kind": "const",
|
|
7762
|
-
"value": [
|
|
7763
|
-
115,
|
|
7764
|
-
97,
|
|
7765
|
-
112,
|
|
7766
|
-
95,
|
|
7767
|
-
97,
|
|
7768
|
-
103,
|
|
7769
|
-
101,
|
|
7770
|
-
110,
|
|
7771
|
-
116
|
|
7772
|
-
]
|
|
7773
|
-
},
|
|
7774
|
-
{
|
|
7775
|
-
"kind": "account",
|
|
7776
|
-
"path": "wallet"
|
|
7777
|
-
}
|
|
7778
|
-
]
|
|
7779
|
-
}
|
|
7780
|
-
}
|
|
7781
|
-
],
|
|
7782
|
-
"args": [
|
|
7783
|
-
{
|
|
7784
|
-
"name": "avg_latency_ms",
|
|
7785
|
-
"type": "u32"
|
|
7786
|
-
},
|
|
7787
|
-
{
|
|
7788
|
-
"name": "uptime_percent",
|
|
7789
|
-
"type": "u8"
|
|
7790
|
-
}
|
|
7791
|
-
]
|
|
7792
|
-
},
|
|
7793
7838
|
{
|
|
7794
7839
|
"name": "update_tool",
|
|
7795
7840
|
"docs": [
|
|
@@ -8402,6 +8447,19 @@
|
|
|
8402
8447
|
207
|
|
8403
8448
|
]
|
|
8404
8449
|
},
|
|
8450
|
+
{
|
|
8451
|
+
"name": "ReceiptBatch",
|
|
8452
|
+
"discriminator": [
|
|
8453
|
+
234,
|
|
8454
|
+
250,
|
|
8455
|
+
48,
|
|
8456
|
+
59,
|
|
8457
|
+
242,
|
|
8458
|
+
148,
|
|
8459
|
+
55,
|
|
8460
|
+
76
|
|
8461
|
+
]
|
|
8462
|
+
},
|
|
8405
8463
|
{
|
|
8406
8464
|
"name": "SessionCheckpoint",
|
|
8407
8465
|
"discriminator": [
|
|
@@ -8625,6 +8683,19 @@
|
|
|
8625
8683
|
202
|
|
8626
8684
|
]
|
|
8627
8685
|
},
|
|
8686
|
+
{
|
|
8687
|
+
"name": "DisputeAutoResolvedEvent",
|
|
8688
|
+
"discriminator": [
|
|
8689
|
+
33,
|
|
8690
|
+
148,
|
|
8691
|
+
81,
|
|
8692
|
+
1,
|
|
8693
|
+
157,
|
|
8694
|
+
126,
|
|
8695
|
+
255,
|
|
8696
|
+
162
|
|
8697
|
+
]
|
|
8698
|
+
},
|
|
8628
8699
|
{
|
|
8629
8700
|
"name": "DisputeFiledEvent",
|
|
8630
8701
|
"discriminator": [
|
|
@@ -8859,6 +8930,32 @@
|
|
|
8859
8930
|
113
|
|
8860
8931
|
]
|
|
8861
8932
|
},
|
|
8933
|
+
{
|
|
8934
|
+
"name": "ReceiptBatchInscribedEvent",
|
|
8935
|
+
"discriminator": [
|
|
8936
|
+
32,
|
|
8937
|
+
224,
|
|
8938
|
+
182,
|
|
8939
|
+
173,
|
|
8940
|
+
163,
|
|
8941
|
+
100,
|
|
8942
|
+
111,
|
|
8943
|
+
126
|
|
8944
|
+
]
|
|
8945
|
+
},
|
|
8946
|
+
{
|
|
8947
|
+
"name": "ReceiptProofSubmittedEvent",
|
|
8948
|
+
"discriminator": [
|
|
8949
|
+
193,
|
|
8950
|
+
245,
|
|
8951
|
+
192,
|
|
8952
|
+
165,
|
|
8953
|
+
123,
|
|
8954
|
+
181,
|
|
8955
|
+
134,
|
|
8956
|
+
166
|
|
8957
|
+
]
|
|
8958
|
+
},
|
|
8862
8959
|
{
|
|
8863
8960
|
"name": "RegisteredEvent",
|
|
8864
8961
|
"discriminator": [
|
|
@@ -9835,14 +9932,54 @@
|
|
|
9835
9932
|
"msg": "not authority"
|
|
9836
9933
|
},
|
|
9837
9934
|
{
|
|
9838
|
-
"code": 6127,
|
|
9839
|
-
"name": "UnstakeBelowRent",
|
|
9840
|
-
"msg": "unstake below rent"
|
|
9935
|
+
"code": 6127,
|
|
9936
|
+
"name": "UnstakeBelowRent",
|
|
9937
|
+
"msg": "unstake below rent"
|
|
9938
|
+
},
|
|
9939
|
+
{
|
|
9940
|
+
"code": 6128,
|
|
9941
|
+
"name": "InsufficientStake",
|
|
9942
|
+
"msg": "insufficient stake"
|
|
9943
|
+
},
|
|
9944
|
+
{
|
|
9945
|
+
"code": 6129,
|
|
9946
|
+
"name": "SelfReportDeprecated",
|
|
9947
|
+
"msg": "SelfReport deprecated"
|
|
9948
|
+
},
|
|
9949
|
+
{
|
|
9950
|
+
"code": 6130,
|
|
9951
|
+
"name": "ArbiterDeprecated",
|
|
9952
|
+
"msg": "arbiter deprecated"
|
|
9953
|
+
},
|
|
9954
|
+
{
|
|
9955
|
+
"code": 6131,
|
|
9956
|
+
"name": "InvalidBatchIndex",
|
|
9957
|
+
"msg": "bad batch idx"
|
|
9958
|
+
},
|
|
9959
|
+
{
|
|
9960
|
+
"code": 6132,
|
|
9961
|
+
"name": "InvalidPeriod",
|
|
9962
|
+
"msg": "bad period"
|
|
9963
|
+
},
|
|
9964
|
+
{
|
|
9965
|
+
"code": 6133,
|
|
9966
|
+
"name": "InvalidDisputeType",
|
|
9967
|
+
"msg": "bad dispute type"
|
|
9968
|
+
},
|
|
9969
|
+
{
|
|
9970
|
+
"code": 6134,
|
|
9971
|
+
"name": "ProofDeadlineExpired",
|
|
9972
|
+
"msg": "proof expired"
|
|
9841
9973
|
},
|
|
9842
9974
|
{
|
|
9843
|
-
"code":
|
|
9844
|
-
"name": "
|
|
9845
|
-
"msg": "
|
|
9975
|
+
"code": 6135,
|
|
9976
|
+
"name": "ProofDeadlineNotExpired",
|
|
9977
|
+
"msg": "proof not expired"
|
|
9978
|
+
},
|
|
9979
|
+
{
|
|
9980
|
+
"code": 6136,
|
|
9981
|
+
"name": "InvalidReceiptProof",
|
|
9982
|
+
"msg": "bad receipt proof"
|
|
9846
9983
|
}
|
|
9847
9984
|
],
|
|
9848
9985
|
"types": [
|
|
@@ -10621,6 +10758,57 @@
|
|
|
10621
10758
|
]
|
|
10622
10759
|
}
|
|
10623
10760
|
},
|
|
10761
|
+
{
|
|
10762
|
+
"name": "DisputeAutoResolvedEvent",
|
|
10763
|
+
"docs": [
|
|
10764
|
+
"Dispute auto-resolved via receipt proofs (no arbiter)."
|
|
10765
|
+
],
|
|
10766
|
+
"type": {
|
|
10767
|
+
"kind": "struct",
|
|
10768
|
+
"fields": [
|
|
10769
|
+
{
|
|
10770
|
+
"name": "dispute",
|
|
10771
|
+
"type": "pubkey"
|
|
10772
|
+
},
|
|
10773
|
+
{
|
|
10774
|
+
"name": "pending_settlement",
|
|
10775
|
+
"type": "pubkey"
|
|
10776
|
+
},
|
|
10777
|
+
{
|
|
10778
|
+
"name": "escrow",
|
|
10779
|
+
"type": "pubkey"
|
|
10780
|
+
},
|
|
10781
|
+
{
|
|
10782
|
+
"name": "outcome",
|
|
10783
|
+
"type": "u8"
|
|
10784
|
+
},
|
|
10785
|
+
{
|
|
10786
|
+
"name": "proven_calls",
|
|
10787
|
+
"type": "u32"
|
|
10788
|
+
},
|
|
10789
|
+
{
|
|
10790
|
+
"name": "claimed_calls",
|
|
10791
|
+
"type": "u32"
|
|
10792
|
+
},
|
|
10793
|
+
{
|
|
10794
|
+
"name": "agent_amount",
|
|
10795
|
+
"type": "u64"
|
|
10796
|
+
},
|
|
10797
|
+
{
|
|
10798
|
+
"name": "depositor_amount",
|
|
10799
|
+
"type": "u64"
|
|
10800
|
+
},
|
|
10801
|
+
{
|
|
10802
|
+
"name": "slash_amount",
|
|
10803
|
+
"type": "u64"
|
|
10804
|
+
},
|
|
10805
|
+
{
|
|
10806
|
+
"name": "timestamp",
|
|
10807
|
+
"type": "i64"
|
|
10808
|
+
}
|
|
10809
|
+
]
|
|
10810
|
+
}
|
|
10811
|
+
},
|
|
10624
10812
|
{
|
|
10625
10813
|
"name": "DisputeFiledEvent",
|
|
10626
10814
|
"docs": [
|
|
@@ -10659,8 +10847,16 @@
|
|
|
10659
10847
|
}
|
|
10660
10848
|
},
|
|
10661
10849
|
{
|
|
10662
|
-
"name": "
|
|
10663
|
-
"type": "
|
|
10850
|
+
"name": "dispute_type",
|
|
10851
|
+
"type": "u8"
|
|
10852
|
+
},
|
|
10853
|
+
{
|
|
10854
|
+
"name": "dispute_bond",
|
|
10855
|
+
"type": "u64"
|
|
10856
|
+
},
|
|
10857
|
+
{
|
|
10858
|
+
"name": "proof_deadline",
|
|
10859
|
+
"type": "i64"
|
|
10664
10860
|
},
|
|
10665
10861
|
{
|
|
10666
10862
|
"name": "timestamp",
|
|
@@ -10688,6 +10884,12 @@
|
|
|
10688
10884
|
},
|
|
10689
10885
|
{
|
|
10690
10886
|
"name": "AutoReleased"
|
|
10887
|
+
},
|
|
10888
|
+
{
|
|
10889
|
+
"name": "PartialRefund"
|
|
10890
|
+
},
|
|
10891
|
+
{
|
|
10892
|
+
"name": "Split"
|
|
10691
10893
|
}
|
|
10692
10894
|
]
|
|
10693
10895
|
}
|
|
@@ -10717,6 +10919,14 @@
|
|
|
10717
10919
|
"name": "agent",
|
|
10718
10920
|
"type": "pubkey"
|
|
10719
10921
|
},
|
|
10922
|
+
{
|
|
10923
|
+
"name": "dispute_type",
|
|
10924
|
+
"type": {
|
|
10925
|
+
"defined": {
|
|
10926
|
+
"name": "DisputeType"
|
|
10927
|
+
}
|
|
10928
|
+
}
|
|
10929
|
+
},
|
|
10720
10930
|
{
|
|
10721
10931
|
"name": "evidence_hash",
|
|
10722
10932
|
"type": {
|
|
@@ -10735,10 +10945,6 @@
|
|
|
10735
10945
|
]
|
|
10736
10946
|
}
|
|
10737
10947
|
},
|
|
10738
|
-
{
|
|
10739
|
-
"name": "arbiter",
|
|
10740
|
-
"type": "pubkey"
|
|
10741
|
-
},
|
|
10742
10948
|
{
|
|
10743
10949
|
"name": "outcome",
|
|
10744
10950
|
"type": {
|
|
@@ -10747,6 +10953,14 @@
|
|
|
10747
10953
|
}
|
|
10748
10954
|
}
|
|
10749
10955
|
},
|
|
10956
|
+
{
|
|
10957
|
+
"name": "resolution_layer",
|
|
10958
|
+
"type": {
|
|
10959
|
+
"defined": {
|
|
10960
|
+
"name": "ResolutionLayer"
|
|
10961
|
+
}
|
|
10962
|
+
}
|
|
10963
|
+
},
|
|
10750
10964
|
{
|
|
10751
10965
|
"name": "created_at",
|
|
10752
10966
|
"type": "i64"
|
|
@@ -10767,6 +10981,22 @@
|
|
|
10767
10981
|
{
|
|
10768
10982
|
"name": "slash_amount",
|
|
10769
10983
|
"type": "u64"
|
|
10984
|
+
},
|
|
10985
|
+
{
|
|
10986
|
+
"name": "dispute_bond",
|
|
10987
|
+
"type": "u64"
|
|
10988
|
+
},
|
|
10989
|
+
{
|
|
10990
|
+
"name": "proven_calls",
|
|
10991
|
+
"type": "u32"
|
|
10992
|
+
},
|
|
10993
|
+
{
|
|
10994
|
+
"name": "claimed_calls",
|
|
10995
|
+
"type": "u32"
|
|
10996
|
+
},
|
|
10997
|
+
{
|
|
10998
|
+
"name": "proof_deadline",
|
|
10999
|
+
"type": "i64"
|
|
10770
11000
|
}
|
|
10771
11001
|
]
|
|
10772
11002
|
}
|
|
@@ -10815,6 +11045,29 @@
|
|
|
10815
11045
|
]
|
|
10816
11046
|
}
|
|
10817
11047
|
},
|
|
11048
|
+
{
|
|
11049
|
+
"name": "DisputeType",
|
|
11050
|
+
"docs": [
|
|
11051
|
+
"Dispute type — determines resolution path."
|
|
11052
|
+
],
|
|
11053
|
+
"type": {
|
|
11054
|
+
"kind": "enum",
|
|
11055
|
+
"variants": [
|
|
11056
|
+
{
|
|
11057
|
+
"name": "NonDelivery"
|
|
11058
|
+
},
|
|
11059
|
+
{
|
|
11060
|
+
"name": "PartialDelivery"
|
|
11061
|
+
},
|
|
11062
|
+
{
|
|
11063
|
+
"name": "Overcharge"
|
|
11064
|
+
},
|
|
11065
|
+
{
|
|
11066
|
+
"name": "Quality"
|
|
11067
|
+
}
|
|
11068
|
+
]
|
|
11069
|
+
}
|
|
11070
|
+
},
|
|
10818
11071
|
{
|
|
10819
11072
|
"name": "EpochOpenedEvent",
|
|
10820
11073
|
"type": {
|
|
@@ -11105,6 +11358,9 @@
|
|
|
11105
11358
|
},
|
|
11106
11359
|
{
|
|
11107
11360
|
"name": "arbiter",
|
|
11361
|
+
"docs": [
|
|
11362
|
+
"DEPRECATED in v0.7 — arbiter removed, disputes auto-resolved via receipts"
|
|
11363
|
+
],
|
|
11108
11364
|
"type": {
|
|
11109
11365
|
"option": "pubkey"
|
|
11110
11366
|
}
|
|
@@ -11116,6 +11372,10 @@
|
|
|
11116
11372
|
{
|
|
11117
11373
|
"name": "pending_calls",
|
|
11118
11374
|
"type": "u64"
|
|
11375
|
+
},
|
|
11376
|
+
{
|
|
11377
|
+
"name": "receipt_batch_count",
|
|
11378
|
+
"type": "u32"
|
|
11119
11379
|
}
|
|
11120
11380
|
]
|
|
11121
11381
|
}
|
|
@@ -12007,6 +12267,15 @@
|
|
|
12007
12267
|
]
|
|
12008
12268
|
}
|
|
12009
12269
|
},
|
|
12270
|
+
{
|
|
12271
|
+
"name": "receipt_merkle_root",
|
|
12272
|
+
"type": {
|
|
12273
|
+
"array": [
|
|
12274
|
+
"u8",
|
|
12275
|
+
32
|
|
12276
|
+
]
|
|
12277
|
+
}
|
|
12278
|
+
},
|
|
12010
12279
|
{
|
|
12011
12280
|
"name": "created_at",
|
|
12012
12281
|
"type": "i64"
|
|
@@ -12283,6 +12552,138 @@
|
|
|
12283
12552
|
]
|
|
12284
12553
|
}
|
|
12285
12554
|
},
|
|
12555
|
+
{
|
|
12556
|
+
"name": "ReceiptBatch",
|
|
12557
|
+
"type": {
|
|
12558
|
+
"kind": "struct",
|
|
12559
|
+
"fields": [
|
|
12560
|
+
{
|
|
12561
|
+
"name": "bump",
|
|
12562
|
+
"type": "u8"
|
|
12563
|
+
},
|
|
12564
|
+
{
|
|
12565
|
+
"name": "escrow",
|
|
12566
|
+
"type": "pubkey"
|
|
12567
|
+
},
|
|
12568
|
+
{
|
|
12569
|
+
"name": "batch_index",
|
|
12570
|
+
"type": "u32"
|
|
12571
|
+
},
|
|
12572
|
+
{
|
|
12573
|
+
"name": "merkle_root",
|
|
12574
|
+
"type": {
|
|
12575
|
+
"array": [
|
|
12576
|
+
"u8",
|
|
12577
|
+
32
|
|
12578
|
+
]
|
|
12579
|
+
}
|
|
12580
|
+
},
|
|
12581
|
+
{
|
|
12582
|
+
"name": "call_count",
|
|
12583
|
+
"type": "u32"
|
|
12584
|
+
},
|
|
12585
|
+
{
|
|
12586
|
+
"name": "period_start",
|
|
12587
|
+
"type": "i64"
|
|
12588
|
+
},
|
|
12589
|
+
{
|
|
12590
|
+
"name": "period_end",
|
|
12591
|
+
"type": "i64"
|
|
12592
|
+
},
|
|
12593
|
+
{
|
|
12594
|
+
"name": "inscribed_at",
|
|
12595
|
+
"type": "i64"
|
|
12596
|
+
}
|
|
12597
|
+
]
|
|
12598
|
+
}
|
|
12599
|
+
},
|
|
12600
|
+
{
|
|
12601
|
+
"name": "ReceiptBatchInscribedEvent",
|
|
12602
|
+
"docs": [
|
|
12603
|
+
"Receipt batch committed on-chain."
|
|
12604
|
+
],
|
|
12605
|
+
"type": {
|
|
12606
|
+
"kind": "struct",
|
|
12607
|
+
"fields": [
|
|
12608
|
+
{
|
|
12609
|
+
"name": "escrow",
|
|
12610
|
+
"type": "pubkey"
|
|
12611
|
+
},
|
|
12612
|
+
{
|
|
12613
|
+
"name": "agent",
|
|
12614
|
+
"type": "pubkey"
|
|
12615
|
+
},
|
|
12616
|
+
{
|
|
12617
|
+
"name": "batch_index",
|
|
12618
|
+
"type": "u32"
|
|
12619
|
+
},
|
|
12620
|
+
{
|
|
12621
|
+
"name": "merkle_root",
|
|
12622
|
+
"type": {
|
|
12623
|
+
"array": [
|
|
12624
|
+
"u8",
|
|
12625
|
+
32
|
|
12626
|
+
]
|
|
12627
|
+
}
|
|
12628
|
+
},
|
|
12629
|
+
{
|
|
12630
|
+
"name": "call_count",
|
|
12631
|
+
"type": "u32"
|
|
12632
|
+
},
|
|
12633
|
+
{
|
|
12634
|
+
"name": "period_start",
|
|
12635
|
+
"type": "i64"
|
|
12636
|
+
},
|
|
12637
|
+
{
|
|
12638
|
+
"name": "period_end",
|
|
12639
|
+
"type": "i64"
|
|
12640
|
+
},
|
|
12641
|
+
{
|
|
12642
|
+
"name": "timestamp",
|
|
12643
|
+
"type": "i64"
|
|
12644
|
+
}
|
|
12645
|
+
]
|
|
12646
|
+
}
|
|
12647
|
+
},
|
|
12648
|
+
{
|
|
12649
|
+
"name": "ReceiptProofSubmittedEvent",
|
|
12650
|
+
"docs": [
|
|
12651
|
+
"Receipt proof submitted during dispute."
|
|
12652
|
+
],
|
|
12653
|
+
"type": {
|
|
12654
|
+
"kind": "struct",
|
|
12655
|
+
"fields": [
|
|
12656
|
+
{
|
|
12657
|
+
"name": "dispute",
|
|
12658
|
+
"type": "pubkey"
|
|
12659
|
+
},
|
|
12660
|
+
{
|
|
12661
|
+
"name": "escrow",
|
|
12662
|
+
"type": "pubkey"
|
|
12663
|
+
},
|
|
12664
|
+
{
|
|
12665
|
+
"name": "agent",
|
|
12666
|
+
"type": "pubkey"
|
|
12667
|
+
},
|
|
12668
|
+
{
|
|
12669
|
+
"name": "receipts_submitted",
|
|
12670
|
+
"type": "u32"
|
|
12671
|
+
},
|
|
12672
|
+
{
|
|
12673
|
+
"name": "receipts_verified",
|
|
12674
|
+
"type": "u32"
|
|
12675
|
+
},
|
|
12676
|
+
{
|
|
12677
|
+
"name": "total_proven",
|
|
12678
|
+
"type": "u32"
|
|
12679
|
+
},
|
|
12680
|
+
{
|
|
12681
|
+
"name": "timestamp",
|
|
12682
|
+
"type": "i64"
|
|
12683
|
+
}
|
|
12684
|
+
]
|
|
12685
|
+
}
|
|
12686
|
+
},
|
|
12286
12687
|
{
|
|
12287
12688
|
"name": "RegisteredEvent",
|
|
12288
12689
|
"type": {
|
|
@@ -12341,6 +12742,26 @@
|
|
|
12341
12742
|
]
|
|
12342
12743
|
}
|
|
12343
12744
|
},
|
|
12745
|
+
{
|
|
12746
|
+
"name": "ResolutionLayer",
|
|
12747
|
+
"docs": [
|
|
12748
|
+
"Resolution layer — how the dispute was resolved."
|
|
12749
|
+
],
|
|
12750
|
+
"type": {
|
|
12751
|
+
"kind": "enum",
|
|
12752
|
+
"variants": [
|
|
12753
|
+
{
|
|
12754
|
+
"name": "Pending"
|
|
12755
|
+
},
|
|
12756
|
+
{
|
|
12757
|
+
"name": "Auto"
|
|
12758
|
+
},
|
|
12759
|
+
{
|
|
12760
|
+
"name": "Governance"
|
|
12761
|
+
}
|
|
12762
|
+
]
|
|
12763
|
+
}
|
|
12764
|
+
},
|
|
12344
12765
|
{
|
|
12345
12766
|
"name": "SessionCheckpoint",
|
|
12346
12767
|
"type": {
|