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 withdrawal of funds from the contract before the sale is completed
  • Monitor withdrawal of tokens for an amount greater than the sale limit

Was this helpful?

  1. Advanced monitoring
  2. Recommendations by SC type

Token Sale

Token Sale is a type of smart contract that is used to facilitate the sale of tokens to investors.

Monitor withdrawal of funds from the contract before the sale is completed

Trigger: ERC20 Transfer more than n

Parameters:

  • Token address: the address of the selling token

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

  • Destination: from

Severity: Critical

Alerts: On

Use cases:

  • In most cases, tokens can only be withdrawn after a successful sale. Remove this trigger after the sale is over.

Monitor withdrawal of tokens for an amount greater than the sale limit

Trigger: ERC20 Transfer more than n

Parameters:

  • Token address: the address of the selling token

  • Amount: should be greater than the sale limit by 1 wei

  • Destination: from

Severity: Critical

Alerts: On

Use cases:

  • If a limit is set for the sale of tokens per account, exceeding this limit signals an issue in the contract.

PreviousLendingNextIntro

Last updated 2 years ago

Was this helpful?