
22 Followers
wasap
🔒🔒🔒🔒🔒🔒🔒🔒🔒🔒🔒🔒🔒🔒🔒 Introducing Transience, a library for safely using transient storage in Solidity (without assembly). https://github.com/ethereum-optimism/transience
What does the library offer? - It allows writing and reading transient storage without assembly/Yul - It prevents reentrant calls from overwriting transient storage
You get these methods: - get(bytes32 _slot) for retrieving a transient value - set(bytes32 _slot, uint256 _value) for setting a transient value _slot and the current call depth are used to determine a unique location in transient storage.