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
|`VaultID`|Yes|`string`|`Hash256`|`N/A`| The ID of the vault to be deleted. |
476
+
|`Data`| No |`string`|`BLOB`| Empty | Arbitrary metadata about the Vault. Limited to 256 bytes. |
477
477
478
478
### 5.2 Failure Conditions
479
479
480
-
1.`Vault` object with the `VaultID` does not exist on the ledger.
481
-
2. The submitting account is not the `Owner` of the vault.
482
-
3.`AssetsTotal`, `AssetsAvailable`, or `MPTokenIssuance(Vault.ShareMPTID).OutstandingAmount` are greater than zero.
483
-
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.
484
-
5.`Data` field is greater than 256 bytes (`temMALFORMED`).
480
+
#### 5.2.1. Data Verification
481
+
482
+
1.`VaultID` is empty. (`temMALFORMED`)
483
+
2.`Data` field is provided and `fixLendingProtocolV1_1` amendment is not enabled. (`temDISABLED`)
484
+
3.`Data` field is greater than 256 bytes. (`temMALFORMED`)
485
+
486
+
#### 5.2.2. Protocol-Level Failures
487
+
488
+
1.`Vault` object with the `VaultID` does not exist on the ledger. (`tecNO_ENTRY`)
489
+
2. The submitting account is not the `Owner` of the vault. (`tecNO_PERMISSION`)
490
+
3.`AssetsTotal`, `AssetsAvailable`, or `MPTokenIssuance(Vault.ShareMPTID).OutstandingAmount` are greater than zero. (`tecHAS_OBLIGATIONS`)
491
+
4. The `OwnerDirectory` of the Vault _pseudo-account_ contains objects other than the `Vault`, the `MPTokenIssuance` for its shares, or an `MPToken` or trust line for its asset. (`tecHAS_OBLIGATIONS`)
0 commit comments