Skip to content
Lastro
program

The program, instruction by instruction.

Program Fzgcaam3nSMgti4uejKELeGeKiDGMB9SpCULZR2w4UQk. It can be upgraded by its deploy key until it is frozen.

redeem(amount)youBurns amount of the coin from your wallet and pays amount / supply × 0.9 of the vault in JitoSOL and of the holders' unstaked fees in SOL. Supply is read before the burn.
stakeanyoneBooks new fees (20% dev, 80% holders) and deposits the holders' part into the Jito stake pool once it is at least 0.01 SOL. Refused if the pool takes a fee.
unwrapanyoneIf fees ever arrive as WSOL in the fee wallet's token account, closes it into the fee wallet as SOL.
claim_devanyonePays the booked dev share from the fee wallet to the dev wallet.
init · set_mint · set_dev · renounce_admindeploy keyCreate the treasury; name the coin once (refused while its mint can still create tokens); move the dev share; give up the key.

Accounts

  • treasuryPDA ["treasury"]: the coin, the dev wallet and the running totals
  • fee walletPDA ["fees"]: a plain system account the program signs for; pump.fun fee sharing points here
  • vaultthe treasury's JitoSOL token account
  • Jito poolJito4APyf642JPZPx3hGc6WWJ8zPKtRbRs4P815Awbb, through the SPL stake pool program's DepositSol

The redemption, in integers

supply  = the mint's supply before the burn
payout  = vault · amount · 9000 / (supply · 10000)     // JitoSOL
sol     = pending · amount · 9000 / (supply · 10000)   // SOL
// the rest of your share, vault · amount / supply − payout,
// stays in the vault for every token still out there