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 source realm

Functions 69

func Init

crossing Action
1func Init(cur realm, name, symbol, cover string, maxSupplyN int, mintPriceUgnot int64, royalty int64)
source

func RevealCollection

crossing Action
1func RevealCollection(cur realm)
source

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

func SetMintSchedule

crossing Action
1func SetMintSchedule(cur realm, wlStartUnix, wlEndUnix, publicStartUnix, publicEndUnix int64)
source

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.

func SetPhaseMintCap

crossing Action
1func SetPhaseMintCap(cur realm, wlN, pubN int)
source

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.

func SetPrereveal

crossing Action
1func SetPrereveal(cur realm, image string)
source

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

Imports 13

Source Files 3