algosdk 1.13.1 → 1.14.0-beta.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +6 -4
- package/dist/browser/algosdk.min.js +1 -1
- package/dist/browser/algosdk.min.js.map +1 -1
- package/dist/cjs/src/client/v2/algod/models/types.js +26 -4
- package/dist/cjs/src/client/v2/algod/models/types.js.map +1 -1
- package/dist/cjs/src/composer.js +5 -4
- package/dist/cjs/src/composer.js.map +1 -1
- package/dist/cjs/src/logic/langspec.json +456 -153
- package/dist/cjs/src/logicTemplates/dynamicfee.js +8 -0
- package/dist/cjs/src/logicTemplates/dynamicfee.js.map +1 -1
- package/dist/cjs/src/logicTemplates/htlc.js +5 -0
- package/dist/cjs/src/logicTemplates/htlc.js.map +1 -1
- package/dist/cjs/src/logicTemplates/limitorder.js +6 -0
- package/dist/cjs/src/logicTemplates/limitorder.js.map +1 -1
- package/dist/cjs/src/logicTemplates/periodicpayment.js +5 -0
- package/dist/cjs/src/logicTemplates/periodicpayment.js.map +1 -1
- package/dist/cjs/src/logicTemplates/split.js +6 -0
- package/dist/cjs/src/logicTemplates/split.js.map +1 -1
- package/dist/cjs/src/main.js +4 -1
- package/dist/cjs/src/main.js.map +1 -1
- package/dist/cjs/src/makeTxn.js +5 -4
- package/dist/cjs/src/makeTxn.js.map +1 -1
- package/dist/cjs/src/transaction.js +39 -7
- package/dist/cjs/src/transaction.js.map +1 -1
- package/dist/cjs/src/types/transactions/base.js +11 -2
- package/dist/cjs/src/types/transactions/base.js.map +1 -1
- package/dist/esm/src/client/v2/algod/models/types.js +26 -4
- package/dist/esm/src/client/v2/algod/models/types.js.map +1 -1
- package/dist/esm/src/composer.js +5 -4
- package/dist/esm/src/composer.js.map +1 -1
- package/dist/esm/src/logic/langspec.json +456 -153
- package/dist/esm/src/logicTemplates/dynamicfee.js +8 -0
- package/dist/esm/src/logicTemplates/dynamicfee.js.map +1 -1
- package/dist/esm/src/logicTemplates/htlc.js +5 -0
- package/dist/esm/src/logicTemplates/htlc.js.map +1 -1
- package/dist/esm/src/logicTemplates/limitorder.js +6 -0
- package/dist/esm/src/logicTemplates/limitorder.js.map +1 -1
- package/dist/esm/src/logicTemplates/periodicpayment.js +5 -0
- package/dist/esm/src/logicTemplates/periodicpayment.js.map +1 -1
- package/dist/esm/src/logicTemplates/split.js +6 -0
- package/dist/esm/src/logicTemplates/split.js.map +1 -1
- package/dist/esm/src/main.js +1 -0
- package/dist/esm/src/main.js.map +1 -1
- package/dist/esm/src/makeTxn.js +5 -4
- package/dist/esm/src/makeTxn.js.map +1 -1
- package/dist/esm/src/transaction.js +40 -8
- package/dist/esm/src/transaction.js.map +1 -1
- package/dist/esm/src/types/transactions/base.js +9 -1
- package/dist/esm/src/types/transactions/base.js.map +1 -1
- package/dist/types/src/client/v2/algod/models/types.d.ts +47 -5
- package/dist/types/src/composer.d.ts +2 -0
- package/dist/types/src/logicTemplates/dynamicfee.d.ts +8 -0
- package/dist/types/src/logicTemplates/htlc.d.ts +5 -0
- package/dist/types/src/logicTemplates/limitorder.d.ts +6 -0
- package/dist/types/src/logicTemplates/periodicpayment.d.ts +5 -0
- package/dist/types/src/logicTemplates/split.d.ts +6 -0
- package/dist/types/src/main.d.ts +1 -0
- package/dist/types/src/makeTxn.d.ts +11 -9
- package/dist/types/src/transaction.d.ts +3 -1
- package/dist/types/src/types/transactions/base.d.ts +10 -5
- package/dist/types/src/types/transactions/encoded.d.ts +4 -0
- package/dist/types/src/types/transactions/keyreg.d.ts +1 -1
- package/package.json +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"EvalMaxVersion":
|
|
2
|
+
"EvalMaxVersion": 6,
|
|
3
3
|
"LogicSigVersion": 5,
|
|
4
4
|
"Ops": [
|
|
5
5
|
{
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
"Name": "err",
|
|
8
8
|
"Cost": 1,
|
|
9
9
|
"Size": 1,
|
|
10
|
-
"Doc": "
|
|
10
|
+
"Doc": "Fail immediately.",
|
|
11
11
|
"Groups": ["Flow Control"]
|
|
12
12
|
},
|
|
13
13
|
{
|
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
"Returns": "B",
|
|
18
18
|
"Cost": 35,
|
|
19
19
|
"Size": 1,
|
|
20
|
-
"Doc": "SHA256 hash of value
|
|
20
|
+
"Doc": "SHA256 hash of value A, yields [32]byte",
|
|
21
21
|
"Groups": ["Arithmetic"]
|
|
22
22
|
},
|
|
23
23
|
{
|
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
"Returns": "B",
|
|
28
28
|
"Cost": 130,
|
|
29
29
|
"Size": 1,
|
|
30
|
-
"Doc": "Keccak256 hash of value
|
|
30
|
+
"Doc": "Keccak256 hash of value A, yields [32]byte",
|
|
31
31
|
"Groups": ["Arithmetic"]
|
|
32
32
|
},
|
|
33
33
|
{
|
|
@@ -37,7 +37,7 @@
|
|
|
37
37
|
"Returns": "B",
|
|
38
38
|
"Cost": 45,
|
|
39
39
|
"Size": 1,
|
|
40
|
-
"Doc": "SHA512_256 hash of value
|
|
40
|
+
"Doc": "SHA512_256 hash of value A, yields [32]byte",
|
|
41
41
|
"Groups": ["Arithmetic"]
|
|
42
42
|
},
|
|
43
43
|
{
|
|
@@ -70,7 +70,7 @@
|
|
|
70
70
|
"Returns": "BB",
|
|
71
71
|
"Cost": 650,
|
|
72
72
|
"Size": 2,
|
|
73
|
-
"Doc": "decompress pubkey A into components X, Y
|
|
73
|
+
"Doc": "decompress pubkey A into components X, Y",
|
|
74
74
|
"DocExtra": "The 33 byte public key in a compressed form to be decompressed into X and Y (top) components. All values are big-endian encoded.",
|
|
75
75
|
"ImmediateNote": "{uint8 curve index}",
|
|
76
76
|
"Groups": ["Arithmetic"]
|
|
@@ -82,7 +82,7 @@
|
|
|
82
82
|
"Returns": "BB",
|
|
83
83
|
"Cost": 2000,
|
|
84
84
|
"Size": 2,
|
|
85
|
-
"Doc": "for (data A, recovery id B, signature C, D) recover a public key
|
|
85
|
+
"Doc": "for (data A, recovery id B, signature C, D) recover a public key",
|
|
86
86
|
"DocExtra": "S (top) and R elements of a signature, recovery id and data (bottom) are expected on the stack and used to deriver a public key. All values are big-endian encoded. The signed data must be 32 bytes long.",
|
|
87
87
|
"ImmediateNote": "{uint8 curve index}",
|
|
88
88
|
"Groups": ["Arithmetic"]
|
|
@@ -217,7 +217,7 @@
|
|
|
217
217
|
"Returns": "U",
|
|
218
218
|
"Cost": 1,
|
|
219
219
|
"Size": 1,
|
|
220
|
-
"Doc": "
|
|
220
|
+
"Doc": "A == 0 yields 1; else 0",
|
|
221
221
|
"Groups": ["Arithmetic"]
|
|
222
222
|
},
|
|
223
223
|
{
|
|
@@ -227,7 +227,7 @@
|
|
|
227
227
|
"Returns": "U",
|
|
228
228
|
"Cost": 1,
|
|
229
229
|
"Size": 1,
|
|
230
|
-
"Doc": "yields length of byte value
|
|
230
|
+
"Doc": "yields length of byte value A",
|
|
231
231
|
"Groups": ["Arithmetic"]
|
|
232
232
|
},
|
|
233
233
|
{
|
|
@@ -237,7 +237,7 @@
|
|
|
237
237
|
"Returns": "B",
|
|
238
238
|
"Cost": 1,
|
|
239
239
|
"Size": 1,
|
|
240
|
-
"Doc": "converts uint64
|
|
240
|
+
"Doc": "converts uint64 A to big endian bytes",
|
|
241
241
|
"Groups": ["Arithmetic"]
|
|
242
242
|
},
|
|
243
243
|
{
|
|
@@ -247,7 +247,7 @@
|
|
|
247
247
|
"Returns": "U",
|
|
248
248
|
"Cost": 1,
|
|
249
249
|
"Size": 1,
|
|
250
|
-
"Doc": "converts bytes
|
|
250
|
+
"Doc": "converts bytes A as big endian to uint64",
|
|
251
251
|
"DocExtra": "`btoi` fails if the input is longer than 8 bytes.",
|
|
252
252
|
"Groups": ["Arithmetic"]
|
|
253
253
|
},
|
|
@@ -298,7 +298,7 @@
|
|
|
298
298
|
"Returns": "U",
|
|
299
299
|
"Cost": 1,
|
|
300
300
|
"Size": 1,
|
|
301
|
-
"Doc": "bitwise invert value
|
|
301
|
+
"Doc": "bitwise invert value A",
|
|
302
302
|
"Groups": ["Arithmetic"]
|
|
303
303
|
},
|
|
304
304
|
{
|
|
@@ -308,7 +308,7 @@
|
|
|
308
308
|
"Returns": "UU",
|
|
309
309
|
"Cost": 1,
|
|
310
310
|
"Size": 1,
|
|
311
|
-
"Doc": "A times B
|
|
311
|
+
"Doc": "A times B as a 128-bit result in two uint64s. X is the high 64 bits, Y is the low",
|
|
312
312
|
"Groups": ["Arithmetic"]
|
|
313
313
|
},
|
|
314
314
|
{
|
|
@@ -318,7 +318,7 @@
|
|
|
318
318
|
"Returns": "UU",
|
|
319
319
|
"Cost": 1,
|
|
320
320
|
"Size": 1,
|
|
321
|
-
"Doc": "A plus B
|
|
321
|
+
"Doc": "A plus B as a 128-bit result. X is the carry-bit, Y is the low-order 64 bits.",
|
|
322
322
|
"Groups": ["Arithmetic"]
|
|
323
323
|
},
|
|
324
324
|
{
|
|
@@ -328,7 +328,8 @@
|
|
|
328
328
|
"Returns": "UUUU",
|
|
329
329
|
"Cost": 20,
|
|
330
330
|
"Size": 1,
|
|
331
|
-
"Doc": "
|
|
331
|
+
"Doc": "W,X = (A,B / C,D); Y,Z = (A,B modulo C,D)",
|
|
332
|
+
"DocExtra": "The notation J,K indicates that two uint64 values J and K are interpreted as a uint128 value, with J as the high uint64 and K the low.",
|
|
332
333
|
"Groups": ["Arithmetic"]
|
|
333
334
|
},
|
|
334
335
|
{
|
|
@@ -347,7 +348,7 @@
|
|
|
347
348
|
"Returns": "U",
|
|
348
349
|
"Cost": 1,
|
|
349
350
|
"Size": 2,
|
|
350
|
-
"Doc": "
|
|
351
|
+
"Doc": "Ith constant from intcblock",
|
|
351
352
|
"ImmediateNote": "{uint8 int constant index}",
|
|
352
353
|
"Groups": ["Loading Values"]
|
|
353
354
|
},
|
|
@@ -357,7 +358,7 @@
|
|
|
357
358
|
"Returns": "U",
|
|
358
359
|
"Cost": 1,
|
|
359
360
|
"Size": 1,
|
|
360
|
-
"Doc": "
|
|
361
|
+
"Doc": "constant 0 from intcblock",
|
|
361
362
|
"Groups": ["Loading Values"]
|
|
362
363
|
},
|
|
363
364
|
{
|
|
@@ -366,7 +367,7 @@
|
|
|
366
367
|
"Returns": "U",
|
|
367
368
|
"Cost": 1,
|
|
368
369
|
"Size": 1,
|
|
369
|
-
"Doc": "
|
|
370
|
+
"Doc": "constant 1 from intcblock",
|
|
370
371
|
"Groups": ["Loading Values"]
|
|
371
372
|
},
|
|
372
373
|
{
|
|
@@ -375,7 +376,7 @@
|
|
|
375
376
|
"Returns": "U",
|
|
376
377
|
"Cost": 1,
|
|
377
378
|
"Size": 1,
|
|
378
|
-
"Doc": "
|
|
379
|
+
"Doc": "constant 2 from intcblock",
|
|
379
380
|
"Groups": ["Loading Values"]
|
|
380
381
|
},
|
|
381
382
|
{
|
|
@@ -384,7 +385,7 @@
|
|
|
384
385
|
"Returns": "U",
|
|
385
386
|
"Cost": 1,
|
|
386
387
|
"Size": 1,
|
|
387
|
-
"Doc": "
|
|
388
|
+
"Doc": "constant 3 from intcblock",
|
|
388
389
|
"Groups": ["Loading Values"]
|
|
389
390
|
},
|
|
390
391
|
{
|
|
@@ -403,7 +404,7 @@
|
|
|
403
404
|
"Returns": "B",
|
|
404
405
|
"Cost": 1,
|
|
405
406
|
"Size": 2,
|
|
406
|
-
"Doc": "
|
|
407
|
+
"Doc": "Ith constant from bytecblock",
|
|
407
408
|
"ImmediateNote": "{uint8 byte constant index}",
|
|
408
409
|
"Groups": ["Loading Values"]
|
|
409
410
|
},
|
|
@@ -413,7 +414,7 @@
|
|
|
413
414
|
"Returns": "B",
|
|
414
415
|
"Cost": 1,
|
|
415
416
|
"Size": 1,
|
|
416
|
-
"Doc": "
|
|
417
|
+
"Doc": "constant 0 from bytecblock",
|
|
417
418
|
"Groups": ["Loading Values"]
|
|
418
419
|
},
|
|
419
420
|
{
|
|
@@ -422,7 +423,7 @@
|
|
|
422
423
|
"Returns": "B",
|
|
423
424
|
"Cost": 1,
|
|
424
425
|
"Size": 1,
|
|
425
|
-
"Doc": "
|
|
426
|
+
"Doc": "constant 1 from bytecblock",
|
|
426
427
|
"Groups": ["Loading Values"]
|
|
427
428
|
},
|
|
428
429
|
{
|
|
@@ -431,7 +432,7 @@
|
|
|
431
432
|
"Returns": "B",
|
|
432
433
|
"Cost": 1,
|
|
433
434
|
"Size": 1,
|
|
434
|
-
"Doc": "
|
|
435
|
+
"Doc": "constant 2 from bytecblock",
|
|
435
436
|
"Groups": ["Loading Values"]
|
|
436
437
|
},
|
|
437
438
|
{
|
|
@@ -440,7 +441,7 @@
|
|
|
440
441
|
"Returns": "B",
|
|
441
442
|
"Cost": 1,
|
|
442
443
|
"Size": 1,
|
|
443
|
-
"Doc": "
|
|
444
|
+
"Doc": "constant 3 from bytecblock",
|
|
444
445
|
"Groups": ["Loading Values"]
|
|
445
446
|
},
|
|
446
447
|
{
|
|
@@ -449,7 +450,7 @@
|
|
|
449
450
|
"Returns": "B",
|
|
450
451
|
"Cost": 1,
|
|
451
452
|
"Size": 2,
|
|
452
|
-
"Doc": "
|
|
453
|
+
"Doc": "Nth LogicSig argument",
|
|
453
454
|
"ImmediateNote": "{uint8 arg index N}",
|
|
454
455
|
"Groups": ["Loading Values"]
|
|
455
456
|
},
|
|
@@ -459,7 +460,7 @@
|
|
|
459
460
|
"Returns": "B",
|
|
460
461
|
"Cost": 1,
|
|
461
462
|
"Size": 1,
|
|
462
|
-
"Doc": "
|
|
463
|
+
"Doc": "LogicSig argument 0",
|
|
463
464
|
"Groups": ["Loading Values"]
|
|
464
465
|
},
|
|
465
466
|
{
|
|
@@ -468,7 +469,7 @@
|
|
|
468
469
|
"Returns": "B",
|
|
469
470
|
"Cost": 1,
|
|
470
471
|
"Size": 1,
|
|
471
|
-
"Doc": "
|
|
472
|
+
"Doc": "LogicSig argument 1",
|
|
472
473
|
"Groups": ["Loading Values"]
|
|
473
474
|
},
|
|
474
475
|
{
|
|
@@ -477,7 +478,7 @@
|
|
|
477
478
|
"Returns": "B",
|
|
478
479
|
"Cost": 1,
|
|
479
480
|
"Size": 1,
|
|
480
|
-
"Doc": "
|
|
481
|
+
"Doc": "LogicSig argument 2",
|
|
481
482
|
"Groups": ["Loading Values"]
|
|
482
483
|
},
|
|
483
484
|
{
|
|
@@ -486,7 +487,7 @@
|
|
|
486
487
|
"Returns": "B",
|
|
487
488
|
"Cost": 1,
|
|
488
489
|
"Size": 1,
|
|
489
|
-
"Doc": "
|
|
490
|
+
"Doc": "LogicSig argument 3",
|
|
490
491
|
"Groups": ["Loading Values"]
|
|
491
492
|
},
|
|
492
493
|
{
|
|
@@ -557,10 +558,12 @@
|
|
|
557
558
|
"Logs",
|
|
558
559
|
"NumLogs",
|
|
559
560
|
"CreatedAssetID",
|
|
560
|
-
"CreatedApplicationID"
|
|
561
|
+
"CreatedApplicationID",
|
|
562
|
+
"LastLog",
|
|
563
|
+
"StateProofPK"
|
|
561
564
|
],
|
|
562
|
-
"ArgEnumTypes": "
|
|
563
|
-
"Doc": "
|
|
565
|
+
"ArgEnumTypes": "BUUUUBBBUBBBUUUBUUUBBBUBUUBUBUBBBUUUUBBBBBBBBUBUUUUUUUUUUUBUUUBB",
|
|
566
|
+
"Doc": "field F of current transaction",
|
|
564
567
|
"DocExtra": "FirstValidTime causes the program to fail. The field is reserved for future use.",
|
|
565
568
|
"ImmediateNote": "{uint8 transaction field index}",
|
|
566
569
|
"Groups": ["Loading Values"]
|
|
@@ -571,22 +574,7 @@
|
|
|
571
574
|
"Returns": ".",
|
|
572
575
|
"Cost": 1,
|
|
573
576
|
"Size": 2,
|
|
574
|
-
"
|
|
575
|
-
"MinTxnFee",
|
|
576
|
-
"MinBalance",
|
|
577
|
-
"MaxTxnLife",
|
|
578
|
-
"ZeroAddress",
|
|
579
|
-
"GroupSize",
|
|
580
|
-
"LogicSigVersion",
|
|
581
|
-
"Round",
|
|
582
|
-
"LatestTimestamp",
|
|
583
|
-
"CurrentApplicationID",
|
|
584
|
-
"CreatorAddress",
|
|
585
|
-
"CurrentApplicationAddress",
|
|
586
|
-
"GroupID"
|
|
587
|
-
],
|
|
588
|
-
"ArgEnumTypes": "UUUBUUUUUBBB",
|
|
589
|
-
"Doc": "push value from globals to stack",
|
|
577
|
+
"Doc": "global field F",
|
|
590
578
|
"ImmediateNote": "{uint8 global field index}",
|
|
591
579
|
"Groups": ["Loading Values"]
|
|
592
580
|
},
|
|
@@ -658,10 +646,12 @@
|
|
|
658
646
|
"Logs",
|
|
659
647
|
"NumLogs",
|
|
660
648
|
"CreatedAssetID",
|
|
661
|
-
"CreatedApplicationID"
|
|
649
|
+
"CreatedApplicationID",
|
|
650
|
+
"LastLog",
|
|
651
|
+
"StateProofPK"
|
|
662
652
|
],
|
|
663
|
-
"ArgEnumTypes": "
|
|
664
|
-
"Doc": "
|
|
653
|
+
"ArgEnumTypes": "BUUUUBBBUBBBUUUBUUUBBBUBUUBUBUBBBUUUUBBBBBBBBUBUUUUUUUUUUUBUUUBB",
|
|
654
|
+
"Doc": "field F of the Tth transaction in the current group",
|
|
665
655
|
"DocExtra": "for notes on transaction fields available, see `txn`. If this transaction is _i_ in the group, `gtxn i field` is equivalent to `txn field`.",
|
|
666
656
|
"ImmediateNote": "{uint8 transaction group index} {uint8 transaction field index}",
|
|
667
657
|
"Groups": ["Loading Values"]
|
|
@@ -672,7 +662,7 @@
|
|
|
672
662
|
"Returns": ".",
|
|
673
663
|
"Cost": 1,
|
|
674
664
|
"Size": 2,
|
|
675
|
-
"Doc": "
|
|
665
|
+
"Doc": "Ith scratch space value. All scratch spaces are 0 at program start.",
|
|
676
666
|
"ImmediateNote": "{uint8 position in scratch space to load from}",
|
|
677
667
|
"Groups": ["Loading Values"]
|
|
678
668
|
},
|
|
@@ -682,7 +672,7 @@
|
|
|
682
672
|
"Args": ".",
|
|
683
673
|
"Cost": 1,
|
|
684
674
|
"Size": 2,
|
|
685
|
-
"Doc": "
|
|
675
|
+
"Doc": "store A to the Ith scratch space",
|
|
686
676
|
"ImmediateNote": "{uint8 position in scratch space to store to}",
|
|
687
677
|
"Groups": ["Loading Values"]
|
|
688
678
|
},
|
|
@@ -700,7 +690,7 @@
|
|
|
700
690
|
"Logs"
|
|
701
691
|
],
|
|
702
692
|
"ArgEnumTypes": "BBUUB",
|
|
703
|
-
"Doc": "
|
|
693
|
+
"Doc": "Ith value of the array field F of the current transaction",
|
|
704
694
|
"ImmediateNote": "{uint8 transaction field index} {uint8 transaction field array index}",
|
|
705
695
|
"Groups": ["Loading Values"]
|
|
706
696
|
},
|
|
@@ -718,7 +708,7 @@
|
|
|
718
708
|
"Logs"
|
|
719
709
|
],
|
|
720
710
|
"ArgEnumTypes": "BBUUB",
|
|
721
|
-
"Doc": "
|
|
711
|
+
"Doc": "Ith value of the array field F from the Tth transaction in the current group",
|
|
722
712
|
"ImmediateNote": "{uint8 transaction group index} {uint8 transaction field index} {uint8 transaction field array index}",
|
|
723
713
|
"Groups": ["Loading Values"]
|
|
724
714
|
},
|
|
@@ -791,10 +781,12 @@
|
|
|
791
781
|
"Logs",
|
|
792
782
|
"NumLogs",
|
|
793
783
|
"CreatedAssetID",
|
|
794
|
-
"CreatedApplicationID"
|
|
784
|
+
"CreatedApplicationID",
|
|
785
|
+
"LastLog",
|
|
786
|
+
"StateProofPK"
|
|
795
787
|
],
|
|
796
|
-
"ArgEnumTypes": "
|
|
797
|
-
"Doc": "
|
|
788
|
+
"ArgEnumTypes": "BUUUUBBBUBBBUUUBUUUBBBUBUUBUBUBBBUUUUBBBBBBBBUBUUUUUUUUUUUBUUUBB",
|
|
789
|
+
"Doc": "field F of the Ath transaction in the current group",
|
|
798
790
|
"DocExtra": "for notes on transaction fields available, see `txn`. If top of stack is _i_, `gtxns field` is equivalent to `gtxn _i_ field`. gtxns exists so that _i_ can be calculated, often based on the index of the current transaction.",
|
|
799
791
|
"ImmediateNote": "{uint8 transaction field index}",
|
|
800
792
|
"Groups": ["Loading Values"]
|
|
@@ -814,7 +806,7 @@
|
|
|
814
806
|
"Logs"
|
|
815
807
|
],
|
|
816
808
|
"ArgEnumTypes": "BBUUB",
|
|
817
|
-
"Doc": "
|
|
809
|
+
"Doc": "Ith value of the array field F from the Ath transaction in the current group",
|
|
818
810
|
"ImmediateNote": "{uint8 transaction field index} {uint8 transaction field array index}",
|
|
819
811
|
"Groups": ["Loading Values"]
|
|
820
812
|
},
|
|
@@ -824,7 +816,7 @@
|
|
|
824
816
|
"Returns": ".",
|
|
825
817
|
"Cost": 1,
|
|
826
818
|
"Size": 3,
|
|
827
|
-
"Doc": "
|
|
819
|
+
"Doc": "Ith scratch space value of the Tth transaction in the current group",
|
|
828
820
|
"DocExtra": "`gload` fails unless the requested transaction is an ApplicationCall and T \u003c GroupIndex.",
|
|
829
821
|
"ImmediateNote": "{uint8 transaction group index} {uint8 position in scratch space to load from}",
|
|
830
822
|
"Groups": ["Loading Values"]
|
|
@@ -836,8 +828,8 @@
|
|
|
836
828
|
"Returns": ".",
|
|
837
829
|
"Cost": 1,
|
|
838
830
|
"Size": 2,
|
|
839
|
-
"Doc": "
|
|
840
|
-
"DocExtra": "`gloads` fails unless the requested transaction is an ApplicationCall and
|
|
831
|
+
"Doc": "Ith scratch space value of the Ath transaction in the current group",
|
|
832
|
+
"DocExtra": "`gloads` fails unless the requested transaction is an ApplicationCall and A \u003c GroupIndex.",
|
|
841
833
|
"ImmediateNote": "{uint8 position in scratch space to load from}",
|
|
842
834
|
"Groups": ["Loading Values"]
|
|
843
835
|
},
|
|
@@ -847,7 +839,7 @@
|
|
|
847
839
|
"Returns": "U",
|
|
848
840
|
"Cost": 1,
|
|
849
841
|
"Size": 2,
|
|
850
|
-
"Doc": "
|
|
842
|
+
"Doc": "ID of the asset or application created in the Tth transaction of the current group",
|
|
851
843
|
"DocExtra": "`gaid` fails unless the requested transaction created an asset or application and T \u003c GroupIndex.",
|
|
852
844
|
"ImmediateNote": "{uint8 transaction group index}",
|
|
853
845
|
"Groups": ["Loading Values"]
|
|
@@ -859,8 +851,8 @@
|
|
|
859
851
|
"Returns": "U",
|
|
860
852
|
"Cost": 1,
|
|
861
853
|
"Size": 1,
|
|
862
|
-
"Doc": "
|
|
863
|
-
"DocExtra": "`gaids` fails unless the requested transaction created an asset or application and
|
|
854
|
+
"Doc": "ID of the asset or application created in the Ath transaction of the current group",
|
|
855
|
+
"DocExtra": "`gaids` fails unless the requested transaction created an asset or application and A \u003c GroupIndex.",
|
|
864
856
|
"Groups": ["Loading Values"]
|
|
865
857
|
},
|
|
866
858
|
{
|
|
@@ -870,7 +862,7 @@
|
|
|
870
862
|
"Returns": ".",
|
|
871
863
|
"Cost": 1,
|
|
872
864
|
"Size": 1,
|
|
873
|
-
"Doc": "
|
|
865
|
+
"Doc": "Ath scratch space value. All scratch spaces are 0 at program start.",
|
|
874
866
|
"Groups": ["Loading Values"]
|
|
875
867
|
},
|
|
876
868
|
{
|
|
@@ -879,7 +871,7 @@
|
|
|
879
871
|
"Args": "U.",
|
|
880
872
|
"Cost": 1,
|
|
881
873
|
"Size": 1,
|
|
882
|
-
"Doc": "
|
|
874
|
+
"Doc": "store B to the Ath scratch space",
|
|
883
875
|
"Groups": ["Loading Values"]
|
|
884
876
|
},
|
|
885
877
|
{
|
|
@@ -888,7 +880,7 @@
|
|
|
888
880
|
"Args": "U",
|
|
889
881
|
"Cost": 1,
|
|
890
882
|
"Size": 3,
|
|
891
|
-
"Doc": "branch to TARGET if value
|
|
883
|
+
"Doc": "branch to TARGET if value A is not zero",
|
|
892
884
|
"DocExtra": "The `bnz` instruction opcode 0x40 is followed by two immediate data bytes which are a high byte first and low byte second which together form a 16 bit offset which the instruction may branch to. For a bnz instruction at `pc`, if the last element of the stack is not zero then branch to instruction at `pc + 3 + N`, else proceed to next instruction at `pc + 3`. Branch targets must be aligned instructions. (e.g. Branching to the second byte of a 2 byte op will be rejected.) Starting at v4, the offset is treated as a signed 16 bit integer allowing for backward branches and looping. In prior version (v1 to v3), branch offsets are limited to forward branches only, 0-0x7fff.\n\nAt v2 it became allowed to branch to the end of the program exactly after the last instruction: bnz to byte N (with 0-indexing) was illegal for a TEAL program with N bytes before v2, and is legal after it. This change eliminates the need for a last instruction of no-op as a branch target at the end. (Branching beyond the end--in other words, to a byte larger than N--is still illegal and will cause the program to fail.)",
|
|
893
885
|
"ImmediateNote": "{int16 branch offset, big endian}",
|
|
894
886
|
"Groups": ["Flow Control"]
|
|
@@ -899,7 +891,7 @@
|
|
|
899
891
|
"Args": "U",
|
|
900
892
|
"Cost": 1,
|
|
901
893
|
"Size": 3,
|
|
902
|
-
"Doc": "branch to TARGET if value
|
|
894
|
+
"Doc": "branch to TARGET if value A is zero",
|
|
903
895
|
"DocExtra": "See `bnz` for details on how branches work. `bz` inverts the behavior of `bnz`.",
|
|
904
896
|
"ImmediateNote": "{int16 branch offset, big endian}",
|
|
905
897
|
"Groups": ["Flow Control"]
|
|
@@ -920,7 +912,7 @@
|
|
|
920
912
|
"Args": "U",
|
|
921
913
|
"Cost": 1,
|
|
922
914
|
"Size": 1,
|
|
923
|
-
"Doc": "use
|
|
915
|
+
"Doc": "use A as success value; end",
|
|
924
916
|
"Groups": ["Flow Control"]
|
|
925
917
|
},
|
|
926
918
|
{
|
|
@@ -929,7 +921,7 @@
|
|
|
929
921
|
"Args": "U",
|
|
930
922
|
"Cost": 1,
|
|
931
923
|
"Size": 1,
|
|
932
|
-
"Doc": "immediately fail unless
|
|
924
|
+
"Doc": "immediately fail unless A is a non-zero number",
|
|
933
925
|
"Groups": ["Flow Control"]
|
|
934
926
|
},
|
|
935
927
|
{
|
|
@@ -938,7 +930,7 @@
|
|
|
938
930
|
"Args": ".",
|
|
939
931
|
"Cost": 1,
|
|
940
932
|
"Size": 1,
|
|
941
|
-
"Doc": "discard
|
|
933
|
+
"Doc": "discard A",
|
|
942
934
|
"Groups": ["Flow Control"]
|
|
943
935
|
},
|
|
944
936
|
{
|
|
@@ -948,7 +940,7 @@
|
|
|
948
940
|
"Returns": "..",
|
|
949
941
|
"Cost": 1,
|
|
950
942
|
"Size": 1,
|
|
951
|
-
"Doc": "duplicate
|
|
943
|
+
"Doc": "duplicate A",
|
|
952
944
|
"Groups": ["Flow Control"]
|
|
953
945
|
},
|
|
954
946
|
{
|
|
@@ -958,7 +950,7 @@
|
|
|
958
950
|
"Returns": "....",
|
|
959
951
|
"Cost": 1,
|
|
960
952
|
"Size": 1,
|
|
961
|
-
"Doc": "duplicate
|
|
953
|
+
"Doc": "duplicate A and B",
|
|
962
954
|
"Groups": ["Flow Control"]
|
|
963
955
|
},
|
|
964
956
|
{
|
|
@@ -968,7 +960,7 @@
|
|
|
968
960
|
"Returns": "..",
|
|
969
961
|
"Cost": 1,
|
|
970
962
|
"Size": 2,
|
|
971
|
-
"Doc": "
|
|
963
|
+
"Doc": "Nth value from the top of the stack. dig 0 is equivalent to dup",
|
|
972
964
|
"ImmediateNote": "{uint8 depth}",
|
|
973
965
|
"Groups": ["Flow Control"]
|
|
974
966
|
},
|
|
@@ -979,7 +971,7 @@
|
|
|
979
971
|
"Returns": "..",
|
|
980
972
|
"Cost": 1,
|
|
981
973
|
"Size": 1,
|
|
982
|
-
"Doc": "swaps
|
|
974
|
+
"Doc": "swaps A and B on stack",
|
|
983
975
|
"Groups": ["Flow Control"]
|
|
984
976
|
},
|
|
985
977
|
{
|
|
@@ -989,7 +981,7 @@
|
|
|
989
981
|
"Returns": ".",
|
|
990
982
|
"Cost": 1,
|
|
991
983
|
"Size": 1,
|
|
992
|
-
"Doc": "selects one of two values based on top-of-stack:
|
|
984
|
+
"Doc": "selects one of two values based on top-of-stack: B if C != 0, else A",
|
|
993
985
|
"Groups": ["Flow Control"]
|
|
994
986
|
},
|
|
995
987
|
{
|
|
@@ -1021,7 +1013,7 @@
|
|
|
1021
1013
|
"Returns": "B",
|
|
1022
1014
|
"Cost": 1,
|
|
1023
1015
|
"Size": 1,
|
|
1024
|
-
"Doc": "
|
|
1016
|
+
"Doc": "join A and B",
|
|
1025
1017
|
"DocExtra": "`concat` fails if the result would be greater than 4096 bytes.",
|
|
1026
1018
|
"Groups": ["Arithmetic"]
|
|
1027
1019
|
},
|
|
@@ -1032,9 +1024,9 @@
|
|
|
1032
1024
|
"Returns": "B",
|
|
1033
1025
|
"Cost": 1,
|
|
1034
1026
|
"Size": 3,
|
|
1035
|
-
"Doc": "
|
|
1027
|
+
"Doc": "A range of bytes from A starting at S up to but not including E. If E \u003c S, or either is larger than the array length, the program fails",
|
|
1036
1028
|
"ImmediateNote": "{uint8 start position} {uint8 end position}",
|
|
1037
|
-
"Groups": ["Byte Array
|
|
1029
|
+
"Groups": ["Byte Array Manipulation"]
|
|
1038
1030
|
},
|
|
1039
1031
|
{
|
|
1040
1032
|
"Opcode": 82,
|
|
@@ -1043,8 +1035,8 @@
|
|
|
1043
1035
|
"Returns": "B",
|
|
1044
1036
|
"Cost": 1,
|
|
1045
1037
|
"Size": 1,
|
|
1046
|
-
"Doc": "
|
|
1047
|
-
"Groups": ["Byte Array
|
|
1038
|
+
"Doc": "A range of bytes from A starting at B up to but not including C. If C \u003c B, or either is larger than the array length, the program fails",
|
|
1039
|
+
"Groups": ["Byte Array Manipulation"]
|
|
1048
1040
|
},
|
|
1049
1041
|
{
|
|
1050
1042
|
"Opcode": 83,
|
|
@@ -1053,7 +1045,7 @@
|
|
|
1053
1045
|
"Returns": "U",
|
|
1054
1046
|
"Cost": 1,
|
|
1055
1047
|
"Size": 1,
|
|
1056
|
-
"Doc": "
|
|
1048
|
+
"Doc": "Bth bit of (byte-array or integer) A.",
|
|
1057
1049
|
"DocExtra": "see explanation of bit ordering in setbit",
|
|
1058
1050
|
"Groups": ["Arithmetic"]
|
|
1059
1051
|
},
|
|
@@ -1064,7 +1056,7 @@
|
|
|
1064
1056
|
"Returns": ".",
|
|
1065
1057
|
"Cost": 1,
|
|
1066
1058
|
"Size": 1,
|
|
1067
|
-
"Doc": "
|
|
1059
|
+
"Doc": "Copy of (byte-array or integer) A, with the Bth bit set to (0 or 1) C",
|
|
1068
1060
|
"DocExtra": "When A is a uint64, index 0 is the least significant bit. Setting bit 3 to 1 on the integer 0 yields 8, or 2^3. When A is a byte array, index 0 is the leftmost bit of the leftmost byte. Setting bits 0 through 11 to 1 in a 4-byte-array of 0s yields the byte array 0xfff00000. Setting bit 3 to 1 on the 1-byte-array 0x00 yields the byte array 0x10.",
|
|
1069
1061
|
"Groups": ["Arithmetic"]
|
|
1070
1062
|
},
|
|
@@ -1075,7 +1067,7 @@
|
|
|
1075
1067
|
"Returns": "U",
|
|
1076
1068
|
"Cost": 1,
|
|
1077
1069
|
"Size": 1,
|
|
1078
|
-
"Doc": "
|
|
1070
|
+
"Doc": "Bth byte of A, as an integer",
|
|
1079
1071
|
"Groups": ["Arithmetic"]
|
|
1080
1072
|
},
|
|
1081
1073
|
{
|
|
@@ -1085,7 +1077,7 @@
|
|
|
1085
1077
|
"Returns": "B",
|
|
1086
1078
|
"Cost": 1,
|
|
1087
1079
|
"Size": 1,
|
|
1088
|
-
"Doc": "
|
|
1080
|
+
"Doc": "Copy of A with the Bth byte set to small integer (between 0..255) C",
|
|
1089
1081
|
"Groups": ["Arithmetic"]
|
|
1090
1082
|
},
|
|
1091
1083
|
{
|
|
@@ -1095,9 +1087,9 @@
|
|
|
1095
1087
|
"Returns": "B",
|
|
1096
1088
|
"Cost": 1,
|
|
1097
1089
|
"Size": 3,
|
|
1098
|
-
"Doc": "
|
|
1090
|
+
"Doc": "A range of bytes from A starting at S up to but not including S+L. If L is 0, then extract to the end of the string. If S or S+L is larger than the array length, the program fails",
|
|
1099
1091
|
"ImmediateNote": "{uint8 start position} {uint8 length}",
|
|
1100
|
-
"Groups": ["Byte Array
|
|
1092
|
+
"Groups": ["Byte Array Manipulation"]
|
|
1101
1093
|
},
|
|
1102
1094
|
{
|
|
1103
1095
|
"Opcode": 88,
|
|
@@ -1106,8 +1098,8 @@
|
|
|
1106
1098
|
"Returns": "B",
|
|
1107
1099
|
"Cost": 1,
|
|
1108
1100
|
"Size": 1,
|
|
1109
|
-
"Doc": "
|
|
1110
|
-
"Groups": ["Byte Array
|
|
1101
|
+
"Doc": "A range of bytes from A starting at B up to but not including B+C. If B+C is larger than the array length, the program fails",
|
|
1102
|
+
"Groups": ["Byte Array Manipulation"]
|
|
1111
1103
|
},
|
|
1112
1104
|
{
|
|
1113
1105
|
"Opcode": 89,
|
|
@@ -1116,8 +1108,8 @@
|
|
|
1116
1108
|
"Returns": "U",
|
|
1117
1109
|
"Cost": 1,
|
|
1118
1110
|
"Size": 1,
|
|
1119
|
-
"Doc": "
|
|
1120
|
-
"Groups": ["Byte Array
|
|
1111
|
+
"Doc": "A uint16 formed from a range of big-endian bytes from A starting at B up to but not including B+2. If B+2 is larger than the array length, the program fails",
|
|
1112
|
+
"Groups": ["Byte Array Manipulation"]
|
|
1121
1113
|
},
|
|
1122
1114
|
{
|
|
1123
1115
|
"Opcode": 90,
|
|
@@ -1126,8 +1118,8 @@
|
|
|
1126
1118
|
"Returns": "U",
|
|
1127
1119
|
"Cost": 1,
|
|
1128
1120
|
"Size": 1,
|
|
1129
|
-
"Doc": "
|
|
1130
|
-
"Groups": ["Byte Array
|
|
1121
|
+
"Doc": "A uint32 formed from a range of big-endian bytes from A starting at B up to but not including B+4. If B+4 is larger than the array length, the program fails",
|
|
1122
|
+
"Groups": ["Byte Array Manipulation"]
|
|
1131
1123
|
},
|
|
1132
1124
|
{
|
|
1133
1125
|
"Opcode": 91,
|
|
@@ -1136,8 +1128,8 @@
|
|
|
1136
1128
|
"Returns": "U",
|
|
1137
1129
|
"Cost": 1,
|
|
1138
1130
|
"Size": 1,
|
|
1139
|
-
"Doc": "
|
|
1140
|
-
"Groups": ["Byte Array
|
|
1131
|
+
"Doc": "A uint64 formed from a range of big-endian bytes from A starting at B up to but not including B+8. If B+8 is larger than the array length, the program fails",
|
|
1132
|
+
"Groups": ["Byte Array Manipulation"]
|
|
1141
1133
|
},
|
|
1142
1134
|
{
|
|
1143
1135
|
"Opcode": 96,
|
|
@@ -1147,7 +1139,7 @@
|
|
|
1147
1139
|
"Cost": 1,
|
|
1148
1140
|
"Size": 1,
|
|
1149
1141
|
"Doc": "get balance for account A, in microalgos. The balance is observed after the effects of previous transactions in the group, and after the fee for the current transaction is deducted.",
|
|
1150
|
-
"DocExtra": "params:
|
|
1142
|
+
"DocExtra": "params: Txn.Accounts offset (or, since v4, an _available_ account address), _available_ application id (or, since v4, a Txn.ForeignApps offset). Return: value.",
|
|
1151
1143
|
"Groups": ["State Access"]
|
|
1152
1144
|
},
|
|
1153
1145
|
{
|
|
@@ -1157,8 +1149,8 @@
|
|
|
1157
1149
|
"Returns": "U",
|
|
1158
1150
|
"Cost": 1,
|
|
1159
1151
|
"Size": 1,
|
|
1160
|
-
"Doc": "
|
|
1161
|
-
"DocExtra": "params: Txn.Accounts offset (or, since v4, an account address
|
|
1152
|
+
"Doc": "1 if account A is opted in to application B, else 0",
|
|
1153
|
+
"DocExtra": "params: Txn.Accounts offset (or, since v4, an _available_ account address), _available_ application id (or, since v4, a Txn.ForeignApps offset). Return: 1 if opted in and 0 otherwise.",
|
|
1162
1154
|
"Groups": ["State Access"]
|
|
1163
1155
|
},
|
|
1164
1156
|
{
|
|
@@ -1168,8 +1160,8 @@
|
|
|
1168
1160
|
"Returns": ".",
|
|
1169
1161
|
"Cost": 1,
|
|
1170
1162
|
"Size": 1,
|
|
1171
|
-
"Doc": "
|
|
1172
|
-
"DocExtra": "params: Txn.Accounts offset (or, since v4, an account address
|
|
1163
|
+
"Doc": "local state of the key B in the current application in account A",
|
|
1164
|
+
"DocExtra": "params: Txn.Accounts offset (or, since v4, an _available_ account address), state key. Return: value. The value is zero (of type uint64) if the key does not exist.",
|
|
1173
1165
|
"Groups": ["State Access"]
|
|
1174
1166
|
},
|
|
1175
1167
|
{
|
|
@@ -1179,8 +1171,8 @@
|
|
|
1179
1171
|
"Returns": ".U",
|
|
1180
1172
|
"Cost": 1,
|
|
1181
1173
|
"Size": 1,
|
|
1182
|
-
"Doc": "
|
|
1183
|
-
"DocExtra": "params: Txn.Accounts offset (or, since v4, an account address
|
|
1174
|
+
"Doc": "X is the local state of application B, key C in account A. Y is 1 if key existed, else 0",
|
|
1175
|
+
"DocExtra": "params: Txn.Accounts offset (or, since v4, an _available_ account address), _available_ application id (or, since v4, a Txn.ForeignApps offset), state key. Return: did_exist flag (top of the stack, 1 if the application and key existed and 0 otherwise), value. The value is zero (of type uint64) if the key does not exist.",
|
|
1184
1176
|
"Groups": ["State Access"]
|
|
1185
1177
|
},
|
|
1186
1178
|
{
|
|
@@ -1190,7 +1182,7 @@
|
|
|
1190
1182
|
"Returns": ".",
|
|
1191
1183
|
"Cost": 1,
|
|
1192
1184
|
"Size": 1,
|
|
1193
|
-
"Doc": "
|
|
1185
|
+
"Doc": "global state of the key A in the current application",
|
|
1194
1186
|
"DocExtra": "params: state key. Return: value. The value is zero (of type uint64) if the key does not exist.",
|
|
1195
1187
|
"Groups": ["State Access"]
|
|
1196
1188
|
},
|
|
@@ -1201,8 +1193,8 @@
|
|
|
1201
1193
|
"Returns": ".U",
|
|
1202
1194
|
"Cost": 1,
|
|
1203
1195
|
"Size": 1,
|
|
1204
|
-
"Doc": "
|
|
1205
|
-
"DocExtra": "params: Txn.ForeignApps offset (or, since v4, an application id
|
|
1196
|
+
"Doc": "X is the global state of application A, key B. Y is 1 if key existed, else 0",
|
|
1197
|
+
"DocExtra": "params: Txn.ForeignApps offset (or, since v4, an _available_ application id), state key. Return: did_exist flag (top of the stack, 1 if the application and key existed and 0 otherwise), value. The value is zero (of type uint64) if the key does not exist.",
|
|
1206
1198
|
"Groups": ["State Access"]
|
|
1207
1199
|
},
|
|
1208
1200
|
{
|
|
@@ -1211,8 +1203,8 @@
|
|
|
1211
1203
|
"Args": ".B.",
|
|
1212
1204
|
"Cost": 1,
|
|
1213
1205
|
"Size": 1,
|
|
1214
|
-
"Doc": "write to
|
|
1215
|
-
"DocExtra": "params: Txn.Accounts offset (or, since v4, an account address
|
|
1206
|
+
"Doc": "write C to key B in account A's local state of the current application",
|
|
1207
|
+
"DocExtra": "params: Txn.Accounts offset (or, since v4, an _available_ account address), state key, value.",
|
|
1216
1208
|
"Groups": ["State Access"]
|
|
1217
1209
|
},
|
|
1218
1210
|
{
|
|
@@ -1221,7 +1213,7 @@
|
|
|
1221
1213
|
"Args": "B.",
|
|
1222
1214
|
"Cost": 1,
|
|
1223
1215
|
"Size": 1,
|
|
1224
|
-
"Doc": "write key A
|
|
1216
|
+
"Doc": "write B to key A in the global state of the current application",
|
|
1225
1217
|
"Groups": ["State Access"]
|
|
1226
1218
|
},
|
|
1227
1219
|
{
|
|
@@ -1230,8 +1222,8 @@
|
|
|
1230
1222
|
"Args": ".B",
|
|
1231
1223
|
"Cost": 1,
|
|
1232
1224
|
"Size": 1,
|
|
1233
|
-
"Doc": "delete from account A local state
|
|
1234
|
-
"DocExtra": "params: Txn.Accounts offset (or, since v4, an account address
|
|
1225
|
+
"Doc": "delete key B from account A's local state of the current application",
|
|
1226
|
+
"DocExtra": "params: Txn.Accounts offset (or, since v4, an _available_ account address), state key.\n\nDeleting a key which is already absent has no effect on the application local state. (In particular, it does _not_ cause the program to fail.)",
|
|
1235
1227
|
"Groups": ["State Access"]
|
|
1236
1228
|
},
|
|
1237
1229
|
{
|
|
@@ -1240,7 +1232,7 @@
|
|
|
1240
1232
|
"Args": "B",
|
|
1241
1233
|
"Cost": 1,
|
|
1242
1234
|
"Size": 1,
|
|
1243
|
-
"Doc": "delete key A from
|
|
1235
|
+
"Doc": "delete key A from the global state of the current application",
|
|
1244
1236
|
"DocExtra": "params: state key.\n\nDeleting a key which is already absent has no effect on the application global state. (In particular, it does _not_ cause the program to fail.)",
|
|
1245
1237
|
"Groups": ["State Access"]
|
|
1246
1238
|
},
|
|
@@ -1253,8 +1245,8 @@
|
|
|
1253
1245
|
"Size": 2,
|
|
1254
1246
|
"ArgEnum": ["AssetBalance", "AssetFrozen"],
|
|
1255
1247
|
"ArgEnumTypes": "UU",
|
|
1256
|
-
"Doc": "
|
|
1257
|
-
"DocExtra": "params: Txn.Accounts offset (or, since v4, an
|
|
1248
|
+
"Doc": "X is field F from account A's holding of asset B. Y is 1 if A is opted into B, else 0",
|
|
1249
|
+
"DocExtra": "params: Txn.Accounts offset (or, since v4, an _available_ address), asset id (or, since v4, a Txn.ForeignAssets offset). Return: did_exist flag (1 if the asset existed and 0 otherwise), value.",
|
|
1258
1250
|
"ImmediateNote": "{uint8 asset holding field index}",
|
|
1259
1251
|
"Groups": ["State Access"]
|
|
1260
1252
|
},
|
|
@@ -1280,8 +1272,8 @@
|
|
|
1280
1272
|
"AssetCreator"
|
|
1281
1273
|
],
|
|
1282
1274
|
"ArgEnumTypes": "UUUBBBBBBBBB",
|
|
1283
|
-
"Doc": "
|
|
1284
|
-
"DocExtra": "params:
|
|
1275
|
+
"Doc": "X is field F from asset A. Y is 1 if A exists, else 0",
|
|
1276
|
+
"DocExtra": "params: Txn.ForeignAssets offset (or, since v4, an _available_ asset id. Return: did_exist flag (1 if the asset existed and 0 otherwise), value.",
|
|
1285
1277
|
"ImmediateNote": "{uint8 asset params field index}",
|
|
1286
1278
|
"Groups": ["State Access"]
|
|
1287
1279
|
},
|
|
@@ -1304,11 +1296,22 @@
|
|
|
1304
1296
|
"AppAddress"
|
|
1305
1297
|
],
|
|
1306
1298
|
"ArgEnumTypes": "BBUUUUUBB",
|
|
1307
|
-
"Doc": "
|
|
1308
|
-
"DocExtra": "params: Txn.ForeignApps offset or an app id
|
|
1299
|
+
"Doc": "X is field F from app A. Y is 1 if A exists, else 0",
|
|
1300
|
+
"DocExtra": "params: Txn.ForeignApps offset or an _available_ app id. Return: did_exist flag (1 if the application existed and 0 otherwise), value.",
|
|
1309
1301
|
"ImmediateNote": "{uint8 app params field index}",
|
|
1310
1302
|
"Groups": ["State Access"]
|
|
1311
1303
|
},
|
|
1304
|
+
{
|
|
1305
|
+
"Opcode": 115,
|
|
1306
|
+
"Name": "acct_params_get",
|
|
1307
|
+
"Args": ".",
|
|
1308
|
+
"Returns": ".U",
|
|
1309
|
+
"Cost": 1,
|
|
1310
|
+
"Size": 2,
|
|
1311
|
+
"Doc": "X is field F from account A. Y is 1 if A owns positive algos, else 0",
|
|
1312
|
+
"ImmediateNote": "{uint8 account params field index}",
|
|
1313
|
+
"Groups": ["State Access"]
|
|
1314
|
+
},
|
|
1312
1315
|
{
|
|
1313
1316
|
"Opcode": 120,
|
|
1314
1317
|
"Name": "min_balance",
|
|
@@ -1317,7 +1320,7 @@
|
|
|
1317
1320
|
"Cost": 1,
|
|
1318
1321
|
"Size": 1,
|
|
1319
1322
|
"Doc": "get minimum required balance for account A, in microalgos. Required balance is affected by [ASA](https://developer.algorand.org/docs/features/asa/#assets-overview) and [App](https://developer.algorand.org/docs/features/asc1/stateful/#minimum-balance-requirement-for-a-smart-contract) usage. When creating or opting into an app, the minimum balance grows before the app code runs, therefore the increase is visible there. When deleting or closing out, the minimum balance decreases after the app executes.",
|
|
1320
|
-
"DocExtra": "params:
|
|
1323
|
+
"DocExtra": "params: Txn.Accounts offset (or, since v4, an _available_ account address), _available_ application id (or, since v4, a Txn.ForeignApps offset). Return: value.",
|
|
1321
1324
|
"Groups": ["State Access"]
|
|
1322
1325
|
},
|
|
1323
1326
|
{
|
|
@@ -1326,7 +1329,7 @@
|
|
|
1326
1329
|
"Returns": "B",
|
|
1327
1330
|
"Cost": 1,
|
|
1328
1331
|
"Size": 0,
|
|
1329
|
-
"Doc": "
|
|
1332
|
+
"Doc": "immediate BYTES",
|
|
1330
1333
|
"DocExtra": "pushbytes args are not added to the bytecblock during assembly processes",
|
|
1331
1334
|
"ImmediateNote": "{varuint length} {bytes}",
|
|
1332
1335
|
"Groups": ["Loading Values"]
|
|
@@ -1337,7 +1340,7 @@
|
|
|
1337
1340
|
"Returns": "U",
|
|
1338
1341
|
"Cost": 1,
|
|
1339
1342
|
"Size": 0,
|
|
1340
|
-
"Doc": "
|
|
1343
|
+
"Doc": "immediate UINT",
|
|
1341
1344
|
"DocExtra": "pushint args are not added to the intcblock during assembly processes",
|
|
1342
1345
|
"ImmediateNote": "{varuint int}",
|
|
1343
1346
|
"Groups": ["Loading Values"]
|
|
@@ -1388,7 +1391,7 @@
|
|
|
1388
1391
|
"Returns": "U",
|
|
1389
1392
|
"Cost": 4,
|
|
1390
1393
|
"Size": 1,
|
|
1391
|
-
"Doc": "The largest integer
|
|
1394
|
+
"Doc": "The largest integer I such that I^2 \u003c= A",
|
|
1392
1395
|
"Groups": ["Arithmetic"]
|
|
1393
1396
|
},
|
|
1394
1397
|
{
|
|
@@ -1398,7 +1401,7 @@
|
|
|
1398
1401
|
"Returns": "U",
|
|
1399
1402
|
"Cost": 1,
|
|
1400
1403
|
"Size": 1,
|
|
1401
|
-
"Doc": "The highest set bit in
|
|
1404
|
+
"Doc": "The highest set bit in A. If A is a byte-array, it is interpreted as a big-endian unsigned integer. bitlen of 0 is 0, bitlen of 8 is 4",
|
|
1402
1405
|
"DocExtra": "bitlen interprets arrays as big-endian integers, unlike setbit/getbit",
|
|
1403
1406
|
"Groups": ["Arithmetic"]
|
|
1404
1407
|
},
|
|
@@ -1419,7 +1422,28 @@
|
|
|
1419
1422
|
"Returns": "UU",
|
|
1420
1423
|
"Cost": 10,
|
|
1421
1424
|
"Size": 1,
|
|
1422
|
-
"Doc": "A raised to the Bth power as a 128-bit
|
|
1425
|
+
"Doc": "A raised to the Bth power as a 128-bit result in two uint64s. X is the high 64 bits, Y is the low. Fail if A == B == 0 or if the results exceeds 2^128-1",
|
|
1426
|
+
"Groups": ["Arithmetic"]
|
|
1427
|
+
},
|
|
1428
|
+
{
|
|
1429
|
+
"Opcode": 150,
|
|
1430
|
+
"Name": "bsqrt",
|
|
1431
|
+
"Args": "B",
|
|
1432
|
+
"Returns": "B",
|
|
1433
|
+
"Cost": 40,
|
|
1434
|
+
"Size": 1,
|
|
1435
|
+
"Doc": "The largest integer I such that I^2 \u003c= A. A and I are interpreted as big-endian unsigned integers",
|
|
1436
|
+
"Groups": ["Byte Array Arithmetic"]
|
|
1437
|
+
},
|
|
1438
|
+
{
|
|
1439
|
+
"Opcode": 151,
|
|
1440
|
+
"Name": "divw",
|
|
1441
|
+
"Args": "UUU",
|
|
1442
|
+
"Returns": "U",
|
|
1443
|
+
"Cost": 1,
|
|
1444
|
+
"Size": 1,
|
|
1445
|
+
"Doc": "A,B / C. Fail if C == 0 or if result overflows.",
|
|
1446
|
+
"DocExtra": "The notation A,B indicates that A and B are interpreted as a uint128 value, with A as the high uint64 and B the low.",
|
|
1423
1447
|
"Groups": ["Arithmetic"]
|
|
1424
1448
|
},
|
|
1425
1449
|
{
|
|
@@ -1429,7 +1453,7 @@
|
|
|
1429
1453
|
"Returns": "B",
|
|
1430
1454
|
"Cost": 10,
|
|
1431
1455
|
"Size": 1,
|
|
1432
|
-
"Doc": "A plus B
|
|
1456
|
+
"Doc": "A plus B. A and B are interpreted as big-endian unsigned integers",
|
|
1433
1457
|
"Groups": ["Byte Array Arithmetic"]
|
|
1434
1458
|
},
|
|
1435
1459
|
{
|
|
@@ -1439,7 +1463,7 @@
|
|
|
1439
1463
|
"Returns": "B",
|
|
1440
1464
|
"Cost": 10,
|
|
1441
1465
|
"Size": 1,
|
|
1442
|
-
"Doc": "A minus B
|
|
1466
|
+
"Doc": "A minus B. A and B are interpreted as big-endian unsigned integers. Fail on underflow.",
|
|
1443
1467
|
"Groups": ["Byte Array Arithmetic"]
|
|
1444
1468
|
},
|
|
1445
1469
|
{
|
|
@@ -1449,7 +1473,7 @@
|
|
|
1449
1473
|
"Returns": "B",
|
|
1450
1474
|
"Cost": 20,
|
|
1451
1475
|
"Size": 1,
|
|
1452
|
-
"Doc": "A divided by B (truncated division)
|
|
1476
|
+
"Doc": "A divided by B (truncated division). A and B are interpreted as big-endian unsigned integers. Fail if B is zero.",
|
|
1453
1477
|
"Groups": ["Byte Array Arithmetic"]
|
|
1454
1478
|
},
|
|
1455
1479
|
{
|
|
@@ -1459,7 +1483,7 @@
|
|
|
1459
1483
|
"Returns": "B",
|
|
1460
1484
|
"Cost": 20,
|
|
1461
1485
|
"Size": 1,
|
|
1462
|
-
"Doc": "A times B
|
|
1486
|
+
"Doc": "A times B. A and B are interpreted as big-endian unsigned integers.",
|
|
1463
1487
|
"Groups": ["Byte Array Arithmetic"]
|
|
1464
1488
|
},
|
|
1465
1489
|
{
|
|
@@ -1469,7 +1493,7 @@
|
|
|
1469
1493
|
"Returns": "U",
|
|
1470
1494
|
"Cost": 1,
|
|
1471
1495
|
"Size": 1,
|
|
1472
|
-
"Doc": "A is less than B,
|
|
1496
|
+
"Doc": "1 if A is less than B, else 0. A and B are interpreted as big-endian unsigned integers",
|
|
1473
1497
|
"Groups": ["Byte Array Arithmetic"]
|
|
1474
1498
|
},
|
|
1475
1499
|
{
|
|
@@ -1479,7 +1503,7 @@
|
|
|
1479
1503
|
"Returns": "U",
|
|
1480
1504
|
"Cost": 1,
|
|
1481
1505
|
"Size": 1,
|
|
1482
|
-
"Doc": "A is greater than B,
|
|
1506
|
+
"Doc": "1 if A is greater than B, else 0. A and B are interpreted as big-endian unsigned integers",
|
|
1483
1507
|
"Groups": ["Byte Array Arithmetic"]
|
|
1484
1508
|
},
|
|
1485
1509
|
{
|
|
@@ -1489,7 +1513,7 @@
|
|
|
1489
1513
|
"Returns": "U",
|
|
1490
1514
|
"Cost": 1,
|
|
1491
1515
|
"Size": 1,
|
|
1492
|
-
"Doc": "A is less than or equal to B,
|
|
1516
|
+
"Doc": "1 if A is less than or equal to B, else 0. A and B are interpreted as big-endian unsigned integers",
|
|
1493
1517
|
"Groups": ["Byte Array Arithmetic"]
|
|
1494
1518
|
},
|
|
1495
1519
|
{
|
|
@@ -1499,7 +1523,7 @@
|
|
|
1499
1523
|
"Returns": "U",
|
|
1500
1524
|
"Cost": 1,
|
|
1501
1525
|
"Size": 1,
|
|
1502
|
-
"Doc": "A is greater than or equal to B,
|
|
1526
|
+
"Doc": "1 if A is greater than or equal to B, else 0. A and B are interpreted as big-endian unsigned integers",
|
|
1503
1527
|
"Groups": ["Byte Array Arithmetic"]
|
|
1504
1528
|
},
|
|
1505
1529
|
{
|
|
@@ -1509,7 +1533,7 @@
|
|
|
1509
1533
|
"Returns": "U",
|
|
1510
1534
|
"Cost": 1,
|
|
1511
1535
|
"Size": 1,
|
|
1512
|
-
"Doc": "A is
|
|
1536
|
+
"Doc": "1 if A is equal to B, else 0. A and B are interpreted as big-endian unsigned integers",
|
|
1513
1537
|
"Groups": ["Byte Array Arithmetic"]
|
|
1514
1538
|
},
|
|
1515
1539
|
{
|
|
@@ -1519,7 +1543,7 @@
|
|
|
1519
1543
|
"Returns": "U",
|
|
1520
1544
|
"Cost": 1,
|
|
1521
1545
|
"Size": 1,
|
|
1522
|
-
"Doc": "A is
|
|
1546
|
+
"Doc": "0 if A is equal to B, else 1. A and B are interpreted as big-endian unsigned integers",
|
|
1523
1547
|
"Groups": ["Byte Array Arithmetic"]
|
|
1524
1548
|
},
|
|
1525
1549
|
{
|
|
@@ -1529,7 +1553,7 @@
|
|
|
1529
1553
|
"Returns": "B",
|
|
1530
1554
|
"Cost": 20,
|
|
1531
1555
|
"Size": 1,
|
|
1532
|
-
"Doc": "A modulo B
|
|
1556
|
+
"Doc": "A modulo B. A and B are interpreted as big-endian unsigned integers. Fail if B is zero.",
|
|
1533
1557
|
"Groups": ["Byte Array Arithmetic"]
|
|
1534
1558
|
},
|
|
1535
1559
|
{
|
|
@@ -1539,7 +1563,7 @@
|
|
|
1539
1563
|
"Returns": "B",
|
|
1540
1564
|
"Cost": 6,
|
|
1541
1565
|
"Size": 1,
|
|
1542
|
-
"Doc": "A bitwise-or B
|
|
1566
|
+
"Doc": "A bitwise-or B. A and B are zero-left extended to the greater of their lengths",
|
|
1543
1567
|
"Groups": ["Byte Array Logic"]
|
|
1544
1568
|
},
|
|
1545
1569
|
{
|
|
@@ -1549,7 +1573,7 @@
|
|
|
1549
1573
|
"Returns": "B",
|
|
1550
1574
|
"Cost": 6,
|
|
1551
1575
|
"Size": 1,
|
|
1552
|
-
"Doc": "A bitwise-and B
|
|
1576
|
+
"Doc": "A bitwise-and B. A and B are zero-left extended to the greater of their lengths",
|
|
1553
1577
|
"Groups": ["Byte Array Logic"]
|
|
1554
1578
|
},
|
|
1555
1579
|
{
|
|
@@ -1559,7 +1583,7 @@
|
|
|
1559
1583
|
"Returns": "B",
|
|
1560
1584
|
"Cost": 6,
|
|
1561
1585
|
"Size": 1,
|
|
1562
|
-
"Doc": "A bitwise-xor B
|
|
1586
|
+
"Doc": "A bitwise-xor B. A and B are zero-left extended to the greater of their lengths",
|
|
1563
1587
|
"Groups": ["Byte Array Logic"]
|
|
1564
1588
|
},
|
|
1565
1589
|
{
|
|
@@ -1569,7 +1593,7 @@
|
|
|
1569
1593
|
"Returns": "B",
|
|
1570
1594
|
"Cost": 4,
|
|
1571
1595
|
"Size": 1,
|
|
1572
|
-
"Doc": "
|
|
1596
|
+
"Doc": "A with all bits inverted",
|
|
1573
1597
|
"Groups": ["Byte Array Logic"]
|
|
1574
1598
|
},
|
|
1575
1599
|
{
|
|
@@ -1579,7 +1603,7 @@
|
|
|
1579
1603
|
"Returns": "B",
|
|
1580
1604
|
"Cost": 1,
|
|
1581
1605
|
"Size": 1,
|
|
1582
|
-
"Doc": "
|
|
1606
|
+
"Doc": "zero filled byte-array of length A",
|
|
1583
1607
|
"Groups": ["Loading Values"]
|
|
1584
1608
|
},
|
|
1585
1609
|
{
|
|
@@ -1588,7 +1612,7 @@
|
|
|
1588
1612
|
"Args": "B",
|
|
1589
1613
|
"Cost": 1,
|
|
1590
1614
|
"Size": 1,
|
|
1591
|
-
"Doc": "write
|
|
1615
|
+
"Doc": "write A to log state of the current application",
|
|
1592
1616
|
"DocExtra": "`log` fails if called more than MaxLogCalls times in a program, or if the sum of logged bytes exceeds 1024 bytes.",
|
|
1593
1617
|
"Groups": ["State Access"]
|
|
1594
1618
|
},
|
|
@@ -1597,8 +1621,8 @@
|
|
|
1597
1621
|
"Name": "itxn_begin",
|
|
1598
1622
|
"Cost": 1,
|
|
1599
1623
|
"Size": 1,
|
|
1600
|
-
"Doc": "
|
|
1601
|
-
"DocExtra": "`itxn_begin` initializes Sender to the application address; Fee to the minimum allowable, taking into account MinTxnFee and credit from overpaying in earlier transactions; FirstValid/LastValid to the values in the
|
|
1624
|
+
"Doc": "begin preparation of a new inner transaction in a new transaction group",
|
|
1625
|
+
"DocExtra": "`itxn_begin` initializes Sender to the application address; Fee to the minimum allowable, taking into account MinTxnFee and credit from overpaying in earlier transactions; FirstValid/LastValid to the values in the invoking transaction, and all other fields to zero or empty values.",
|
|
1602
1626
|
"Groups": ["Inner Transactions"]
|
|
1603
1627
|
},
|
|
1604
1628
|
{
|
|
@@ -1607,8 +1631,75 @@
|
|
|
1607
1631
|
"Args": ".",
|
|
1608
1632
|
"Cost": 1,
|
|
1609
1633
|
"Size": 2,
|
|
1610
|
-
"
|
|
1611
|
-
|
|
1634
|
+
"ArgEnum": [
|
|
1635
|
+
"Sender",
|
|
1636
|
+
"Fee",
|
|
1637
|
+
"FirstValid",
|
|
1638
|
+
"FirstValidTime",
|
|
1639
|
+
"LastValid",
|
|
1640
|
+
"Note",
|
|
1641
|
+
"Lease",
|
|
1642
|
+
"Receiver",
|
|
1643
|
+
"Amount",
|
|
1644
|
+
"CloseRemainderTo",
|
|
1645
|
+
"VotePK",
|
|
1646
|
+
"SelectionPK",
|
|
1647
|
+
"VoteFirst",
|
|
1648
|
+
"VoteLast",
|
|
1649
|
+
"VoteKeyDilution",
|
|
1650
|
+
"Type",
|
|
1651
|
+
"TypeEnum",
|
|
1652
|
+
"XferAsset",
|
|
1653
|
+
"AssetAmount",
|
|
1654
|
+
"AssetSender",
|
|
1655
|
+
"AssetReceiver",
|
|
1656
|
+
"AssetCloseTo",
|
|
1657
|
+
"GroupIndex",
|
|
1658
|
+
"TxID",
|
|
1659
|
+
"ApplicationID",
|
|
1660
|
+
"OnCompletion",
|
|
1661
|
+
"ApplicationArgs",
|
|
1662
|
+
"NumAppArgs",
|
|
1663
|
+
"Accounts",
|
|
1664
|
+
"NumAccounts",
|
|
1665
|
+
"ApprovalProgram",
|
|
1666
|
+
"ClearStateProgram",
|
|
1667
|
+
"RekeyTo",
|
|
1668
|
+
"ConfigAsset",
|
|
1669
|
+
"ConfigAssetTotal",
|
|
1670
|
+
"ConfigAssetDecimals",
|
|
1671
|
+
"ConfigAssetDefaultFrozen",
|
|
1672
|
+
"ConfigAssetUnitName",
|
|
1673
|
+
"ConfigAssetName",
|
|
1674
|
+
"ConfigAssetURL",
|
|
1675
|
+
"ConfigAssetMetadataHash",
|
|
1676
|
+
"ConfigAssetManager",
|
|
1677
|
+
"ConfigAssetReserve",
|
|
1678
|
+
"ConfigAssetFreeze",
|
|
1679
|
+
"ConfigAssetClawback",
|
|
1680
|
+
"FreezeAsset",
|
|
1681
|
+
"FreezeAssetAccount",
|
|
1682
|
+
"FreezeAssetFrozen",
|
|
1683
|
+
"Assets",
|
|
1684
|
+
"NumAssets",
|
|
1685
|
+
"Applications",
|
|
1686
|
+
"NumApplications",
|
|
1687
|
+
"GlobalNumUint",
|
|
1688
|
+
"GlobalNumByteSlice",
|
|
1689
|
+
"LocalNumUint",
|
|
1690
|
+
"LocalNumByteSlice",
|
|
1691
|
+
"ExtraProgramPages",
|
|
1692
|
+
"Nonparticipation",
|
|
1693
|
+
"Logs",
|
|
1694
|
+
"NumLogs",
|
|
1695
|
+
"CreatedAssetID",
|
|
1696
|
+
"CreatedApplicationID",
|
|
1697
|
+
"LastLog",
|
|
1698
|
+
"StateProofPK"
|
|
1699
|
+
],
|
|
1700
|
+
"ArgEnumTypes": "BUUUUBBBUBBBUUUBUUUBBBUBUUBUBUBBBUUUUBBBBBBBBUBUUUUUUUUUUUBUUUBB",
|
|
1701
|
+
"Doc": "set field F of the current inner transaction to A",
|
|
1702
|
+
"DocExtra": "`itxn_field` fails if A is of the wrong type for F, including a byte array of the wrong size for use as an address when F is an address field. `itxn_field` also fails if A is an account, asset, or app that is not _available_, or an attempt is made extend an array field beyond the limit imposed by consensus parameters. (Addresses set into asset params of acfg transactions need not be _available_.)",
|
|
1612
1703
|
"ImmediateNote": "{uint8 transaction field index}",
|
|
1613
1704
|
"Groups": ["Inner Transactions"]
|
|
1614
1705
|
},
|
|
@@ -1617,7 +1708,8 @@
|
|
|
1617
1708
|
"Name": "itxn_submit",
|
|
1618
1709
|
"Cost": 1,
|
|
1619
1710
|
"Size": 1,
|
|
1620
|
-
"Doc": "
|
|
1711
|
+
"Doc": "execute the current inner transaction group. Fail if executing this group would exceed the inner transaction limit, or if any transaction in the group fails.",
|
|
1712
|
+
"DocExtra": "`itxn_submit` resets the current transaction so that it can not be resubmitted. A new `itxn_begin` is required to prepare another inner transaction.",
|
|
1621
1713
|
"Groups": ["Inner Transactions"]
|
|
1622
1714
|
},
|
|
1623
1715
|
{
|
|
@@ -1626,7 +1718,74 @@
|
|
|
1626
1718
|
"Returns": ".",
|
|
1627
1719
|
"Cost": 1,
|
|
1628
1720
|
"Size": 2,
|
|
1629
|
-
"
|
|
1721
|
+
"ArgEnum": [
|
|
1722
|
+
"Sender",
|
|
1723
|
+
"Fee",
|
|
1724
|
+
"FirstValid",
|
|
1725
|
+
"FirstValidTime",
|
|
1726
|
+
"LastValid",
|
|
1727
|
+
"Note",
|
|
1728
|
+
"Lease",
|
|
1729
|
+
"Receiver",
|
|
1730
|
+
"Amount",
|
|
1731
|
+
"CloseRemainderTo",
|
|
1732
|
+
"VotePK",
|
|
1733
|
+
"SelectionPK",
|
|
1734
|
+
"VoteFirst",
|
|
1735
|
+
"VoteLast",
|
|
1736
|
+
"VoteKeyDilution",
|
|
1737
|
+
"Type",
|
|
1738
|
+
"TypeEnum",
|
|
1739
|
+
"XferAsset",
|
|
1740
|
+
"AssetAmount",
|
|
1741
|
+
"AssetSender",
|
|
1742
|
+
"AssetReceiver",
|
|
1743
|
+
"AssetCloseTo",
|
|
1744
|
+
"GroupIndex",
|
|
1745
|
+
"TxID",
|
|
1746
|
+
"ApplicationID",
|
|
1747
|
+
"OnCompletion",
|
|
1748
|
+
"ApplicationArgs",
|
|
1749
|
+
"NumAppArgs",
|
|
1750
|
+
"Accounts",
|
|
1751
|
+
"NumAccounts",
|
|
1752
|
+
"ApprovalProgram",
|
|
1753
|
+
"ClearStateProgram",
|
|
1754
|
+
"RekeyTo",
|
|
1755
|
+
"ConfigAsset",
|
|
1756
|
+
"ConfigAssetTotal",
|
|
1757
|
+
"ConfigAssetDecimals",
|
|
1758
|
+
"ConfigAssetDefaultFrozen",
|
|
1759
|
+
"ConfigAssetUnitName",
|
|
1760
|
+
"ConfigAssetName",
|
|
1761
|
+
"ConfigAssetURL",
|
|
1762
|
+
"ConfigAssetMetadataHash",
|
|
1763
|
+
"ConfigAssetManager",
|
|
1764
|
+
"ConfigAssetReserve",
|
|
1765
|
+
"ConfigAssetFreeze",
|
|
1766
|
+
"ConfigAssetClawback",
|
|
1767
|
+
"FreezeAsset",
|
|
1768
|
+
"FreezeAssetAccount",
|
|
1769
|
+
"FreezeAssetFrozen",
|
|
1770
|
+
"Assets",
|
|
1771
|
+
"NumAssets",
|
|
1772
|
+
"Applications",
|
|
1773
|
+
"NumApplications",
|
|
1774
|
+
"GlobalNumUint",
|
|
1775
|
+
"GlobalNumByteSlice",
|
|
1776
|
+
"LocalNumUint",
|
|
1777
|
+
"LocalNumByteSlice",
|
|
1778
|
+
"ExtraProgramPages",
|
|
1779
|
+
"Nonparticipation",
|
|
1780
|
+
"Logs",
|
|
1781
|
+
"NumLogs",
|
|
1782
|
+
"CreatedAssetID",
|
|
1783
|
+
"CreatedApplicationID",
|
|
1784
|
+
"LastLog",
|
|
1785
|
+
"StateProofPK"
|
|
1786
|
+
],
|
|
1787
|
+
"ArgEnumTypes": "BUUUUBBBUBBBUUUBUUUBBBUBUUBUBUBBBUUUUBBBBBBBBUBUUUUUUUUUUUBUUUBB",
|
|
1788
|
+
"Doc": "field F of the last inner transaction",
|
|
1630
1789
|
"ImmediateNote": "{uint8 transaction field index}",
|
|
1631
1790
|
"Groups": ["Inner Transactions"]
|
|
1632
1791
|
},
|
|
@@ -1636,10 +1795,122 @@
|
|
|
1636
1795
|
"Returns": ".",
|
|
1637
1796
|
"Cost": 1,
|
|
1638
1797
|
"Size": 3,
|
|
1639
|
-
"
|
|
1798
|
+
"ArgEnum": [
|
|
1799
|
+
"ApplicationArgs",
|
|
1800
|
+
"Accounts",
|
|
1801
|
+
"Assets",
|
|
1802
|
+
"Applications",
|
|
1803
|
+
"Logs"
|
|
1804
|
+
],
|
|
1805
|
+
"ArgEnumTypes": "BBUUB",
|
|
1806
|
+
"Doc": "Ith value of the array field F of the last inner transaction",
|
|
1640
1807
|
"ImmediateNote": "{uint8 transaction field index} {uint8 transaction field array index}",
|
|
1641
1808
|
"Groups": ["Inner Transactions"]
|
|
1642
1809
|
},
|
|
1810
|
+
{
|
|
1811
|
+
"Opcode": 182,
|
|
1812
|
+
"Name": "itxn_next",
|
|
1813
|
+
"Cost": 1,
|
|
1814
|
+
"Size": 1,
|
|
1815
|
+
"Doc": "begin preparation of a new inner transaction in the same transaction group",
|
|
1816
|
+
"DocExtra": "`itxn_next` initializes the transaction exactly as `itxn_begin` does",
|
|
1817
|
+
"Groups": ["Inner Transactions"]
|
|
1818
|
+
},
|
|
1819
|
+
{
|
|
1820
|
+
"Opcode": 183,
|
|
1821
|
+
"Name": "gitxn",
|
|
1822
|
+
"Returns": ".",
|
|
1823
|
+
"Cost": 1,
|
|
1824
|
+
"Size": 3,
|
|
1825
|
+
"ArgEnum": [
|
|
1826
|
+
"Sender",
|
|
1827
|
+
"Fee",
|
|
1828
|
+
"FirstValid",
|
|
1829
|
+
"FirstValidTime",
|
|
1830
|
+
"LastValid",
|
|
1831
|
+
"Note",
|
|
1832
|
+
"Lease",
|
|
1833
|
+
"Receiver",
|
|
1834
|
+
"Amount",
|
|
1835
|
+
"CloseRemainderTo",
|
|
1836
|
+
"VotePK",
|
|
1837
|
+
"SelectionPK",
|
|
1838
|
+
"VoteFirst",
|
|
1839
|
+
"VoteLast",
|
|
1840
|
+
"VoteKeyDilution",
|
|
1841
|
+
"Type",
|
|
1842
|
+
"TypeEnum",
|
|
1843
|
+
"XferAsset",
|
|
1844
|
+
"AssetAmount",
|
|
1845
|
+
"AssetSender",
|
|
1846
|
+
"AssetReceiver",
|
|
1847
|
+
"AssetCloseTo",
|
|
1848
|
+
"GroupIndex",
|
|
1849
|
+
"TxID",
|
|
1850
|
+
"ApplicationID",
|
|
1851
|
+
"OnCompletion",
|
|
1852
|
+
"ApplicationArgs",
|
|
1853
|
+
"NumAppArgs",
|
|
1854
|
+
"Accounts",
|
|
1855
|
+
"NumAccounts",
|
|
1856
|
+
"ApprovalProgram",
|
|
1857
|
+
"ClearStateProgram",
|
|
1858
|
+
"RekeyTo",
|
|
1859
|
+
"ConfigAsset",
|
|
1860
|
+
"ConfigAssetTotal",
|
|
1861
|
+
"ConfigAssetDecimals",
|
|
1862
|
+
"ConfigAssetDefaultFrozen",
|
|
1863
|
+
"ConfigAssetUnitName",
|
|
1864
|
+
"ConfigAssetName",
|
|
1865
|
+
"ConfigAssetURL",
|
|
1866
|
+
"ConfigAssetMetadataHash",
|
|
1867
|
+
"ConfigAssetManager",
|
|
1868
|
+
"ConfigAssetReserve",
|
|
1869
|
+
"ConfigAssetFreeze",
|
|
1870
|
+
"ConfigAssetClawback",
|
|
1871
|
+
"FreezeAsset",
|
|
1872
|
+
"FreezeAssetAccount",
|
|
1873
|
+
"FreezeAssetFrozen",
|
|
1874
|
+
"Assets",
|
|
1875
|
+
"NumAssets",
|
|
1876
|
+
"Applications",
|
|
1877
|
+
"NumApplications",
|
|
1878
|
+
"GlobalNumUint",
|
|
1879
|
+
"GlobalNumByteSlice",
|
|
1880
|
+
"LocalNumUint",
|
|
1881
|
+
"LocalNumByteSlice",
|
|
1882
|
+
"ExtraProgramPages",
|
|
1883
|
+
"Nonparticipation",
|
|
1884
|
+
"Logs",
|
|
1885
|
+
"NumLogs",
|
|
1886
|
+
"CreatedAssetID",
|
|
1887
|
+
"CreatedApplicationID",
|
|
1888
|
+
"LastLog",
|
|
1889
|
+
"StateProofPK"
|
|
1890
|
+
],
|
|
1891
|
+
"ArgEnumTypes": "BUUUUBBBUBBBUUUBUUUBBBUBUUBUBUBBBUUUUBBBBBBBBUBUUUUUUUUUUUBUUUBB",
|
|
1892
|
+
"Doc": "field F of the Tth transaction in the last inner group submitted",
|
|
1893
|
+
"ImmediateNote": "{uint8 transaction group index} {uint8 transaction field index}",
|
|
1894
|
+
"Groups": ["Inner Transactions"]
|
|
1895
|
+
},
|
|
1896
|
+
{
|
|
1897
|
+
"Opcode": 184,
|
|
1898
|
+
"Name": "gitxna",
|
|
1899
|
+
"Returns": ".",
|
|
1900
|
+
"Cost": 1,
|
|
1901
|
+
"Size": 4,
|
|
1902
|
+
"ArgEnum": [
|
|
1903
|
+
"ApplicationArgs",
|
|
1904
|
+
"Accounts",
|
|
1905
|
+
"Assets",
|
|
1906
|
+
"Applications",
|
|
1907
|
+
"Logs"
|
|
1908
|
+
],
|
|
1909
|
+
"ArgEnumTypes": "BBUUB",
|
|
1910
|
+
"Doc": "Ith value of the array field F from the Tth transaction in the last inner group submitted",
|
|
1911
|
+
"ImmediateNote": "{uint8 transaction group index} {uint8 transaction field index} {uint8 transaction field array index}",
|
|
1912
|
+
"Groups": ["Inner Transactions"]
|
|
1913
|
+
},
|
|
1643
1914
|
{
|
|
1644
1915
|
"Opcode": 192,
|
|
1645
1916
|
"Name": "txnas",
|
|
@@ -1655,7 +1926,7 @@
|
|
|
1655
1926
|
"Logs"
|
|
1656
1927
|
],
|
|
1657
1928
|
"ArgEnumTypes": "BBUUB",
|
|
1658
|
-
"Doc": "
|
|
1929
|
+
"Doc": "Ath value of the array field F of the current transaction",
|
|
1659
1930
|
"ImmediateNote": "{uint8 transaction field index}",
|
|
1660
1931
|
"Groups": ["Loading Values"]
|
|
1661
1932
|
},
|
|
@@ -1674,7 +1945,7 @@
|
|
|
1674
1945
|
"Logs"
|
|
1675
1946
|
],
|
|
1676
1947
|
"ArgEnumTypes": "BBUUB",
|
|
1677
|
-
"Doc": "
|
|
1948
|
+
"Doc": "Ath value of the array field F from the Tth transaction in the current group",
|
|
1678
1949
|
"ImmediateNote": "{uint8 transaction group index} {uint8 transaction field index}",
|
|
1679
1950
|
"Groups": ["Loading Values"]
|
|
1680
1951
|
},
|
|
@@ -1693,7 +1964,7 @@
|
|
|
1693
1964
|
"Logs"
|
|
1694
1965
|
],
|
|
1695
1966
|
"ArgEnumTypes": "BBUUB",
|
|
1696
|
-
"Doc": "
|
|
1967
|
+
"Doc": "Bth value of the array field F from the Ath transaction in the current group",
|
|
1697
1968
|
"ImmediateNote": "{uint8 transaction field index}",
|
|
1698
1969
|
"Groups": ["Loading Values"]
|
|
1699
1970
|
},
|
|
@@ -1704,8 +1975,40 @@
|
|
|
1704
1975
|
"Returns": "B",
|
|
1705
1976
|
"Cost": 1,
|
|
1706
1977
|
"Size": 1,
|
|
1707
|
-
"Doc": "
|
|
1978
|
+
"Doc": "Ath LogicSig argument",
|
|
1979
|
+
"Groups": ["Loading Values"]
|
|
1980
|
+
},
|
|
1981
|
+
{
|
|
1982
|
+
"Opcode": 196,
|
|
1983
|
+
"Name": "gloadss",
|
|
1984
|
+
"Args": "UU",
|
|
1985
|
+
"Returns": ".",
|
|
1986
|
+
"Cost": 1,
|
|
1987
|
+
"Size": 1,
|
|
1988
|
+
"Doc": "Bth scratch space value of the Ath transaction in the current group",
|
|
1708
1989
|
"Groups": ["Loading Values"]
|
|
1990
|
+
},
|
|
1991
|
+
{
|
|
1992
|
+
"Opcode": 197,
|
|
1993
|
+
"Name": "itxnas",
|
|
1994
|
+
"Args": "U",
|
|
1995
|
+
"Returns": ".",
|
|
1996
|
+
"Cost": 1,
|
|
1997
|
+
"Size": 2,
|
|
1998
|
+
"Doc": "Ath value of the array field F of the last inner transaction",
|
|
1999
|
+
"ImmediateNote": "{uint8 transaction field index}",
|
|
2000
|
+
"Groups": ["Inner Transactions"]
|
|
2001
|
+
},
|
|
2002
|
+
{
|
|
2003
|
+
"Opcode": 198,
|
|
2004
|
+
"Name": "gitxnas",
|
|
2005
|
+
"Args": "U",
|
|
2006
|
+
"Returns": ".",
|
|
2007
|
+
"Cost": 1,
|
|
2008
|
+
"Size": 3,
|
|
2009
|
+
"Doc": "Ath value of the array field F from the Tth transaction in the last inner group submitted",
|
|
2010
|
+
"ImmediateNote": "{uint8 transaction group index} {uint8 transaction field index}",
|
|
2011
|
+
"Groups": ["Inner Transactions"]
|
|
1709
2012
|
}
|
|
1710
2013
|
]
|
|
1711
2014
|
}
|