> ## Documentation Index
> Fetch the complete documentation index at: https://docs.justpump.fun/llms.txt
> Use this file to discover all available pages before exploring further.

# Cashback Vault

> Insurance mechanism to protect traders in high-risk environments

## What is the Cashback Vault?

The **Cashback Vault** is JustPump's insurance mechanism designed to protect traders in the high-risk memecoin environment. It provides a safety net by distributing funds to eligible users during claim windows.

<Info>
  The Cashback Vault is funded by 0.2% of every trade, accumulating over time to provide community protection.
</Info>

***

## How It's Funded

Every trade on JustPump contributes to the Cashback Vault:

* **Bonding Curve trades**: 0.2% of every trade goes to Insurance Fund
* **JustSwap trades**: 0.2% of every swap goes to Insurance Fund
* Funds accumulate in an on-chain vault account
* Distributions are triggered during claim windows

<Note>
  The vault balance grows continuously as trading activity increases across all tokens on the platform.
</Note>

***

## Who Is Eligible?

The Cashback Vault is designed to reward participation and provide protection during adverse events. Eligibility is typically based on:

### Trading Activity

Users who actively trade on JustPump may qualify for cashback during distribution windows. The backend tracks:

* Volume traded
* Number of transactions
* Participation across tokens
* Losses incurred on failed projects

### Proportional Distribution

Rewards are distributed proportionally based on:

* Your trading activity relative to others
* Your exposure to failed or rugged tokens
* Your participation during the eligibility period

<Warning>
  Eligibility criteria are determined off-chain by the backend but payouts are fully on-chain and verifiable. Not all users will be eligible for every distribution.
</Warning>

***

## How Claims Work

The Cashback Vault uses a **signed voucher system** to enable secure, user-initiated claims.

<Steps>
  <Step title="Eligibility Determination">
    The backend analyzes trading activity and calculates claimable amounts for eligible users during each distribution window.
  </Step>

  <Step title="Voucher Issuance">
    If you're eligible, the backend issues a **signed reward voucher** containing:

    * Your wallet address
    * Claimable amount
    * Expiration timestamp
    * Cryptographic signature for verification
  </Step>

  <Step title="User Claims">
    You submit the voucher on-chain using the JustPump interface. The smart contract verifies the signature and transfers SOL directly from the vault to your wallet.
  </Step>

  <Step title="Replay Protection">
    Each voucher can only be claimed once. The contract tracks claimed vouchers to prevent double-spending.
  </Step>
</Steps>

<Info>
  You pay the transaction fee for claiming (typically a few cents in SOL). Rewards are delivered instantly upon successful claim.
</Info>

***

## Design Principles

The Cashback Vault architecture follows these principles:

### Off-Chain Accounting, On-Chain Payouts

* **Off-chain**: Backend calculates eligibility and amounts based on complex criteria
* **On-chain**: All payouts are executed via smart contract with signature verification
* **Transparent**: Vault balance and claim transactions are publicly auditable

### User-Initiated Claims

* Users must actively claim their rewards—no automatic distributions
* This reduces gas costs and gives users control over timing
* Users only pay transaction fees when they choose to claim

### Minimal On-Chain Logic

* Smart contract only validates signatures and transfers funds
* Complex eligibility logic stays off-chain for flexibility
* Reduces attack surface and gas costs

### Anti-Abuse Protections

* Each voucher has an expiration date
* Signatures prevent unauthorized claims
* Replay protection prevents double-claiming
* Rate limiting may apply to prevent abuse

***

## Cashback Vault Properties

<CardGroup cols={2}>
  <Card title="Funded by Trading" icon="chart-line">
    0.2% of every trade contributes to the vault, ensuring continuous funding as the platform grows.
  </Card>

  <Card title="Fair Distribution" icon="scale-balanced">
    Rewards are proportional to user participation and exposure to failed projects—not random or favoritism-based.
  </Card>

  <Card title="User Pays Gas" icon="gas-pump">
    You pay the small transaction fee to claim, keeping the system efficient and preventing spam claims.
  </Card>

  <Card title="Instant Delivery" icon="bolt">
    Once you submit a valid voucher, SOL is transferred directly to your wallet in the same transaction.
  </Card>
</CardGroup>

***

## Frequently Asked Questions

### Can I claim multiple times?

Yes, if you're eligible in multiple distribution windows, you can claim for each window separately. Each voucher represents a distinct claim.

### Why isn't my reward equal to my losses?

The Cashback Vault is not full insurance—it's a community protection mechanism. Rewards are proportional to your participation and the vault balance at distribution time. They may not cover 100% of losses.

### Why can't I claim yet?

Claims are only available during distribution windows when the backend has calculated eligibility. Check the JustPump interface for your eligibility status and upcoming distribution dates.

### How do I know the vault balance?

The vault is an on-chain account—you can view its balance using a Solana block explorer or through the JustPump interface.

***

## Trust and Transparency

### Auditable

* Vault address is public and verifiable on-chain
* All claim transactions are recorded on Solana
* Anyone can track inflows (fees) and outflows (claims)

### Signature-Based Security

* Only vouchers signed by the authorized backend key can be claimed
* Signature verification happens on-chain
* Prevents unauthorized withdrawals

### No Admin Withdrawal

* The vault has no "admin withdrawal" function
* Funds can only be claimed via valid signed vouchers
* Protects against internal misuse

<Tip>
  The Cashback Vault demonstrates JustPump's commitment to community protection. While it can't eliminate all risk, it provides a meaningful safety net funded by platform activity.
</Tip>

***

## Learn More

<Card title="Reward Claims Details" icon="gift" href="/rewards">
  Explore how the reward voucher system works in detail
</Card>

<Card title="Fee Structure" icon="chart-pie" href="/fees">
  See how the 0.2% insurance fee contributes to the vault
</Card>
