@pooflabs/web 0.0.6 → 0.0.7
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/auth/providers/sol/poof4b5pk1L9tmThvBmaABjcyjfhFGbMbQP5BXk2QZpDevnet-program.d.ts +497 -64
- package/dist/auth/providers/sol/poof4b5pk1L9tmThvBmaABjcyjfhFGbMbQP5BXk2QZpMainnet-program.d.ts +497 -64
- package/dist/auth/utils/auth-api.d.ts +1 -0
- package/dist/index.esm.js +4443 -3415
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +4494 -3466
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/auth/providers/sol/poof4b5pk1L9tmThvBmaABjcyjfhFGbMbQP5BXk2QZpDevnet-program.d.ts
CHANGED
|
@@ -136,10 +136,8 @@ export type Tarobase = {
|
|
|
136
136
|
},
|
|
137
137
|
{
|
|
138
138
|
"name": "admin";
|
|
139
|
+
"writable": true;
|
|
139
140
|
"signer": true;
|
|
140
|
-
"relations": [
|
|
141
|
-
"genericPathExecutionData"
|
|
142
|
-
];
|
|
143
141
|
},
|
|
144
142
|
{
|
|
145
143
|
"name": "systemProgram";
|
|
@@ -286,9 +284,6 @@ export type Tarobase = {
|
|
|
286
284
|
"name": "admin";
|
|
287
285
|
"writable": true;
|
|
288
286
|
"signer": true;
|
|
289
|
-
"relations": [
|
|
290
|
-
"genericPathExecutionData"
|
|
291
|
-
];
|
|
292
287
|
},
|
|
293
288
|
{
|
|
294
289
|
"name": "systemProgram";
|
|
@@ -310,24 +305,66 @@ export type Tarobase = {
|
|
|
310
305
|
}
|
|
311
306
|
];
|
|
312
307
|
},
|
|
308
|
+
{
|
|
309
|
+
"name": "createApp";
|
|
310
|
+
"docs": [
|
|
311
|
+
"Creates an account to store app data",
|
|
312
|
+
"",
|
|
313
|
+
"This instruction initializes the app account that will hold topmost level app data"
|
|
314
|
+
];
|
|
315
|
+
"discriminator": [
|
|
316
|
+
165,
|
|
317
|
+
212,
|
|
318
|
+
136,
|
|
319
|
+
33,
|
|
320
|
+
249,
|
|
321
|
+
223,
|
|
322
|
+
246,
|
|
323
|
+
249
|
|
324
|
+
];
|
|
325
|
+
"accounts": [
|
|
326
|
+
{
|
|
327
|
+
"name": "owner";
|
|
328
|
+
},
|
|
329
|
+
{
|
|
330
|
+
"name": "app";
|
|
331
|
+
"writable": true;
|
|
332
|
+
},
|
|
333
|
+
{
|
|
334
|
+
"name": "admin";
|
|
335
|
+
"writable": true;
|
|
336
|
+
"signer": true;
|
|
337
|
+
},
|
|
338
|
+
{
|
|
339
|
+
"name": "systemProgram";
|
|
340
|
+
"address": "11111111111111111111111111111111";
|
|
341
|
+
}
|
|
342
|
+
];
|
|
343
|
+
"args": [
|
|
344
|
+
{
|
|
345
|
+
"name": "appId";
|
|
346
|
+
"type": "string";
|
|
347
|
+
}
|
|
348
|
+
];
|
|
349
|
+
},
|
|
313
350
|
{
|
|
314
351
|
"name": "createGenericPathExecutionData";
|
|
315
352
|
"docs": [
|
|
316
353
|
"Creates an account to store executable bytecode for a generic path in a Tarobase app.",
|
|
317
354
|
"",
|
|
318
355
|
"This instruction initializes the account that will hold the bytecode for a specific",
|
|
319
|
-
"generic path within an application. It also sets the
|
|
356
|
+
"generic path within an application. It also sets the authority who has permission to",
|
|
320
357
|
"update the bytecode.",
|
|
321
358
|
"",
|
|
322
359
|
"# Important",
|
|
323
|
-
"The
|
|
360
|
+
"The authority should be consistent across all generic paths for a given app ID.",
|
|
324
361
|
"",
|
|
325
362
|
"# Arguments",
|
|
326
363
|
"* `ctx` - The context containing all accounts needed for this instruction",
|
|
327
364
|
"* `app_id` - The identifier of the Tarobase application",
|
|
328
365
|
"* `generic_path` - The generic path within the app for which to store bytecode",
|
|
329
|
-
"
|
|
330
|
-
"
|
|
366
|
+
"",
|
|
367
|
+
"*** NOTE: In case of path authority requires to be TAROBASE_AUTHORITY for backwards compatibility, use system program as placeholder."
|
|
331
368
|
];
|
|
332
369
|
"discriminator": [
|
|
333
370
|
156,
|
|
@@ -340,6 +377,12 @@ export type Tarobase = {
|
|
|
340
377
|
101
|
|
341
378
|
];
|
|
342
379
|
"accounts": [
|
|
380
|
+
{
|
|
381
|
+
"name": "app";
|
|
382
|
+
},
|
|
383
|
+
{
|
|
384
|
+
"name": "authorityPermit";
|
|
385
|
+
},
|
|
343
386
|
{
|
|
344
387
|
"name": "admin";
|
|
345
388
|
"writable": true;
|
|
@@ -349,17 +392,13 @@ export type Tarobase = {
|
|
|
349
392
|
"name": "genericPathExecutionData";
|
|
350
393
|
"writable": true;
|
|
351
394
|
},
|
|
352
|
-
{
|
|
353
|
-
"name": "instructions";
|
|
354
|
-
"docs": [
|
|
355
|
-
"Sysvar giving us every instruction in the tx",
|
|
356
|
-
"(must be supplied by the runtime; no signer/ mut)"
|
|
357
|
-
];
|
|
358
|
-
"address": "Sysvar1nstructions1111111111111111111111111";
|
|
359
|
-
},
|
|
360
395
|
{
|
|
361
396
|
"name": "systemProgram";
|
|
362
397
|
"address": "11111111111111111111111111111111";
|
|
398
|
+
},
|
|
399
|
+
{
|
|
400
|
+
"name": "pathAuthority";
|
|
401
|
+
"optional": true;
|
|
363
402
|
}
|
|
364
403
|
];
|
|
365
404
|
"args": [
|
|
@@ -370,19 +409,83 @@ export type Tarobase = {
|
|
|
370
409
|
{
|
|
371
410
|
"name": "genericPath";
|
|
372
411
|
"type": "string";
|
|
412
|
+
}
|
|
413
|
+
];
|
|
414
|
+
},
|
|
415
|
+
{
|
|
416
|
+
"name": "createPathUpdateAuthorityPermit";
|
|
417
|
+
"discriminator": [
|
|
418
|
+
46,
|
|
419
|
+
156,
|
|
420
|
+
1,
|
|
421
|
+
88,
|
|
422
|
+
101,
|
|
423
|
+
235,
|
|
424
|
+
205,
|
|
425
|
+
35
|
|
426
|
+
];
|
|
427
|
+
"accounts": [
|
|
428
|
+
{
|
|
429
|
+
"name": "admin";
|
|
430
|
+
"writable": true;
|
|
431
|
+
"signer": true;
|
|
373
432
|
},
|
|
374
433
|
{
|
|
375
|
-
"name": "
|
|
376
|
-
"type": "u64";
|
|
434
|
+
"name": "genericPathExecutionData";
|
|
377
435
|
},
|
|
378
436
|
{
|
|
379
|
-
"name": "
|
|
380
|
-
"
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
437
|
+
"name": "pathAuthorityPermit";
|
|
438
|
+
"writable": true;
|
|
439
|
+
},
|
|
440
|
+
{
|
|
441
|
+
"name": "pathAuthority";
|
|
442
|
+
"signer": true;
|
|
443
|
+
},
|
|
444
|
+
{
|
|
445
|
+
"name": "systemProgram";
|
|
446
|
+
"address": "11111111111111111111111111111111";
|
|
447
|
+
}
|
|
448
|
+
];
|
|
449
|
+
"args": [];
|
|
450
|
+
},
|
|
451
|
+
{
|
|
452
|
+
"name": "createUpdateAuthorityPermit";
|
|
453
|
+
"discriminator": [
|
|
454
|
+
41,
|
|
455
|
+
20,
|
|
456
|
+
32,
|
|
457
|
+
238,
|
|
458
|
+
249,
|
|
459
|
+
115,
|
|
460
|
+
83,
|
|
461
|
+
74
|
|
462
|
+
];
|
|
463
|
+
"accounts": [
|
|
464
|
+
{
|
|
465
|
+
"name": "app";
|
|
466
|
+
},
|
|
467
|
+
{
|
|
468
|
+
"name": "admin";
|
|
469
|
+
"writable": true;
|
|
470
|
+
"signer": true;
|
|
471
|
+
},
|
|
472
|
+
{
|
|
473
|
+
"name": "appOwner";
|
|
474
|
+
"signer": true;
|
|
475
|
+
},
|
|
476
|
+
{
|
|
477
|
+
"name": "authorityPermit";
|
|
478
|
+
"writable": true;
|
|
479
|
+
},
|
|
480
|
+
{
|
|
481
|
+
"name": "systemProgram";
|
|
482
|
+
"address": "11111111111111111111111111111111";
|
|
483
|
+
}
|
|
484
|
+
];
|
|
485
|
+
"args": [
|
|
486
|
+
{
|
|
487
|
+
"name": "appId";
|
|
488
|
+
"type": "string";
|
|
386
489
|
}
|
|
387
490
|
];
|
|
388
491
|
},
|
|
@@ -411,9 +514,6 @@ export type Tarobase = {
|
|
|
411
514
|
"name": "admin";
|
|
412
515
|
"writable": true;
|
|
413
516
|
"signer": true;
|
|
414
|
-
"relations": [
|
|
415
|
-
"genericPathExecutionData"
|
|
416
|
-
];
|
|
417
517
|
},
|
|
418
518
|
{
|
|
419
519
|
"name": "genericPathExecutionData";
|
|
@@ -431,6 +531,73 @@ export type Tarobase = {
|
|
|
431
531
|
}
|
|
432
532
|
];
|
|
433
533
|
},
|
|
534
|
+
{
|
|
535
|
+
"name": "deletePathUpdateAuthorityPermit";
|
|
536
|
+
"discriminator": [
|
|
537
|
+
94,
|
|
538
|
+
31,
|
|
539
|
+
83,
|
|
540
|
+
251,
|
|
541
|
+
126,
|
|
542
|
+
32,
|
|
543
|
+
21,
|
|
544
|
+
155
|
|
545
|
+
];
|
|
546
|
+
"accounts": [
|
|
547
|
+
{
|
|
548
|
+
"name": "pathAuthorityPermit";
|
|
549
|
+
"writable": true;
|
|
550
|
+
},
|
|
551
|
+
{
|
|
552
|
+
"name": "pathAuthority";
|
|
553
|
+
},
|
|
554
|
+
{
|
|
555
|
+
"name": "admin";
|
|
556
|
+
"writable": true;
|
|
557
|
+
"signer": true;
|
|
558
|
+
}
|
|
559
|
+
];
|
|
560
|
+
"args": [
|
|
561
|
+
{
|
|
562
|
+
"name": "appId";
|
|
563
|
+
"type": "string";
|
|
564
|
+
},
|
|
565
|
+
{
|
|
566
|
+
"name": "path";
|
|
567
|
+
"type": "string";
|
|
568
|
+
}
|
|
569
|
+
];
|
|
570
|
+
},
|
|
571
|
+
{
|
|
572
|
+
"name": "deleteUpdateAuthorityPermit";
|
|
573
|
+
"discriminator": [
|
|
574
|
+
119,
|
|
575
|
+
64,
|
|
576
|
+
211,
|
|
577
|
+
184,
|
|
578
|
+
248,
|
|
579
|
+
154,
|
|
580
|
+
150,
|
|
581
|
+
94
|
|
582
|
+
];
|
|
583
|
+
"accounts": [
|
|
584
|
+
{
|
|
585
|
+
"name": "authorityPermit";
|
|
586
|
+
"writable": true;
|
|
587
|
+
},
|
|
588
|
+
{
|
|
589
|
+
"name": "admin";
|
|
590
|
+
"writable": true;
|
|
591
|
+
"signer": true;
|
|
592
|
+
}
|
|
593
|
+
];
|
|
594
|
+
"args": [
|
|
595
|
+
{
|
|
596
|
+
"name": "appId";
|
|
597
|
+
"type": "string";
|
|
598
|
+
}
|
|
599
|
+
];
|
|
600
|
+
},
|
|
434
601
|
{
|
|
435
602
|
"name": "dummyDocument";
|
|
436
603
|
"docs": [
|
|
@@ -642,10 +809,8 @@ export type Tarobase = {
|
|
|
642
809
|
},
|
|
643
810
|
{
|
|
644
811
|
"name": "admin";
|
|
812
|
+
"writable": true;
|
|
645
813
|
"signer": true;
|
|
646
|
-
"relations": [
|
|
647
|
-
"genericPathExecutionData"
|
|
648
|
-
];
|
|
649
814
|
}
|
|
650
815
|
];
|
|
651
816
|
"args": [
|
|
@@ -688,9 +853,6 @@ export type Tarobase = {
|
|
|
688
853
|
"name": "admin";
|
|
689
854
|
"writable": true;
|
|
690
855
|
"signer": true;
|
|
691
|
-
"relations": [
|
|
692
|
-
"genericPathExecutionData"
|
|
693
|
-
];
|
|
694
856
|
},
|
|
695
857
|
{
|
|
696
858
|
"name": "genericPathExecutionData";
|
|
@@ -787,6 +949,110 @@ export type Tarobase = {
|
|
|
787
949
|
}
|
|
788
950
|
];
|
|
789
951
|
},
|
|
952
|
+
{
|
|
953
|
+
"name": "setDocumentsNoUser";
|
|
954
|
+
"discriminator": [
|
|
955
|
+
84,
|
|
956
|
+
241,
|
|
957
|
+
183,
|
|
958
|
+
254,
|
|
959
|
+
152,
|
|
960
|
+
128,
|
|
961
|
+
135,
|
|
962
|
+
128
|
|
963
|
+
];
|
|
964
|
+
"accounts": [
|
|
965
|
+
{
|
|
966
|
+
"name": "payer";
|
|
967
|
+
"writable": true;
|
|
968
|
+
"signer": true;
|
|
969
|
+
},
|
|
970
|
+
{
|
|
971
|
+
"name": "systemProgram";
|
|
972
|
+
"address": "11111111111111111111111111111111";
|
|
973
|
+
}
|
|
974
|
+
];
|
|
975
|
+
"args": [
|
|
976
|
+
{
|
|
977
|
+
"name": "appId";
|
|
978
|
+
"type": "string";
|
|
979
|
+
},
|
|
980
|
+
{
|
|
981
|
+
"name": "documents";
|
|
982
|
+
"type": {
|
|
983
|
+
"vec": {
|
|
984
|
+
"defined": {
|
|
985
|
+
"name": "setDocumentData";
|
|
986
|
+
};
|
|
987
|
+
};
|
|
988
|
+
};
|
|
989
|
+
},
|
|
990
|
+
{
|
|
991
|
+
"name": "deletePaths";
|
|
992
|
+
"type": {
|
|
993
|
+
"vec": "string";
|
|
994
|
+
};
|
|
995
|
+
},
|
|
996
|
+
{
|
|
997
|
+
"name": "txData";
|
|
998
|
+
"type": {
|
|
999
|
+
"vec": {
|
|
1000
|
+
"defined": {
|
|
1001
|
+
"name": "txData";
|
|
1002
|
+
};
|
|
1003
|
+
};
|
|
1004
|
+
};
|
|
1005
|
+
}
|
|
1006
|
+
];
|
|
1007
|
+
},
|
|
1008
|
+
{
|
|
1009
|
+
"name": "updateApp";
|
|
1010
|
+
"docs": [
|
|
1011
|
+
"Updates app data",
|
|
1012
|
+
"",
|
|
1013
|
+
"This instruction updates the app account that holds topmost level app data"
|
|
1014
|
+
];
|
|
1015
|
+
"discriminator": [
|
|
1016
|
+
126,
|
|
1017
|
+
189,
|
|
1018
|
+
95,
|
|
1019
|
+
214,
|
|
1020
|
+
18,
|
|
1021
|
+
25,
|
|
1022
|
+
42,
|
|
1023
|
+
176
|
|
1024
|
+
];
|
|
1025
|
+
"accounts": [
|
|
1026
|
+
{
|
|
1027
|
+
"name": "owner";
|
|
1028
|
+
"relations": [
|
|
1029
|
+
"app"
|
|
1030
|
+
];
|
|
1031
|
+
},
|
|
1032
|
+
{
|
|
1033
|
+
"name": "app";
|
|
1034
|
+
"writable": true;
|
|
1035
|
+
},
|
|
1036
|
+
{
|
|
1037
|
+
"name": "authorityPermit";
|
|
1038
|
+
"writable": true;
|
|
1039
|
+
},
|
|
1040
|
+
{
|
|
1041
|
+
"name": "admin";
|
|
1042
|
+
"writable": true;
|
|
1043
|
+
"signer": true;
|
|
1044
|
+
},
|
|
1045
|
+
{
|
|
1046
|
+
"name": "systemProgram";
|
|
1047
|
+
"address": "11111111111111111111111111111111";
|
|
1048
|
+
},
|
|
1049
|
+
{
|
|
1050
|
+
"name": "newOwner";
|
|
1051
|
+
"optional": true;
|
|
1052
|
+
}
|
|
1053
|
+
];
|
|
1054
|
+
"args": [];
|
|
1055
|
+
},
|
|
790
1056
|
{
|
|
791
1057
|
"name": "updateGenericPathExecutionData";
|
|
792
1058
|
"docs": [
|
|
@@ -829,9 +1095,6 @@ export type Tarobase = {
|
|
|
829
1095
|
"name": "admin";
|
|
830
1096
|
"writable": true;
|
|
831
1097
|
"signer": true;
|
|
832
|
-
"relations": [
|
|
833
|
-
"genericPathExecutionData"
|
|
834
|
-
];
|
|
835
1098
|
},
|
|
836
1099
|
{
|
|
837
1100
|
"name": "genericPathExecutionData";
|
|
@@ -840,6 +1103,10 @@ export type Tarobase = {
|
|
|
840
1103
|
{
|
|
841
1104
|
"name": "systemProgram";
|
|
842
1105
|
"address": "11111111111111111111111111111111";
|
|
1106
|
+
},
|
|
1107
|
+
{
|
|
1108
|
+
"name": "pathAuthority";
|
|
1109
|
+
"optional": true;
|
|
843
1110
|
}
|
|
844
1111
|
];
|
|
845
1112
|
"args": [
|
|
@@ -974,68 +1241,182 @@ export type Tarobase = {
|
|
|
974
1241
|
191,
|
|
975
1242
|
6
|
|
976
1243
|
];
|
|
1244
|
+
},
|
|
1245
|
+
{
|
|
1246
|
+
"name": "pathUpdateAuthorityPermit";
|
|
1247
|
+
"discriminator": [
|
|
1248
|
+
71,
|
|
1249
|
+
33,
|
|
1250
|
+
128,
|
|
1251
|
+
34,
|
|
1252
|
+
207,
|
|
1253
|
+
87,
|
|
1254
|
+
75,
|
|
1255
|
+
247
|
|
1256
|
+
];
|
|
1257
|
+
},
|
|
1258
|
+
{
|
|
1259
|
+
"name": "tarobaseApp";
|
|
1260
|
+
"discriminator": [
|
|
1261
|
+
63,
|
|
1262
|
+
106,
|
|
1263
|
+
71,
|
|
1264
|
+
75,
|
|
1265
|
+
237,
|
|
1266
|
+
34,
|
|
1267
|
+
72,
|
|
1268
|
+
124
|
|
1269
|
+
];
|
|
1270
|
+
},
|
|
1271
|
+
{
|
|
1272
|
+
"name": "updateAuthorityPermit";
|
|
1273
|
+
"discriminator": [
|
|
1274
|
+
95,
|
|
1275
|
+
227,
|
|
1276
|
+
234,
|
|
1277
|
+
131,
|
|
1278
|
+
112,
|
|
1279
|
+
231,
|
|
1280
|
+
134,
|
|
1281
|
+
135
|
|
1282
|
+
];
|
|
977
1283
|
}
|
|
978
1284
|
];
|
|
979
1285
|
"errors": [
|
|
980
1286
|
{
|
|
981
1287
|
"code": 6000;
|
|
982
|
-
"name": "
|
|
983
|
-
"msg": "
|
|
1288
|
+
"name": "invalidAccountLength";
|
|
1289
|
+
"msg": "The number of provided new accounts does not match the number of documents.";
|
|
984
1290
|
},
|
|
985
1291
|
{
|
|
986
1292
|
"code": 6001;
|
|
987
|
-
"name": "
|
|
988
|
-
"msg": "
|
|
1293
|
+
"name": "invalidPda";
|
|
1294
|
+
"msg": "The provided account does not match the expected PDA.";
|
|
989
1295
|
},
|
|
990
1296
|
{
|
|
991
1297
|
"code": 6002;
|
|
992
|
-
"name": "
|
|
993
|
-
"msg": "
|
|
1298
|
+
"name": "simulate2";
|
|
1299
|
+
"msg": "Simulate mode.";
|
|
994
1300
|
},
|
|
995
1301
|
{
|
|
996
1302
|
"code": 6003;
|
|
997
|
-
"name": "
|
|
998
|
-
"msg": "
|
|
1303
|
+
"name": "accountTooLarge";
|
|
1304
|
+
"msg": "The account size would exceed the maximum allowed size of 10240 bytes.";
|
|
999
1305
|
},
|
|
1000
1306
|
{
|
|
1001
1307
|
"code": 6004;
|
|
1002
|
-
"name": "
|
|
1003
|
-
"msg": "
|
|
1308
|
+
"name": "pathInBothDeleteAndUpdate";
|
|
1309
|
+
"msg": "The same path cannot appear in both delete_paths and documents";
|
|
1004
1310
|
},
|
|
1005
1311
|
{
|
|
1006
1312
|
"code": 6005;
|
|
1007
|
-
"name": "
|
|
1008
|
-
"msg": "Invalid
|
|
1313
|
+
"name": "invalidOperation";
|
|
1314
|
+
"msg": "Invalid operation.";
|
|
1009
1315
|
},
|
|
1010
1316
|
{
|
|
1011
1317
|
"code": 6006;
|
|
1012
|
-
"name": "
|
|
1013
|
-
"msg": "
|
|
1318
|
+
"name": "missingRequiredFields";
|
|
1319
|
+
"msg": "Missing required fields.";
|
|
1014
1320
|
},
|
|
1015
1321
|
{
|
|
1016
1322
|
"code": 6007;
|
|
1017
|
-
"name": "
|
|
1018
|
-
"msg": "
|
|
1323
|
+
"name": "fieldAlreadyExists";
|
|
1324
|
+
"msg": "The same field cannot appear in more than one operation.";
|
|
1019
1325
|
},
|
|
1020
1326
|
{
|
|
1021
1327
|
"code": 6008;
|
|
1022
|
-
"name": "
|
|
1023
|
-
"msg": "
|
|
1328
|
+
"name": "fieldReadOnly";
|
|
1329
|
+
"msg": "The field is read only.";
|
|
1024
1330
|
},
|
|
1025
1331
|
{
|
|
1026
1332
|
"code": 6009;
|
|
1027
|
-
"name": "
|
|
1028
|
-
"msg": "
|
|
1333
|
+
"name": "invalidFieldType";
|
|
1334
|
+
"msg": "The provided field is not of the expected type.";
|
|
1029
1335
|
},
|
|
1030
1336
|
{
|
|
1031
1337
|
"code": 6010;
|
|
1032
|
-
"name": "
|
|
1033
|
-
"msg": "
|
|
1338
|
+
"name": "unsupportedOperation";
|
|
1339
|
+
"msg": "The provided option is not supported.";
|
|
1034
1340
|
},
|
|
1035
1341
|
{
|
|
1036
1342
|
"code": 6011;
|
|
1037
|
-
"name": "
|
|
1038
|
-
"msg": "
|
|
1343
|
+
"name": "invalidIncrementType";
|
|
1344
|
+
"msg": "The increment type is invalid.";
|
|
1345
|
+
},
|
|
1346
|
+
{
|
|
1347
|
+
"code": 6012;
|
|
1348
|
+
"name": "invalidType";
|
|
1349
|
+
"msg": "The type is invalid.";
|
|
1350
|
+
},
|
|
1351
|
+
{
|
|
1352
|
+
"code": 6013;
|
|
1353
|
+
"name": "missingValue";
|
|
1354
|
+
"msg": "The value is missing.";
|
|
1355
|
+
},
|
|
1356
|
+
{
|
|
1357
|
+
"code": 6014;
|
|
1358
|
+
"name": "invalidTypeForTimestamp";
|
|
1359
|
+
"msg": "The type is invalid for timestamp.";
|
|
1360
|
+
},
|
|
1361
|
+
{
|
|
1362
|
+
"code": 6015;
|
|
1363
|
+
"name": "fieldNotFound";
|
|
1364
|
+
"msg": "The field was not found.";
|
|
1365
|
+
},
|
|
1366
|
+
{
|
|
1367
|
+
"code": 6016;
|
|
1368
|
+
"name": "documentDataMissingFromMap";
|
|
1369
|
+
"msg": "The document data was missing from the map.";
|
|
1370
|
+
},
|
|
1371
|
+
{
|
|
1372
|
+
"code": 6017;
|
|
1373
|
+
"name": "streamAlreadyActive";
|
|
1374
|
+
"msg": "A bytecode stream is already active for this account.";
|
|
1375
|
+
},
|
|
1376
|
+
{
|
|
1377
|
+
"code": 6018;
|
|
1378
|
+
"name": "noActiveStream";
|
|
1379
|
+
"msg": "No bytecode stream is currently active.";
|
|
1380
|
+
},
|
|
1381
|
+
{
|
|
1382
|
+
"code": 6019;
|
|
1383
|
+
"name": "wrongFinalSize";
|
|
1384
|
+
"msg": "Chunk upload finished but size does not match expected_len.";
|
|
1385
|
+
},
|
|
1386
|
+
{
|
|
1387
|
+
"code": 6020;
|
|
1388
|
+
"name": "invalidBytecodeIndex";
|
|
1389
|
+
"msg": "Bytecode index must be 0-5";
|
|
1390
|
+
},
|
|
1391
|
+
{
|
|
1392
|
+
"code": 6021;
|
|
1393
|
+
"name": "missingEd25519VerifyIx";
|
|
1394
|
+
"msg": "Missing or invalid Ed25519 verify instruction.";
|
|
1395
|
+
},
|
|
1396
|
+
{
|
|
1397
|
+
"code": 6022;
|
|
1398
|
+
"name": "permitExpired";
|
|
1399
|
+
"msg": "Permit has expired.";
|
|
1400
|
+
},
|
|
1401
|
+
{
|
|
1402
|
+
"code": 6023;
|
|
1403
|
+
"name": "invalidSignature";
|
|
1404
|
+
"msg": "Invalid signature.";
|
|
1405
|
+
},
|
|
1406
|
+
{
|
|
1407
|
+
"code": 6024;
|
|
1408
|
+
"name": "invalidSigner";
|
|
1409
|
+
"msg": "Invalid signer.";
|
|
1410
|
+
},
|
|
1411
|
+
{
|
|
1412
|
+
"code": 6025;
|
|
1413
|
+
"name": "invalidMessage";
|
|
1414
|
+
"msg": "Invalid message.";
|
|
1415
|
+
},
|
|
1416
|
+
{
|
|
1417
|
+
"code": 6026;
|
|
1418
|
+
"name": "failedToParse";
|
|
1419
|
+
"msg": "Failed to parse.";
|
|
1039
1420
|
}
|
|
1040
1421
|
];
|
|
1041
1422
|
"types": [
|
|
@@ -1215,7 +1596,7 @@ export type Tarobase = {
|
|
|
1215
1596
|
"kind": "struct";
|
|
1216
1597
|
"fields": [
|
|
1217
1598
|
{
|
|
1218
|
-
"name": "
|
|
1599
|
+
"name": "pathAuthority";
|
|
1219
1600
|
"type": "pubkey";
|
|
1220
1601
|
},
|
|
1221
1602
|
{
|
|
@@ -1333,6 +1714,22 @@ export type Tarobase = {
|
|
|
1333
1714
|
];
|
|
1334
1715
|
};
|
|
1335
1716
|
},
|
|
1717
|
+
{
|
|
1718
|
+
"name": "pathUpdateAuthorityPermit";
|
|
1719
|
+
"type": {
|
|
1720
|
+
"kind": "struct";
|
|
1721
|
+
"fields": [
|
|
1722
|
+
{
|
|
1723
|
+
"name": "isInitialized";
|
|
1724
|
+
"type": "bool";
|
|
1725
|
+
},
|
|
1726
|
+
{
|
|
1727
|
+
"name": "slotExpiry";
|
|
1728
|
+
"type": "u64";
|
|
1729
|
+
}
|
|
1730
|
+
];
|
|
1731
|
+
};
|
|
1732
|
+
},
|
|
1336
1733
|
{
|
|
1337
1734
|
"name": "setDocumentData";
|
|
1338
1735
|
"type": {
|
|
@@ -1355,6 +1752,26 @@ export type Tarobase = {
|
|
|
1355
1752
|
];
|
|
1356
1753
|
};
|
|
1357
1754
|
},
|
|
1755
|
+
{
|
|
1756
|
+
"name": "tarobaseApp";
|
|
1757
|
+
"type": {
|
|
1758
|
+
"kind": "struct";
|
|
1759
|
+
"fields": [
|
|
1760
|
+
{
|
|
1761
|
+
"name": "owner";
|
|
1762
|
+
"type": "pubkey";
|
|
1763
|
+
},
|
|
1764
|
+
{
|
|
1765
|
+
"name": "bump";
|
|
1766
|
+
"type": "u8";
|
|
1767
|
+
},
|
|
1768
|
+
{
|
|
1769
|
+
"name": "id";
|
|
1770
|
+
"type": "string";
|
|
1771
|
+
}
|
|
1772
|
+
];
|
|
1773
|
+
};
|
|
1774
|
+
},
|
|
1358
1775
|
{
|
|
1359
1776
|
"name": "txData";
|
|
1360
1777
|
"type": {
|
|
@@ -1376,6 +1793,22 @@ export type Tarobase = {
|
|
|
1376
1793
|
}
|
|
1377
1794
|
];
|
|
1378
1795
|
};
|
|
1796
|
+
},
|
|
1797
|
+
{
|
|
1798
|
+
"name": "updateAuthorityPermit";
|
|
1799
|
+
"type": {
|
|
1800
|
+
"kind": "struct";
|
|
1801
|
+
"fields": [
|
|
1802
|
+
{
|
|
1803
|
+
"name": "isInitialized";
|
|
1804
|
+
"type": "bool";
|
|
1805
|
+
},
|
|
1806
|
+
{
|
|
1807
|
+
"name": "slotExpiry";
|
|
1808
|
+
"type": "u64";
|
|
1809
|
+
}
|
|
1810
|
+
];
|
|
1811
|
+
};
|
|
1379
1812
|
}
|
|
1380
1813
|
];
|
|
1381
1814
|
};
|