Skip to content

Commit 6a23776

Browse files
authored
Update EIP-6120: add Native Token Transfer section
Merged by EIP-Bot.
1 parent 963683f commit 6a23776

1 file changed

Lines changed: 7 additions & 1 deletion

File tree

EIPS/eip-6120.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,13 @@ interface IUniversalTokenRouter {
177177
}
178178
```
179179

180-
See [Discard Payment](#discard-payment-1) in **Security Considerations** for an important security note.
180+
Please refer to the [Discard Payment](#discard-payment-1) section in the **Security Considerations** for an important security note.
181+
182+
### Native Token Tranfer
183+
184+
The `UTR` SHOULD have a `receive()` function for user execution logic that requires transferring ETH in. The `msg.value` transferred into the router can be spent in multiple inputs across different actions. While the caller takes full responsibility for the movement of `ETH` in and out of the router, the `exec` function SHOULD refund any remaining `ETH` before the function ends.
185+
186+
Please refer to the [Reentrancy](#reentrancy) section in the **Security Considerations** for information on reentrancy risks and mitigation.
181187

182188
### Usage Examples
183189

0 commit comments

Comments
 (0)