Skip to content Search Apps Documentation Source Content Run Reset Eval Playground 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.

bouncer/v0 package

Overview

Package bouncer is Bouncer's on-chain registry: scan requests, attestations, disputes and author replies, plus the reads other realms use (Check, Score) and the Tavern pages in Render.

One realm holds all state and every write, and every logic-data type is declared here (security guide §3A). Writes are crossing functions that check cur.IsCurrent() and take the caller from cur.Previous(). Reads are plain functions that return values or copies, never pointers into state, and never take callbacks.

Function

ScoreFor

func ScoreFor(fs []Finding, d Deps) (score int, grade, verdict string)
Ask AI Claude ChatGPT

ScoreFor exposes the formula, so anyone can check an attestation or score a report before attesting it.

Params

Command

gnokey query vm/qeval -remote "https://rpc.onyx.testnets.gno.land" -data "gno.land/r/g19wmd95cwm3s0w0c5592tgu3zh4zgrtlggvugnj/bouncer/v0.ScoreFor(,)"

Result

Gno Expression Evaluator

Evaluate any read-only Gno expression against gno.land/r/g19wmd95cwm3s0w0c5592tgu3zh4zgrtlggvugnj/bouncer/v0, for example a function call with arguments.