---
title: "Comment by Ou Ly on \"ERC20 Weirdness & Attacks Part 1\" | Hashnode"
description: "What is updateFor(msg.sender); used for?"
url: "https://hashnode.com/posts/erc20-weirdness-attacks-part-1/6508d766253a0a6629c6f046/comment/65094aba5530bf0e38241238"
---

[Discussion](https://hashnode.com/posts/erc20-weirdness-attacks-part-1/6508d766253a0a6629c6f046)

Comment [ERC20 Weirdness & Attacks Part 1](https://hashnode.com/posts/erc20-weirdness-attacks-part-1/6508d766253a0a6629c6f046)

[Ou Ly](https://hashnode.com/@ouly38)

[Sep 19, 2023](https://hashnode.com/posts/erc20-weirdness-attacks-part-1/6508d766253a0a6629c6f046/comment/65094aba5530bf0e38241238)

What is updateFor(msg.sender); used for?
