generated from yuichiroaoki/typescript-hardhat
-
Notifications
You must be signed in to change notification settings - Fork 168
Open
Description
Anyone can interact with your contract with this current version, so it is theoretically vulnerable to frontrunning attacks
Ideas
- Add something like the ownable modifier from OpenZeppelin to the flashloan function
This doesn't solve the issue because some could have its own clone of your contract and if it detects a profitable transaction, create a new one against his own contract instance with a higher fee.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels