Skip to content

Commit

Permalink
Change Validator Address type to Account Address
Browse files Browse the repository at this point in the history
  • Loading branch information
PhilippGackstatter committed Dec 21, 2023
1 parent 9bd48fd commit 9ddcd13
Showing 1 changed file with 30 additions and 3 deletions.
33 changes: 30 additions & 3 deletions tips/TIP-0040/tip-0040.md
Original file line number Diff line number Diff line change
Expand Up @@ -241,9 +241,36 @@ Upon the creation of a Delegation Output, the protocol assigns to it a unique id
<td>Unique identifier of the Delegation Output, which is the BLAKE2b-256 hash of the <i>Output ID</i> that created it.</td>
</tr>
<tr>
<td>Validator Address</td>
<td>ByteArray[32]</td>
<td>The <i>Account Address</i> of the validator to which this output is delegating.</td>
<td valign="top">Validator Address <code>oneOf</code></td>
<td colspan="2">
<details>
<summary>Account Address</summary>
<blockquote>An Address derived from an Account ID which can be unlocked by unlocking the corresponding Account. Defined in <a href='../TIP-0038/tip-0038.md#account-address'>TIP-38 (Account Address)</a>.</blockquote>
<table>
<tr>
<td>
<b>Name</b>
</td>
<td>
<b>Type</b>
</td>
<td>
<b>Description</b>
</td>
</tr>
<tr>
<td>Address Type</td>
<td>uint8</td>
<td>Set to <strong>value 8</strong> to denote an <i>Account Address</i>.</td>
</tr>
<tr>
<td>Account ID</td>
<td>ByteArray[32]</td>
<td>The raw bytes of the <i>Account ID</i> which is the BLAKE2b-256 hash of the Output ID that created it.</td>
</tr>
</table>
</details>
</td>
</tr>
<tr>
<td>Start Epoch</td>
Expand Down

0 comments on commit 9ddcd13

Please sign in to comment.