# Key Modules

### Architecture Overview

AIPIN adopts a modular smart contract system that integrates **bonding curve mechanics** with **external DEX liquidity pools**. Operating within the EMC ecosystem (and compatible with multi-chain environments), the protocol supports **project crowdfunding, token issuance, mining, and capital management**.

1. Key Contract Modules & Presale Contract

   1. **Crowdfunding/Presale Contract**
      1. Project registration, U-based pricing reference
      2. Accepts EMC and locks funds post-sale
   2. **Token Factory**
      1. Automatically deploys the project's ERC-20 standard token
      2. Mints and issues the total token supply upon activation.
      3. Allocation:

   ***20%** of the total supply for future external liquidity provisioning*

   ***70%** to the Bonding Curve contract for internal market management*

   1. **Bonding Curve Contract**
      1. Manages the internal pricing and trading phase through a continuous pricing curve
      2. Users purchase project tokens using EMC; token price increases dynamically based on curve formula
      3. Once EMC contributions reach the predefined cap, the Bonding Curve process halts
   2. **DEX Liquidity Pool Contract**
      1. After the Bonding Curve ends, the remaining **80% of EMC** and **20% of project tokens** are injected into an external DEX (e.g., Uniswap) as a liquidity pool
      2. LP tokens are locked to maintain **initial market stability** during the early phases of public trading.
