πŸ‘€Smart Contract Overview

🧠 Smart Contract Architecture

DegenDapp is not just an ideaβ€”it's a fully on-chain, modular, and transparent launch ecosystem. Our architecture is powered by a suite of interconnected smart contracts, each serving a distinct and auditable purpose.

Here’s a comprehensive breakdown of the contracts that power our protocol:


πŸ’  1. DegenDapp Token (DGD)

The native token of the DegenDapp ecosystem β€” minted and distributed entirely through a fairlaunch process.

  • πŸͺ™ Max Supply: 1,000,000,000 DGD (fixed cap)

  • 🚫 No pre-mint, no vesting, no admin unlocks

  • πŸ”“ Fully transferable upon claim

$DGD exists only when the community earns it β€” and not a second before.

πŸ” Use Cases (Post Fairlaunch):

  • Staking & creator rewards

  • Meme token launch incentives

  • Governance

  • Potential IDO allocations and protocol upgrades in the future

All emission and utility will be governed by smart contract logic, with no centralized control.


🧱 2. Token Factory & Custom Token

Allows users to instantly create custom ERC20 tokens with:

  • Pre-minted 1 billion supply

  • Auto-distribution to token sale contract

  • Bound to staking and sale systems on deployment

βš™οΈ Use Case: Zero-code token deployment with embedded platform integrations.


πŸ’Έ 3. Token Sale Manager

Manages the full sale lifecycle, including:

  • Setting softcap, hardcap, duration

  • Accepting BNB contributions

  • Automatic refund if softcap not met

  • Adding liquidity to PancakeSwap via RouterV3

  • Rewarding creators with randomized DGD bonus (1,000–10,000 DGD)

🧠 Use Case: Decentralized launch logic, LP automation, and fundraising transparency.


🏦 4. DGD Staking Engine

Tier-based staking with three reward layers:

Tier
Lock Time
APY
Ecosystem Reward Pool Share

🟫 Bronze

15 days

15%

15%

πŸ₯ˆ Silver

30 days

20%

30%

πŸ₯‡ Gold

60 days

30%

55%

Also supports:

  • Multi-token reward tracking

  • Tiered reward distribution from new token launches

  • On-demand unstaking and reward claiming

πŸ“Š Use Case: Incentivize long-term holders and reward ecosystem-wide participation.


🎁 5. Creator Reward Distributor

Automatically delivers a random reward of 1,000–10,000 DGD to token creators who complete a successful sale.

  • One-time reward per project

  • Permissionless, verifiable, and anti-spam protected

🎲 Use Case: Boost creator motivation through chance-based gamified incentives.


🚰 6. Testnet Faucet

Supports testnet users by distributing:

  • 9,999 DGD (testnet) once per wallet

  • Ensures smooth onboarding and testing flow for developers

πŸ§ͺ Use Case: Developer adoption and UI/UX testing without real funds.


πŸ“Š Visual Overview: Contract Interaction Flow

+-------------------+      creates        +------------------------+
|  Token Creator    |  ---------------->  |   TokenFactory         |
+-------------------+                    +------------------------+
                                                  |
                                                  | deploys
                                                  v
                                        +------------------------+
                                        |   CustomToken (ERC20)  |
                                        +------------------------+
                                                  |
                                                  | sale token assigned to
                                                  v
                                        +------------------------+
                                        |   TokenSaleManager     |
                                        +------------------------+
                                         |        |         |
                                         |        |         |
                                         |     adds LP     sends rewards
                                         |        |         |
                  +-----------------+    |        v         v
    invests BNB   |   Buyer Wallet  | -->|     PancakeSwap   |-----> Creator
    ------------> +-----------------+    |                   |      receives
                                          \-----> Staking Contract  DGD + tokens

Last updated