Aegis
  • Introduction
    • Who is Aegis for?
    • How to start using Aegis?
    • How does Aegis work?
      • Supported networks
      • Findings
      • Categorizing your monitored address
      • Backtesting
        • Performing a backtest
      • Smart contract analysis
      • Allowances
  • Add a monitored address
    • Bulk import addresses
  • Add a notification channel
    • Add an email notification channel
    • Add a Slack notification channel
      • Anatomy of your Slack notification
    • Add a Telegram notification channel
      • Anatomy of your Telegram notification
    • Add an SMS notification channel
    • Add a Discord notification channel
      • Anatomy of your Discord notification
    • Webhooks
  • Triggers
    • Trigger Types compatibility matrix
    • Potential Risks
      • Risk Types
      • Risk Levels
      • Retention of Aegis Findings
    • Events
      • Event Listening: Use cases
    • Function Calls
      • Function Call Monitoring: Use Cases
    • The difference between Events and Function Calls
    • Value triggers
      • Transfer Threshold Monitoring: Use Cases
      • Total-Value-Locked (TVL) Monitoring: Use Cases
      • Token Mint Monitoring: Use Cases
    • Wallet Activity
  • Add an alert
    • Alert management
    • Notification limits solutions
  • Panic Button
    • Add a Panic Button
    • How does the Panic Button work?
  • Interact with your smart contract
  • Teams
  • API
  • Aegis dApp
    • Token risk analysis
  • Firewall
  • Pricing
    • LSS Boost
    • Aegis Limitless
    • Aegis Pulse
  • Glossary
  • Release notes
Powered by GitBook
On this page
  1. Add a notification channel

Webhooks

Suspicious Transaction notification

The Suspicious Transaction notification is triggered when a transaction involving a watchlist address is identified as potentially risky. The notification provides details of the transaction, including the transaction URL, the protected address name, and the hash of the transaction. It also provides information about the potential risks associated with the transaction, including the types of risks involved and the severity level. The notification is designed to alert users of potential risks associated with transactions involving their watchlist addresses.

{
  "notificationType": "suspiciousTransaction",
  "data": {
    "txUrl": "https://etherscan.io/tx/0x0",
    "aegisUrl": "https://aegis.lossless.io/dashboard/address-details/0x388C818CA8B9251b393131C08a736A67ccB19297/eth",
    "protectedAddressName": "Test Protected Address",
    "txHash": "0x0",
    "protectedAddress": "0x388C818CA8B9251b393131C08a736A67ccB19297",
    "chain": "eth",
    "riskTypes": ["Reentrancy", "OFAC Compliance", "Tornado User Involved"],
    "severityLevel": "Medium"
  }
}

Custom Events notification

Notification about a transaction where a monitored smart contract event occurred. The notification includes the URL to view the transaction, the name of the protected address associated with the event, the hash of the transaction, the chain the transaction occurred on, and the list of custom events that were detected in the transaction.

{
  "notificationType": "customEventsDetected",
  "data": {
    "txUrl": "https://etherscan.io/tx/0x0",
    "aegisUrl": "https://aegis.lossless.io/dashboard/address-details/0x388C818CA8B9251b393131C08a736A67ccB19297/eth",
    "protectedAddressName": "Test Protected Address",
    "txHash": "0x0",
    "protectedAddress": "0x388C818CA8B9251b393131C08a736A67ccB19297",
    "chain": "eth",
    "customEvents": ["Withdrawal", "Deposit"]
  }
}

Function Calls notification

Notification about detected function calls in a transaction involving a protected address added to a user's watchlist. This notification provides details on the function calls, including the function name, function signature, and the originating address.

{
  "notificationType": "functionCallsDetected",
  "data": {
    "txUrl": "https://etherscan.io/tx/0x0",
    "aegisUrl": "https://aegis.lossless.io/dashboard/address-details/0x388C818CA8B9251b393131C08a736A67ccB19297/eth",
    "protectedAddressName": "Test Protected Address",
    "txHash": "0x0",
    "protectedAddress": "0x388C818CA8B9251b393131C08a736A67ccB19297",
    "chain": "eth",
    "functionCalls": [
      {
        "functionName": "transfer",
        "functionSignature": "0xa9059cbb",
        "from": "0x388C818CA8B9251b393131C08a736A67ccB19297"
      },
      {
        "functionSignature": "0xa246e7a8",
        "fucntionName": "testFunction",
        "from": "lockAllFundTransferFunctions"
      }
    ]
  }
}

Mint notification

The Mint Detected notification is sent when a watchlist address has minted new tokens. This notification includes details about the mint transaction, such as the transaction hash, the protected address, and the chain. Additionally, the notification provides details about the amount and recipients of the newly minted tokens. This notification is useful for users who want to be notified when a specific token in their watchlist is minted, allowing them to stay informed about changes to their monitored tokens.

{
  "notificationType": "mintDetected",
  "data": {
    "txUrl": "https://etherscan.io/tx/0x0",
    "aegisUrl": "https://aegis.lossless.io/dashboard/address-details/0x388C818CA8B9251b393131C08a736A67ccB19297/eth",
    "protectedAddressName": "Test Protected Address",
    "txHash": "0x0",
    "protectedAddress": "0x388C818CA8B9251b393131C08a736A67ccB19297",
    "chain": "ethereum",
    "mintDetails": [
      {
        "amount": 1000000000000000000,
        "to": "0x388C818CA8B9251b393131C08a736A67ccB19297"
      },
      {
        "amount": 59999,
        "to": "0x388C818CA8B9251b393131C08a736A67ccB19297"
      },
      {
        "amount": 3829832,
        "to": "0x388C818CA8B9251b393131C08a736A67ccB19297"
      }
    ]
  }
}

TVL changed notification

This notification is for tracking changes in Total Value Locked (TVL) for a specific token within a user's watchlist. Users can set a percentage threshold for the change in their balance and receive a notification once the threshold is met. The notification payload includes the protected address, the chain, the token name, and the percentage change in the TVL.

{
  "notificationType": "tvlChanged",
  "data": {
    "aegisUrl": "https://aegis.lossless.io/dashboard/address-details/0x388C818CA8B9251b393131C08a736A67ccB19297/eth",
    "protectedAddressName": "Test Protected Address",
    "protectedAddress": "0x388C818CA8B9251b393131C08a736A67ccB19297",
    "chain": "ethereum",
    "tokenName": "DAI",
    "percentageChange": 10
  }
}
PreviousAnatomy of your Discord notificationNextTriggers

Last updated 1 year ago