Skip to main content

PonzuV4Recipe (Factory)

Deploy a Token

The factory app encodes a Ponzu Auction by default. The SDK encodes a Ponzu Curve. Pick one.
Read the live creation fee. Do not hardcode it.

Parse Deployed Addresses

presale is also the bottle NFT collection. hook is the chain-wide Ponzuki. Full deployment guide with pricing math: Ponzu Factory.

Presale

There is no launched() getter — launchTime() > 0 means graduated. refund takes ETH in, not tokens.

Buy Tokens

On a curve, minTokenAmount is a slippage floor on tokens received. Auctions are ETH-denominated — pass 0.

Read Presale State

tokensAvailable == 0 is a Ponzu Curve sellout signal. A Ponzu Auction launches when demand catches the target. Prefer launchTime.

Refund (Before Launch)

Trigger Launch

Permissionless once the pricing strategy reports ready. The launcher still enforces minRaise.

Claim Vested Tokens (One-Time)

claim() claims the caller’s first bottle.

Claim ETH Rewards (Repeatable)


Ponzuki (DEX)

Swaps go through the chain-wide Ponzuki. There is no per-project hook clone. Look up the pool with the project token. Fee is charged on input.

Buy (ETH → Token)

zeroForOne = true. Send msg.value = amountIn. Approve is not required.

Sell (Token → ETH)

Approve Ponzuki. zeroForOne = false. No msg.value.

Farm (LP Staking)

Available after graduation when the craft set farmEnabled. LP is an ERC-6909 balance on Ponzuki (poolId). Liquidity cards are embedded in the Farm.

Zap ETH → staked LP

Default lock is 7 days. stake(amount) pulls ERC-6909 LP from the caller and mints a new card.

Claim Rewards

Unstake

One-shot; burns the card. Early exit forfeits a time-proportional slice of LP.

Full Reference

Complete unabridged ABI: ponzu.app/SKILL.md.

Contract Addresses

Deployed addresses for Ethereum mainnet, Robinhood Chain, and Sepolia.