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

padv17 package

Overview

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

Example
1Create -> GRC20 + bonding curve (WUGNOT collateral) -> Graduate
2  -> remaining tokens + raised WUGNOT seed Gnoswap LP (auto-list)
3  -> CreatePool fee: pad GNS inventory or ExactOut surplus WUGNOT->GNS
4  -> else locked internal CPMM fallback (test / missing GNS fee path)

Production: Buy/Sell/Swap* use WUGNOT (push-pay only). Payment: user wugnot.Transfer(pad, amount) then Buy - never Approve/TransferFrom. List: pre-fund pad WUGNOT+GNS then 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

ProtocolFees

func ProtocolFees() int64

Command

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

Result