Hacken Extractor
  • 🚀Getting Started
  • ⛓️Supported Networks
  • Monitoring and Detection
  • Security monitoring
    • Intro
    • Detectors
      • Extractor Attack Detector
      • Forta Attack Detector
      • Custom Detectors
      • Block Anomaly
      • Block Re-org
      • DNS Monitor
      • Contract Verification
    • Setup Detectors
  • Compliance Monitoring
    • Intro
    • Detectors
      • AML Monitor
      • TVL Monitor
      • Circulation Supply Monitor
      • Whales Detector
      • Price Monitor
      • Github Monitor
      • Proof Of Reserves Monitor
      • Safe Multisig Monitor
    • Setup Detectors
  • Advanced monitoring
    • Intro
    • Triggers
    • Setup triggers
    • Recommendations by SC type
      • Staking
      • Vesting
      • Fungible Token (EIP-20 compatible)
      • Non-Fungible Token (EIP-721 compatible)
      • Yield Farming
      • Lending
      • Token Sale
  • Smart Contract Actions
    • Intro
    • Action Providers
      • Create Action Provider
      • Connect Action Provider
      • Deposit
      • Withdraw
    • Setup Action
  • Support
    • 📧Support
  • Legal documents
    • Cookie Policy
    • Terms of Service
    • Privacy Notice
Powered by GitBook
On this page
  • Monitor any withdrawals from the contract when the cliff period has not ended
  • Monitor unexpected large withdrawals
  • Set up a list of all beneficiaries

Was this helpful?

  1. Advanced monitoring
  2. Recommendations by SC type

Vesting

A vesting contract is a type of smart contract that is used to manage the release of tokens or other assets to a recipient over a specified period of time.

Monitor any withdrawals from the contract when the cliff period has not ended

Trigger: ERC20 Transfer more than n

Parameters:

  • Token address: the address of the vested token

  • Amount: should be as small as possible, e.g. 1 wei

  • Destination: from

Severity: Critical

Alerts: On

Use cases:

  • Any withdrawal of funds from the contract before the end of the cliff period clearly signals that there is an issue in the contract and it has been exploited. Remove this trigger after the cliff period is over.

Monitor unexpected large withdrawals

Trigger: ERC20 Transfer more than n

Parameters:

  • Token address: the address of the vested token

  • Amount: should be greater than the maximum possible amount by 1 wei

  • Destination: from

Severity: Critical

Alerts: On

Use cases:

  • Withdrawing an amount from a contract that exceeds the maximum possible under current vesting rules means that there is an issue with the contract and it has been exploited.

Set up a list of all beneficiaries

Trigger: Whitelisted Callers

Parameters:

  • Whitelisted Addresses: list of addresses of all beneficiaries

Severity: Critical

Alerts: On

Use cases:

  • Usually, after the start of vesting, the list of those who interact with the contract is the list of its beneficiaries. If someone not from this list interacts with the contract it could be a sign that the contract has been compromised or hacked in some way.

PreviousStakingNextFungible Token (EIP-20 compatible)

Last updated 2 years ago

Was this helpful?