Skip to content Search Apps Documentation Source Content File Folder Download Copy Actions State String Boolean Number Struct Map Slice Pointer Function Closure Reference Nil Package Type Interface Unknown

Community realm. Read the code first. Community realm, deployed by its author. Read the code before you interact or send coins.

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
06321a…6fad:8
Claim details

Inspect func

BalanceOf

func(addr string) int64

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

Open
OID
06321a…6fad:10
BalanceOf details

Inspect func

Render

func(path string) string

Render produces a Markdown dashboard of faucet activity.

Open
OID
06321a…6fad: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