Skip to content
reserve

Docs · Draft

Developers

Integration surface and campaign schema (draft).

No SDK or program IDs are published yet. The schema below shows the shape of campaign data the interfaces are built around.

interface Campaign {
  id: string;
  baseMint: string;          // SPL mint
  quote: "SOL" | "USDC";
  poolType: string;          // eligible pool type
  feeTierBps: number;
  target: number;            // USD
  rewardBudget: number;      // USD value
  rewardMint: string;
  start: number;             // unix seconds
  durationDays: number;
  minCommitmentDays: number;
  minCommitment: number;     // USD
}

Data separation in this codebase

The web app reads markets through a MarketSource interface. Today only a demo implementation exists, and every demo record is flagged. A live source will read program accounts once programs are deployed and audited.