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

v0 state

Back to all declarations

ClaimAmount

untyped bigint

Value

(100 <untyped> bigint)

CooldownBlocks

untyped bigint

Value

(100 <untyped> bigint)

claimer

type

claimer holds the per-address state.

Value

v0.claimer

totalDistributed

int64

Value

0

totalClaims

int64

Value

0

Claim

func()

Claim grants ClaimAmount points to the caller, subject to the per-caller cooldown. It aborts (cross-realm) if the caller must still wait.

Open
OID
0a5554…fa63:8
Claim details

Inspect func

BalanceOf

func(addr string) int64

BalanceOf returns the current point balance of addr (0 if never claimed).

Open
OID
0a5554…fa63:10
BalanceOf details

Inspect func

Render

func(path string) string

Render produces a Markdown dashboard of faucet activity.

Open
OID
0a5554…fa63:11
Render details

Inspect func
ClaimAmount : untyped bigint =(100 <untyped> bigint)
CooldownBlocks : untyped bigint =(100 <untyped> bigint)
claimer : type =v0.claimer
claimers : *v0.Tree Inspect
totalDistributed : int64 =0
totalClaims : int64 =0
Claim : func() Inspect
BalanceOf : func(addr string) int64 Inspect
Render : func(path string) string Inspect