From 4daa80f4580d487158d239950e94558ff008496b Mon Sep 17 00:00:00 2001 From: Nick Date: Tue, 20 Jun 2023 14:10:40 -0700 Subject: [PATCH 1/2] Update output.md --- src/protocol/tx_format/output.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/src/protocol/tx_format/output.md b/src/protocol/tx_format/output.md index c974d826..1107bb58 100644 --- a/src/protocol/tx_format/output.md +++ b/src/protocol/tx_format/output.md @@ -7,6 +7,7 @@ enum OutputType : uint8 { Change = 2, Variable = 3, ContractCreated = 4, + Data = 5, } ``` @@ -88,3 +89,12 @@ This output type indicates that the output's amount and owner may vary based on |--------------|------------|---------------------------------| | `contractID` | `byte[32]` | Contract ID. | | `stateRoot` | `byte[32]` | Initial state root of contract. | + +## OutputData + +| name | type | description | +|------------|------------|--------------------------------------| +| `dataLength` | `uint32` | The length of the data field. | +| `data` | `byte[]` | The bytes data. | + +> **Note:** this output cannot be spent. From 8e43b382f37f1d5d6ac46d936083c2b53dc04024 Mon Sep 17 00:00:00 2001 From: Nick Date: Tue, 20 Jun 2023 14:16:48 -0700 Subject: [PATCH 2/2] Update index.md --- src/protocol/tx_format/index.md | 1 + 1 file changed, 1 insertion(+) diff --git a/src/protocol/tx_format/index.md b/src/protocol/tx_format/index.md index b79d4bae..6822d7ca 100644 --- a/src/protocol/tx_format/index.md +++ b/src/protocol/tx_format/index.md @@ -17,5 +17,6 @@ The Fuel Transaction Format. - [OutputChange](./output.md#outputchange) - [OutputVariable](./output.md#outputvariable) - [OutputContractCreated](./output.md#outputcontractcreated) + - [OutputData](./output.md#outputdata) - [Witness](./witness.md) - [TXPointer](./tx_pointer.md)