Pearl Testnet
Docs

Contract reference

The exact V6 creation, trading, liquidity, and token calls.

All calls target gno.land/r/g1qkz0adydx8l6tfc9s6xaam07jumvjw9jy2srna/factory_v6 on Pearl Testnet. Use the web app unless you have independently checked the active chain, path, and ABI.

Creation

LaunchToken(symbol, name, description, imageURL, bannerURL, twitter, telegram, discord, website)

LaunchTemplate(symbol, name, description, imageURL, bannerURL, twitter, telegram, discord, website, royaltyRateBps)

ForkToken(parentSymbol, symbol, name, description, imageURL, bannerURL, twitter, telegram, discord, website)

Each creation call attaches exactly 1 GNOT. Overpayment is refunded; unexpected coin types are rejected. The web app also sets a 2 GNOT storage-deposit ceiling on every call. This is not a flat fee: Pearl computes the actual state added, Adena displays the simulated charge, and the transaction fails if it would exceed the ceiling.

Bonding curve

QuoteBuy(symbol, ugnotIn), Buy(symbol, minTokensOut), QuoteSell(symbol, tokensIn), Sell(symbol, tokensIn, minUgnotOut).

AMM

InitializeAMMPool(symbol), QuoteAMMBuy, SwapGNOTForToken(symbol, minTokensOut), QuoteAMMSell, SwapTokenForGNOT(symbol, tokensIn, minUgnotOut).

Liquidity

QuoteAddLiquidity, AddLiquidity(symbol, tokenAmountMax, minLpOut), QuoteRemoveLiquidity, RemoveLiquidity(symbol, lpAmount, minTokensOut, minUgnotOut).

Token and market reads

Transfer, Approve, TransferFrom, Allowance, BalanceOf, GetTokenID, GetTokenInfo, GetTradeRoute, GetMigrationStatus, and AMM/LP getters.