launches
v0.Tree// id -> \*Launch
- OID
- 02a605…dcbb:4
launches details
bySymbol
v0.Tree// symbol -> id string
- OID
- 02a605…dcbb:6
bySymbol details
nextID
v0.IDValue
<zero>
protocolAddr
.uverse.addressValue
<gnolang.StringValue>
protocolFees
int64Value
199078648
inited
boolValue
true
testSkipBanker
boolValue
false
Trade
typeTrade is one price sample for charts (capped history per launch).
Value
pad.Trade
Launch
typeLaunch is one meme market: curve phase then locked pool phase.
Value
pad.Launch
Init
func()Init sets the protocol treasury. First EOA caller becomes fee recipient.
- OID
- 02a605…dcbb:12
Init details
requireInit
func()- OID
- 02a605…dcbb:14
requireInit details
mustLaunch
func(id string) *pad.Launch- OID
- 02a605…dcbb:15
mustLaunch details
balOf
func(l *pad.Launch, addr .uverse.address) int64- OID
- 02a605…dcbb:16
balOf details
setBal
func(l *pad.Launch, addr .uverse.address, amount int64)- OID
- 02a605…dcbb:17
setBal details
addBal
func(l *pad.Launch, addr .uverse.address, delta int64)- OID
- 02a605…dcbb:18
addBal details
sendUgnot
func(to .uverse.address, amount int64)- OID
- 02a605…dcbb:19
sendUgnot details
requireUserPayment
func() int64- OID
- 02a605…dcbb:20
requireUserPayment details
noteBuyer
func(l *pad.Launch, buyer .uverse.address)- OID
- 02a605…dcbb:21
noteBuyer details
tradeKey
func(n int64) string- OID
- 02a605…dcbb:22
tradeKey details
spotPriceScaled
func(l *pad.Launch) int64spotPriceScaled returns ugnot/token \* 1e6 from current curve or pool reserves.
- OID
- 02a605…dcbb:23
spotPriceScaled details
recordTrade
func(l *pad.Launch, side int, ugnot int64, tokens int64)- OID
- 02a605…dcbb:24
recordTrade details
maybeRefundBond
func(l *pad.Launch)- OID
- 02a605…dcbb: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
- 02a605…dcbb:26
Create details
Buy
func(id string) int64Buy spends -send ugnot on the bonding curve; credits tokens to the caller. Auto-graduates when RaisedUgnot >= GraduationThreshold.
- OID
- 02a605…dcbb:27
Buy details
Sell
func(id string, tokensIn int64) int64Sell burns curve tokens and pays ugnot (fee on output).
- OID
- 02a605…dcbb:28
Sell details
Graduate
func(id string)Graduate permissionlessly moves a ready curve into a permanently locked CPMM.
- OID
- 02a605…dcbb:29
Graduate details
graduate
func(l *pad.Launch)- OID
- 02a605…dcbb:30
graduate details
SwapBuy
func(id string) int64SwapBuy buys tokens from the graduated pool with -send ugnot.
- OID
- 02a605…dcbb:31
SwapBuy details
SwapSell
func(id string, tokensIn int64) int64SwapSell sells tokens into the graduated pool for ugnot.
- OID
- 02a605…dcbb:32
SwapSell details
Transfer
func(id string, to .uverse.address, amount int64)Transfer moves factory-ledger tokens between addresses.
- OID
- 02a605…dcbb:33
Transfer details
ClaimCreatorFees
func(id string) int64ClaimCreatorFees withdraws accrued creator fees for a launch.
- OID
- 02a605…dcbb:34
ClaimCreatorFees details
ClaimProtocolFees
func() int64ClaimProtocolFees withdraws protocol treasury fees.
- OID
- 02a605…dcbb:35
ClaimProtocolFees details
BalanceOf
func(id string, owner .uverse.address) int64- OID
- 02a605…dcbb:36
BalanceOf details
GetStatus
func(id string) int- OID
- 02a605…dcbb:37
GetStatus details
GetRaised
func(id string) int64- OID
- 02a605…dcbb:38
GetRaised details
GetPool
func(id string) (ugnot int64, token int64)- OID
- 02a605…dcbb:39
GetPool details
GetCreatorFees
func(id string) int64- OID
- 02a605…dcbb:40
GetCreatorFees details
ProtocolFees
func() int64- OID
- 02a605…dcbb:41
ProtocolFees details
LaunchCount
func() int- OID
- 02a605…dcbb:42
LaunchCount details
ResolveSymbol
func(symbol string) string- OID
- 02a605…dcbb:43
ResolveSymbol details
ListIDs
func() stringListIDs returns newline-separated launch IDs (sorted by AVL key / creation order).
- OID
- 02a605…dcbb:44
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 status: 0=curve 1=graduated
- OID
- 02a605…dcbb:45
LaunchInfo details
ParamsInfo
func() stringParamsInfo returns fixed MVP parameters for UI display. total|curve|poolSeed|gradThreshold|feeBps|createBond
- OID
- 02a605…dcbb:46
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
- 02a605…dcbb:47
TradeHistory details
TradeCount
func(id string) intTradeCount returns number of stored chart samples for a launch.
- OID
- 02a605…dcbb:48
TradeCount details
resetForTest
func()resetForTest clears package state between unit tests.
- OID
- 02a605…dcbb:49
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
- 02a605…dcbb:50
Render details
sanitize
func(s string) string- OID
- 02a605…dcbb:52
sanitize details
renderHome
func() string- OID
- 02a605…dcbb:53
renderHome details
renderToken
func(id string) string- OID
- 02a605…dcbb:54
renderToken details
progressBar
func(pct int64) string- OID
- 02a605…dcbb:55
progressBar details
renderHelp
func() string- OID
- 02a605…dcbb:56