Skip to content
#

sandwich-attacks

Here are 11 public repositories matching this topic...

👾 (𝗼𝗻 𝘁𝗵𝗲 𝗵𝗼𝗽𝗲 𝗼𝗳 𝗻𝗼𝗻-𝗽𝗿𝗲𝗱𝗮𝘁𝗼𝗿𝘆) 𝗳𝗿𝗲𝗲 𝗺𝗮𝗿𝗸𝗲𝘁𝘀 𝗶𝗻 𝘁𝗵𝗲 𝗺𝗲𝘁𝗮𝘄𝗲𝗯 - 𝗺𝘆 𝗻𝗼𝘁𝗲𝘀 𝗳𝗿𝗼𝗺 𝗮 𝗰𝗼𝗺𝗽𝗿𝗲𝗵𝗲𝗻𝘀𝗶𝘃𝗲 𝗿𝗲𝘀𝗲𝗮𝗿𝗰𝗵 𝗼𝗻 𝗺𝗮𝘅𝗶𝗺𝗮𝗹 𝗲𝘅𝘁𝗿𝗮𝗰𝘁𝗮𝗯𝗹𝗲 𝘃𝗮𝗹𝘂𝗲

  • Updated May 17, 2024
  • Shell

This project demonstrates a basic ERC20 token use case. It comes with a special modifier for the transfer and transferFrom functionality. The modifier "onlyOncePerBlock(address,address)" will make a token sender only be able to send a transfer transaction once per block. A sandwich (front- & backrun within one block) isn't possible anymore.

  • Updated May 14, 2023
  • Solidity

Improve this page

Add a description, image, and links to the sandwich-attacks topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the sandwich-attacks topic, visit your repo's landing page and select "manage topics."

Learn more