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
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -436,7 +436,7 @@ Some of these have immediate data in the byte or bytes after the opcode.
436
436
| 16 | TypeEnum | uint64 || See table below |
437
437
| 17 | XferAsset | uint64 || Asset ID |
438
438
| 18 | AssetAmount | uint64 || value in Asset's units |
439
-
| 19 | AssetSender |[]byte || 32 byte address. Causes clawback of all value of asset from AssetSender if Sender is the Clawback address of the asset. |
439
+
| 19 | AssetSender |[]byte || 32 byte address. Moves asset from AssetSender if Sender is the Clawback address of the asset. |
440
440
| 20 | AssetReceiver |[]byte || 32 byte address |
441
441
| 21 | AssetCloseTo |[]byte || 32 byte address |
442
442
| 22 | GroupIndex | uint64 || Position of this transaction within an atomic transaction group. A stand-alone transaction is implicitly element 0 in a group of 1 |
@@ -457,7 +457,7 @@ Some of these have immediate data in the byte or bytes after the opcode.
457
457
| 37 | ConfigAssetUnitName |[]byte | v2 | Unit name of the asset |
458
458
| 38 | ConfigAssetName |[]byte | v2 | The asset name |
459
459
| 39 | ConfigAssetURL |[]byte | v2 | URL |
460
-
| 40 | ConfigAssetMetadataHash |[]byte | v2 | 32 byte commitment to some unspecified asset metadata |
The 32 byte Y-component of a public key is the last element on the stack, preceded by X-component of a pubkey, preceded by S and R components of a signature, preceded by the data that is fifth element on the stack. All values are big-endian encoded. The signed data must be 32 bytes long, and signatures in lower-S form are only accepted.
@@ -68,17 +68,9 @@ The 32 byte Y-component of a public key is the last element on the stack, preced
The 33 byte public key in a compressed form to be decompressed into X and Y (top) components. All values are big-endian encoded.
83
75
84
76
## ecdsa_pk_recover v
@@ -89,14 +81,6 @@ The 33 byte public key in a compressed form to be decompressed into X and Y (top
89
81
-**Cost**: 2000
90
82
- Availability: v5
91
83
92
-
`ECDSA` Curves:
93
-
94
-
| Index | Name | In | Notes |
95
-
| - | ------ | - | --------- |
96
-
| 0 | Secp256k1 || secp256k1 curve |
97
-
| 1 | Secp256r1 | v7 | secp256r1 curve |
98
-
99
-
100
84
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.
101
85
102
86
## +
@@ -396,7 +380,7 @@ The notation J,K indicates that two uint64 values J and K are interpreted as a u
396
380
| 16 | TypeEnum | uint64 || See table below |
397
381
| 17 | XferAsset | uint64 || Asset ID |
398
382
| 18 | AssetAmount | uint64 || value in Asset's units |
399
-
| 19 | AssetSender |[]byte || 32 byte address. Causes clawback of all value of asset from AssetSender if Sender is the Clawback address of the asset. |
383
+
| 19 | AssetSender |[]byte || 32 byte address. Moves asset from AssetSender if Sender is the Clawback address of the asset. |
400
384
| 20 | AssetReceiver |[]byte || 32 byte address |
401
385
| 21 | AssetCloseTo |[]byte || 32 byte address |
402
386
| 22 | GroupIndex | uint64 || Position of this transaction within an atomic transaction group. A stand-alone transaction is implicitly element 0 in a group of 1 |
@@ -417,7 +401,7 @@ The notation J,K indicates that two uint64 values J and K are interpreted as a u
417
401
| 37 | ConfigAssetUnitName |[]byte | v2 | Unit name of the asset |
418
402
| 38 | ConfigAssetName |[]byte | v2 | The asset name |
419
403
| 39 | ConfigAssetURL |[]byte | v2 | URL |
420
-
| 40 | ConfigAssetMetadataHash |[]byte | v2 | 32 byte commitment to some unspecified asset metadata |
0 commit comments