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

bazaargens2 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

bazaargens2.item

dropSlot

type

Value

bazaargens2.dropSlot

phaseCount

type

Value

bazaargens2.phaseCount

tokenSeq

v0.ID

Value

<zero>

nextID

int

Value

0

minted

int

Value

0

loaded

int

Value

1111

allowN

int

Value

1

mintCap

int

Value

0

wlMintCap

int

Value

1

pubMintCap

int

Value

3

maxSupply

int

Value

1111

mintPrice

int64

Value

20000000

wlPrice

int64

Value

10000000

wlSupply

int

Value

333

wlStart

int64

Value

1790604000

wlEnd

int64

Value

1790604900

publicStart

int64

Value

1790605200

publicEnd

int64

Value

1790606700

publicForced

bool

Value

false

royaltyBps

int

Value

200

paused

bool

Value

false

hidden

bool

Value

true

inited

bool

Value

true

creator

.uverse.address

Value

<gnolang.StringValue>

self

.uverse.address

Value

<gnolang.StringValue>

colName

string

Value

"Bazaar Gens 2"

colSymbol

string

Value

"bazaargens2"

colCover

string

Value

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

prereveal

string

Value

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

slug

string

Value

"bazaargens2"

Init

func(name string, symbol string, cover string, maxSupplyN int, mintPriceUgnot int64, royalty int64)
Open
OID
0cdb77…0120:43
Init details

Inspect func

Mint

func(name string, imageURL string) int
Open
OID
0cdb77…0120:45
Mint details

Inspect func

AddDropItems

func(blob string)
Open
OID
0cdb77…0120:47
AddDropItems details

Inspect func

ListDropSlots

func() string
Open
OID
0cdb77…0120:48
ListDropSlots details

Inspect func

AddAllowlist

func(blob string)
Open
OID
0cdb77…0120:52
AddAllowlist details

Inspect func

OnAllowlist

func(addr string) bool
Open
OID
0cdb77…0120:54
OnAllowlist details

Inspect func

SetDropSale

func(wlPriceUgnot int64, wlQty int)
Open
OID
0cdb77…0120: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
0cdb77…0120:57
SetMintSchedule details

Inspect func

MintScheduleOf

func() string
Open
OID
0cdb77…0120: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
0cdb77…0120:60
SetPhaseMintCap details

Inspect func

SetMintPrice

func(priceUgnot int64)
Open
OID
0cdb77…0120:61
SetMintPrice details

Inspect func

PhaseMintCapOf

func() string
Open
OID
0cdb77…0120: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
0cdb77…0120:66
mintPhase details

Inspect func

requireAllow

func(caller .uverse.address)
Open
OID
0cdb77…0120:67
requireAllow details

Inspect func

walletPhase

func(who string) bazaargens2.phaseCount
Open
OID
0cdb77…0120:68
walletPhase details

Inspect func

checkMintCap

func(caller .uverse.address)
Open
OID
0cdb77…0120:69
checkMintCap details

Inspect func

noteMint

func(caller .uverse.address)
Open
OID
0cdb77…0120: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
0cdb77…0120:73
SetPrereveal details

Inspect func

RevealCollection

func()

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

Open
OID
0cdb77…0120:75
RevealCollection details

Inspect func

OwnerOf

func(tid string) (.uverse.address, .uverse.error)
Open
OID
0cdb77…0120:78
OwnerOf details

Inspect func

GrcBalanceOf

func(addr string) int64
Open
OID
0cdb77…0120:81
GrcBalanceOf details

Inspect func

GrcOwnerOf

func(id int) string
Open
OID
0cdb77…0120:82
GrcOwnerOf details

Inspect func

BalanceOf

func(addr string) int64
Open
OID
0cdb77…0120:85
BalanceOf details

Inspect func

TokenURI

func(tid string) string
Open
OID
0cdb77…0120:86
TokenURI details

Inspect func

Approve

func(to string, tid string)
Open
OID
0cdb77…0120:88
Approve details

Inspect func

SetApprovalForAll

func(operator string, approved bool)
Open
OID
0cdb77…0120:89
SetApprovalForAll details

Inspect func

TransferFrom

func(from string, to string, tid string)
Open
OID
0cdb77…0120:90
TransferFrom details

Inspect func

GetApproved

func(id int) string
Open
OID
0cdb77…0120:91
GetApproved details

Inspect func

IsApprovedForAll

func(owner string, operator string) bool
Open
OID
0cdb77…0120:92
IsApprovedForAll details

Inspect func

SellerOf

func(id int) .uverse.address
Open
OID
0cdb77…0120:94
SellerOf details

Inspect func

CollectionOf

func(int) string
Open
OID
0cdb77…0120:100
CollectionOf details

Inspect func

TokensOf

func(owner string) string
Open
OID
0cdb77…0120:103
TokensOf details

Inspect func

TokenOfOwnerByIndex

func(owner string, index int64) string
Open
OID
0cdb77…0120:104
TokenOfOwnerByIndex details

Inspect func

TokenByIndex

func(index int64) string
Open
OID
0cdb77…0120:105
TokenByIndex details

Inspect func

mintTo

func(caller .uverse.address, name string, imageURL string) int
Open
OID
0cdb77…0120:116
mintTo details

Inspect func

prerevealImage

func() string
Open
OID
0cdb77…0120:118
prerevealImage details

Inspect func

paintSealed

func(image string)
Open
OID
0cdb77…0120:120
paintSealed details

Inspect func

requireUser

func() .uverse.address
Open
OID
0cdb77…0120:123
requireUser details

Inspect func

mustItem

func(id int) *bazaargens2.item
Open
OID
0cdb77…0120:126
mustItem details

Inspect func

lastElem

func(pkg string) string
Open
OID
0cdb77…0120:128
lastElem details

Inspect func

applySlot

func(id int, s *bazaargens2.dropSlot, slotIndex int)
Open
OID
0cdb77…0120:131
applySlot details

Inspect func

writeTokenMeta

func(id int)
Open
OID
0cdb77…0120:132
writeTokenMeta details

Inspect func

publicMeta

func(it *bazaargens2.item) (string, string, []v0.Trait)
Open
OID
0cdb77…0120:133
publicMeta details

Inspect func

tokenJSON

func(it *bazaargens2.item) string
Open
OID
0cdb77…0120:134
tokenJSON details

Inspect func

traitAttrs

func(it *bazaargens2.item) []v0.Trait
Open
OID
0cdb77…0120:135
traitAttrs details

Inspect func

splitDropLines

func(blob string) []string
Open
OID
0cdb77…0120:139
splitDropLines details

Inspect func

parseDropLine

func(line string) (string, string, string, string)
Open
OID
0cdb77…0120:140
parseDropLine details

Inspect func

validRarity

func(s string) bool
Open
OID
0cdb77…0120:141
validRarity details

Inspect func

validTraits

func(s string) bool
Open
OID
0cdb77…0120:142
validTraits details

Inspect func

validPkgName

func(s string) bool
Open
OID
0cdb77…0120:144
validPkgName details

Inspect func

validName

func(name string) bool
Open
OID
0cdb77…0120:146
validName details

Inspect func

validImage

func(u string) bool
Open
OID
0cdb77…0120:147
validImage details

Inspect func

asciiSet

func(s string, allowed string) bool
Open
OID
0cdb77…0120:148
asciiSet details

Inspect func

List

func(id int, priceUgnot int64)
Open
OID
0cdb77…0120:149
List details

Inspect func

UpdatePrice

func(id int, priceUgnot int64)
Open
OID
0cdb77…0120:151
UpdatePrice details

Inspect func

Transfer

func(to .uverse.address, id int)
Open
OID
0cdb77…0120:154
Transfer details

Inspect func

tradeProtocolBps

func(seller .uverse.address, buyer .uverse.address) int64
Open
OID
0cdb77…0120:156
tradeProtocolBps details

Inspect func

grcTransfer

func(spender .uverse.address, from .uverse.address, to .uverse.address, id int)
Open
OID
0cdb77…0120: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 =bazaargens2.item
dropSlot : type =bazaargens2.dropSlot
phaseCount : type =bazaargens2.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 =1111
allowN : int =1
mintCap : int =0
wlMintCap : int =1
pubMintCap : int =3
maxSupply : int =1111
mintPrice : int64 =20000000
wlPrice : int64 =10000000
wlSupply : int =333
wlStart : int64 =1790604000
wlEnd : int64 =1790604900
publicStart : int64 =1790605200
publicEnd : int64 =1790606700
publicForced : bool =false
royaltyBps : int =200
paused : bool =false
hidden : bool =true
inited : bool =true
creator : .uverse.address =<gnolang.StringValue>
self : .uverse.address =<gnolang.StringValue>
colName : string ="Bazaar Gens 2"
colSymbol : string ="bazaargens2"
colCover : string ="https://ipfs.io/ipfs/bafybeidqi42bwn6svng2asugymeymfvhzc4arynfmwuyvxxowqtbax7skm"
prereveal : string ="https://ipfs.io/ipfs/bafybeidqi42bwn6svng2asugymeymfvhzc4arynfmwuyvxxowqtbax7skm"
slug : string ="bazaargens2"
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) bazaargens2.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) *bazaargens2.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 *bazaargens2.dropSlot, slotIndex int) Inspect
writeTokenMeta : func(id int) Inspect
publicMeta : func(it *bazaargens2.item) (string, string, []v0.Trait) Inspect
tokenJSON : func(it *bazaargens2.item) string Inspect
traitAttrs : func(it *bazaargens2.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