Mono repository of Token Bridge (Oracle, Deployment, Monitor). TokenBridge is an interoperability solution between EVM-based networks for assets/data cross chain transfers
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.
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:
So, the idea is to display a message/warning for the user if the message matches with the corresponding template.
For example, by defining:
users should see a warning when WETH is sent to the Tornado Cash Helper contract through OB.