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

sales/v1 package

Overview

Package sales owns launch token custody, direct-creation allocations, fair sales and airdrops. Quote that reaches it through its entry points is owed to someone on record: buyers (escrow and refunds), creators (settled proceeds) or the protocol (fees). Coins sent to it any other way are owed to no one and never leave. It has no admin and no emergency withdrawal path.

Function

LaunchJSON

func LaunchJSON(id string) string

LaunchJSON is a token's launch state: the ledger's record of the token, what sales still owes in it, how many vesting records it has, and its fair sale and airdrop campaign, each null when the token has none.

Param

Command

gnokey query vm/qeval -remote "https://rpc.gno.land" -data "gno.land/r/samcrew/launchpad/sales/v1.LaunchJSON()"

Result