futarchy icon indicating copy to clipboard operation
futarchy copied to clipboard

Add an anti-frontunning check

Open metaproph3t opened this issue 1 year ago • 1 comments

As an anti-spam measure, we force the proposer to burn some lamports.

We should add a parameter expected_lamport_burn that you can pass into initialize_proposal. We should revert the transaction if actual lamport burn would be greater than expected lamport burn.

metaproph3t avatar Dec 06 '23 10:12 metaproph3t

Drafted by Ichigo here, but it looks like he's swamped rn so this is up for grabs! Feel free to build off of his PR or create your own

metaproph3t avatar Mar 08 '24 23:03 metaproph3t

No longer needed given new AMM anti-spam tool where you just require a minimum amount of liquidity to be deposited

metaproph3t avatar May 29 '24 06:05 metaproph3t