<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"><channel><title>Reignark Labs: Smart contracts</title><description>Articles on Ethereum smart contract development: Solidity, DeFi protocol design, upgradeable contracts, and Foundry fuzz and invariant testing.</description><link>https://reignarklabs.com/</link><item><title>One storage namespace per module: ERC-7201 in practice</title><link>https://reignarklabs.com/blog/erc7201-namespaced-storage-per-module/</link><guid isPermaLink="true">https://reignarklabs.com/blog/erc7201-namespaced-storage-per-module/</guid><description>How to give each module of an upgradeable Solidity protocol its own ERC-7201 storage namespace: naming, the erc7201 builtin, safe struct changes and tests.</description><pubDate>Thu, 15 Oct 2026 00:00:00 GMT</pubDate><category>Smart contracts</category><category>ERC-7201</category><category>Storage layout</category><category>Upgradeable contracts</category></item><item><title>Solidity&apos;s layout at and erc7201: custom storage layouts explained</title><link>https://reignarklabs.com/blog/solidity-layout-at-custom-storage-layout/</link><guid isPermaLink="true">https://reignarklabs.com/blog/solidity-layout-at-custom-storage-layout/</guid><description>How Solidity&apos;s layout at specifier and the new erc7201 builtin move contract storage, how that differs from ERC-7201 namespaced structs, and the pitfalls.</description><pubDate>Thu, 15 Oct 2026 00:00:00 GMT</pubDate><category>Smart contracts</category><category>Solidity</category><category>Storage layout</category><category>Upgradeable contracts</category></item><item><title>Structuring a Solidity protocol codebase: interfaces, modules and libraries</title><link>https://reignarklabs.com/blog/structuring-a-solidity-protocol-codebase/</link><guid isPermaLink="true">https://reignarklabs.com/blog/structuring-a-solidity-protocol-codebase/</guid><description>A practical layout for a Solidity protocol: interfaces, core and periphery, modules that own their state, libraries and inheritance, and why each matters.</description><pubDate>Thu, 15 Oct 2026 00:00:00 GMT</pubDate><category>Smart contracts</category><category>Solidity</category><category>Architecture</category><category>Upgradeable contracts</category></item><item><title>ERC-4626 inflation attacks: how they work and how to prevent them</title><link>https://reignarklabs.com/blog/erc4626-inflation-attacks/</link><guid isPermaLink="true">https://reignarklabs.com/blog/erc4626-inflation-attacks/</guid><description>How the first-depositor inflation attack steals from ERC-4626 vault users, with worked numbers, and how virtual shares and internal accounting stop it.</description><pubDate>Wed, 14 Oct 2026 00:00:00 GMT</pubDate><category>Smart contracts</category><category>ERC-4626</category><category>DeFi security</category><category>Solidity</category></item><item><title>Invariant testing a lending protocol with Foundry</title><link>https://reignarklabs.com/blog/foundry-invariant-testing-lending-protocol/</link><guid isPermaLink="true">https://reignarklabs.com/blog/foundry-invariant-testing-lending-protocol/</guid><description>A practical guide to Foundry invariant tests for DeFi lending protocols: handlers, bounded inputs, ghost variables, time travel, and the invariants worth checking.</description><pubDate>Wed, 14 Oct 2026 00:00:00 GMT</pubDate><category>Smart contracts</category><category>Foundry</category><category>Invariant testing</category><category>Lending</category></item><item><title>UUPS vs beacon vs transparent proxies: choosing an upgrade pattern</title><link>https://reignarklabs.com/blog/uups-vs-beacon-vs-transparent-proxies/</link><guid isPermaLink="true">https://reignarklabs.com/blog/uups-vs-beacon-vs-transparent-proxies/</guid><description>How UUPS, beacon and transparent proxies work, what each costs, where they go wrong, and how to choose an upgrade pattern for an Ethereum protocol.</description><pubDate>Wed, 14 Oct 2026 00:00:00 GMT</pubDate><category>Smart contracts</category><category>Upgradeable contracts</category><category>Solidity</category><category>Architecture</category></item></channel></rss>