@algorandfoundation/algokit-client-generator 4.0.0-beta.7 → 4.0.0-beta.8
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/package.json
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
"**"
|
|
7
7
|
],
|
|
8
8
|
"name": "@algorandfoundation/algokit-client-generator",
|
|
9
|
-
"version": "4.0.0-beta.
|
|
9
|
+
"version": "4.0.0-beta.8",
|
|
10
10
|
"description": "Generates a TypeScript client for interacting with, and deploying ARC-0032 smart contracts on the Algorand Blockchain.",
|
|
11
11
|
"module": "index.mjs",
|
|
12
12
|
"private": false,
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
"rollup": "^4.22.5"
|
|
27
27
|
},
|
|
28
28
|
"dependencies": {
|
|
29
|
-
"@algorandfoundation/algokit-utils": "^7.0.0-beta.
|
|
29
|
+
"@algorandfoundation/algokit-utils": "^7.0.0-beta.21",
|
|
30
30
|
"algosdk": "^2.7.0",
|
|
31
31
|
"chalk": "^4.1.2",
|
|
32
32
|
"change-case": "^5.4.4",
|
|
@@ -27,6 +27,9 @@ var definitions = {
|
|
|
27
27
|
type: "string"
|
|
28
28
|
}
|
|
29
29
|
},
|
|
30
|
+
required: [
|
|
31
|
+
"type"
|
|
32
|
+
],
|
|
30
33
|
type: "object"
|
|
31
34
|
},
|
|
32
35
|
type: "array"
|
|
@@ -40,6 +43,10 @@ var definitions = {
|
|
|
40
43
|
type: "string"
|
|
41
44
|
}
|
|
42
45
|
},
|
|
46
|
+
required: [
|
|
47
|
+
"name",
|
|
48
|
+
"args"
|
|
49
|
+
],
|
|
43
50
|
type: "object"
|
|
44
51
|
},
|
|
45
52
|
Method: {
|
|
@@ -114,6 +121,10 @@ var definitions = {
|
|
|
114
121
|
type: "string"
|
|
115
122
|
}
|
|
116
123
|
},
|
|
124
|
+
required: [
|
|
125
|
+
"source",
|
|
126
|
+
"data"
|
|
127
|
+
],
|
|
117
128
|
type: "object"
|
|
118
129
|
},
|
|
119
130
|
desc: {
|
|
@@ -133,6 +144,9 @@ var definitions = {
|
|
|
133
144
|
type: "string"
|
|
134
145
|
}
|
|
135
146
|
},
|
|
147
|
+
required: [
|
|
148
|
+
"type"
|
|
149
|
+
],
|
|
136
150
|
type: "object"
|
|
137
151
|
},
|
|
138
152
|
type: "array"
|
|
@@ -200,6 +214,11 @@ var definitions = {
|
|
|
200
214
|
type: "number"
|
|
201
215
|
}
|
|
202
216
|
},
|
|
217
|
+
required: [
|
|
218
|
+
"key",
|
|
219
|
+
"readBytes",
|
|
220
|
+
"writeBytes"
|
|
221
|
+
],
|
|
203
222
|
type: "object"
|
|
204
223
|
},
|
|
205
224
|
innerTransactionCount: {
|
|
@@ -225,9 +244,18 @@ var definitions = {
|
|
|
225
244
|
type: "string"
|
|
226
245
|
}
|
|
227
246
|
},
|
|
247
|
+
required: [
|
|
248
|
+
"type"
|
|
249
|
+
],
|
|
228
250
|
type: "object"
|
|
229
251
|
}
|
|
230
252
|
},
|
|
253
|
+
required: [
|
|
254
|
+
"name",
|
|
255
|
+
"args",
|
|
256
|
+
"returns",
|
|
257
|
+
"actions"
|
|
258
|
+
],
|
|
231
259
|
type: "object"
|
|
232
260
|
},
|
|
233
261
|
ProgramSourceInfo: {
|
|
@@ -248,6 +276,10 @@ var definitions = {
|
|
|
248
276
|
type: "array"
|
|
249
277
|
}
|
|
250
278
|
},
|
|
279
|
+
required: [
|
|
280
|
+
"pcOffsetMethod",
|
|
281
|
+
"sourceInfo"
|
|
282
|
+
],
|
|
251
283
|
type: "object"
|
|
252
284
|
},
|
|
253
285
|
SourceInfo: {
|
|
@@ -272,6 +304,9 @@ var definitions = {
|
|
|
272
304
|
type: "number"
|
|
273
305
|
}
|
|
274
306
|
},
|
|
307
|
+
required: [
|
|
308
|
+
"pc"
|
|
309
|
+
],
|
|
275
310
|
type: "object"
|
|
276
311
|
},
|
|
277
312
|
StorageKey: {
|
|
@@ -294,6 +329,11 @@ var definitions = {
|
|
|
294
329
|
type: "string"
|
|
295
330
|
}
|
|
296
331
|
},
|
|
332
|
+
required: [
|
|
333
|
+
"key",
|
|
334
|
+
"keyType",
|
|
335
|
+
"valueType"
|
|
336
|
+
],
|
|
297
337
|
type: "object"
|
|
298
338
|
},
|
|
299
339
|
StorageMap: {
|
|
@@ -316,6 +356,10 @@ var definitions = {
|
|
|
316
356
|
type: "string"
|
|
317
357
|
}
|
|
318
358
|
},
|
|
359
|
+
required: [
|
|
360
|
+
"keyType",
|
|
361
|
+
"valueType"
|
|
362
|
+
],
|
|
319
363
|
type: "object"
|
|
320
364
|
},
|
|
321
365
|
StructField: {
|
|
@@ -340,13 +384,17 @@ var definitions = {
|
|
|
340
384
|
description: "The type of the struct field's value"
|
|
341
385
|
}
|
|
342
386
|
},
|
|
387
|
+
required: [
|
|
388
|
+
"name",
|
|
389
|
+
"type"
|
|
390
|
+
],
|
|
343
391
|
type: "object"
|
|
344
392
|
}
|
|
345
393
|
};
|
|
346
394
|
var description = "Describes the entire contract. This interface is an extension of the interface described in ARC-4";
|
|
347
395
|
var properties = {
|
|
348
396
|
arcs: {
|
|
349
|
-
description: "The ARCs used and/or supported by this contract. All contracts
|
|
397
|
+
description: "The ARCs used and/or supported by this contract. All contracts implicitly support ARC4 and ARC56",
|
|
350
398
|
items: {
|
|
351
399
|
type: "number"
|
|
352
400
|
},
|
|
@@ -383,6 +431,10 @@ var properties = {
|
|
|
383
431
|
type: "array"
|
|
384
432
|
}
|
|
385
433
|
},
|
|
434
|
+
required: [
|
|
435
|
+
"create",
|
|
436
|
+
"call"
|
|
437
|
+
],
|
|
386
438
|
type: "object"
|
|
387
439
|
},
|
|
388
440
|
byteCode: {
|
|
@@ -397,6 +449,10 @@ var properties = {
|
|
|
397
449
|
type: "string"
|
|
398
450
|
}
|
|
399
451
|
},
|
|
452
|
+
required: [
|
|
453
|
+
"approval",
|
|
454
|
+
"clear"
|
|
455
|
+
],
|
|
400
456
|
type: "object"
|
|
401
457
|
},
|
|
402
458
|
compilerInfo: {
|
|
@@ -429,6 +485,10 @@ var properties = {
|
|
|
429
485
|
type: "object"
|
|
430
486
|
}
|
|
431
487
|
},
|
|
488
|
+
required: [
|
|
489
|
+
"compiler",
|
|
490
|
+
"compilerVersion"
|
|
491
|
+
],
|
|
432
492
|
type: "object"
|
|
433
493
|
},
|
|
434
494
|
desc: {
|
|
@@ -461,9 +521,12 @@ var properties = {
|
|
|
461
521
|
type: "number"
|
|
462
522
|
}
|
|
463
523
|
},
|
|
524
|
+
required: [
|
|
525
|
+
"appID"
|
|
526
|
+
],
|
|
464
527
|
type: "object"
|
|
465
528
|
},
|
|
466
|
-
description: "Optional object listing the contract instances across different networks.\nThe key is the base64 genesis hash of the network, and the value contains\ninformation about the deployed contract in the network indicated by the\nkey. A key containing the human-readable name of the network MAY be\nincluded, but the corresponding genesis hash key MUST also be
|
|
529
|
+
description: "Optional object listing the contract instances across different networks.\nThe key is the base64 genesis hash of the network, and the value contains\ninformation about the deployed contract in the network indicated by the\nkey. A key containing the human-readable name of the network MAY be\nincluded, but the corresponding genesis hash key MUST also be defined",
|
|
467
530
|
type: "object"
|
|
468
531
|
},
|
|
469
532
|
scratchVariables: {
|
|
@@ -476,6 +539,10 @@ var properties = {
|
|
|
476
539
|
type: "string"
|
|
477
540
|
}
|
|
478
541
|
},
|
|
542
|
+
required: [
|
|
543
|
+
"slot",
|
|
544
|
+
"type"
|
|
545
|
+
],
|
|
479
546
|
type: "object"
|
|
480
547
|
},
|
|
481
548
|
description: "The scratch variables used during runtime",
|
|
@@ -493,6 +560,10 @@ var properties = {
|
|
|
493
560
|
type: "string"
|
|
494
561
|
}
|
|
495
562
|
},
|
|
563
|
+
required: [
|
|
564
|
+
"approval",
|
|
565
|
+
"clear"
|
|
566
|
+
],
|
|
496
567
|
type: "object"
|
|
497
568
|
},
|
|
498
569
|
sourceInfo: {
|
|
@@ -507,6 +578,10 @@ var properties = {
|
|
|
507
578
|
description: "Clear program information"
|
|
508
579
|
}
|
|
509
580
|
},
|
|
581
|
+
required: [
|
|
582
|
+
"approval",
|
|
583
|
+
"clear"
|
|
584
|
+
],
|
|
510
585
|
type: "object"
|
|
511
586
|
},
|
|
512
587
|
state: {
|
|
@@ -533,6 +608,11 @@ var properties = {
|
|
|
533
608
|
type: "object"
|
|
534
609
|
}
|
|
535
610
|
},
|
|
611
|
+
required: [
|
|
612
|
+
"box",
|
|
613
|
+
"global",
|
|
614
|
+
"local"
|
|
615
|
+
],
|
|
536
616
|
type: "object"
|
|
537
617
|
},
|
|
538
618
|
maps: {
|
|
@@ -557,6 +637,11 @@ var properties = {
|
|
|
557
637
|
type: "object"
|
|
558
638
|
}
|
|
559
639
|
},
|
|
640
|
+
required: [
|
|
641
|
+
"box",
|
|
642
|
+
"global",
|
|
643
|
+
"local"
|
|
644
|
+
],
|
|
560
645
|
type: "object"
|
|
561
646
|
},
|
|
562
647
|
schema: {
|
|
@@ -571,6 +656,10 @@ var properties = {
|
|
|
571
656
|
type: "number"
|
|
572
657
|
}
|
|
573
658
|
},
|
|
659
|
+
required: [
|
|
660
|
+
"bytes",
|
|
661
|
+
"ints"
|
|
662
|
+
],
|
|
574
663
|
type: "object"
|
|
575
664
|
},
|
|
576
665
|
local: {
|
|
@@ -582,12 +671,25 @@ var properties = {
|
|
|
582
671
|
type: "number"
|
|
583
672
|
}
|
|
584
673
|
},
|
|
674
|
+
required: [
|
|
675
|
+
"bytes",
|
|
676
|
+
"ints"
|
|
677
|
+
],
|
|
585
678
|
type: "object"
|
|
586
679
|
}
|
|
587
680
|
},
|
|
681
|
+
required: [
|
|
682
|
+
"global",
|
|
683
|
+
"local"
|
|
684
|
+
],
|
|
588
685
|
type: "object"
|
|
589
686
|
}
|
|
590
687
|
},
|
|
688
|
+
required: [
|
|
689
|
+
"keys",
|
|
690
|
+
"maps",
|
|
691
|
+
"schema"
|
|
692
|
+
],
|
|
591
693
|
type: "object"
|
|
592
694
|
},
|
|
593
695
|
structs: {
|
|
@@ -597,7 +699,7 @@ var properties = {
|
|
|
597
699
|
},
|
|
598
700
|
type: "array"
|
|
599
701
|
},
|
|
600
|
-
description: "Named structs
|
|
702
|
+
description: "Named structs used by the application. Each struct field appears in the same order as ABI encoding.",
|
|
601
703
|
type: "object"
|
|
602
704
|
},
|
|
603
705
|
templateVariables: {
|
|
@@ -608,22 +710,34 @@ var properties = {
|
|
|
608
710
|
type: "string"
|
|
609
711
|
},
|
|
610
712
|
value: {
|
|
611
|
-
description: "If given, the
|
|
713
|
+
description: "If given, the base64 encoded value used for the given app/program",
|
|
612
714
|
type: "string"
|
|
613
715
|
}
|
|
614
716
|
},
|
|
717
|
+
required: [
|
|
718
|
+
"type"
|
|
719
|
+
],
|
|
615
720
|
type: "object"
|
|
616
721
|
},
|
|
617
|
-
description: "A mapping of template variable names as they appear in the
|
|
722
|
+
description: "A mapping of template variable names as they appear in the TEAL (not including TMPL_ prefix) to their respecive types and values (if applicable)",
|
|
618
723
|
type: "object"
|
|
619
724
|
}
|
|
620
725
|
};
|
|
726
|
+
var required = [
|
|
727
|
+
"arcs",
|
|
728
|
+
"name",
|
|
729
|
+
"structs",
|
|
730
|
+
"methods",
|
|
731
|
+
"state",
|
|
732
|
+
"bareActions"
|
|
733
|
+
];
|
|
621
734
|
var type = "object";
|
|
622
735
|
var arc56Schema = {
|
|
623
736
|
$schema: $schema,
|
|
624
737
|
definitions: definitions,
|
|
625
738
|
description: description,
|
|
626
739
|
properties: properties,
|
|
740
|
+
required: required,
|
|
627
741
|
type: type
|
|
628
742
|
};
|
|
629
743
|
|
|
@@ -632,5 +746,6 @@ exports.default = arc56Schema;
|
|
|
632
746
|
exports.definitions = definitions;
|
|
633
747
|
exports.description = description;
|
|
634
748
|
exports.properties = properties;
|
|
749
|
+
exports.required = required;
|
|
635
750
|
exports.type = type;
|
|
636
751
|
//# sourceMappingURL=arc56.schema.json.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"arc56.schema.json.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"arc56.schema.json.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -23,6 +23,9 @@ var definitions = {
|
|
|
23
23
|
type: "string"
|
|
24
24
|
}
|
|
25
25
|
},
|
|
26
|
+
required: [
|
|
27
|
+
"type"
|
|
28
|
+
],
|
|
26
29
|
type: "object"
|
|
27
30
|
},
|
|
28
31
|
type: "array"
|
|
@@ -36,6 +39,10 @@ var definitions = {
|
|
|
36
39
|
type: "string"
|
|
37
40
|
}
|
|
38
41
|
},
|
|
42
|
+
required: [
|
|
43
|
+
"name",
|
|
44
|
+
"args"
|
|
45
|
+
],
|
|
39
46
|
type: "object"
|
|
40
47
|
},
|
|
41
48
|
Method: {
|
|
@@ -110,6 +117,10 @@ var definitions = {
|
|
|
110
117
|
type: "string"
|
|
111
118
|
}
|
|
112
119
|
},
|
|
120
|
+
required: [
|
|
121
|
+
"source",
|
|
122
|
+
"data"
|
|
123
|
+
],
|
|
113
124
|
type: "object"
|
|
114
125
|
},
|
|
115
126
|
desc: {
|
|
@@ -129,6 +140,9 @@ var definitions = {
|
|
|
129
140
|
type: "string"
|
|
130
141
|
}
|
|
131
142
|
},
|
|
143
|
+
required: [
|
|
144
|
+
"type"
|
|
145
|
+
],
|
|
132
146
|
type: "object"
|
|
133
147
|
},
|
|
134
148
|
type: "array"
|
|
@@ -196,6 +210,11 @@ var definitions = {
|
|
|
196
210
|
type: "number"
|
|
197
211
|
}
|
|
198
212
|
},
|
|
213
|
+
required: [
|
|
214
|
+
"key",
|
|
215
|
+
"readBytes",
|
|
216
|
+
"writeBytes"
|
|
217
|
+
],
|
|
199
218
|
type: "object"
|
|
200
219
|
},
|
|
201
220
|
innerTransactionCount: {
|
|
@@ -221,9 +240,18 @@ var definitions = {
|
|
|
221
240
|
type: "string"
|
|
222
241
|
}
|
|
223
242
|
},
|
|
243
|
+
required: [
|
|
244
|
+
"type"
|
|
245
|
+
],
|
|
224
246
|
type: "object"
|
|
225
247
|
}
|
|
226
248
|
},
|
|
249
|
+
required: [
|
|
250
|
+
"name",
|
|
251
|
+
"args",
|
|
252
|
+
"returns",
|
|
253
|
+
"actions"
|
|
254
|
+
],
|
|
227
255
|
type: "object"
|
|
228
256
|
},
|
|
229
257
|
ProgramSourceInfo: {
|
|
@@ -244,6 +272,10 @@ var definitions = {
|
|
|
244
272
|
type: "array"
|
|
245
273
|
}
|
|
246
274
|
},
|
|
275
|
+
required: [
|
|
276
|
+
"pcOffsetMethod",
|
|
277
|
+
"sourceInfo"
|
|
278
|
+
],
|
|
247
279
|
type: "object"
|
|
248
280
|
},
|
|
249
281
|
SourceInfo: {
|
|
@@ -268,6 +300,9 @@ var definitions = {
|
|
|
268
300
|
type: "number"
|
|
269
301
|
}
|
|
270
302
|
},
|
|
303
|
+
required: [
|
|
304
|
+
"pc"
|
|
305
|
+
],
|
|
271
306
|
type: "object"
|
|
272
307
|
},
|
|
273
308
|
StorageKey: {
|
|
@@ -290,6 +325,11 @@ var definitions = {
|
|
|
290
325
|
type: "string"
|
|
291
326
|
}
|
|
292
327
|
},
|
|
328
|
+
required: [
|
|
329
|
+
"key",
|
|
330
|
+
"keyType",
|
|
331
|
+
"valueType"
|
|
332
|
+
],
|
|
293
333
|
type: "object"
|
|
294
334
|
},
|
|
295
335
|
StorageMap: {
|
|
@@ -312,6 +352,10 @@ var definitions = {
|
|
|
312
352
|
type: "string"
|
|
313
353
|
}
|
|
314
354
|
},
|
|
355
|
+
required: [
|
|
356
|
+
"keyType",
|
|
357
|
+
"valueType"
|
|
358
|
+
],
|
|
315
359
|
type: "object"
|
|
316
360
|
},
|
|
317
361
|
StructField: {
|
|
@@ -336,13 +380,17 @@ var definitions = {
|
|
|
336
380
|
description: "The type of the struct field's value"
|
|
337
381
|
}
|
|
338
382
|
},
|
|
383
|
+
required: [
|
|
384
|
+
"name",
|
|
385
|
+
"type"
|
|
386
|
+
],
|
|
339
387
|
type: "object"
|
|
340
388
|
}
|
|
341
389
|
};
|
|
342
390
|
var description = "Describes the entire contract. This interface is an extension of the interface described in ARC-4";
|
|
343
391
|
var properties = {
|
|
344
392
|
arcs: {
|
|
345
|
-
description: "The ARCs used and/or supported by this contract. All contracts
|
|
393
|
+
description: "The ARCs used and/or supported by this contract. All contracts implicitly support ARC4 and ARC56",
|
|
346
394
|
items: {
|
|
347
395
|
type: "number"
|
|
348
396
|
},
|
|
@@ -379,6 +427,10 @@ var properties = {
|
|
|
379
427
|
type: "array"
|
|
380
428
|
}
|
|
381
429
|
},
|
|
430
|
+
required: [
|
|
431
|
+
"create",
|
|
432
|
+
"call"
|
|
433
|
+
],
|
|
382
434
|
type: "object"
|
|
383
435
|
},
|
|
384
436
|
byteCode: {
|
|
@@ -393,6 +445,10 @@ var properties = {
|
|
|
393
445
|
type: "string"
|
|
394
446
|
}
|
|
395
447
|
},
|
|
448
|
+
required: [
|
|
449
|
+
"approval",
|
|
450
|
+
"clear"
|
|
451
|
+
],
|
|
396
452
|
type: "object"
|
|
397
453
|
},
|
|
398
454
|
compilerInfo: {
|
|
@@ -425,6 +481,10 @@ var properties = {
|
|
|
425
481
|
type: "object"
|
|
426
482
|
}
|
|
427
483
|
},
|
|
484
|
+
required: [
|
|
485
|
+
"compiler",
|
|
486
|
+
"compilerVersion"
|
|
487
|
+
],
|
|
428
488
|
type: "object"
|
|
429
489
|
},
|
|
430
490
|
desc: {
|
|
@@ -457,9 +517,12 @@ var properties = {
|
|
|
457
517
|
type: "number"
|
|
458
518
|
}
|
|
459
519
|
},
|
|
520
|
+
required: [
|
|
521
|
+
"appID"
|
|
522
|
+
],
|
|
460
523
|
type: "object"
|
|
461
524
|
},
|
|
462
|
-
description: "Optional object listing the contract instances across different networks.\nThe key is the base64 genesis hash of the network, and the value contains\ninformation about the deployed contract in the network indicated by the\nkey. A key containing the human-readable name of the network MAY be\nincluded, but the corresponding genesis hash key MUST also be
|
|
525
|
+
description: "Optional object listing the contract instances across different networks.\nThe key is the base64 genesis hash of the network, and the value contains\ninformation about the deployed contract in the network indicated by the\nkey. A key containing the human-readable name of the network MAY be\nincluded, but the corresponding genesis hash key MUST also be defined",
|
|
463
526
|
type: "object"
|
|
464
527
|
},
|
|
465
528
|
scratchVariables: {
|
|
@@ -472,6 +535,10 @@ var properties = {
|
|
|
472
535
|
type: "string"
|
|
473
536
|
}
|
|
474
537
|
},
|
|
538
|
+
required: [
|
|
539
|
+
"slot",
|
|
540
|
+
"type"
|
|
541
|
+
],
|
|
475
542
|
type: "object"
|
|
476
543
|
},
|
|
477
544
|
description: "The scratch variables used during runtime",
|
|
@@ -489,6 +556,10 @@ var properties = {
|
|
|
489
556
|
type: "string"
|
|
490
557
|
}
|
|
491
558
|
},
|
|
559
|
+
required: [
|
|
560
|
+
"approval",
|
|
561
|
+
"clear"
|
|
562
|
+
],
|
|
492
563
|
type: "object"
|
|
493
564
|
},
|
|
494
565
|
sourceInfo: {
|
|
@@ -503,6 +574,10 @@ var properties = {
|
|
|
503
574
|
description: "Clear program information"
|
|
504
575
|
}
|
|
505
576
|
},
|
|
577
|
+
required: [
|
|
578
|
+
"approval",
|
|
579
|
+
"clear"
|
|
580
|
+
],
|
|
506
581
|
type: "object"
|
|
507
582
|
},
|
|
508
583
|
state: {
|
|
@@ -529,6 +604,11 @@ var properties = {
|
|
|
529
604
|
type: "object"
|
|
530
605
|
}
|
|
531
606
|
},
|
|
607
|
+
required: [
|
|
608
|
+
"box",
|
|
609
|
+
"global",
|
|
610
|
+
"local"
|
|
611
|
+
],
|
|
532
612
|
type: "object"
|
|
533
613
|
},
|
|
534
614
|
maps: {
|
|
@@ -553,6 +633,11 @@ var properties = {
|
|
|
553
633
|
type: "object"
|
|
554
634
|
}
|
|
555
635
|
},
|
|
636
|
+
required: [
|
|
637
|
+
"box",
|
|
638
|
+
"global",
|
|
639
|
+
"local"
|
|
640
|
+
],
|
|
556
641
|
type: "object"
|
|
557
642
|
},
|
|
558
643
|
schema: {
|
|
@@ -567,6 +652,10 @@ var properties = {
|
|
|
567
652
|
type: "number"
|
|
568
653
|
}
|
|
569
654
|
},
|
|
655
|
+
required: [
|
|
656
|
+
"bytes",
|
|
657
|
+
"ints"
|
|
658
|
+
],
|
|
570
659
|
type: "object"
|
|
571
660
|
},
|
|
572
661
|
local: {
|
|
@@ -578,12 +667,25 @@ var properties = {
|
|
|
578
667
|
type: "number"
|
|
579
668
|
}
|
|
580
669
|
},
|
|
670
|
+
required: [
|
|
671
|
+
"bytes",
|
|
672
|
+
"ints"
|
|
673
|
+
],
|
|
581
674
|
type: "object"
|
|
582
675
|
}
|
|
583
676
|
},
|
|
677
|
+
required: [
|
|
678
|
+
"global",
|
|
679
|
+
"local"
|
|
680
|
+
],
|
|
584
681
|
type: "object"
|
|
585
682
|
}
|
|
586
683
|
},
|
|
684
|
+
required: [
|
|
685
|
+
"keys",
|
|
686
|
+
"maps",
|
|
687
|
+
"schema"
|
|
688
|
+
],
|
|
587
689
|
type: "object"
|
|
588
690
|
},
|
|
589
691
|
structs: {
|
|
@@ -593,7 +695,7 @@ var properties = {
|
|
|
593
695
|
},
|
|
594
696
|
type: "array"
|
|
595
697
|
},
|
|
596
|
-
description: "Named structs
|
|
698
|
+
description: "Named structs used by the application. Each struct field appears in the same order as ABI encoding.",
|
|
597
699
|
type: "object"
|
|
598
700
|
},
|
|
599
701
|
templateVariables: {
|
|
@@ -604,24 +706,36 @@ var properties = {
|
|
|
604
706
|
type: "string"
|
|
605
707
|
},
|
|
606
708
|
value: {
|
|
607
|
-
description: "If given, the
|
|
709
|
+
description: "If given, the base64 encoded value used for the given app/program",
|
|
608
710
|
type: "string"
|
|
609
711
|
}
|
|
610
712
|
},
|
|
713
|
+
required: [
|
|
714
|
+
"type"
|
|
715
|
+
],
|
|
611
716
|
type: "object"
|
|
612
717
|
},
|
|
613
|
-
description: "A mapping of template variable names as they appear in the
|
|
718
|
+
description: "A mapping of template variable names as they appear in the TEAL (not including TMPL_ prefix) to their respecive types and values (if applicable)",
|
|
614
719
|
type: "object"
|
|
615
720
|
}
|
|
616
721
|
};
|
|
722
|
+
var required = [
|
|
723
|
+
"arcs",
|
|
724
|
+
"name",
|
|
725
|
+
"structs",
|
|
726
|
+
"methods",
|
|
727
|
+
"state",
|
|
728
|
+
"bareActions"
|
|
729
|
+
];
|
|
617
730
|
var type = "object";
|
|
618
731
|
var arc56Schema = {
|
|
619
732
|
$schema: $schema,
|
|
620
733
|
definitions: definitions,
|
|
621
734
|
description: description,
|
|
622
735
|
properties: properties,
|
|
736
|
+
required: required,
|
|
623
737
|
type: type
|
|
624
738
|
};
|
|
625
739
|
|
|
626
|
-
export { $schema, arc56Schema as default, definitions, description, properties, type };
|
|
740
|
+
export { $schema, arc56Schema as default, definitions, description, properties, required, type };
|
|
627
741
|
//# sourceMappingURL=arc56.schema.json.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"arc56.schema.json.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"arc56.schema.json.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|