You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: data/transactions/logic/README.md
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -36,9 +36,9 @@ Starting from version 2 TEAL evaluator can run programs in two modes:
36
36
2. Application run (stateful)
37
37
38
38
Differences between modes include:
39
-
1. Max program length (consensus parameters LogicSigMaxSize, MaxApprovalProgramLen and MaxClearStateProgramLen)
39
+
1. Max program length (consensus parameters LogicSigMaxSize, MaxAppProgramLen & MaxExtraAppProgramPages)
40
40
2. Max program cost (consensus parameters LogicSigMaxCost, MaxAppProgramCost)
41
-
3.Opcodes availability. For example, all stateful operations are only available in stateful mode. Refer to [opcodes document](TEAL_opcodes.md) for details.
41
+
3.Opcode availability. For example, all stateful operations are only available in stateful mode. Refer to [opcodes document](TEAL_opcodes.md) for details.
42
42
43
43
## Constants
44
44
@@ -214,8 +214,8 @@ Some of these have immediate data in the byte or bytes after the opcode.
214
214
|`store i`| pop a value from the stack and store to scratch space |
215
215
|`gload t i`| push Ith scratch space index of the Tth transaction in the current group |
216
216
|`gloads i`| push Ith scratch space index of the Ath transaction in the current group |
217
-
|`gaid t`| push the creatable ID of the Tth transaction in the current group |
218
-
|`gaids`| push the creatable ID of the Ath transaction in the current group |
217
+
|`gaid t`| push the ID of the asset or application created in the Tth transaction of the current group |
218
+
|`gaids`| push the ID of the asset or application created in the Ath transaction of the current group |
Copy file name to clipboardExpand all lines: data/transactions/logic/doc.go
+4-2Lines changed: 4 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -90,8 +90,8 @@ var opDocByName = map[string]string{
90
90
"store": "pop a value from the stack and store to scratch space",
91
91
"gload": "push Ith scratch space index of the Tth transaction in the current group",
92
92
"gloads": "push Ith scratch space index of the Ath transaction in the current group",
93
-
"gaid": "push the creatable ID of the Tth transaction in the current group",
94
-
"gaids": "push the creatable ID of the Ath transaction in the current group",
93
+
"gaid": "push the ID of the asset or application created in the Tth transaction of the current group",
94
+
"gaids": "push the ID of the asset or application created in the Ath transaction of the current group",
95
95
"bnz": "branch to TARGET if value X is not zero",
96
96
"bz": "branch to TARGET if value X is zero",
97
97
"b": "branch unconditionally to TARGET",
@@ -200,6 +200,8 @@ var opDocExtras = map[string]string{
200
200
"gtxns": "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.",
201
201
"gload": "The `gload` opcode can only access scratch spaces of previous app calls contained in the current group.",
202
202
"gloads": "The `gloads` opcode can only access scratch spaces of previous app calls contained in the current group.",
203
+
"gaid": "The `gaid` opcode can only access the ID of assets or applications created by previous txns in the current group.",
204
+
"gaids": "The `gaids` opcode can only access the ID of assets or applications created by previous txns in the current group.",
203
205
"btoi": "`btoi` panics if the input is longer than 8 bytes.",
204
206
"concat": "`concat` panics if the result would be greater than 4096 bytes.",
205
207
"pushbytes": "pushbytes args are not added to the bytecblock during assembly processes",
0 commit comments