launches
v0.Tree// id -> \*launch
- OID
- 03c847…fe8f:4
launches details
bySymbol
v0.Tree// symbol -> id
- OID
- 03c847…fe8f:6
bySymbol details
nextID
v0.IDValue
<zero>
nextTokenID
v0.IDValue
<zero>
padAddr
.uverse.addressValue
<gnolang.StringValue>
owner
.uverse.addressValue
<gnolang.StringValue>
prepaid
v0.Tree// caller -> int64 claimable WUGNOT
- OID
- 03c847…fe8f:12
prepaid details
totalPrepaid
int64Value
0
testSkipBanker
boolValue
false
testBank
int64Value
0
init.10
func()- OID
- 03c847…fe8f:16
init.10 details
Init
func()Init sets the owner when deploy did not capture one. One shot.
- OID
- 03c847…fe8f:18
Init details
TransferAdmin
func(next .uverse.address)TransferAdmin rotates the launchpad owner. The raise stays in the realm.
- OID
- 03c847…fe8f:19
TransferAdmin details
Create
func(name string, symbol string, uri string, raiseUgnot int64) stringCreate opens one token. raiseUgnot is the quote this curve locks before graduate, in ugnot. Only the realm owner may call. The value is fixed here.
- OID
- 03c847…fe8f:20
Create details
Buy
func(id string, amount int64, minTokensOut int64) int64Buy spends up to amount WUGNOT on the curve and mints tokens to the caller. No fee. A fill that reaches the raise graduates inside this call.
- OID
- 03c847…fe8f:21
Buy details
Sell
func(id string, tokensIn int64, minUgnotOut int64) int64Sell burns curve tokens and returns the quote this launch holds. No fee. Payout is capped at this launch's raised quote, so a rounding step cannot spend another launch's WUGNOT or the virtual seed.
- OID
- 03c847…fe8f:22
Sell details
Graduate
func(id string)Graduate moves a filled curve into this realm's internal pool. The quote stays on this token's books. Anyone may call it once ready.
- OID
- 03c847…fe8f:23
Graduate details
SwapBuy
func(id string, amount int64, minTokensOut int64) int64SwapBuy buys from the post-graduate pool. No fee.
- OID
- 03c847…fe8f:24
SwapBuy details
SwapSell
func(id string, tokensIn int64, minUgnotOut int64) int64SwapSell sells into the post-graduate pool. No fee. Pays only from this launch's pool quote.
- OID
- 03c847…fe8f:25
SwapSell details
ClaimWugnot
func() int64ClaimWugnot withdraws the caller's prepaid remainder. It does not withdraw a launch's raised quote or pool.
- OID
- 03c847…fe8f:26
ClaimWugnot details
Transfer
func(id string, to .uverse.address, amount int64)Transfer moves this realm's token. The quote reserve does not move.
- OID
- 03c847…fe8f:27
Transfer details
Approve
func(id string, spender .uverse.address, amount int64)Approve lets spender TransferFrom the caller's tokens.
- OID
- 03c847…fe8f:28
Approve details
TransferFrom
func(id string, from .uverse.address, to .uverse.address, amount int64)TransferFrom spends the caller's allowance.
- OID
- 03c847…fe8f:29
TransferFrom details
Owner
func() .uverse.address- OID
- 03c847…fe8f:30
Owner details
RealmAddr
func() .uverse.address- OID
- 03c847…fe8f:31
RealmAddr details
RaiseOf
func(id string) int64- OID
- 03c847…fe8f:32
RaiseOf details
RequestedRaiseOf
func(id string) int64- OID
- 03c847…fe8f:33
RequestedRaiseOf details
RaisedOf
func(id string) int64- OID
- 03c847…fe8f:34
RaisedOf details
StatusOf
func(id string) int- OID
- 03c847…fe8f:35
StatusOf details
SoldOf
func(id string) int64- OID
- 03c847…fe8f:36
SoldOf details
VirtualOf
func(id string) (vu0 int64, vu int64, vt int64)- OID
- 03c847…fe8f:37
VirtualOf details
PoolOf
func(id string) (ugnot int64, tokens int64)- OID
- 03c847…fe8f:38
PoolOf details
BalanceOf
func(id string, addr .uverse.address) int64- OID
- 03c847…fe8f:39
BalanceOf details
Allowance
func(id string, who .uverse.address, spender .uverse.address) int64- OID
- 03c847…fe8f:40
Allowance details
PrepaidOf
func(addr .uverse.address) int64- OID
- 03c847…fe8f:41
PrepaidOf details
ResolveSymbol
func(symbol string) string- OID
- 03c847…fe8f:42
ResolveSymbol details
launch
typelaunch is one token book. token and ledger stay unexported so other packages cannot mint.
Value
pado.launch
seedForRaise
func(raise int64) (vu0 int64, target int64)- OID
- 03c847…fe8f:43
seedForRaise details
ready
func(l *pado.launch) bool- OID
- 03c847…fe8f:44
ready details
graduate
func(l *pado.launch)- OID
- 03c847…fe8f:45
graduate details
requireEOA
func() .uverse.address- OID
- 03c847…fe8f:46
requireEOA details
requireOwner
func()- OID
- 03c847…fe8f:47
requireOwner details
mustLaunch
func(id string) *pado.launch- OID
- 03c847…fe8f:48
mustLaunch details
bal
func(l *pado.launch, addr .uverse.address) int64- OID
- 03c847…fe8f:49
bal details
mint
func(l *pado.launch, addr .uverse.address, amount int64)- OID
- 03c847…fe8f:50
mint details
burn
func(l *pado.launch, addr .uverse.address, amount int64)- OID
- 03c847…fe8f:51
burn details
checkSnipe
func(l *pado.launch, buyer .uverse.address, tokens int64)- OID
- 03c847…fe8f:52
checkSnipe details
snipeOf
func(l *pado.launch, buyer .uverse.address) int64- OID
- 03c847…fe8f:53
snipeOf details
reservedWugnot
func() int64- OID
- 03c847…fe8f:54
reservedWugnot details
bankBal
func() int64- OID
- 03c847…fe8f:55
bankBal details
freeWugnot
func() int64- OID
- 03c847…fe8f:56
freeWugnot details
creditOrigin
func()creditOrigin attributes this tx's ugnot to the caller in tests, where OriginSend stands in for a prior wugnot.Transfer.
- OID
- 03c847…fe8f:57
creditOrigin details
lockPrepaid
func(user .uverse.address, amount int64)- OID
- 03c847…fe8f:58
lockPrepaid details
prepaidOf
func(addr .uverse.address) int64- OID
- 03c847…fe8f:59
prepaidOf details
addPrepaid
func(addr .uverse.address, amount int64)- OID
- 03c847…fe8f:60
addPrepaid details
subPrepaid
func(addr .uverse.address, amount int64)- OID
- 03c847…fe8f:61
subPrepaid details
payOut
func(to .uverse.address, amount int64)- OID
- 03c847…fe8f:62
payOut details
formatID
func(n v0.ID) string- OID
- 03c847…fe8f:63
formatID details
TotalSupply
int64Value
1000000000
CurveSupply
int64Value
800000000
VirtualToken0
int64Value
1073000191
MinRaiseUgnot
int64// 1 GNOT
Value
1000000
MaxRaiseUgnot
int64// 1\_000\_000 GNOT
Value
1000000000000000
AntiSnipeHeights
int64Value
20
AntiSnipeMaxBuyBPS
int64// 5% of TotalSupply per address
Value
500
MaxURILen
untyped bigintValue
(256 <untyped> bigint)
StatusCurve
untyped bigintValue
(0 <untyped> bigint)
StatusGraduated
untyped bigintValue
(1 <untyped> bigint)
DenomUgnot
untyped stringValue
"ugnot"
Render
func(path string) stringRender lists the launches in this realm. Quote figures are ugnot.
- OID
- 03c847…fe8f:64
Render details
esc
func(s string) string- OID
- 03c847…fe8f:66