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

gcol2 state

Back to all declarations

maxImageLen

untyped bigint

Value

(200 <untyped> bigint)

maxDiscountBps

int64

Value

150

maxSupply

untyped bigint

Value

(1111 <untyped> bigint)

supplyCommon

untyped bigint

Value

(666 <untyped> bigint)

supplyUncommon

untyped bigint

Value

(222 <untyped> bigint)

supplyRare

untyped bigint

Value

(111 <untyped> bigint)

supplyEpic

untyped bigint

Value

(66 <untyped> bigint)

supplyLegend

untyped bigint

Value

(33 <untyped> bigint)

supplyMythic

untyped bigint

Value

(13 <untyped> bigint)

defaultImage

untyped string

Value

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

shareBps

int64

// 11% of protocol take on Buy

Value

1100

item

type

Value

gcol2.item

tokenSeq

v0.ID

Value

<zero>

inited

bool

Value

true

creator

.uverse.address

Value

<gnolang.StringValue>

nextID

int

Value

0

mintedCommon

int

Value

0

mintedUncommon

int

Value

0

mintedRare

int

Value

0

mintedEpic

int

Value

0

mintedLegend

int

Value

0

mintedMythic

int

Value

0

Init

func(name string, symbol string)
Open
OID
0a653a…462a:19
Init details

Inspect func

Mint

func(name string, image string, rarity string, discountBps int64) int
Open
OID
0a653a…462a:21
Mint details

Inspect func

HolderDiscount

func(owner string) int64

HolderDiscount is the best FeeDiscount among Genesis NFTs currently in \`owner\`'s wallet (not listed/escrowed).

Open
OID
0a653a…462a:22
HolderDiscount details

Inspect func

ShareWeight

func(owner string) int64

ShareWeight sums FeeDiscount of every Genesis NFT in \`owner\`'s wallet (not listed/escrowed).

Open
OID
0a653a…462a:23
ShareWeight details

Inspect func

DiscountOf

func(tid string) int64
Open
OID
0a653a…462a:24
DiscountOf details

Inspect func

SupplyOf

func(rarity string) int
Open
OID
0a653a…462a:28
SupplyOf details

Inspect func

MintedOf

func(rarity string) int
Open
OID
0a653a…462a:29
MintedOf details

Inspect func

BalanceOf

func(owner string) int64
Open
OID
0a653a…462a:32
BalanceOf details

Inspect func

OwnerOf

func(tid string) (.uverse.address, .uverse.error)
Open
OID
0a653a…462a:33
OwnerOf details

Inspect func

TokenURI

func(tid string) string
Open
OID
0a653a…462a:34
TokenURI details

Inspect func

TokensOf

func(owner string) string
Open
OID
0a653a…462a:35
TokensOf details

Inspect func

TransferFrom

func(from string, to string, tid string)
Open
OID
0a653a…462a:36
TransferFrom details

Inspect func

canonRarity

func(rarity string) string
Open
OID
0a653a…462a:37
canonRarity details

Inspect func

takeRarity

func(rarity string)
Open
OID
0a653a…462a:38
takeRarity details

Inspect func

rarityDiscount

func(rarity string) int64
Open
OID
0a653a…462a:39
rarityDiscount details

Inspect func

requireUser

func() .uverse.address
Open
OID
0a653a…462a:41
requireUser details

Inspect func

mustItem

func(id int) *gcol2.item
Open
OID
0a653a…462a:43
mustItem details

Inspect func

tokenJSON

func(name string, image string, rarity string, discount int64) string
Open
OID
0a653a…462a:44
tokenJSON details

Inspect func
maxImageLen : untyped bigint =(200 <untyped> bigint)
maxDiscountBps : int64 =150
maxSupply : untyped bigint =(1111 <untyped> bigint)
supplyCommon : untyped bigint =(666 <untyped> bigint)
supplyUncommon : untyped bigint =(222 <untyped> bigint)
supplyRare : untyped bigint =(111 <untyped> bigint)
supplyEpic : untyped bigint =(66 <untyped> bigint)
supplyLegend : untyped bigint =(33 <untyped> bigint)
supplyMythic : untyped bigint =(13 <untyped> bigint)
defaultImage : untyped string ="https://bazaar-gno.vercel.app/gnomies.png"
shareBps : int64 =1100
item : type =gcol2.item
token : *v0.Token Inspect
ledger : *v0.PrivateLedger Inspect
metaView : *v0.Metadata Inspect
metaLed : *v0.Ledger Inspect
tokenSeq : v0.ID =<zero>
items : v0.Tree Inspect
inited : bool =true
creator : .uverse.address =<gnolang.StringValue>
nextID : int =0
mintedCommon : int =0
mintedUncommon : int =0
mintedRare : int =0
mintedEpic : int =0
mintedLegend : int =0
mintedMythic : int =0
Init : func(name string, symbol string) Inspect
Mint : func(name string, image string, rarity string, discountBps int64) int Inspect
HolderDiscount : func(owner string) int64 Inspect
ShareWeight : func(owner string) int64 Inspect
DiscountOf : func(tid string) int64 Inspect
ShareBps : func() int64 Inspect
MaxSupply : func() int Inspect
TotalSupply : func() int Inspect
SupplyOf : func(rarity string) int Inspect
MintedOf : func(rarity string) int Inspect
Name : func() string Inspect
Symbol : func() string Inspect
BalanceOf : func(owner string) int64 Inspect
OwnerOf : func(tid string) (.uverse.address, .uverse.error) Inspect
TokenURI : func(tid string) string Inspect
TokensOf : func(owner string) string Inspect
TransferFrom : func(from string, to string, tid string) Inspect
canonRarity : func(rarity string) string Inspect
takeRarity : func(rarity string) Inspect
rarityDiscount : func(rarity string) int64 Inspect
requireInit : func() Inspect
requireUser : func() .uverse.address Inspect
parseTid : func(tid string) int Inspect
mustItem : func(id int) *gcol2.item Inspect
tokenJSON : func(name string, image string, rarity string, discount int64) string Inspect
jsonStr : func(s string) string Inspect
pctURI : func(s string) string Inspect