Search Apps Documentation Source Content File Folder Download Copy Actions Download State String Boolean Number Struct Map Slice Pointer Function Closure Reference Nil Package Type Interface Unknown

bazaargens state

Back to all declarations

maxNameLen

untyped bigint

Value

(64 <untyped> bigint)

maxImageLen

untyped bigint

Value

(200 <untyped> bigint)

maxSupplyBound

untyped bigint

Value

(1000000 <untyped> bigint)

maxRoyaltyBps

untyped bigint

Value

(1000 <untyped> bigint)

nativeDenom

untyped string

Value

"ugnot"

publicOrigin

untyped string

Value

"https://bazaar-gno.vercel.app"

dropAddCap

untyped bigint

Value

(20 <untyped> bigint)

dropSlotHardCap

untyped bigint

Value

(10000 <untyped> bigint)

allowAddCap

untyped bigint

Value

(50 <untyped> bigint)

minSlugLen

untyped bigint

Value

(2 <untyped> bigint)

item

type

Value

bazaargens.item

dropSlot

type

Value

bazaargens.dropSlot

phaseCount

type

Value

bazaargens.phaseCount

tokenSeq

v0.ID

Value

<zero>

nextID

int

Value

0

minted

int

Value

0

loaded

int

Value

0

allowN

int

Value

0

mintCap

int

Value

0

wlMintCap

int

Value

0

pubMintCap

int

Value

0

maxSupply

int

Value

1111

mintPrice

int64

Value

20000000

wlPrice

int64

Value

0

wlSupply

int

Value

0

wlStart

int64

Value

0

wlEnd

int64

Value

0

publicStart

int64

Value

0

publicEnd

int64

Value

0

publicForced

bool

Value

false

royaltyBps

int

Value

0

paused

bool

Value

true

hidden

bool

Value

false

inited

bool

Value

true

creator

.uverse.address

Value

<gnolang.StringValue>

self

.uverse.address

Value

<gnolang.StringValue>

colName

string

Value

"Bazaar Gens"

colSymbol

string

Value

"bazaargens"

colCover

string

Value

"https://ipfs.io/ipfs/bafybeidqi42bwn6svng2asugymeymfvhzc4arynfmwuyvxxowqtbax7skm"

prereveal

string

Value

""

slug

string

Value

"bazaargens"

Init

func(name string, symbol string, cover string, maxSupplyN int, mintPriceUgnot int64, royalty int64)
Open
OID
0171dd…fda0:43
Init details

Inspect func

Mint

func(name string, imageURL string) int
Open
OID
0171dd…fda0:45
Mint details

Inspect func

AddDropItems

func(blob string)
Open
OID
0171dd…fda0:47
AddDropItems details

Inspect func

ListDropSlots

func() string
Open
OID
0171dd…fda0:48
ListDropSlots details

Inspect func

AddAllowlist

func(blob string)
Open
OID
0171dd…fda0:52
AddAllowlist details

Inspect func

OnAllowlist

func(addr string) bool
Open
OID
0171dd…fda0:54
OnAllowlist details

Inspect func

SetDropSale

func(wlPriceUgnot int64, wlQty int)
Open
OID
0171dd…fda0:55
SetDropSale details

Inspect func

SetMintSchedule

func(wlStartUnix int64, wlEndUnix int64, publicStartUnix int64, publicEndUnix int64)

SetMintSchedule sets unix-second bounds for both rounds. 0,0,0,0 clears the clock. An end of 0 means that round has no hard close. wlStart > 0 requires publicStart > wlStart. A set end must be after its own start. publicStart must not fall inside the whitelist window. Locked once any token has minted.

Open
OID
0171dd…fda0:57
SetMintSchedule details

Inspect func

MintScheduleOf

func() string
Open
OID
0171dd…fda0:58
MintScheduleOf details

Inspect func

SetPhaseMintCap

func(wlN int, pubN int)

SetPhaseMintCap sets how many times one wallet may PublicMint in each round. 0 means that round has no per-wallet limit. Counts are separate: a whitelist mint does not consume the public allowance. mintCap still caps the total.

Open
OID
0171dd…fda0:60
SetPhaseMintCap details

Inspect func

SetMintPrice

func(priceUgnot int64)
Open
OID
0171dd…fda0:61
SetMintPrice details

Inspect func

PhaseMintCapOf

func() string
Open
OID
0171dd…fda0:63
PhaseMintCapOf details

Inspect func

mintPhase

func(now int64) string

mintPhase is closed, whitelist, or public. A future publicStart does not fall through to public price when the allowlist quantity is already used. After wlEnd, and after publicEnd, the sale is closed until the next open bound.

Open
OID
0171dd…fda0:66
mintPhase details

Inspect func

requireAllow

func(caller .uverse.address)
Open
OID
0171dd…fda0:67
requireAllow details

Inspect func

walletPhase

func(who string) bazaargens.phaseCount
Open
OID
0171dd…fda0:68
walletPhase details

Inspect func

checkMintCap

func(caller .uverse.address)
Open
OID
0171dd…fda0:69
checkMintCap details

Inspect func

noteMint

func(caller .uverse.address)
Open
OID
0171dd…fda0:70
noteMint details

Inspect func

SetPrereveal

func(image string)

SetPrereveal is the image every sealed NFT shows. Empty uses the cover. Creator only. After RevealCollection the real slot image is already public.

Open
OID
0171dd…fda0:73
SetPrereveal details

Inspect func

RevealCollection

func()

RevealCollection opens every minted NFT. Creator only, and only while sealed.

Open
OID
0171dd…fda0:75
RevealCollection details

Inspect func

OwnerOf

func(tid string) (.uverse.address, .uverse.error)
Open
OID
0171dd…fda0:78
OwnerOf details

Inspect func

GrcBalanceOf

func(addr string) int64
Open
OID
0171dd…fda0:81
GrcBalanceOf details

Inspect func

GrcOwnerOf

func(id int) string
Open
OID
0171dd…fda0:82
GrcOwnerOf details

Inspect func

BalanceOf

func(addr string) int64
Open
OID
0171dd…fda0:85
BalanceOf details

Inspect func

TokenURI

func(tid string) string
Open
OID
0171dd…fda0:86
TokenURI details

Inspect func

Approve

func(to string, tid string)
Open
OID
0171dd…fda0:88
Approve details

Inspect func

SetApprovalForAll

func(operator string, approved bool)
Open
OID
0171dd…fda0:89
SetApprovalForAll details

Inspect func

TransferFrom

func(from string, to string, tid string)
Open
OID
0171dd…fda0:90
TransferFrom details

Inspect func

GetApproved

func(id int) string
Open
OID
0171dd…fda0:91
GetApproved details

Inspect func

IsApprovedForAll

func(owner string, operator string) bool
Open
OID
0171dd…fda0:92
IsApprovedForAll details

Inspect func

SellerOf

func(id int) .uverse.address
Open
OID
0171dd…fda0:94
SellerOf details

Inspect func

CollectionOf

func(int) string
Open
OID
0171dd…fda0:100
CollectionOf details

Inspect func

TokensOf

func(owner string) string
Open
OID
0171dd…fda0:103
TokensOf details

Inspect func

TokenOfOwnerByIndex

func(owner string, index int64) string
Open
OID
0171dd…fda0:104
TokenOfOwnerByIndex details

Inspect func

TokenByIndex

func(index int64) string
Open
OID
0171dd…fda0:105
TokenByIndex details

Inspect func

mintTo

func(caller .uverse.address, name string, imageURL string) int
Open
OID
0171dd…fda0:116
mintTo details

Inspect func

prerevealImage

func() string
Open
OID
0171dd…fda0:118
prerevealImage details

Inspect func

paintSealed

func(image string)
Open
OID
0171dd…fda0:120
paintSealed details

Inspect func

requireUser

func() .uverse.address
Open
OID
0171dd…fda0:123
requireUser details

Inspect func

mustItem

func(id int) *bazaargens.item
Open
OID
0171dd…fda0:126
mustItem details

Inspect func

lastElem

func(pkg string) string
Open
OID
0171dd…fda0:128
lastElem details

Inspect func

applySlot

func(id int, s *bazaargens.dropSlot, slotIndex int)
Open
OID
0171dd…fda0:131
applySlot details

Inspect func

writeTokenMeta

func(id int)
Open
OID
0171dd…fda0:132
writeTokenMeta details

Inspect func

publicMeta

func(it *bazaargens.item) (string, string, []v0.Trait)
Open
OID
0171dd…fda0:133
publicMeta details

Inspect func

tokenJSON

func(it *bazaargens.item) string
Open
OID
0171dd…fda0:134
tokenJSON details

Inspect func

traitAttrs

func(it *bazaargens.item) []v0.Trait
Open
OID
0171dd…fda0:135
traitAttrs details

Inspect func

splitDropLines

func(blob string) []string
Open
OID
0171dd…fda0:139
splitDropLines details

Inspect func

parseDropLine

func(line string) (string, string, string, string)
Open
OID
0171dd…fda0:140
parseDropLine details

Inspect func

validRarity

func(s string) bool
Open
OID
0171dd…fda0:141
validRarity details

Inspect func

validTraits

func(s string) bool
Open
OID
0171dd…fda0:142
validTraits details

Inspect func

validPkgName

func(s string) bool
Open
OID
0171dd…fda0:144
validPkgName details

Inspect func

validName

func(name string) bool
Open
OID
0171dd…fda0:146
validName details

Inspect func

validImage

func(u string) bool
Open
OID
0171dd…fda0:147
validImage details

Inspect func

asciiSet

func(s string, allowed string) bool
Open
OID
0171dd…fda0:148
asciiSet details

Inspect func

List

func(id int, priceUgnot int64)
Open
OID
0171dd…fda0:149
List details

Inspect func

UpdatePrice

func(id int, priceUgnot int64)
Open
OID
0171dd…fda0:151
UpdatePrice details

Inspect func

Transfer

func(to .uverse.address, id int)
Open
OID
0171dd…fda0:154
Transfer details

Inspect func

tradeProtocolBps

func(seller .uverse.address, buyer .uverse.address) int64
Open
OID
0171dd…fda0:156
tradeProtocolBps details

Inspect func

grcTransfer

func(spender .uverse.address, from .uverse.address, to .uverse.address, id int)
Open
OID
0171dd…fda0:157
grcTransfer details

Inspect func
maxNameLen : untyped bigint =(64 <untyped> bigint)
maxImageLen : untyped bigint =(200 <untyped> bigint)
maxSupplyBound : untyped bigint =(1000000 <untyped> bigint)
maxRoyaltyBps : untyped bigint =(1000 <untyped> bigint)
nativeDenom : untyped string ="ugnot"
publicOrigin : untyped string ="https://bazaar-gno.vercel.app"
dropAddCap : untyped bigint =(20 <untyped> bigint)
dropSlotHardCap : untyped bigint =(10000 <untyped> bigint)
allowAddCap : untyped bigint =(50 <untyped> bigint)
minSlugLen : untyped bigint =(2 <untyped> bigint)
item : type =bazaargens.item
dropSlot : type =bazaargens.dropSlot
phaseCount : type =bazaargens.phaseCount
items : v0.Tree Inspect
dropSlots : v0.Tree Inspect
allowlist : v0.Tree Inspect
mintedBy : v0.Tree Inspect
token : *v0.Token Inspect
ledger : *v0.PrivateLedger Inspect
metaView : *v0.Metadata Inspect
metaLed : *v0.Ledger Inspect
tokenSeq : v0.ID =<zero>
nextID : int =0
minted : int =0
loaded : int =0
allowN : int =0
mintCap : int =0
wlMintCap : int =0
pubMintCap : int =0
maxSupply : int =1111
mintPrice : int64 =20000000
wlPrice : int64 =0
wlSupply : int =0
wlStart : int64 =0
wlEnd : int64 =0
publicStart : int64 =0
publicEnd : int64 =0
publicForced : bool =false
royaltyBps : int =0
paused : bool =true
hidden : bool =false
inited : bool =true
creator : .uverse.address =<gnolang.StringValue>
self : .uverse.address =<gnolang.StringValue>
colName : string ="Bazaar Gens"
colSymbol : string ="bazaargens"
colCover : string ="https://ipfs.io/ipfs/bafybeidqi42bwn6svng2asugymeymfvhzc4arynfmwuyvxxowqtbax7skm"
prereveal : string =""
slug : string ="bazaargens"
Init : func(name string, symbol string, cover string, maxSupplyN int, mintPriceUgnot int64, royalty int64) Inspect
Mint : func(name string, imageURL string) int Inspect
PublicMint : func() int Inspect
AddDropItems : func(blob string) Inspect
ListDropSlots : func() string Inspect
LoadedOf : func() int Inspect
PauseMint : func() Inspect
ResumeMint : func() Inspect
AddAllowlist : func(blob string) Inspect
AllowN : func() int Inspect
OnAllowlist : func(addr string) bool Inspect
SetDropSale : func(wlPriceUgnot int64, wlQty int) Inspect
StartPublic : func() Inspect
SetMintSchedule : func(wlStartUnix int64, wlEndUnix int64, publicStartUnix int64, publicEndUnix int64) Inspect
MintScheduleOf : func() string Inspect
SetMintCap : func(n int) Inspect
SetPhaseMintCap : func(wlN int, pubN int) Inspect
SetMintPrice : func(priceUgnot int64) Inspect
MintCapOf : func() int Inspect
PhaseMintCapOf : func() string Inspect
DropSaleOf : func() string Inspect
wlPhase : func() bool Inspect
mintPhase : func(now int64) string Inspect
requireAllow : func(caller .uverse.address) Inspect
walletPhase : func(who string) bazaargens.phaseCount Inspect
checkMintCap : func(caller .uverse.address) Inspect
noteMint : func(caller .uverse.address) Inspect
Hidden : func() bool Inspect
SetHidden : func(hide bool) Inspect
SetPrereveal : func(image string) Inspect
Prereveal : func() string Inspect
RevealCollection : func() Inspect
Revealed : func(id int) bool Inspect
Reveal : func(id int) Inspect
OwnerOf : func(tid string) (.uverse.address, .uverse.error) Inspect
GrcName : func() string Inspect
GrcSymbol : func() string Inspect
GrcBalanceOf : func(addr string) int64 Inspect
GrcOwnerOf : func(id int) string Inspect
Name : func() string Inspect
Symbol : func() string Inspect
BalanceOf : func(addr string) int64 Inspect
TokenURI : func(tid string) string Inspect
guardUnlisted : func(id int) Inspect
Approve : func(to string, tid string) Inspect
SetApprovalForAll : func(operator string, approved bool) Inspect
TransferFrom : func(from string, to string, tid string) Inspect
GetApproved : func(id int) string Inspect
IsApprovedForAll : func(owner string, operator string) bool Inspect
TotalSupply : func() int64 Inspect
SellerOf : func(id int) .uverse.address Inspect
PriceOf : func(id int) int64 Inspect
NameOf : func(id int) string Inspect
ImageOf : func(id int) string Inspect
Listed : func(id int) bool Inspect
NextID : func() int Inspect
CollectionOf : func(int) string Inspect
ItemLine : func(id int) string Inspect
ListOpen : func() string Inspect
TokensOf : func(owner string) string Inspect
TokenOfOwnerByIndex : func(owner string, index int64) string Inspect
TokenByIndex : func(index int64) string Inspect
Creator : func() string Inspect
MintPrice : func() int64 Inspect
MaxSupply : func() int Inspect
Minted : func() int Inspect
RoyaltyBps : func() int Inspect
SetRoyalty : func(bps int) Inspect
RarityOf : func(id int) string Inspect
TraitsOf : func(id int) string Inspect
Paused : func() bool Inspect
Render : func(string) string Inspect
mintTo : func(caller .uverse.address, name string, imageURL string) int Inspect
takeExact : func(want int64) Inspect
prerevealImage : func() string Inspect
sealedIDs : func() []int Inspect
paintSealed : func(image string) Inspect
publicImage : func() string Inspect
requireInit : func() Inspect
requireUser : func() .uverse.address Inspect
itemTid : func(id int) v0.TokenID Inspect
parseTid : func(tid string) int Inspect
mustItem : func(id int) *bazaargens.item Inspect
itemKey : func(id int) string Inspect
lastElem : func(pkg string) string Inspect
slotKey : func(i int) string Inspect
slotCap : func() int Inspect
applySlot : func(id int, s *bazaargens.dropSlot, slotIndex int) Inspect
writeTokenMeta : func(id int) Inspect
publicMeta : func(it *bazaargens.item) (string, string, []v0.Trait) Inspect
tokenJSON : func(it *bazaargens.item) string Inspect
traitAttrs : func(it *bazaargens.item) []v0.Trait Inspect
absImage : func(u string) string Inspect
jsonStr : func(s string) string Inspect
pctURI : func(s string) string Inspect
splitDropLines : func(blob string) []string Inspect
parseDropLine : func(line string) (string, string, string, string) Inspect
validRarity : func(s string) bool Inspect
validTraits : func(s string) bool Inspect
validG1 : func(s string) bool Inspect
validPkgName : func(s string) bool Inspect
rarityOf : func(id int) string Inspect
validName : func(name string) bool Inspect
validImage : func(u string) bool Inspect
asciiSet : func(s string, allowed string) bool Inspect
List : func(id int, priceUgnot int64) Inspect
UpdatePrice : func(id int, priceUgnot int64) Inspect
Cancel : func(id int) Inspect
Buy : func(id int) Inspect
Transfer : func(to .uverse.address, id int) Inspect
ProtocolBps : func() int64 Inspect
tradeProtocolBps : func(seller .uverse.address, buyer .uverse.address) int64 Inspect
grcTransfer : func(spender .uverse.address, from .uverse.address, to .uverse.address, id int) Inspect