Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ability to warn users for AMB transactions executed automatically #643

Open
akolotov opened this issue Mar 5, 2022 · 0 comments
Open

Ability to warn users for AMB transactions executed automatically #643

akolotov opened this issue Mar 5, 2022 · 0 comments
Labels
ALM enhancement New feature or request

Comments

@akolotov
Copy link
Collaborator

akolotov commented Mar 5, 2022

Consider to introduce a mechanism to discover transactions that should be executed automatically. The mechanism must operates through reading a json file which is provided on the ALM deployments phase.

The format of the json file could be as follows:

[
  {
    "OB_message":true,
    "token":"0x..",
    "message":"This is a XXX transfer. In most cases it is executed automatically. Just wait few minutes more"
  },
  {
    "OB_message":true,
    "token":"0x..",
    "recipient":"0x..",
    "message":"This is a YYY transfer. Usually it is executed once a day. Please check the status tomorrow"
  },
  {
    "OB_message":true,
    "recipient":"0x..",
    "message":"This is a YYY transfer. Don't worry and wait for a bit"
  },
  {
    "OB_message":false,
    "sender":"0x..",
    "message":"..."
  },
  {
    "OB_message":false,
    "recipient":"0x..",
    "message":"..."
  },
  {
    "OB_message":false,
    "sender":"0x..",
    "recipient":"0x..",
    "message":"..."
  }
]

So, the idea is to display a message/warning for the user if the message matches with the corresponding template.

For example, by defining:

  {
    "OB_message":true,
    "token":"0x88ad09518695c6c3712ac10a214be5109a655671",
    "recipient":"0x3f615ba21bc6cc5d4a6d798c5950cc5c42937fbd",
    "message":"This is a Tornado Cash Nova transfer. In most cases it is executed automatically. Just wait few minutes more"
  }

users should see a warning when WETH is sent to the Tornado Cash Helper contract through OB.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ALM enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants
@akolotov and others