Grant application: MEVaporized — Have I Been MEV’d Bot

Hey folks, after some feedback from the CoW Grants team we would like to repost our proposal modifying the following parts:


Milestones:

Milestone Due Date Payment
Twitter Bot within a week 2k xDAI
Discord Bot within a week 0.5k xDAI
Telegram Bot within a week 0.5k xDAI
Dashboard within a week 1.5k xDAI

Twitter Bot:

This milestone includes all the RFP features. The bot will scan mentions and messages for addresses. These addresses will then be queried on the Zeromev API, and the bot will respond with the total MEV losses along with a call to action for MEV Blocker.

The reply message will have the following format:

MEV Receipt for <address>

+----------------------------------------------+
|  MEV Suffered: $$$ across <No.> swaps        |
|                                              |
|  Most Lost To:                               |
|  <Name of contract> <amount>                 | 
+----------------------------------------------+


Stop feeding the MEV bots.  
Install MEV Blocker: https://cow.fi/mev-blocker

The bot will live on this Twitter account.

In situations where Twitter users prefer to keep their addresses private, the bot will also respond to direct messages (DMs) as well. Its behavior in DMs will mirror that of the baseline feature.

Also, the bot will post weekly tweets with MEV stats. The bot will retrieve more information from the same API and share:

  • Number of swaps MEV’d (frontruns and sandwiches)
  • Amount of MEV extracted that week
  • Amount in MEV bot profits
  • Total number of MEV victim addresses
  • How much in rebates users would have received if they had used MEV Blocker for their transactions

This weekly message will include images that will be programmatic generated from a template. An example of an image that can be generated (with fake data) is the chart below with the top 5 protocols in which users lost more funds on MEV.

Discord Bot

We propose integrating all accepted features into Discord. A /mevscanner command will be available to scan an address and reply with the same Twitter message template. Additionally, we could also mirror the same daily overview posts from in a dedicated Discord channel. Bot DM will be open to privacy-preserving scans. The weekly overview messages will be also posted in a dedicated channel.

Telegram Bot

We propose integrating the bot on Telegram. The bot can be added on groups or contacted on DM to privacy-preserving. In each case, when you send an address to the bot, it will reply with the same template as the Twitter message.

Dashboard

Simple web application where users can enter one address, or connect a wallet, to be scanned. References of the page are presented below:



Funding Request:

We suggest releasing payments upon the completion of each milestone. Furthermore, to ensure ongoing support and maintenance of the bot over the next year, we propose a vesting schedule that includes an additional 6k COW, to be disbursed after the bot’s delivery.

This approach is intended to align our incentives with the continuous maintenance and support of the bot. Small modifications such as new templates and layouts are included. However, new features such as new graphs for the dashboard, new actions of the bot, or new database integrations will have to be billed apart (probably on a small core contributor proposal).

Considering that the funding can be made all after the project delivery and it is:

  • 4.5k xDAI;
  • 6k COW vested over 12 months.

Also, for the Twitter Bot, the basic plan that costs 100 USD / month of the Twitter API will be needed and is not included in the budget above. To cover this, the CoW Grants team can choose to provide an API key to be used or send us an additional USD equivalent amount to pay for it.

2 Likes