Skip to content

Frontrunning protection #49

@yuichiroaoki

Description

@yuichiroaoki

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions