Search Apps Documentation Source Content File Folder Download Copy Actions Download State String Boolean Number Struct Map Slice Pointer Function Closure Reference Nil Package Type Interface Unknown

padv21 package

Overview

Package pad is gnomemepad: a self-contained meme launchpad for gno.land.

Example
1Create (ugnot bond + GNS list-fee escrow) -> GRC20 + WUGNOT curve -> Graduate
2  -> internal CPMM first; RetryListGnoswap when WUGNOT+escrowed GNS ready
3  -> CreatePool fee paid from Create-time GNS escrow (no mid-tx WUGNOT->GNS)

Production: Buy/Sell/Swap* use WUGNOT (push-pay + prepaid credits). Payment: user wugnot.Transfer(pad, amount) then Buy.

  • Free float on pad is auto-locked into caller's prepaid credit.
  • Buy may over-pay; unused WUGNOT stays as claimable credit (ClaimWugnot).
  • Never Approve/TransferFrom (GRC20 spender bugs with Adena).

Create: Transfer GNS (>= ListFeeGns free) then Create with ugnot bond. List: escrowed GNS + raised WUGNOT on pad; RetryListGnoswap (no user TransferFrom). Unit tests (testSkipBanker): still use OriginSend ugnot as collateral units. Tokens are real GRC20 (mint on buy, burn on sell). Hybrid of Pump.fun + permanent LP lock.

Function

GetPool

func GetPool(id string) (ugnot, token int64)

Param

Command

gnokey query vm/qeval -remote "https://rpc.sapphire.testnets.gno.land" -data "gno.land/r/g1mv0052e7r6s09f5t9xsqf00nj3tqsgt9dg52jr/gnomemepad/padv21.GetPool()"

Result