Skip to content

[Feature]: Implement a LibNonReentrancy.sol library #146

@mudgen

Description

@mudgen

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.

Metadata

Metadata

Assignees

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions