ICO Launchpad 5.0.1

4 August 2025

This release has upgrade notes. Read them before updating — they describe behaviour changes that need your attention.

SECURITYCRITICAL FIXESBUSINESS LOGICCOMPLIANCE

ICO v5.0.1

Release Date: August 4, 2025
Tags: SECURITY, CRITICAL FIXES, BUSINESS LOGIC, COMPLIANCE

Upgrade Notes

Breaking Changes

  • Investment transactions now require wallet address validation
  • Token release API signature changed to include verification
  • Offering creation requires vesting configuration (optional)

Database Migrations Required

-- Add vesting tables
CREATE TABLE ico_token_vesting (...);
CREATE TABLE ico_token_vesting_release (...);

-- Add settings for limits
INSERT INTO settings (key, value) VALUES
  ('icoMinInvestment', '10'),
  ('icoMaxInvestment', '100000'),
  ('icoMaxPerUser', '50000'),
  ('icoSoftCapPercentage', '30');

Configuration Updates

  • Set investment limits in admin panel
  • Configure soft cap percentage
  • Enable/disable vesting as needed
  • Review rate limiting thresholds

Security Recommendations

  1. Enable all rate limiting features
  2. Configure appropriate investment limits
  3. Set up automated refund processing
  4. Monitor audit logs regularly
  5. Test vesting schedules before launch

Known Issues

  • KYC/AML integration still pending
  • Smart contract verification not implemented
  • Multi-signature wallet support missing

Future Enhancements

  • Blockchain verification integration
  • Automated KYC/AML compliance
  • Enhanced analytics dashboard
  • Mobile app support
  • Multi-language notifications

Added

Investment Limits System

  • Added configurable minimum investment amounts
  • Implemented maximum investment per transaction
  • Added per-user investment caps
  • Created admin controls for limit management

Phase Management System

  • Implemented automatic phase transitions
  • Added phase-based pricing with validation
  • Created phase tracking and monitoring
  • Enhanced token allocation per phase

Refund Mechanism

  • Created comprehensive refund system for failed ICOs
  • Implemented automatic refund detection
  • Added batch refund processing
  • Created refund eligibility checking

Token Vesting System

  • Added flexible vesting schedules (LINEAR, CLIFF, MILESTONE)
  • Implemented automatic vesting release calculations
  • Created vesting claim mechanism
  • Added vesting notification system

Rate Limiting

  • Implemented rate limiting on all critical endpoints
  • Added investment creation limits (5 per 15 minutes)
  • Applied general API rate limiting
  • Enhanced DDoS protection

Notifications

  • Added vesting release notifications
  • Implemented refund notifications

Changed

Soft/Hard Cap Management

  • Implemented soft cap validation (30% default)
  • Added hard cap enforcement
  • Created automatic failure detection
  • Enhanced funding goal tracking

Enhanced Calculations

  • Fixed token amount calculations with decimals
  • Added proper currency handling
  • Implemented phase-based pricing
  • Enhanced total raised tracking

Compliance Features

  • Added comprehensive audit logging
  • Created transaction history tracking
  • Implemented admin activity monitoring
  • Enhanced investor protection measures

Notifications

  • Enhanced email notifications with full transaction detail
  • Improved phase transition alerts

Fixed

Race Condition Prevention

  • Fixed critical race condition in token purchase flow
  • Implemented proper row-level wallet locking
  • Added atomic operations for all financial transactions
  • Enhanced inventory management with optimistic locking

Investment Validation

  • Added comprehensive offering status validation (ACTIVE, dates)
  • Implemented active phase validation with remaining token checks
  • Added wallet address validation for multiple blockchains
  • Fixed token amount calculations with proper decimal handling

Access Control

  • Enhanced ownership verification for token releases
  • Added permission checks for refund operations
  • Implemented audit logging for all critical operations

Bug Fixes

  • Fixed race condition allowing overdraw of wallets
  • Fixed missing phase validation causing wrong pricing
  • Fixed token calculation errors with decimals
  • Fixed missing offering status checks
  • Fixed transaction hash validation
  • Fixed refund eligibility calculations