From 02cef40f3291ae4491bf687abecf74e08a1f8cee Mon Sep 17 00:00:00 2001 From: Hiroyuki Naito <04hiroyuki28@gmail.com> Date: Mon, 22 Jan 2024 16:55:41 +0900 Subject: [PATCH] Corrected typo UNWRAP_ETH -> UNWRAP_WETH --- 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.