This repo contains basic examples of Forta agents that monitor for specific events happening on Ethereum.
Monitors gas spend of transactions and fires an alert when a gas price 10 standard devations over the last 5000 transactions average is used.
Detects transactions that have a large value relative to other transactions that interact with the same smart contract. Fires when the transaction value is 5 standard deviations above the average.
Detects transactions with a value above a specific threshold and fires an alert.
Fires an alert when an address on a blacklist transacts.
Fires an alert when a specific (blacklisted) address deploys a contract.
Fires an alert when a Deposit or Withdrawal event occurs on the WETH contract above the 5 ether threshold limit via the Uniswap V2 Router contract
Detects swaps occurring via the swapExactTokensForETH or swapExactETHForTokens calls on the Uniswap v2 Router contract.
Fires an alert when the swap value is above 5 ether.
Detects transfer calls on the USDT contract. It serves as an example of how to monitor any contract for any function call.
Checks transactions against a pre-defined list of addresses that are known to have been involved in public hacks. Fires an alert when the malicious address initiates a transaction.
Detects the OwnershipTransferred and RoleAdminChanged events on Ownable contracts and fires an alert when they occur.