Feature Request
Implement a LibNonReentrancy.sol file that implements nonReentrant internal functions. Use Solidity's transient storage. Look at the example given in Solidity's docs.
Put this in the "libraries" directory for now.
We don't use modifiers in Compose so just implement this as internal functions. But in LibNonReentrancy.sol put a commented out example of how a user could easily implement their own modifier in their own custom facet using the nonRentrant internal functions.
Helpful Information
Have a question? Please check our CONTRIBUTING file first - your answer might already be there!
Want to discuss something? For general questions, ideas, or brainstorming, please browse our discussions or start a new one.
You can also join our Discord to discuss the issue.
Feature Request
Implement a
LibNonReentrancy.solfile that implements nonReentrant internal functions. Use Solidity's transient storage. Look at the example given in Solidity's docs.Put this in the "libraries" directory for now.
We don't use modifiers in Compose so just implement this as internal functions. But in
LibNonReentrancy.solput a commented out example of how a user could easily implement their own modifier in their own custom facet using the nonRentrant internal functions.Helpful Information
Have a question? Please check our CONTRIBUTING file first - your answer might already be there!
Want to discuss something? For general questions, ideas, or brainstorming, please browse our discussions or start a new one.
You can also join our Discord to discuss the issue.