CONTRACT ADDRESS: GseJTPNKNQx6tEgSxVXYbzFeDAkhsrmu89DsVw7pump
[ PROTOCOL DOCUMENTATION ]
 _____ _____ _   _ _____ _   _    _____ _   _ _____ _____ _     ____  
|_   _|     | | / | ___| \ | |  /  ___| | | |_   _| ___| |   |  _ \ 
  | | | | | |   | | |__ |  \| |  \___  | |_| | | | | |__ | |   | | | |
  | | | | | | . ` |  __||     |   ___)  |  _  | | | |  __|| |   | | | |
  | | | |_| | |\  | |___| |\  |  /____  | | | |_| |_| |___| |___| |_| |
  |_| \_____/_| \_\_____|_| \_|  \_____\_| |_|\___/\_____|_____|_____/
                    
root@solana:~/token-shield/docs$ cat introduction.md

TOKEN SHIELD DOCUMENTATION

Welcome to the complete technical documentation for Token Shield, the first decentralized insurance protocol designed specifically for high-risk Solana tokens and meme coins.

## INTRODUCTION

Token Shield is a community-driven DeFi insurance experiment that protects traders from catastrophic losses when trading high-volatility Solana tokens. By pooling premiums and leveraging on-chain oracles, we create a sustainable mechanism for automated payouts when predetermined risk events occur.

[INFO]

Status: Token Shield is currently in the conceptual/planning phase. This documentation represents our vision and intended mechanics. All specifications are subject to change based on community feedback, security audits, and market conditions.

## THE PROBLEM: MEME TOKEN VOLATILITY

The Solana ecosystem has become a hotbed for high-risk token launches, particularly meme coins and Pump.fun projects. While these assets offer potential for substantial gains, they also expose traders to severe risks:

  • ├─ Rug Pulls: Developers drain liquidity or dump large holdings, causing 50-90% price crashes in minutes
  • ├─ Flash Crashes: Whale sells trigger cascade liquidations, creating temporary but devastating drawdowns
  • ├─ Liquidity Manipulation: Thin orderbooks make it easy for bad actors to manipulate prices
  • ├─ Information Asymmetry: Insiders often have advance knowledge of negative events
  • └─ No Insurance Options: Traditional insurance doesn't cover crypto, and existing DeFi protocols don't focus on meme-tier assets

These risks create a paradox: the tokens with the highest upside potential are also the most dangerous to hold, discouraging capital allocation even from risk-tolerant traders who understand the asymmetric bet.

[EXAMPLE SCENARIO]

📉 Real-World Example

Scenario: A trader buys $5,000 worth of a new Pump.fun meme coin at launch. The token 10x's over 48 hours to $50,000. The trader wants to hold for potential 100x but fears a dev dump.

Without Token Shield: Trader either sells early (misses upside) or holds naked (risks losing everything).

With Token Shield: Trader purchases 7-day coverage for 50% of position (~$250 premium). If dev dumps within coverage period causing >40% crash, trader receives $12,500 payout (50% of $25,000 loss), reducing total loss from $25,000 to $12,750 ($250 premium + $12,500 net loss).

## SOLUTION OVERVIEW

Token Shield addresses these risks through a decentralized, automated insurance protocol with the following core mechanisms:

Core Components

  • ├─ Risk-Based Qualification: Automated on-chain criteria determine which tokens are eligible for coverage
  • ├─ Flexible Coverage Options: Traders choose position size, coverage percentage (e.g., 30-70%), and duration (7-30 days)
  • ├─ Premium Pooling: All premiums flow into a shared liquidity pool that pays claims and generates yield
  • ├─ Oracle-Driven Triggers: Objective, verifiable on-chain events automatically initiate claim processing
  • ├─ Instant Payouts: Smart contracts calculate and distribute SOL/USDC compensation within minutes of trigger confirmation
  • ├─ Sustainability Mechanics: Pool funds are deployed to yield-generating DeFi protocols (Marginfi, lending markets) to ensure long-term solvency
  • └─ DAO Governance: Community controls protocol parameters, oracle selection, and risk models
[PHILOSOPHY]

Token Shield doesn't try to eliminate risk (impossible in crypto). Instead, we provide a transparent, algorithmic way to cap downside while preserving upside, making it rational to hold conviction positions in high-risk assets.

Token Eligibility & Risk Criteria

Not all tokens qualify for Token Shield coverage. We use automated, on-chain criteria to identify genuinely high-risk assets that fit our protocol's risk profile.

Qualification Requirements

A token must meet all of the following criteria to be eligible:

  1. Minimum Token Age: At least 7 days old from initial mint/launch (for regular users)
    • Exception: Teams can apply for Team Shield coverage even before token launch (pre-approval process)
  2. Minimum Market Cap: $500k USD minimum (subject to adjustment based on SOL price)
  3. Volatility Threshold: 30-day standard deviation of returns >50% (measured via Pyth price oracles)
  4. Liquidity Cap: Total liquidity (across all DEXs) <$2M USD
  5. Launch Recency: Token age <90 days from initial mint/launch
  6. Solana Native: SPL token on Solana mainnet with verified mint authority
  7. DEX Presence: Active trading on at least one Solana DEX (Raydium, Orca, Jupiter aggregated pools)
  8. Not Blacklisted: Token not on DAO-maintained blacklist (e.g., known scams, sanctioned addresses)

Risk Scoring

Eligible tokens receive a risk score (1-10) based on:

This risk score directly impacts premium pricing. Higher risk = higher premiums, but also higher likelihood of payout events.

[IMPORTANT]

Eligibility criteria may be adjusted by DAO governance as the protocol matures. Initial parameters are intentionally conservative to ensure pool sustainability during early phases.

## ENROLLMENT & PREMIUM MECHANICS

Token Shield insures existing positions only. You must hold the tokens before creating a policy. Here's how the process works:

⚠️ IMPORTANT: Token Shield only insures positions you already hold. You cannot purchase insurance for tokens you intend to buy later. Position size is verified on-chain and locked at policy creation. This prevents adverse selection and ensures pool sustainability.

Step-by-Step Enrollment

  1. 1. Submit Wallet Address: Enter your Solana wallet address via encrypted form. No wallet connection or signing required.
  2. 2. Position Verification: Oracle verifies your actual token holdings on-chain at current timestamp. An immutable snapshot is taken - this becomes your maximum insurable amount.
  3. 3. Select Token: Choose from the list of eligible tokens (or enter contract address for eligibility check)
  4. 4. Choose Coverage Amount: Insure your full verified holdings or a partial amount (minimum $1,000 position value)
  5. 5. Select Coverage Level: Choose coverage percentage (30%, 50%, or 70% loss protection)
  6. 6. Select Duration: Pick coverage period (7, 14, 21, or 30 days)
  7. 7. VRF Policy Generation: System uses Chainlink VRF to generate unique policy ID + secret for bearer-bond privacy
  8. 8. Pay Premium: Approve premium payment in SOL/USDC via wallet transaction
  9. 9. Receive Policy Token: Get SPL token (TS-POLICY-####) in your wallet representing active coverage
  10. 10. Backup Policy Credentials: Download policy ID + secret (like private key - if lost, coverage unrecoverable)

Position Management: After policy creation, if you sell tokens, your coverage remains at the snapshot amount (insurance doesn't penalize exiting positions). If you buy more tokens, the new tokens are NOT covered unless you purchase additional/renewed coverage.

Privacy Model: No wallet connection required. Oracle verification happens once at enrollment via submitted address, then the bearer-bond policy model ensures your ongoing position is not continuously tracked. Policy ID + secret are like a private key for maximum privacy.

Premium Calculation Formula

Premiums are algorithmically calculated using the following model:

Premium = PositionValue × CoverageLevel × Duration × RiskScore × BaseRate Where: - PositionValue: USD value of insured position (verified on-chain) - CoverageLevel: 0.3, 0.5, or 0.7 (30%, 50%, 70%) - Duration: Days / 30 (normalized to monthly) - RiskScore: 1-10 (from eligibility assessment) - BaseRate: 0.02 (2% monthly base, DAO adjustable)

[PREMIUM CALCULATION EXAMPLE]

💰Verified Holdings: 1,000,000 $NEET tokens (current value: $10,000)

Position to Insure: $10,000 (full holdings) at 50% coverage = $5,000 max payout

Duration: 14 days

Risk Score: 7/10 (high volatility, low liquidity)

Calculation:

Premium = $10,000 × 0.5 × (14/30) × 7 × 0.02 = $10,000 × 0.5 × 0.467 × 7 × 0.02 = $327.90 (paid in SOL or USDC)

Result: Pay ~$328 to insure against losing more than $5,000 over 14 days.

Important: Position snapshot is locked at 1,000,000 tokens. If token price increases, insurance still covers the $10,000 value snapshot, not the new market value.

Payment Options

  • ├─ SOL: Native Solana token (most common, lowest gas)
  • ├─ USDC: Stablecoin option for stable premium pricing
  • └─ Future: Protocol governance token (discounted premiums for holders)

## TEAM INSURANCE (PROJECT-SPONSORED COVERAGE)

Beyond individual enrollment, Token Shield offers Team Shield - bulk coverage for token projects to protect their holder communities. This is a trust-building and community retention tool for teams.

Overview

Projects can sponsor insurance coverage for cohorts of their holders (e.g., "top 50 wallets by holdings"). This works with any existing SPL token - no smart contract modification required. Teams can enroll at any time after token deployment.

How It Works

  1. 1. Application: Project applies via Team Dashboard (provides token CA, holder cohort criteria)
  2. 2. Verification: Multisig wallet authentication or verified creator wallet signature proves legitimacy
  3. 3. Snapshot: System takes immutable snapshot of holder positions at application time
  4. 4. Premium Quote: Bulk premium calculated with 15-30% discount based on volume
  5. 5. Payment: Team pays bulk premium upfront (SOL/USDC) or installments with collateral
  6. 6. Activation: All covered holders automatically protected (opt-out available within 48h)
  7. 7. Notification: Holders notified via on-chain event (optional Discord/email webhook)

Team Premium Calculation

TeamPremium = (TotalCoveredValue × CoverageLevel × Duration × RiskScore × BaseRate) × BulkDiscount Where: - TotalCoveredValue: Sum of all covered wallet positions (USD) - BulkDiscount: 0.70 - 0.85 (15-30% discount based on volume) - Additional discounts for liquidity lock commitments - Team Surcharge: +20-30% for moral hazard mitigation
[TEAM PREMIUM EXAMPLE]

👥 Project: $BONK team wants to cover top 50 holders

💰 Total Coverage Value: $2,500,000

Coverage: 50% loss protection

Duration: 30 days

Risk Score: 6/10

Calculation:

Base Premium = $2,500,000 × 0.5 × 1.0 × 6 × 0.02 = $150,000 Bulk Discount (25 holders, 20%) = $150,000 × 0.80 = $120,000 Team Surcharge (+25%) = $120,000 × 1.25 = $150,000 Final Premium: $150,000 (paid by team) Per holder cost: $150,000 / 50 = $3,000 each

Result: Team pays $150k upfront, all 50 holders automatically protected for 30 days.

Post-Deployment Enrollment

Critical feature: Teams can enroll at any time after token launch. No contract modification or upgrade required. Token Shield never touches project smart contracts - it operates as a pure insurance overlay via oracle snapshots.

Moral Hazard Mitigation

Risk: Projects might take more risks knowing holders are insured (or intentionally rug).

  • ├─ Team Surcharge: 20-30% higher premium than individual coverage
  • ├─ Liquidity Time-Locks: Discounts only if team locks LP (verified on-chain)
  • ├─ DAO Review: Policies >$100k require governance approval
  • ├─ Blacklist: Previous rug pullers cannot enroll
  • ├─ Clawback Provision: If team dumps during coverage, DAO can claw back unused premium
  • └─ Reputation System: On-chain track record affects future premium rates

Benefits for Projects

  • Marketing Tool: "We insure our holders" = instant trust signal
  • Community Retention: Holders less likely to panic sell during volatility
  • Competitive Edge: Stand out in crowded meme token landscape
  • Aligned Incentives: Demonstrates long-term commitment without code changes

Claim Triggers & Payout Process

Token Shield payouts are activated by objective, oracle-verified on-chain events. No manual claims required - when a trigger hits, the smart contract automatically processes eligible coverage policies.

Trigger Events

Any of the following events will trigger automatic claim processing:

1. Price Dump Trigger

2. Liquidity Drain Trigger

3. Developer Wallet Dump Trigger

Important: Multiple triggers within the same coverage period do NOT result in multiple payouts. Each coverage policy pays out at most once, for the first qualifying trigger event.

Payout Calculation & Execution

Once a trigger event is confirmed, payouts are calculated and distributed automatically:

Payout Formula

Payout = min(ActualLoss × CoverageLevel, MaxPayout)

Where:
- ActualLoss: USD value lost from entry to trigger
- CoverageLevel: 0.3, 0.5, or 0.7
- MaxPayout: PositionSize × CoverageLevel (payout cap)

Deductibles & Caps

🔄 Payout Example Scenarios

Scenario A: 50% Dump (Covered)

Position: $10,000 in $NEET, 50% coverage
Trigger: Price drops 45% in 20 hours
ActualLoss: $10,000 × 0.45 = $4,500
Payout: $4,500 × 0.5 = $2,250 SOL to wallet ✅

Scenario B: 80% Rug Pull (Partial Coverage)

Position: $10,000 in $NEET, 50% coverage
Trigger: Liquidity drained, price drops 80%
ActualLoss: $10,000 × 0.80 = $8,000
Calculated: $8,000 × 0.5 = $4,000
MaxPayout: $10,000 × 0.5 = $5,000
Payout: $4,000 SOL to wallet ✅ (under cap)

Scenario C: Minor Dump (No Payout)

Position: $10,000 in $NEET, 50% coverage
Event: Price drops 8% in volatile session
ActualLoss: $800 (below 10% deductible)
Payout: $0 ❌ (under minimum threshold)

Pool Sustainability & Yield Strategies

Long-term protocol viability depends on maintaining a healthy insurance pool that can pay claims without relying on perpetual premium inflows.

Pool Mechanics

Yield Revenue Model

A critical component of protocol sustainability: insurance premiums sit idle between collection and potential claims. By deploying 60-80% of pool reserves into ultra-low-risk yield strategies, we generate 35-50% additional revenue on top of premium income, significantly improving long-term viability.

Revenue Impact: At $500k pool TVL, yield strategies generate $22.8k/year in additional revenue (46% boost). At $2M TVL: $111.6k/year in yield revenue. This compounds reserve growth and reduces dependency on premium volume during high-claim periods. (Rates as of Feb 28, 2026)

Three-Phase Deployment Strategy

Phase 1: Launch (Pool $50-200k TVL)

Conservative approach: 60% deployed to yield, 40% kept liquid for instant payouts.

Phase 2: Growth (Pool $200k-$1M TVL)

Balanced approach: 70% deployed, 30% liquid as pool matures and claim patterns become predictable.

Phase 3: Mature (Pool $1M+ TVL)

Aggressive optimization: 80% deployed, 20% liquid reserves (ample for instant payouts at scale).

Risk Management Framework

Allocation Hard Limits (DAO-Enforced):

  • Maximum 25% per protocol (30% for Marinade given 3+ year track record)
  • Liquid reserves minimum: 20% at all times (never deploy everything)
  • Emergency threshold: Auto-withdraw from yield if liquid reserves drop below 15%
  • Only protocols with: >$100M TVL, 12+ months live, 2+ security audits, no critical exploits

Note: APY rates shown are as of Feb 28, 2026 and fluctuate based on market conditions. Rates are reviewed weekly and documentation updated monthly.

Protocol Selection Criteria (All Must Pass)

  1. Track Record: Live >12 months OR established team with prior successful protocol
  2. Security: 2+ independent audits from reputable firms (OtterSec, Sec3, Halborn, etc.)
  3. Liquidity: TVL >$100M, liquid redemption within 24 hours (no long lockups)
  4. Solvency: Over-collateralized if lending protocol (not fractional reserves)
  5. Resilience: No critical exploits or governance attacks in last 12 months

Rebalancing & Monitoring

Expected Revenue Impact

Pool Size Phase Deployed % Annual Yield Revenue Boost
$100k Phase 1 60% $3,705 3.7% of pool value
$500k Phase 2 70% $22,800 4.56% of pool value
$2M Phase 3 80% $111,600 5.58% of pool value

Sustainability Impact: Yield revenue reduces protocol dependency on constant premium growth. During months with high claim rates, yield earnings help maintain pool solvency without emergency premium hikes. This is how major DeFi insurance protocols (Nexus Mutual, Unslashed) achieve long-term viability.

Transparency & Governance

Solvency Monitoring

The protocol continuously monitors:

If coverage ratio drops below <125%, the protocol automatically:

  1. Halts new enrollments until ratio recovers
  2. Increases premium rates by 20-50% (temporary)
  3. Triggers DAO emergency governance vote for intervention

Oracle Integration & Data Sources

Accurate, manipulation-resistant data is critical for fair trigger detection and payout calculation.

Primary Oracle: Pyth Network

Secondary Data Sources

Manipulation Prevention

To prevent oracle attacks and false triggers:

  1. Multi-Source Verification: Trigger requires consensus from 2+ data sources
  2. Time-Weighted Pricing: Use TWAP (time-weighted average) over 15-minute windows, not spot prices
  3. Outlier Rejection: Discard price points >3 standard deviations from median
  4. Liquidity Filters: Only use prices from pools with >$50k liquidity
  5. Delay Mechanism: 5-minute confirmation window before trigger activation (prevents flash-crash false positives)

Oracle Risk: While oracle manipulation is difficult in Pyth's design, it's not impossible. Users should understand this remains a protocol-level risk. See Risks & Limitations for details.

Smart Contract Architecture

Token Shield is built on Solana using the Anchor framework. The protocol consists of several core programs:

Core Programs

1. Coverage Manager Program

2. Oracle Monitor Program

3. Payout Engine Program

4. Pool Manager Program

5. Governance Program

Security Features

Open Source: All smart contract code will be publicly available on GitHub before mainnet launch. Pre-deployment audits by at least 2 independent security firms (e.g., OtterSec, Neodyme).

Privacy & Zero-Knowledge Proofs

While Solana is a public blockchain, Token Shield implements privacy-preserving mechanisms to protect user positions from front-running and manipulation.

Privacy Challenges

ZK-Based Solutions

We use zero-knowledge proofs to enable private coverage verification:

Enrollment Privacy

Payout Privacy

Trade-off: Full privacy increases complexity and gas costs. Launch version may offer optional privacy (premium feature), with default semi-private mode (aggregated visibility).

Risks & Limitations

Token Shield is experimental DeFi infrastructure. Users must understand the following risks before participating:

Protocol Risks

1. Smart Contract Bugs

2. Oracle Manipulation

3. Pool Insolvency

4. Yield Strategy Failures

Economic Risks

5. Moral Hazard

6. Adverse Selection

Regulatory Risks

7. Legal Uncertainty

Operational Risks

8. Governance Attacks

Disclaimer: Token Shield is experimental software. Do not risk funds you cannot afford to lose. Coverage is not a guarantee of repayment. Always DYOR (Do Your Own Research) and understand the risks before participating.

DAO Governance

Token Shield is governed by a decentralized autonomous organization (DAO) to ensure community control and prevent centralized points of failure.

Governance Token (Future)

A governance token (working name: $SHIELD) will be distributed to:

Governance Powers

Token holders can vote on:

Voting Mechanics

Guardian Multisig

A 3-of-5 multisig composed of respected community members can:

Progressive Decentralization: Initial launch will have temporary training wheels (multisig controls, parameter constraints). Full DAO control transitions over 6-12 months as protocol proves stable and community matures.

Development Roadmap

Token Shield is currently in conceptual/planning phase. Below is our anticipated development timeline:

Q2 2026

Phase 1: Foundation

  • Core smart contract development (Anchor framework)
  • Oracle integration (Pyth, Jupiter APIs)
  • Basic frontend interface (enrollment, dashboard)
  • Mathematical modeling (premium pricing, risk scoring)
  • Community formation (Discord, Twitter, documentation)
Q3 2026

Phase 2: Testing & Audits

  • Devnet deployment and internal testing
  • Public testnet launch (Solana devnet)
  • Community bug bounty program
  • First independent security audit (OtterSec or similar)
  • Second audit from different firm (cross-validation)
  • Formal verification of critical functions
  • Economic simulation and stress testing
Q4 2026

Phase 3: Mainnet Launch

  • Limited mainnet beta (capped coverage, whitelisted users)
  • Initial token selection (5-10 eligible meme coins)
  • Guardian multisig active for emergency response
  • Full public mainnet launch (open enrollment)
  • Governance token ($SHIELD) initial distribution
  • Marketing campaign and partnerships
Q1 2027

Phase 4: Growth & Iteration

  • Expand eligible token list (20-50+ tokens)
  • Advanced yield strategies integration
  • ZK privacy features (optional encrypted policies)
  • Mobile app (iOS/Android wallet integrations)
  • Cross-chain expansion research (Ethereum, Base)
  • Institutional coverage products (higher limits, custom terms)
2027+

Phase 5: Long-Term Vision

  • Full DAO transition (remove guardian multisig)
  • Multi-chain deployment (unified liquidity pools)
  • Derivatives market (coverage tokens as tradeable assets)
  • Insurance for other DeFi risks (smart contract coverage, impermanent loss protection)
  • API for third-party integrations (wallets, exchanges)
  • Self-sustaining ecosystem with large pool reserves

Timeline Notice: All dates are aspirational and subject to change based on development complexity, audit findings, market conditions, and community feedback. Quality and security take precedence over speed.

Team & Community

Token Shield is a community-driven experiment. We're transparent about being in early conceptual stages.

Current Status

Get Involved

We're actively seeking contributors in:

Stay Updated

Community channels (Discord, Twitter, Telegram) will be announced closer to mainnet launch to ensure active moderation and legitimate community building.

Transparency Commitment: All major decisions, code changes, and financial flows will be publicly documented. We believe radical transparency is essential for trust in DeFi infrastructure.

[WARNING]

Final Reminder: Token Shield is highly experimental. This documentation describes aspirational goals, not guaranteed outcomes. Crypto markets are unpredictable, regulations evolve, and code has bugs. Never invest more than you can afford to lose. Always DYOR. Not financial advice.