Stork
Protocol Specification/Starknet Mainnet (SN_MAIN)/STARK Validity Proofs

Stork Protocol Architecture

One-signature Starknet meme launchpad deploying fixed 1B supply tokens at $5,000 initial FDV with zero upfront quote capital and configurable 80/20 swap fee streaming to Creator or Holders in the pool's exact quote pair (STRK or ETH).

Initial FDV
$5,000
Zero seed capital
Fixed Supply
1,000,000,000
Owner 0x0 burned
Locked Liquidity
97%–100%
Max 3% dev buy
Fee Split
80% / 20%
0% LP deduction
Quote Pairs
STRK · ETH
Native L2 settlement

01 · Constant-Product Bonding Curve & Price Discovery

x · y = k · $5K → $73.5K FDV

Supply deploys single-sided above the launch tick so markets price smoothly along x · y = k from block zero with zero seed capital and zero round-trip arbitrage. Scrub demand below to inspect live reserves:

FIG 01

Constant-Product Curve & Price Discovery

$5K$20K$40K$60K$73.5K0%25%50%75%100%$9.3K · 1.9x
Market Cap (FDV)
$9.3K
1.86× from launch
Spot Price
$0.0₅928
per 1 token
Quote Liquidity (STRK)
51,795.1 STRK
≈ $1.8K raised
Circulating / Curve
266.09M
733.91M left in pool
Formula: P(t) = P₀ / (1 − 0.7391·t)²Initial reserve: 142.9K STRK ↔ 1.00B tokensGraduation target: 100% Bonded → Locked LP
02 · Execution Pipeline

One-Signature Atomic Launch via Account Abstraction

Unlike EVM chains where token deployment, approval, pool initialization, and LP minting require 3–4 separate transactions (exposing a window for front-runners), Starknet's native Account Abstraction bundles all four operations into a single atomic multicall. Inspect each call in the execution envelope below.

FIG 02

Native Account Abstraction · 4-Call Atomic Multicall

SINGLE STARKNET TRANSACTION ENVELOPE (INVOKE V3)EST. CONFIRMATION ~2s
CALL 01 / 04 · Universal Deployer (UDC)~26% gas

Deploys an immutable fixed-supply 1B ERC-20 token with ownership permanently burned.

STATE → Token contract live at deterministic address · owner = 0x0 (minting impossible)
CAIRO ENTRYPOINT0x041a78e741e5af2fec34b695679bc6891742439f7afb8484ecd7766661ad02bf
udc.deployContract(
  class_hash: OZ_ERC20_FIXED_SUPPLY,
  salt: random_felt252,
  unique: true,
  calldata: [name, symbol, 1_000_000_000e18, caller, owner: 0x0]
)
Atomicity guarantee: If any call reverts, all 4 calls roll back cleanly.Zero stranded tokens · Zero partial deploys
03 · Revenue Model

Selectable Fee Tiers & 80 / 20 Split (0% LP)

At token creation, the deployer selects both the swap fee tier (0.30%, 1.00%, 2.00%, or 5.00%) and who receives the primary 80% share: Creator or Holders. The remaining 20% funds Stork (split 50/50 between $STORK buybacks and protocol operations), with 0% retained by LP.

FIG 03

80 / 20 Fee Routing Sankey & Yield Calculator

24h Swap Volume$500.0K / day
Total Swap Fees$5.0K / day1.00% tier · STRK pairHolders Stream (80% · STRK)$4.0K / day≈ 114.3K STRK / dayO(1) pro-rata · LP excluded · Auto + ClaimStork Protocol (20%) · $1.0K/d$STORK Buybacks $500.00 · Treasury $500.00LP Auto-Compound Deduction: 0.00% (disabled by design)
Selected Tier: 1.00% (0.80% Holders · 0.20% Stork · 0% LP)30d Projected Holder Yield: $120.0K
04 · Holder Rewards Engine

Continuous Quote-Pair Distribution in O(1) Gas

Looping over thousands of holders on every swap is impossible on-chain. For Holders-mode tokens, Stork converts collected fees into the market's exact quote pair (STRK or ETH) and updates a single magnified global index (acc_quote_per_token) in O(1) gas. Locked LP addresses are strictly excluded so 100% of the 80% fee flows exclusively to circulating holders, while ERC-20 before_update checkpoints prevent flash-loan fee sniping and preserve earned rewards upon selling.

FIG 04

O(1) Continuous Quote-Pair Holder Rewards Simulator

Account · Eligible SharePending / Paid (STRK)
Locked LP VaultEXCLUDED
850.00M tokens (85% supply)
0
Paid: 0.0000 STRK
alice.stark66.7% of yield
100.00M tokens (10% supply)
+0.0000 STRK
Paid: 0.0000 STRK
bob.stark33.3% of yield
50.00M tokens (5% supply)
+0.0000 STRK
Paid: 0.0000 STRK
contracts/src/holder_rewards.cairoO(1) GAS
// 1. O(1) Global Quote-Fee Deposit
let num = quote_80 * 1e27 + pool.dust;
pool.acc_quote_per_token += num / eligible_supply;
pool.dust = num % eligible_supply;

// 2. ERC-20 before_update Checkpoint
fn before_update(from, to, amount) {
  checkpoint(from); // locks earned quote fees
  checkpoint(to);   // blocks past-fee sniping
  if pending >= auto_threshold {
    quote_erc20.transfer(holder, pending);
  }
}
Click 'Stream Swap Fee' to watch 80% fees accrue in O(1) strictly to non-LP holders.Epochs: 0
05 · Security Model

Enforced On-Chain Invariants & STARK Validity

Every security guarantee on Stork is enforced directly at the Cairo contract layer rather than off-chain policy: fixed supply, zero admin ownership, capped launch allocations, optional 60-second linear decaying 90% → base fee Anti-Snipe protection routed to Creator or Holders, and hash-based post-quantum STARK proofs verified on Ethereum L1.

FIG 05

Launch Security Timeline & Enforced Invariants

T = 0s
Atomic Deploy
1B minted, owner = 0x0, 97%–100% LP locked
0s → 60s
Anti-Snipe Shield (Opt)
90% → base fee linear decay → Creator or Holders
T > 60s
Open Market
Base fee tier active · 80/20 quote fee streaming
T → ∞
Immutable Lock
LP NFT locked forever · permissionless harvest
InvariantEnforcement LayerOn-Chain Guarantee
Fixed Supply & Burned OwnerLaunchToken.cairo / UDC1,000,000,000 minted once; owner set to 0x0 — zero post-deploy mint, freeze, or tax.
Permanent Liquidity LockStrkFunFactory + Positions NFT97%–100% of supply deposited single-sided; principal withdrawal entrypoint does not exist.
Optional 60s Anti-Snipe ShieldFactory Decay Curve (t < t₀ + 60s)When enabled at launch, swap tax decays linearly from 90.00% → base fee over 60s; 100% of surcharge routes to Creator or Holders (creator launch buy exempt).
Anti-Snipe Holder CheckpointsERC-20 before_update HookBalance changes checkpoint reward index before transfer — zero flash-loan fee theft.
Post-Quantum Validity ProofsStarknet STARK ProverHash-based STARK proofs require no trusted setup and resist Shor's algorithm.
06 · Network Registry

Verified Starknet Mainnet Contracts

SN_MAIN · Alchemy v0.10 Live
ContractSpecStarknet Mainnet AddressExplorer
Universal Deployer (UDC)
Token Factory Deployment
Canonical SN_MAINVoyager
Fixed-Supply ERC-20 Class
OpenZeppelin Cairo 2
1B Fixed · owner 0x0Voyager
Liquidity Core Singleton
Pool State & Tick Math
Concentrated LiquidityVoyager
LP Positions Vault
Single-Sided Locked LP
Fee Harvest & LockVoyager
LP Positions NFT (ERC-721)
Position Custody
Factory-Held LockVoyager
Settlement Swap Router
Atomic Swap & Slippage
clear_minimum GuardVoyager
STRK Quote Token
Canonical Quote Pair
18 decimalsVoyager
ETH Quote Token
Canonical Quote Pair
18 decimalsVoyager
EKUBO / STRK Live Market
Verified Mainnet Pool
1.00% Fee TierVoyager
Ready to launch on Starknet Mainnet? Deploy a token in one atomic signature.