nativeDenom
untyped stringValue
"ugnot"
maxSupply
int64Value
1000000000
maxNameLen
untyped bigintValue
(64 <untyped> bigint)
maxImageLen
untyped bigintValue
(200 <untyped> bigint)
edition
typeValue
edcol.edition
listing
typeValue
edcol.listing
inited
boolValue
true
creator
.uverse.addressValue
<gnolang.StringValue>
self
.uverse.addressValue
<gnolang.StringValue>
name_
stringValue
"Prints"
symbol
stringValue
"PRINT"
cover
stringValue
"https://nomaq.xyz/bazaar-mark.svg"
royalty
int64Value
500
copies
int64Value
4
ledger
*v0.Ledger- OID
- 066249…18d7:46
ledger details
editions
v0.Tree- OID
- 066249…18d7:50
editions details
listings
v0.Tree- OID
- 066249…18d7:51
listings details
Init
func(name string, symbol_ string, cover_ string, royaltyBps int64)- OID
- 066249…18d7:16
Init details
Create
func(id string, name string, image string, max int64, mintPrice int64)Create opens an edition. Only the creator can call it. max is the copy cap. mintPrice 0 means only the creator can mint.
- OID
- 066249…18d7:18
Create details
Mint
func(id string, to .uverse.address, amount int64)Mint adds copies. The creator mints without payment. Anyone else pays mintPrice each.
- OID
- 066249…18d7:19
Mint details
List
func(id string, amount int64, unitPrice int64)List escrows amount of id at a unit price. One open listing per seller and id.
- OID
- 066249…18d7:20
List details
Cancel
func(id string)- OID
- 066249…18d7:21
Cancel details
Buy
func(seller .uverse.address, id string, amount int64)Buy takes amount copies from seller's listing. Payment is unit price times amount.
- OID
- 066249…18d7:22
Buy details
Transfer
func(to .uverse.address, id string, amount int64)- OID
- 066249…18d7:23
Transfer details
BalanceOf
func(addr string, id string) int64- OID
- 066249…18d7:24
BalanceOf details
Supply
func(id string) int64- OID
- 066249…18d7:25
Supply details
TokenURI
func(id string) string- OID
- 066249…18d7:26
TokenURI details
Listing
func(seller string, id string) string- OID
- 066249…18d7:27
Listing details
Name
func() string- OID
- 066249…18d7:28
Name details
Symbol
func() string- OID
- 066249…18d7:29
Symbol details
Editions
func() stringEditions is id|name|image|max|minted|mintPrice, one edition per line.
- OID
- 066249…18d7:30
Editions details
OpenListings
func() stringOpenListings is seller|id|amount|unitPrice, one listing per line.
- OID
- 066249…18d7:31
OpenListings details
requireUser
func() .uverse.address- OID
- 066249…18d7:32
requireUser details
mustEdition
func(id string) *edcol.edition- OID
- 066249…18d7:33
mustEdition details
listKey
func(seller .uverse.address, id string) string- OID
- 066249…18d7:34
listKey details
split
func(price int64) (sellerAmt int64, royal int64, sinkAmt int64)- OID
- 066249…18d7:35
split details
pay
func(seller .uverse.address, sellerAmt int64, royal int64, sinkAmt int64)- OID
- 066249…18d7:36
pay details
takeExact
func(want int64)- OID
- 066249…18d7:37
takeExact details
mul
func(a int64, b int64) int64- OID
- 066249…18d7:38
mul details
parseAddr
func(raw string) (.uverse.address, bool)- OID
- 066249…18d7:39
parseAddr details
validID
func(id string) bool- OID
- 066249…18d7:40
validID details
validName
func(name string) bool- OID
- 066249…18d7:41
validName details
validSymbol
func(s string) bool- OID
- 066249…18d7:42
validSymbol details
validImage
func(u string) bool- OID
- 066249…18d7:43
validImage details
jsonStr
func(s string) string- OID
- 066249…18d7:44
jsonStr details
pctURI
func(s string) string- OID
- 066249…18d7:45
pctURI details
nativeDenom
:
untyped string
="ugnot"
maxSupply
:
int64
=1000000000
maxNameLen
:
untyped bigint
=(64 <untyped> bigint)
maxImageLen
:
untyped bigint
=(200 <untyped> bigint)
edition
:
type
=edcol.edition
listing
:
type
=edcol.listing
inited
:
bool
=true
creator
:
.uverse.address
=<gnolang.StringValue>
self
:
.uverse.address
=<gnolang.StringValue>
name_
:
string
="Prints"
symbol
:
string
="PRINT"
cover
:
string
="https://nomaq.xyz/bazaar-mark.svg"
royalty
:
int64
=500
copies
:
int64
=4