0.0.4 • Published 8 months ago

ethx-forta-bot v0.0.4

Weekly downloads
-
License
SEE LICENSE IN LI...
Repository
github
Last release
8 months ago

ETHx Agents

Description

This forta agents monitors ETHx contracts and sends alerts on the following alert conditions.

Supported Chains

  • Ethereum

Alerts

  • address-activity

    • Alert when any activity is detected on the contract address (MANAGER, ADMIN and TIMELOCK_OWNER).
    • Severity is always set to "High"
    • Type is always set to "Suspicious"
    • Metadata fields:
      • "address" - the contract address that was interacted with
  • approval-to-non-user-withdraw-manager-contract

    • Approval to non UserWithdrawManager contract.
    • Severity is always set to "High"
    • Type is always set to "Suspicious"
    • Metadata fields:
      • "owner" - the owner address
      • "spender" - the spender address
      • "amount" - the amount of tokens approved
  • large-eth-deposit

    • Large ETH deposit.
    • Severity is always set to "Info"
    • Type is always set to "Info"
    • Metadata fields:
      • "caller" - the caller address
      • "owner" - the owner address
      • "assets" - the amount of ETH deposited
      • "shares" - the amount of shares minted
  • ethx-not-minted

    • When ETH is deposited and ETHx not minted.
    • Severity is always set to "Critical"
    • Type is always set to "Suspicious"
    • Metadata fields:
      • "caller" - the caller address
      • "owner" - the owner address
      • "assets" - the amount of ETH deposited
      • "shares" - the amount of shares minted
  • er-inspection-mode-toggle

    • When ER inspection mode is toggled.
    • Severity is always set to "High"
    • Type is always set to "Info"
    • Metadata fields:
      • "erInspectionMode" - the ER inspection mode
      • "time" - the time
  • exchange-rate-increased-by-5

    • When exchange rate increased by 5%.
    • Severity is always set to "Critical"
    • Type is always set to "Suspicious"
    • Metadata fields:
      • "currentExchangeRate" - the current exchange rate
      • "lastExchangeRate" - the last exchange rate
      • "block" - the block number
      • "time" - the time
  • exchange-rate-decreased-by-5

    • When exchange rate decreased by 5%.
    • Severity is always set to "Critical"
    • Type is always set to "Suspicious"
    • Metadata fields:
      • "currentExchangeRate" - the current exchange rate
      • "lastExchangeRate" - the last exchange rate
      • "block" - the block number
      • "time" - the time
  • claim-eth-amount-of-0

    • When claim ETH amount of 0.
    • Severity is always set to "High"
    • Type is always set to "Suspicious"
    • Metadata fields:
      • "_sender" - the sender address
      • "_recipient" - the recipient address
      • "_ethTransferred" - the amount of ETH transferred
  • role-change

    • When role change on any contract is detected.
    • Severity is always set to "High"
    • Type is always set to "Suspicious"
    • Metadata fields:
      • "role" - the role
      • "account" - the account
      • "sender" - the sender
  • safe-mode-toggle

    • When safe mode is toggled.
    • Severity is always set to "High"
    • Type is always set to "Info"
    • Metadata fields:
      • None
  • large-sd-deposite

    • Large SD deposit.
    • Severity is always set to "Info"
    • Type is always set to "Info"
    • Metadata fields:
      • "operator" - the operator address
      • "sdAmount" - the amount of SD deposited
  • ethx-minted

    • When ETHx is minted more than 5% in 10 minutes.
    • Severity is always set to "High"
    • Type is always set to "Suspicious"
    • Metadata fields:
      • "to" - the caller address
      • "value" - the owner address
      • "mintedEthxLast10minSum" - the amount of ETH deposited
  • validator-marked-as-frontrunned

    • When validator is marked as frontrunned.
    • Severity is always set to "High"
    • Type is always set to "Suspicious"
    • Metadata fields:
      • "pubkey" - the pubkey
      • "validatorId" - the validator id
  • validator-status-marked-as-invalid-signature

    • When validator status is marked as invalid signature.
    • Severity is always set to "High"
    • Type is always set to "Suspicious"
    • Metadata fields:
      • "pubkey" - the pubkey
      • "validatorId" - the validator id
  • withdraw-request-received-0-eth

    • When withdraw request received 0 ETH.
    • Severity is always set to "High"
    • Type is always set to "Suspicious"
    • Metadata fields:
      • "_msgSender" - the sender address
      • "_recipient" - the recipient address
      • "_requestId" - the request id
      • "_sharesAmount" - the amount of shares
      • "_etherAmount" - the amount of ETH
  • large-undelegation

    • Large undelegation.
    • Severity is always set to "Info"
    • Type is always set to "Info"
    • Metadata fields:
      • "_msgSender" - the sender address
      • "_recipient" - the recipient address
      • "_requestId" - the request id
      • "_sharesAmount" - the amount of shares
      • "_etherAmount" - the amount of ETH