Guards

Guards are stateless checks that run on transactions. Guards run on EVM nodes to verify the state transition of a transaction. They are very flexible and can implement checks ranging from a simple balance change to an anomaly model trained on features from past exploits. Each guard is built with configuration parameters to tailor it specifically for the smart contracts that use it.

Due to the stateless nature of guards, they can be replayed on any historical transaction, run in real-time on every block, or simulated on transactions that have not been executed.

Example Guards

  • Verify bridged in amount on the destination chain matches a bridged out amount on the source chain

  • A contract created with seed funding from Tornado.cash interacted with project

  • Project liquidity dropped below a threshold for a time period

Last updated