maxImageLen
untyped bigintValue
(200 <untyped> bigint)
maxTidLen
untyped bigintValue
(64 <untyped> bigint)
saleCap
untyped bigintValue
(100 <untyped> bigint)
pageMax
untyped bigintValue
(50 <untyped> bigint)
token
*v0.Token- OID
- 04a1c3…5b64:147
token details
ledger
*v0.PrivateLedger- OID
- 04a1c3…5b64:149
ledger details
metaView
*v0.Metadata- OID
- 04a1c3…5b64:164
metaView details
metaLed
*v0.Ledger- OID
- 04a1c3…5b64:170
metaLed details
enumView
*v0.Enumerable- OID
- 04a1c3…5b64:172
enumView details
tokenSeq
v0.IDValue
<zero>
creator
.uverse.addressValue
<gnolang.StringValue>
ready
boolValue
true
listings
v0.Tree- OID
- 04a1c3…5b64:12
listings details
sales
[100]market.sale- OID
- 04a1c3…5b64:14
sales details
saleN
intValue
1
listing
typeValue
market.listing
sale
typeValue
market.sale
Init
func(name string, symbol string)Init creates the collection once. The caller becomes the only minter.
- OID
- 04a1c3…5b64:116
Init details
Mint
func(tid string, name string, image string)Mint issues one token to the creator. image is an https URL.
- OID
- 04a1c3…5b64:118
Mint details
Transfer
func(to .uverse.address, tid string)Transfer moves a token the caller owns.
- OID
- 04a1c3…5b64:119
Transfer details
requireReady
func()- OID
- 04a1c3…5b64:120
requireReady details
requireUser
func() .uverse.address- OID
- 04a1c3…5b64:121
requireUser details
parseTid
func(tid string) v0.TokenID- OID
- 04a1c3…5b64:122
parseTid details
httpsURL
func(s string) bool- OID
- 04a1c3…5b64:123
httpsURL details
ascii
func(s string) bool- OID
- 04a1c3…5b64:124
ascii details
ownerOf
func(tid v0.TokenID) .uverse.address- OID
- 04a1c3…5b64:125
ownerOf details
metaNameImage
func(tid v0.TokenID) (string, string)- OID
- 04a1c3…5b64:126
metaNameImage details
page
func(offset int, limit int) (int, int)- OID
- 04a1c3…5b64:127
page details
quote
func(s string) string- OID
- 04a1c3…5b64:128
quote details
i64
func(n int64) string- OID
- 04a1c3…5b64:129
i64 details
List
func(tid string, price int64)List puts tid on sale for price ugnot. The token stays with the owner. A dead listing (the recorded seller no longer owns it) is replaced.
- OID
- 04a1c3…5b64:130
List details
Cancel
func(tid string)Cancel removes the caller's listing, or a listing whose seller no longer owns the token.
- OID
- 04a1c3…5b64:132
Cancel details
Buy
func(tid string)Buy pays the listing price in ugnot and takes the token. The attached send must be exactly the price, one ugnot coin.
- OID
- 04a1c3…5b64:133
Buy details
mustListing
func(id v0.TokenID) market.listing- OID
- 04a1c3…5b64:134
mustListing details
pushSale
func(s market.sale)- OID
- 04a1c3…5b64:135
pushSale details
InfoJSON
func() stringInfoJSON is the collection header. ready is false until Init.
- OID
- 04a1c3…5b64:136
InfoJSON details
ListingsJSON
func(offset int, limit int) stringListingsJSON returns one page of listings, oldest key first.
- OID
- 04a1c3…5b64:138
ListingsJSON details
ListingJSON
func(tid string) stringListingJSON returns one listing or "null".
- OID
- 04a1c3…5b64:139
ListingJSON details
TokenJSON
func(tid string) stringTokenJSON returns one token, listed or not.
- OID
- 04a1c3…5b64:140
TokenJSON details
TokensJSON
func(owner .uverse.address, offset int, limit int) stringTokensJSON lists tokens owned by owner.
- OID
- 04a1c3…5b64:141
TokensJSON details
SalesJSON
func(offset int, limit int) stringSalesJSON returns the newest sales first.
- OID
- 04a1c3…5b64:142
SalesJSON details
lotJSON
func(tid string, lot market.listing) string- OID
- 04a1c3…5b64:143
lotJSON details
boolJSON
func(v bool) string- OID
- 04a1c3…5b64:144
boolJSON details
join
func(parts []string) string- OID
- 04a1c3…5b64:145
join details
Render
func(path string) string- OID
- 04a1c3…5b64:146