From b892e1f9735bec033ef915737c38a1c5dff50c6b Mon Sep 17 00:00:00 2001 From: Hiroyuki Naito <04hiroyuki28@gmail.com> Date: Sat, 10 Feb 2024 02:17:50 +0900 Subject: [PATCH] Typo: Corrected typo UNWRAP_ETH -> UNWRAP_WETH (#654) --- docs/contracts/universal-router/02-technical-reference.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/contracts/universal-router/02-technical-reference.md b/docs/contracts/universal-router/02-technical-reference.md index 2b27ef3dd4..6845a559c2 100644 --- a/docs/contracts/universal-router/02-technical-reference.md +++ b/docs/contracts/universal-router/02-technical-reference.md @@ -52,7 +52,7 @@ A complete list of commands can be found in the table below: | `0x09` | [`V2_SWAP_EXACT_OUT`](./02-technical-reference.md#v2_swap_exact_out) | | `0x0a` | [`PERMIT2_PERMIT`](./02-technical-reference.md#permit2_permit) | | `0x0b` | [`WRAP_ETH`](./02-technical-reference.md#wrap_eth) | -| `0x0c` | [`UNWRAP_WETH`](./02-technical-reference.md#unwrap_eth) | +| `0x0c` | [`UNWRAP_WETH`](./02-technical-reference.md#unwrap_weth) | | `0x0d` | [`PERMIT2_TRANSFER_FROM_BATCH`](./02-technical-reference.md#permit2_transfer_from_batch) | | `0x0e` | | | `0x0f` | | @@ -160,7 +160,7 @@ The individual that signed the permit must be the `msg.sender` of the transactio - `address` The recipient of the WETH - `uint256` The amount of ETH to wrap -### `UNWRAP_ETH` +### `UNWRAP_WETH` - `address` The recipient of the ETH - `uint256` The minimum required ETH to receive from the unwrapping @@ -271,4 +271,4 @@ For a Sudoswap command, that should be *allowed to revert*, the following 8 bit command = 0x80 (10000000) && 0x19 (00011001) = 0x99 (10011001) ``` -Take care when working with reverting commands - ensure you have appended commands to deal with funds that could remain in the contract after either outcomes. For example, if the Sudoswap command reverts, a following `SWEEP` can be added to ensure that any ETH that was not spent does not get left in the router. \ No newline at end of file +Take care when working with reverting commands - ensure you have appended commands to deal with funds that could remain in the contract after either outcomes. For example, if the Sudoswap command reverts, a following `SWEEP` can be added to ensure that any ETH that was not spent does not get left in the router.