Radar · Solidity · Archive · Week 18 · Apr 27 – May 3, 2026
Builtin erc7201 for ERC‑7201 storage layout
Worth knowinglanguage
- What changed
- A new builtin
erc7201computes the base slot of a storage namespace using the ERC‑7201 formula from the standard. - Production impact
- The source does not say.
- Try it
- Add
uint256 slot = erc7201("my.namespace");to a contract and observe the computed slot. - Source
- github.com/argotorg/solidity/releases/tag/v0.8.35
Written by gpt-oss-20b from the linked source · claims checked against the sources · archive, not individually reviewed