Skip to content

Commit

Permalink
Document what the field _is_ rather than pointer to table
Browse files Browse the repository at this point in the history
  • Loading branch information
jannotti committed Jul 13, 2022
1 parent 1335f16 commit 8ebf4d6
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion data/transactions/logic/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -441,7 +441,7 @@ Some of these have immediate data in the byte or bytes after the opcode.
| 13 | VoteLast | uint64 | | The last round that the participation key is valid. |
| 14 | VoteKeyDilution | uint64 | | Dilution for the 2-level participation key |
| 15 | Type | []byte | | Transaction type as bytes |
| 16 | TypeEnum | uint64 | | See table below |
| 16 | TypeEnum | uint64 | | Transaction type as integer |
| 17 | XferAsset | uint64 | | Asset ID |
| 18 | AssetAmount | uint64 | | value in Asset's units |
| 19 | AssetSender | []byte | | 32 byte address. Moves asset from AssetSender if Sender is the Clawback address of the asset. |
Expand Down
2 changes: 1 addition & 1 deletion data/transactions/logic/TEAL_opcodes.md
Original file line number Diff line number Diff line change
Expand Up @@ -377,7 +377,7 @@ The notation J,K indicates that two uint64 values J and K are interpreted as a u
| 13 | VoteLast | uint64 | | The last round that the participation key is valid. |
| 14 | VoteKeyDilution | uint64 | | Dilution for the 2-level participation key |
| 15 | Type | []byte | | Transaction type as bytes |
| 16 | TypeEnum | uint64 | | See table below |
| 16 | TypeEnum | uint64 | | Transaction type as integer |
| 17 | XferAsset | uint64 | | Asset ID |
| 18 | AssetAmount | uint64 | | value in Asset's units |
| 19 | AssetSender | []byte | | 32 byte address. Moves asset from AssetSender if Sender is the Clawback address of the asset. |
Expand Down
2 changes: 1 addition & 1 deletion data/transactions/logic/fields.go
Original file line number Diff line number Diff line change
Expand Up @@ -283,7 +283,7 @@ var txnFieldSpecs = [...]txnFieldSpec{
{VoteLast, StackUint64, false, 0, 6, false, "The last round that the participation key is valid."},
{VoteKeyDilution, StackUint64, false, 0, 6, false, "Dilution for the 2-level participation key"},
{Type, StackBytes, false, 0, 5, false, "Transaction type as bytes"},
{TypeEnum, StackUint64, false, 0, 5, false, "See table below"},
{TypeEnum, StackUint64, false, 0, 5, false, "Transaction type as integer"},
{XferAsset, StackUint64, false, 0, 5, false, "Asset ID"},
{AssetAmount, StackUint64, false, 0, 5, false, "value in Asset's units"},
{AssetSender, StackBytes, false, 0, 5, false,
Expand Down

0 comments on commit 8ebf4d6

Please sign in to comment.