Skip to content

Latest commit

 

History

History
32 lines (22 loc) · 917 Bytes

File metadata and controls

32 lines (22 loc) · 917 Bytes

Role Change Detection Agent

Description

This agent detects transactions triggering role changes in smart contracts.

Supported Chains

  • Ethereum
  • Binance Smart Chain
  • Polygon
  • Arbitrum
  • Optimism
  • Fantom
  • Avalanche

Alerts

Describe each of the type of alerts fired by this agent

  • ROLE-CHANGE
    • Fired when a transaction to a contract invokes a function call that appears to trigger a role change
    • Severity is always set to "medium"
    • Type is always set to "suspicious"
    • Metadata includes the key words that triggered the alert, the function call made in the transaction, and the anomaly score

Test Data

The agent behaviour can be verified with the following transactions:

  • 0x30a332902920cb6886281f6d28abfa5775559647eb7288e7cc00763fe4427f7b (calls setMetadataManager(address))
  • 0xbdc28a3d1b8dc6ccaa88c30839b0c0b8275c6e72fe23881d4eddd93c1e7e3c9c (calls transferOwnership(address))