EIP-5283
Semaphore for Reentrancy Protection
A Precompile-based parallelizable reentrancy protection using the call stack
StagnantVerge
Status history
- Draft17 Jul 2022
- Stagnantdate not observed
Abstract
This EIP proposes adding a precompiled contract that provides a semaphore function for creating a new type of reentrancy protection guard (RPG). This function aims to replace the typical RPG based on modifying a contract storage cell. The benefit is that the precompile-based RPG does not write to storage, and therefore it enables contracts to be forward-compatible with all designs that provide…