Skip to content

Commit

Permalink
deploy: 3f228e7
Browse files Browse the repository at this point in the history
  • Loading branch information
Dentosal committed Mar 14, 2024
1 parent 6dce21c commit d4a19b0
Show file tree
Hide file tree
Showing 7 changed files with 28 additions and 28 deletions.
2 changes: 1 addition & 1 deletion master/identifiers/utxo-id.html
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ <h1 class="menu-title">Fuel Specifications</h1>
<main>
<h1 id="utxo-id"><a class="header" href="#utxo-id">UTXO ID</a></h1>
<h2 id="coin-id"><a class="header" href="#coin-id">Coin ID</a></h2>
<p>Is represented as an <em>outpoint</em>: a pair of <a href="./transaction-id.html">transaction ID</a> as <code>byte[32]</code> and output index as a <code>uint8</code>.</p>
<p>Is represented as an <em>outpoint</em>: a pair of <a href="./transaction-id.html">transaction ID</a> as <code>byte[32]</code> and output index as a <code>uint16</code>.</p>
<h2 id="message-id"><a class="header" href="#message-id">Message ID</a></h2>
<p>The ID of a message is computed as the <a href="../protocol/cryptographic-primitives.html#hashing">hash</a> of:</p>
<ol>
Expand Down
26 changes: 13 additions & 13 deletions master/print.html
Original file line number Diff line number Diff line change
Expand Up @@ -271,9 +271,9 @@ <h2 id="transactionscript"><a class="header" href="#transactionscript"><code>Tra
<tr><td><code>scriptLength</code></td><td><code>uint64</code></td><td>Script length, in instructions.</td></tr>
<tr><td><code>scriptDataLength</code></td><td><code>uint64</code></td><td>Length of script input data, in bytes.</td></tr>
<tr><td><code>policyTypes</code></td><td><code>uint32</code></td><td>Bitfield of used policy types.</td></tr>
<tr><td><code>inputsCount</code></td><td><code>uint8</code></td><td>Number of inputs.</td></tr>
<tr><td><code>outputsCount</code></td><td><code>uint8</code></td><td>Number of outputs.</td></tr>
<tr><td><code>witnessesCount</code></td><td><code>uint8</code></td><td>Number of witnesses.</td></tr>
<tr><td><code>inputsCount</code></td><td><code>uint16</code></td><td>Number of inputs.</td></tr>
<tr><td><code>outputsCount</code></td><td><code>uint16</code></td><td>Number of outputs.</td></tr>
<tr><td><code>witnessesCount</code></td><td><code>uint16</code></td><td>Number of witnesses.</td></tr>
<tr><td><code>receiptsRoot</code></td><td><code>byte[32]</code></td><td>Merkle root of receipts.</td></tr>
<tr><td><code>script</code></td><td><code>byte[]</code></td><td>Script to execute.</td></tr>
<tr><td><code>scriptData</code></td><td><code>byte[]</code></td><td>Script input data (parameters).</td></tr>
Expand Down Expand Up @@ -310,12 +310,12 @@ <h2 id="transactionscript"><a class="header" href="#transactionscript"><code>Tra
<h2 id="transactioncreate"><a class="header" href="#transactioncreate"><code>TransactionCreate</code></a></h2>
<div class="table-wrapper"><table><thead><tr><th>name</th><th>type</th><th>description</th></tr></thead><tbody>
<tr><td><code>bytecodeLength</code></td><td><code>uint64</code></td><td>Contract bytecode length, in instructions.</td></tr>
<tr><td><code>bytecodeWitnessIndex</code></td><td><code>uint8</code></td><td>Witness index of contract bytecode to create.</td></tr>
<tr><td><code>bytecodeWitnessIndex</code></td><td><code>uint16</code></td><td>Witness index of contract bytecode to create.</td></tr>
<tr><td><code>policyTypes</code></td><td><code>uint32</code></td><td>Bitfield of used policy types.</td></tr>
<tr><td><code>storageSlotsCount</code></td><td><code>uint64</code></td><td>Number of storage slots to initialize.</td></tr>
<tr><td><code>inputsCount</code></td><td><code>uint8</code></td><td>Number of inputs.</td></tr>
<tr><td><code>outputsCount</code></td><td><code>uint8</code></td><td>Number of outputs.</td></tr>
<tr><td><code>witnessesCount</code></td><td><code>uint8</code></td><td>Number of witnesses.</td></tr>
<tr><td><code>inputsCount</code></td><td><code>uint16</code></td><td>Number of inputs.</td></tr>
<tr><td><code>outputsCount</code></td><td><code>uint16</code></td><td>Number of outputs.</td></tr>
<tr><td><code>witnessesCount</code></td><td><code>uint16</code></td><td>Number of witnesses.</td></tr>
<tr><td><code>salt</code></td><td><code>byte[32]</code></td><td>Salt.</td></tr>
<tr><td><code>policies</code></td><td><a href="tx-format/./policy.html">Policy</a><code>[]</code></td><td>List of policies.</td></tr>
<tr><td><code>storageSlots</code></td><td><code>(byte[32], byte[32]])[]</code></td><td>List of storage slots to initialize (key, value).</td></tr>
Expand Down Expand Up @@ -432,12 +432,12 @@ <h2 id="maxfee"><a class="header" href="#maxfee"><code>MaxFee</code></a></h2>
<h2 id="inputcoin"><a class="header" href="#inputcoin"><code>InputCoin</code></a></h2>
<div class="table-wrapper"><table><thead><tr><th>name</th><th>type</th><th>description</th></tr></thead><tbody>
<tr><td><code>txID</code></td><td><code>byte[32]</code></td><td>Hash of transaction.</td></tr>
<tr><td><code>outputIndex</code></td><td><code>uint8</code></td><td>Index of transaction output.</td></tr>
<tr><td><code>outputIndex</code></td><td><code>uint16</code></td><td>Index of transaction output.</td></tr>
<tr><td><code>owner</code></td><td><code>byte[32]</code></td><td>Owning address or predicate root.</td></tr>
<tr><td><code>amount</code></td><td><code>uint64</code></td><td>Amount of coins.</td></tr>
<tr><td><code>asset_id</code></td><td><code>byte[32]</code></td><td>Asset ID of the coins.</td></tr>
<tr><td><code>txPointer</code></td><td><a href="tx-format/./tx-pointer.html"><code>TXPointer</code></a></td><td>Points to the TX whose output is being spent.</td></tr>
<tr><td><code>witnessIndex</code></td><td><code>uint8</code></td><td>Index of witness that authorizes spending the coin.</td></tr>
<tr><td><code>witnessIndex</code></td><td><code>uint16</code></td><td>Index of witness that authorizes spending the coin.</td></tr>
<tr><td><code>predicateGasUsed</code></td><td><code>uint64</code></td><td>Gas used by predicate.</td></tr>
<tr><td><code>predicateLength</code></td><td><code>uint64</code></td><td>Length of predicate, in instructions.</td></tr>
<tr><td><code>predicateDataLength</code></td><td><code>uint64</code></td><td>Length of predicate input data, in bytes.</td></tr>
Expand All @@ -464,7 +464,7 @@ <h2 id="inputcoin"><a class="header" href="#inputcoin"><code>InputCoin</code></a
<h2 id="inputcontract"><a class="header" href="#inputcontract"><code>InputContract</code></a></h2>
<div class="table-wrapper"><table><thead><tr><th>name</th><th>type</th><th>description</th></tr></thead><tbody>
<tr><td><code>txID</code></td><td><code>byte[32]</code></td><td>Hash of transaction.</td></tr>
<tr><td><code>outputIndex</code></td><td><code>uint8</code></td><td>Index of transaction output.</td></tr>
<tr><td><code>outputIndex</code></td><td><code>uint16</code></td><td>Index of transaction output.</td></tr>
<tr><td><code>balanceRoot</code></td><td><code>byte[32]</code></td><td>Root of amount of coins owned by contract before transaction execution.</td></tr>
<tr><td><code>stateRoot</code></td><td><code>byte[32]</code></td><td>State root of contract before transaction execution.</td></tr>
<tr><td><code>txPointer</code></td><td><a href="tx-format/./tx-pointer.html"><code>TXPointer</code></a></td><td>Points to the TX whose output is being spent.</td></tr>
Expand All @@ -485,7 +485,7 @@ <h2 id="inputmessage"><a class="header" href="#inputmessage"><code>InputMessage<
<tr><td><code>recipient</code></td><td><code>byte[32]</code></td><td>The address or predicate root of the message recipient.</td></tr>
<tr><td><code>amount</code></td><td><code>uint64</code></td><td>Amount of base asset coins sent with message.</td></tr>
<tr><td><code>nonce</code></td><td><code>byte[32]</code></td><td>The message nonce.</td></tr>
<tr><td><code>witnessIndex</code></td><td><code>uint8</code></td><td>Index of witness that authorizes spending the coin.</td></tr>
<tr><td><code>witnessIndex</code></td><td><code>uint16</code></td><td>Index of witness that authorizes spending the coin.</td></tr>
<tr><td><code>predicateGasUsed</code></td><td><code>uint64</code></td><td>Gas used by predicate execution.</td></tr>
<tr><td><code>dataLength</code></td><td><code>uint64</code></td><td>Length of message data, in bytes.</td></tr>
<tr><td><code>predicateLength</code></td><td><code>uint64</code></td><td>Length of predicate, in instructions.</td></tr>
Expand Down Expand Up @@ -541,7 +541,7 @@ <h2 id="outputcoin"><a class="header" href="#outputcoin"><code>OutputCoin</code>
</div>
<h2 id="outputcontract"><a class="header" href="#outputcontract"><code>OutputContract</code></a></h2>
<div class="table-wrapper"><table><thead><tr><th>name</th><th>type</th><th>description</th></tr></thead><tbody>
<tr><td><code>inputIndex</code></td><td><code>uint8</code></td><td>Index of input contract.</td></tr>
<tr><td><code>inputIndex</code></td><td><code>uint16</code></td><td>Index of input contract.</td></tr>
<tr><td><code>balanceRoot</code></td><td><code>byte[32]</code></td><td>Root of amount of coins owned by contract after transaction execution.</td></tr>
<tr><td><code>stateRoot</code></td><td><code>byte[32]</code></td><td>State root of contract after transaction execution.</td></tr>
</tbody></table>
Expand Down Expand Up @@ -648,7 +648,7 @@ <h2 id="outputcontractcreated"><a class="header" href="#outputcontractcreated"><
</code></pre>
<div style="break-before: page; page-break-before: always;"></div><h1 id="utxo-id"><a class="header" href="#utxo-id">UTXO ID</a></h1>
<h2 id="coin-id"><a class="header" href="#coin-id">Coin ID</a></h2>
<p>Is represented as an <em>outpoint</em>: a pair of <a href="identifiers/./transaction-id.html">transaction ID</a> as <code>byte[32]</code> and output index as a <code>uint8</code>.</p>
<p>Is represented as an <em>outpoint</em>: a pair of <a href="identifiers/./transaction-id.html">transaction ID</a> as <code>byte[32]</code> and output index as a <code>uint16</code>.</p>
<h2 id="message-id"><a class="header" href="#message-id">Message ID</a></h2>
<p>The ID of a message is computed as the <a href="identifiers/../protocol/cryptographic-primitives.html#hashing">hash</a> of:</p>
<ol>
Expand Down
2 changes: 1 addition & 1 deletion master/searchindex.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion master/searchindex.json

Large diffs are not rendered by default.

8 changes: 4 additions & 4 deletions master/tx-format/input.html
Original file line number Diff line number Diff line change
Expand Up @@ -156,12 +156,12 @@ <h1 id="input"><a class="header" href="#input">Input</a></h1>
<h2 id="inputcoin"><a class="header" href="#inputcoin"><code>InputCoin</code></a></h2>
<div class="table-wrapper"><table><thead><tr><th>name</th><th>type</th><th>description</th></tr></thead><tbody>
<tr><td><code>txID</code></td><td><code>byte[32]</code></td><td>Hash of transaction.</td></tr>
<tr><td><code>outputIndex</code></td><td><code>uint8</code></td><td>Index of transaction output.</td></tr>
<tr><td><code>outputIndex</code></td><td><code>uint16</code></td><td>Index of transaction output.</td></tr>
<tr><td><code>owner</code></td><td><code>byte[32]</code></td><td>Owning address or predicate root.</td></tr>
<tr><td><code>amount</code></td><td><code>uint64</code></td><td>Amount of coins.</td></tr>
<tr><td><code>asset_id</code></td><td><code>byte[32]</code></td><td>Asset ID of the coins.</td></tr>
<tr><td><code>txPointer</code></td><td><a href="./tx-pointer.html"><code>TXPointer</code></a></td><td>Points to the TX whose output is being spent.</td></tr>
<tr><td><code>witnessIndex</code></td><td><code>uint8</code></td><td>Index of witness that authorizes spending the coin.</td></tr>
<tr><td><code>witnessIndex</code></td><td><code>uint16</code></td><td>Index of witness that authorizes spending the coin.</td></tr>
<tr><td><code>predicateGasUsed</code></td><td><code>uint64</code></td><td>Gas used by predicate.</td></tr>
<tr><td><code>predicateLength</code></td><td><code>uint64</code></td><td>Length of predicate, in instructions.</td></tr>
<tr><td><code>predicateDataLength</code></td><td><code>uint64</code></td><td>Length of predicate input data, in bytes.</td></tr>
Expand All @@ -188,7 +188,7 @@ <h2 id="inputcoin"><a class="header" href="#inputcoin"><code>InputCoin</code></a
<h2 id="inputcontract"><a class="header" href="#inputcontract"><code>InputContract</code></a></h2>
<div class="table-wrapper"><table><thead><tr><th>name</th><th>type</th><th>description</th></tr></thead><tbody>
<tr><td><code>txID</code></td><td><code>byte[32]</code></td><td>Hash of transaction.</td></tr>
<tr><td><code>outputIndex</code></td><td><code>uint8</code></td><td>Index of transaction output.</td></tr>
<tr><td><code>outputIndex</code></td><td><code>uint16</code></td><td>Index of transaction output.</td></tr>
<tr><td><code>balanceRoot</code></td><td><code>byte[32]</code></td><td>Root of amount of coins owned by contract before transaction execution.</td></tr>
<tr><td><code>stateRoot</code></td><td><code>byte[32]</code></td><td>State root of contract before transaction execution.</td></tr>
<tr><td><code>txPointer</code></td><td><a href="./tx-pointer.html"><code>TXPointer</code></a></td><td>Points to the TX whose output is being spent.</td></tr>
Expand All @@ -209,7 +209,7 @@ <h2 id="inputmessage"><a class="header" href="#inputmessage"><code>InputMessage<
<tr><td><code>recipient</code></td><td><code>byte[32]</code></td><td>The address or predicate root of the message recipient.</td></tr>
<tr><td><code>amount</code></td><td><code>uint64</code></td><td>Amount of base asset coins sent with message.</td></tr>
<tr><td><code>nonce</code></td><td><code>byte[32]</code></td><td>The message nonce.</td></tr>
<tr><td><code>witnessIndex</code></td><td><code>uint8</code></td><td>Index of witness that authorizes spending the coin.</td></tr>
<tr><td><code>witnessIndex</code></td><td><code>uint16</code></td><td>Index of witness that authorizes spending the coin.</td></tr>
<tr><td><code>predicateGasUsed</code></td><td><code>uint64</code></td><td>Gas used by predicate execution.</td></tr>
<tr><td><code>dataLength</code></td><td><code>uint64</code></td><td>Length of message data, in bytes.</td></tr>
<tr><td><code>predicateLength</code></td><td><code>uint64</code></td><td>Length of predicate, in instructions.</td></tr>
Expand Down
2 changes: 1 addition & 1 deletion master/tx-format/output.html
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ <h2 id="outputcoin"><a class="header" href="#outputcoin"><code>OutputCoin</code>
</div>
<h2 id="outputcontract"><a class="header" href="#outputcontract"><code>OutputContract</code></a></h2>
<div class="table-wrapper"><table><thead><tr><th>name</th><th>type</th><th>description</th></tr></thead><tbody>
<tr><td><code>inputIndex</code></td><td><code>uint8</code></td><td>Index of input contract.</td></tr>
<tr><td><code>inputIndex</code></td><td><code>uint16</code></td><td>Index of input contract.</td></tr>
<tr><td><code>balanceRoot</code></td><td><code>byte[32]</code></td><td>Root of amount of coins owned by contract after transaction execution.</td></tr>
<tr><td><code>stateRoot</code></td><td><code>byte[32]</code></td><td>State root of contract after transaction execution.</td></tr>
</tbody></table>
Expand Down
14 changes: 7 additions & 7 deletions master/tx-format/transaction.html
Original file line number Diff line number Diff line change
Expand Up @@ -192,9 +192,9 @@ <h2 id="transactionscript"><a class="header" href="#transactionscript"><code>Tra
<tr><td><code>scriptLength</code></td><td><code>uint64</code></td><td>Script length, in instructions.</td></tr>
<tr><td><code>scriptDataLength</code></td><td><code>uint64</code></td><td>Length of script input data, in bytes.</td></tr>
<tr><td><code>policyTypes</code></td><td><code>uint32</code></td><td>Bitfield of used policy types.</td></tr>
<tr><td><code>inputsCount</code></td><td><code>uint8</code></td><td>Number of inputs.</td></tr>
<tr><td><code>outputsCount</code></td><td><code>uint8</code></td><td>Number of outputs.</td></tr>
<tr><td><code>witnessesCount</code></td><td><code>uint8</code></td><td>Number of witnesses.</td></tr>
<tr><td><code>inputsCount</code></td><td><code>uint16</code></td><td>Number of inputs.</td></tr>
<tr><td><code>outputsCount</code></td><td><code>uint16</code></td><td>Number of outputs.</td></tr>
<tr><td><code>witnessesCount</code></td><td><code>uint16</code></td><td>Number of witnesses.</td></tr>
<tr><td><code>receiptsRoot</code></td><td><code>byte[32]</code></td><td>Merkle root of receipts.</td></tr>
<tr><td><code>script</code></td><td><code>byte[]</code></td><td>Script to execute.</td></tr>
<tr><td><code>scriptData</code></td><td><code>byte[]</code></td><td>Script input data (parameters).</td></tr>
Expand Down Expand Up @@ -231,12 +231,12 @@ <h2 id="transactionscript"><a class="header" href="#transactionscript"><code>Tra
<h2 id="transactioncreate"><a class="header" href="#transactioncreate"><code>TransactionCreate</code></a></h2>
<div class="table-wrapper"><table><thead><tr><th>name</th><th>type</th><th>description</th></tr></thead><tbody>
<tr><td><code>bytecodeLength</code></td><td><code>uint64</code></td><td>Contract bytecode length, in instructions.</td></tr>
<tr><td><code>bytecodeWitnessIndex</code></td><td><code>uint8</code></td><td>Witness index of contract bytecode to create.</td></tr>
<tr><td><code>bytecodeWitnessIndex</code></td><td><code>uint16</code></td><td>Witness index of contract bytecode to create.</td></tr>
<tr><td><code>policyTypes</code></td><td><code>uint32</code></td><td>Bitfield of used policy types.</td></tr>
<tr><td><code>storageSlotsCount</code></td><td><code>uint64</code></td><td>Number of storage slots to initialize.</td></tr>
<tr><td><code>inputsCount</code></td><td><code>uint8</code></td><td>Number of inputs.</td></tr>
<tr><td><code>outputsCount</code></td><td><code>uint8</code></td><td>Number of outputs.</td></tr>
<tr><td><code>witnessesCount</code></td><td><code>uint8</code></td><td>Number of witnesses.</td></tr>
<tr><td><code>inputsCount</code></td><td><code>uint16</code></td><td>Number of inputs.</td></tr>
<tr><td><code>outputsCount</code></td><td><code>uint16</code></td><td>Number of outputs.</td></tr>
<tr><td><code>witnessesCount</code></td><td><code>uint16</code></td><td>Number of witnesses.</td></tr>
<tr><td><code>salt</code></td><td><code>byte[32]</code></td><td>Salt.</td></tr>
<tr><td><code>policies</code></td><td><a href="./policy.html">Policy</a><code>[]</code></td><td>List of policies.</td></tr>
<tr><td><code>storageSlots</code></td><td><code>(byte[32], byte[32]])[]</code></td><td>List of storage slots to initialize (key, value).</td></tr>
Expand Down

0 comments on commit d4a19b0

Please sign in to comment.