Skip to content

Commit 61f2ee9

Browse files
committed
adds data field to VaultDelete transacgion
1 parent 7c7fd56 commit 61f2ee9

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

XLS-0065-single-asset-vault/README.md

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -470,17 +470,19 @@ The `VaultDelete` transaction deletes an existing vault object.
470470

471471
### 5.1 Fields
472472

473-
| Field Name | Required? | JSON Type | Internal Type | Default Value | Description |
474-
| ----------------- | :----------------: | :-------: | :-----------: | :-----------: | :--------------------------------: |
475-
| `TransactionType` | :heavy_check_mark: | `string` | `Uint16` | `60` | Transaction type. |
476-
| `VaultID` | :heavy_check_mark: | `string` | `Hash256` | `N/A` | The ID of the vault to be deleted. |
473+
| Field Name | Required? | JSON Type | Internal Type | Default Value | Description |
474+
| ----------------- | :----------------: | :-------: | :-----------: | :-----------: | :-------------------------------------------------------: |
475+
| `TransactionType` | :heavy_check_mark: | `string` | `Uint16` | `60` | Transaction type. |
476+
| `VaultID` | :heavy_check_mark: | `string` | `Hash256` | `N/A` | The ID of the vault to be deleted. |
477+
| `Data` | No | `string` | `BLOB` | Empty | Arbitrary metadata about the Vault. Limited to 256 bytes. |
477478

478479
### 5.2 Failure Conditions
479480

480481
1. `Vault` object with the `VaultID` does not exist on the ledger.
481482
2. The submitting account is not the `Owner` of the vault.
482483
3. `AssetsTotal`, `AssetsAvailable`, or `MPTokenIssuance(Vault.ShareMPTID).OutstandingAmount` are greater than zero.
483484
4. The `OwnerDirectory` of the Vault _pseudo-account_ contains pointers to objects other than the `Vault`, the `MPTokenIssuance` for its shares, or an `MPToken` or trust line for its asset.
485+
5. `Data` field is greater than 256 bytes (`temMALFORMED`).
484486

485487
### 5.3 State Changes
486488

0 commit comments

Comments
 (0)