launches
v0.Tree// id -> \*Launch
- OID
- 0f4bd1…47ff:4
launches details
bySymbol
v0.Tree// symbol -> id string
- OID
- 0f4bd1…47ff:6
bySymbol details
nextID
v0.IDValue
<zero>
nextTokenID
v0.ID// GRC20 identity sequence (shared for all launches)
Value
<zero>
protocolAddr
.uverse.addressValue
<gnolang.StringValue>
protocolFees
int64Value
12218195
inited
boolValue
true
testSkipBanker
boolValue
false
Trade
typeTrade is one price sample for charts (capped history per launch).
Value
padv3.Trade
Launch
typeLaunch is one meme market: curve phase then locked pool phase.
Value
padv3.Launch
Init
func()Init sets the protocol treasury. First EOA caller becomes fee recipient.
- OID
- 0f4bd1…47ff:13
Init details
requireInit
func()- OID
- 0f4bd1…47ff:15
requireInit details
mustLaunch
func(id string) *padv3.Launch- OID
- 0f4bd1…47ff:16
mustLaunch details
balOf
func(l *padv3.Launch, addr .uverse.address) int64- OID
- 0f4bd1…47ff:17
balOf details
addBal
func(l *padv3.Launch, addr .uverse.address, delta int64)addBal mints (delta>0) or burns (delta\<0) GRC20 via pad-owned PrivateLedger.
- OID
- 0f4bd1…47ff:18
addBal details
sendUgnot
func(to .uverse.address, amount int64)- OID
- 0f4bd1…47ff:19
sendUgnot details
requireUserPayment
func() int64- OID
- 0f4bd1…47ff:20
requireUserPayment details
noteBuyer
func(l *padv3.Launch, buyer .uverse.address)- OID
- 0f4bd1…47ff:21
noteBuyer details
tradeKey
func(n int64) string- OID
- 0f4bd1…47ff:22
tradeKey details
spotPriceScaled
func(l *padv3.Launch) int64spotPriceScaled returns ugnot/token \* 1e6 from current curve or pool reserves.
- OID
- 0f4bd1…47ff:23
spotPriceScaled details
recordTrade
func(l *padv3.Launch, side int, ugnot int64, tokens int64)- OID
- 0f4bd1…47ff:24
recordTrade details
maybeRefundBond
func(l *padv3.Launch)- OID
- 0f4bd1…47ff:25
maybeRefundBond details
Create
func(name string, symbol string, uri string) stringCreate deploys a fair-launch meme. Requires CreateBondUgnot via -send. No pre-mint; all tradeable float starts on the bonding curve.
- OID
- 0f4bd1…47ff:26
Create details
AdenaPathOf
func(id string) stringAdenaPathOf returns the grc20reg / Adena token key: packagePath.SYMBOL (Token.ID is packagePath.SYMBOL.seq — Adena rejects that form).
- OID
- 0f4bd1…47ff:27
AdenaPathOf details
adenaKeyFromTokenID
func(tokenID string, symbol string) stringadenaKeyFromTokenID strips the trailing .seq from Token.ID when present.
- OID
- 0f4bd1…47ff:28
adenaKeyFromTokenID details
Buy
func(id string) int64Buy spends -send ugnot on the bonding curve; credits tokens to the caller. Auto-graduates when RaisedUgnot >= GraduationThreshold.
- OID
- 0f4bd1…47ff:29
Buy details
Sell
func(id string, tokensIn int64) int64Sell burns curve tokens and pays ugnot (fee on output).
- OID
- 0f4bd1…47ff:30
Sell details
Graduate
func(id string)Graduate permissionlessly moves a ready curve into a permanently locked CPMM.
- OID
- 0f4bd1…47ff:31
Graduate details
graduate
func(l *padv3.Launch)- OID
- 0f4bd1…47ff:32
graduate details
TokenIDOf
func(id string) stringTokenIDOf returns the GRC20 Token.ID() for a launch.
- OID
- 0f4bd1…47ff:33
TokenIDOf details
GRC20Bank
func(id string) *grc20.TokenGRC20Bank returns the underlying \*grc20.Token for interop (metadata / external DEX).
- OID
- 0f4bd1…47ff:34
GRC20Bank details
SwapBuy
func(id string) int64SwapBuy buys tokens from the graduated pool with -send ugnot.
- OID
- 0f4bd1…47ff:35
SwapBuy details
SwapSell
func(id string, tokensIn int64) int64SwapSell sells tokens into the graduated pool for ugnot.
- OID
- 0f4bd1…47ff:36
SwapSell details
Transfer
func(id string, to .uverse.address, amount int64)Transfer moves GRC20 tokens between addresses (user-initiated).
- OID
- 0f4bd1…47ff:37
Transfer details
Approve
func(id string, spender .uverse.address, amount int64)Approve sets GRC20 allowance so DEX/contracts can TransferFrom.
- OID
- 0f4bd1…47ff:38
Approve details
ClaimCreatorFees
func(id string) int64ClaimCreatorFees withdraws accrued creator fees for a launch.
- OID
- 0f4bd1…47ff:39
ClaimCreatorFees details
ClaimProtocolFees
func() int64ClaimProtocolFees withdraws protocol treasury fees.
- OID
- 0f4bd1…47ff:40
ClaimProtocolFees details
BalanceOf
func(id string, owner .uverse.address) int64- OID
- 0f4bd1…47ff:41
BalanceOf details
GetStatus
func(id string) int- OID
- 0f4bd1…47ff:42
GetStatus details
GetRaised
func(id string) int64- OID
- 0f4bd1…47ff:43
GetRaised details
GetPool
func(id string) (ugnot int64, token int64)- OID
- 0f4bd1…47ff:44
GetPool details
GetCreatorFees
func(id string) int64- OID
- 0f4bd1…47ff:45
GetCreatorFees details
ProtocolFees
func() int64- OID
- 0f4bd1…47ff:46
ProtocolFees details
LaunchCount
func() int- OID
- 0f4bd1…47ff:47
LaunchCount details
ResolveSymbol
func(symbol string) string- OID
- 0f4bd1…47ff:48
ResolveSymbol details
ListIDs
func() stringListIDs returns newline-separated launch IDs (sorted by AVL key / creation order).
- OID
- 0f4bd1…47ff:49
ListIDs details
LaunchInfo
func(id string) stringLaunchInfo returns a single-line pipe-delimited summary for UIs/indexers: id|name|symbol|status|raised|sold|buyers|creatorFees|poolUgnot|poolToken|uri|creator|virtualUgnot|virtualToken|created|tokenID|gnoswapReady status: 0=curve 1=graduated; gnoswapReady: 0|1
- OID
- 0f4bd1…47ff:50
LaunchInfo details
ParamsInfo
func() stringParamsInfo returns fixed MVP parameters for UI display. total|curve|poolSeed|gradThreshold|feeBps|createBond
- OID
- 0f4bd1…47ff:51
ParamsInfo details
TradeHistory
func(id string) stringTradeHistory returns newline-separated chart points: height|side|ugnot|tokens|priceScaled side: 0=buy 1=sell 2=open/graduate. Ordered oldest → newest.
- OID
- 0f4bd1…47ff:52
TradeHistory details
TradeCount
func(id string) intTradeCount returns number of stored chart samples for a launch.
- OID
- 0f4bd1…47ff:53
TradeCount details
resetForTest
func()resetForTest clears package state between unit tests.
- OID
- 0f4bd1…47ff:54
resetForTest details
TotalSupply
int64Value
1000000000
CurveSupply
int64// sold on bonding curve
Value
800000000
PoolSeed
int64// locked into CPMM at graduation
Value
200000000
VirtualUgnot0
int64// 30 GNOT virtual
Value
30000000
VirtualToken0
int64// virtual token side
Value
1073000191
GraduationThreshold
int64Value
50000000
FeeBPS
int64Value
120
CreatorFeeShareBPS
int64Value
4000
ProtocolFeeShareBPS
int64Value
4000
CreateBondUgnot
int64Value
1000000
BondRefundBuyers
intValue
5
BondRefundMaxHeights
int64// ~ loosely long window; chain-dependent
Value
100000
AntiSnipeHeights
int64Value
20
AntiSnipeMaxBuyBPS
int64// 5% of total supply per tx in first windows
Value
500
StatusCurve
untyped bigintValue
(0 <untyped> bigint)
StatusGraduated
untyped bigintValue
(1 <untyped> bigint)
MaxTradeHistory
untyped bigintValue
(128 <untyped> bigint)
TradeSideBuy
untyped bigintValue
(0 <untyped> bigint)
TradeSideSell
untyped bigintValue
(1 <untyped> bigint)
TradeSideOpen
untyped bigint// initial listing mark
Value
(2 <untyped> bigint)
DenomUgnot
untyped stringValue
"ugnot"
Render
func(path string) stringRender provides on-chain discovery (gnoweb). Read-only by convention. Paths: "" — home / list token/{id} — launch detail help — API help
- OID
- 0f4bd1…47ff:55
Render details
sanitize
func(s string) string- OID
- 0f4bd1…47ff:57
sanitize details
renderHome
func() string- OID
- 0f4bd1…47ff:58
renderHome details
renderToken
func(id string) string- OID
- 0f4bd1…47ff:59
renderToken details
progressBar
func(pct int64) string- OID
- 0f4bd1…47ff:60
progressBar details
renderHelp
func() string- OID
- 0f4bd1…47ff:61