Skip to content

Commit 002ee72

Browse files
chore: update protocol library docs
1 parent 8f255a9 commit 002ee72

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

docs/src/protocol_library.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ Native account procedures can be used to write to storage, add or remove assets
6767
| `set_item` | Sets an item in the native account storage.<br/><br/>**Inputs:** `[slot_id_suffix, slot_id_prefix, VALUE]`<br/>**Outputs:** `[OLD_VALUE]` | Native & Account |
6868
| `set_map_item` | Sets VALUE under the specified KEY within the map contained in the given native account storage slot.<br/><br/>**Inputs:** `[slot_id_suffix, slot_id_prefix, KEY, VALUE]`<br/>**Outputs:** `[OLD_VALUE]` | Native & Account |
6969
| `add_asset` | Adds the specified asset to the vault. For fungible assets, returns the total after addition.<br/><br/>**Inputs:** `[ASSET_KEY, ASSET_VALUE]`<br/>**Outputs:** `[ASSET_VALUE']` | Native & Account |
70-
| `remove_asset` | Removes the specified asset from the vault.<br/><br/>**Inputs:** `[ASSET_KEY, ASSET_VALUE]`<br/>**Outputs:** `[ASSET_VALUE]` | Native & Account |
70+
| `remove_asset` | Removes the specified asset from the vault and returns the remaining asset value.<br/><br/>**Inputs:** `[ASSET_KEY, ASSET_VALUE]`<br/>**Outputs:** `[REMAINING_ASSET_VALUE]` | Native & Account |
7171
| `was_procedure_called` | Returns 1 if a native account procedure was called during transaction execution, and 0 otherwise.<br/><br/>**Inputs:** `[PROC_ROOT]`<br/>**Outputs:** `[was_called]` | Any |
7272

7373
## Active Note Procedures (`miden::protocol::active_note`)
@@ -153,7 +153,7 @@ Faucet procedures allow reading and writing to faucet accounts to mint and burn
153153
| `create_fungible_asset` | Creates a fungible asset for the faucet the transaction is being executed against.<br/><br/>**Inputs:** `[amount]`<br/>**Outputs:** `[ASSET_KEY, ASSET_VALUE]` | Faucet |
154154
| `create_non_fungible_asset` | Creates a non-fungible asset for the faucet the transaction is being executed against.<br/><br/>**Inputs:** `[DATA_HASH]`<br/>**Outputs:** `[ASSET_KEY, ASSET_VALUE]` | Faucet |
155155
| `mint` | Mint an asset from the faucet the transaction is being executed against.<br/><br/>**Inputs:** `[ASSET_KEY, ASSET_VALUE]`<br/>**Outputs:** `[NEW_ASSET_VALUE]` | Native & Account & Faucet |
156-
| `burn` | Burn an asset from the faucet the transaction is being executed against.<br/><br/>**Inputs:** `[ASSET_KEY, ASSET_VALUE]`<br/>**Outputs:** `[ASSET_VALUE]` | Native & Account & Faucet |
156+
| `burn` | Burn an asset from the faucet the transaction is being executed against.<br/><br/>**Inputs:** `[ASSET_KEY, ASSET_VALUE]`<br/>**Outputs:** `[]` | Native & Account & Faucet |
157157
| `has_callbacks` | Returns whether the active account defines callbacks.<br/><br/>**Inputs:** `[]`<br/>**Outputs:** `[has_callbacks]` | Any |
158158

159159
## Asset Procedures (`miden::protocol::asset`)

0 commit comments

Comments
 (0)