跳到正文
原文
Ethereum Research 论坛· dlebee·· 27 天前AI 评分32

资产级消费限额与恢复:限速应放在资产而非账户层?

Asset-level spending limits and recovery: should rate limiting live in the asset rather than the account?

AI 导读

以太坊研究论坛提出将消费限额与恢复机制从账户代码移到资产层:ERC-20 由代币合约在 transfer、transferFrom 和销毁等所有余额减少路径上执行滚动窗口限额,从而绕过现有 allowance 的规避问题,且无需协议改动。

来源:Ethereum Research 论坛 · ethresear.ch