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

perk state

Back to all declarations

pkgPath

untyped string

Value

"gno.land/r/g1n4pl5uc4yt5r96m9w6fmdznx3x0jyg8l6arhmt/bazaar/perk"

colPkg

untyped string

Value

"gno.land/r/g1n4pl5uc4yt5r96m9w6fmdznx3x0jyg8l6arhmt/bazaar/c/bazaargens"

native

untyped string

Value

"ugnot"

scale

int64

Value

1000000

maxSpan

untyped bigint

Value

(20 <untyped> bigint)

maxDelta

int64

// delta \* scale stays inside int64

Value

9000000000000

wallet

type

Value

perk.wallet

totalWeight

int64

Value

0

acc

int64

Value

0

accounted

int64

Value

0

self

.uverse.address

Value

<zero>

SyncSpan

func(start int, end int)
Open
OID
0f8b19…2033:15
SyncSpan details

Inspect func

ShareWeight

func(owner string) int64
Open
OID
0f8b19…2033:17
ShareWeight details

Inspect func

FeeDiscount

func(owner string) int64
Open
OID
0f8b19…2033:18
FeeDiscount details

Inspect func

live

func(id int) (.uverse.address, int64)
Open
OID
0f8b19…2033:22
live details

Inspect func

addTier

func(who .uverse.address, bps int64, dir int)
Open
OID
0f8b19…2033:24
addTier details

Inspect func

shareOf

func(w *perk.wallet) int64
Open
OID
0f8b19…2033:27
shareOf details

Inspect func

load

func(owner string) *perk.wallet
Open
OID
0f8b19…2033:29
load details

Inspect func

mustWallet

func(who .uverse.address) *perk.wallet
Open
OID
0f8b19…2033:30
mustWallet details

Inspect func

requireUser

func() .uverse.address
Open
OID
0f8b19…2033:31
requireUser details

Inspect func
pkgPath : untyped string ="gno.land/r/g1n4pl5uc4yt5r96m9w6fmdznx3x0jyg8l6arhmt/bazaar/perk"
colPkg : untyped string ="gno.land/r/g1n4pl5uc4yt5r96m9w6fmdznx3x0jyg8l6arhmt/bazaar/c/bazaargens"
native : untyped string ="ugnot"
scale : int64 =1000000
maxSpan : untyped bigint =(20 <untyped> bigint)
maxDelta : int64 =9000000000000
wallet : type =perk.wallet
wallets : v0.Tree Inspect
tokenWho : v0.Tree Inspect
tokenBps : v0.Tree Inspect
totalWeight : int64 =0
acc : int64 =0
accounted : int64 =0
self : .uverse.address =<zero>
Sync : func(id int) Inspect
SyncSpan : func(start int, end int) Inspect
Claim : func() Inspect
ShareWeight : func(owner string) int64 Inspect
FeeDiscount : func(owner string) int64 Inspect
TotalWeight : func() int64 Inspect
Render : func(string) string Inspect
syncID : func(id int) Inspect
live : func(id int) (.uverse.address, int64) Inspect
bpsOf : func(rarity string) int64 Inspect
addTier : func(who .uverse.address, bps int64, dir int) Inspect
settle : func(w *perk.wallet) Inspect
syncPot : func() Inspect
shareOf : func(w *perk.wallet) int64 Inspect
bestOf : func(w *perk.wallet) int64 Inspect
load : func(owner string) *perk.wallet Inspect
mustWallet : func(who .uverse.address) *perk.wallet Inspect
requireUser : func() .uverse.address Inspect