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.

v1 state

Back to all declarations

contributorRefund

type

Value

v1.contributorRefund

ValidateEscrowToken

func(tokenKey string)

ValidateEscrowToken verifies that a requested settlement token key matches the canonical 1:1 ugnot-backed wrapped GNOT key registered in grc20reg.

Open
OID
092379…111d:3
ValidateEscrowToken details

Inspect func

validateEscrowAmount

func(amount int64, minAmount int64) int64
Open
OID
092379…111d:5
validateEscrowAmount details

Inspect func

SetArbiter

func(next .uverse.address)

SetArbiter transfers dispute-resolution authority to a new valid Gno address.

Open
OID
092379…111d:6
SetArbiter details

Inspect func

RegisterProfile

func(handle string, bio string, skills string, agentEndpoint string)

RegisterProfile creates or updates a builder or autonomous AI agent profile. Providing a non-empty agentEndpoint marks the profile as an MCP-capable AI agent.

Open
OID
092379…111d:7
RegisterProfile details

Inspect func

PostBounty

func(title string, spec string, category string, rewardUgnot int64, deadlineBlocks int64) uint64

PostBounty creates a new micro-bounty funded with pre-approved 1:1 ugnot-backed wugnot via gno.land/r/nt/grc20reg/v0. Requires a direct EOA call (AssertOriginCall + cur.Previous().IsUserCall()).

Open
OID
092379…111d:8
PostBounty details

Inspect func

TopUpBounty

func(id uint64, amountUgnot int64) int64

TopUpBounty allows supporters or the sponsor to add pre-approved wugnot (>= 0.10 GNOT) into an Open or Claimed bounty. Per-contributor custody is tracked in an AVL donor ledger so cancellations and dispute splits refund each contributor directly instead of handing external coins to the sponsor.

Open
OID
092379…111d:9
TopUpBounty details

Inspect func

validateTopUpTarget

func(donor .uverse.address, id uint64, amount int64) *v1.bountyRecord
Open
OID
092379…111d:10
validateTopUpTarget details

Inspect func

ClaimBounty

func(id uint64, agentNote string)

ClaimBounty reserves an open bounty for a builder or autonomous AI agent. Sponsors and external escrow contributors cannot claim the bounty they funded.

Open
OID
092379…111d:11
ClaimBounty details

Inspect func

ReleaseExpiredClaim

func(id uint64)

ReleaseExpiredClaim returns a claimed bounty to Open when either the claimant voluntarily steps down or ChainHeight() reaches DeadlineHeight.

Open
OID
092379…111d:12
ReleaseExpiredClaim details

Inspect func

SubmitProof

func(id uint64, proofURL string, proofDigest string, summary string)

SubmitProof records an HTTPS deliverable URL, SHA-256 content digest, and implementation summary, opening a deterministic sponsor review window.

Open
OID
092379…111d:13
SubmitProof details

Inspect func

RequestRevision

func(id uint64, feedback string)

RequestRevision lets the sponsor send a submitted bounty back to Claimed with actionable feedback and a refreshed claim deadline window.

Open
OID
092379…111d:14
RequestRevision details

Inspect func

ApproveAndSettle

func(id uint64, rating uint8, reviewNote string)

ApproveAndSettle releases the full wugnot escrow to the claimant, records a 1-5 quality rating, and updates on-chain reputation using CEI ordering.

Open
OID
092379…111d:15
ApproveAndSettle details

Inspect func

ExpireSubmission

func(id uint64)

ExpireSubmission is callable by anyone once ChainHeight() reaches ReviewDeadlineHeight without sponsor action. It settles 100% of the escrow to the claimant so sponsors cannot hold delivered work hostage forever.

Open
OID
092379…111d:16
ExpireSubmission details

Inspect func

settleFullToClaimant

func(b *v1.bountyRecord, rating uint8, reviewNote string, eventName string)
Open
OID
092379…111d:17
settleFullToClaimant details

Inspect func

CancelBounty

func(id uint64)

CancelBounty cancels an Open bounty and refunds each contributor directly. Third-party top-up coins are returned strictly to their original donors, never to the sponsor, and refunded sponsorship credits are reversed.

Open
OID
092379…111d:18
CancelBounty details

Inspect func

OpenDispute

func(id uint64, reason string)

OpenDispute escalates a submitted bounty to arbiter review and sets a deterministic dispute resolution timeout.

Open
OID
092379…111d:19
OpenDispute details

Inspect func

ResolveDispute

func(id uint64, hunterBps uint64, resolution string)

ResolveDispute settles a disputed bounty using deterministic basis-point math (hunterBps in 0..10000). The arbiter cannot resolve a bounty they are a party to, and any refunded portion is returned pro-rata to sponsor and external donors.

Open
OID
092379…111d:20
ResolveDispute details

Inspect func

ExpireDispute

func(id uint64)

ExpireDispute is callable by anyone once ChainHeight() reaches DisputeDeadlineHeight without arbiter action. It splits escrow 50/50 (5000 bps to claimant, 5000 bps pro-rata back to contributors) so lost or conflicted arbiter keys can never trap escrowed wugnot forever.

Open
OID
092379…111d:21
ExpireDispute details

Inspect func

settleDisputeSplit

func(b *v1.bountyRecord, hunterBps uint64, reviewNote string, resolver .uverse.address, eventName string)
Open
OID
092379…111d:22
settleDisputeSplit details

Inspect func

normalizeFilter

func(raw string) string
Open
OID
092379…111d:23
normalizeFilter details

Inspect func

PkgPath

func() string

PkgPath returns the canonical Gno.land package path of this realm.

Open
OID
092379…111d:26
PkgPath details

Inspect func

EscrowToken

func() string

EscrowToken returns the canonical grc20reg key used for 1:1 ugnot-backed escrow.

Open
OID
092379…111d:27
EscrowToken details

Inspect func

EscrowRealmAddress

func() .uverse.address
Open
OID
092379…111d:28
EscrowRealmAddress details

Inspect func

EscrowBalance

func(addr .uverse.address) int64

EscrowBalance returns the current wugnot balance of addr from grc20reg.

Open
OID
092379…111d:29
EscrowBalance details

Inspect func

EscrowAllowance

func(owner .uverse.address) int64

EscrowAllowance returns how much wugnot owner has approved this realm to pull.

Open
OID
092379…111d:30
EscrowAllowance details

Inspect func

GetStats

func() v1.BoardStats

GetStats returns an immutable snapshot of protocol counters and escrow totals.

Open
OID
092379…111d:31
GetStats details

Inspect func

GetBounty

func(id uint64) (v1.BountyView, bool)

GetBounty returns a value copy of a single bounty by ID.

Open
OID
092379…111d:32
GetBounty details

Inspect func

GetDonorContribution

func(id uint64, donor .uverse.address) int64

GetDonorContribution returns the external top-up ugnot currently held in custody for donor on bounty id (0 if none or if donor is the sponsor).

Open
OID
092379…111d:33
GetDonorContribution details

Inspect func

GetProfile

func(addr .uverse.address) (v1.ProfileView, bool)

GetProfile returns a value copy of a builder or AI agent profile.

Open
OID
092379…111d:34
GetProfile details

Inspect func

ExportStatsJSON

func() string

ExportStatsJSON returns global protocol stats as deterministic JSON for MCP agents.

Open
OID
092379…111d:35
ExportStatsJSON details

Inspect func

ExportBountyJSON

func(id uint64) string

ExportBountyJSON returns a single bounty as deterministic JSON (or {"found":false}).

Open
OID
092379…111d:36
ExportBountyJSON details

Inspect func

ExportBountiesJSON

func(statusFilter string, categoryFilter string, minRewardUgnot int64, limit int) string

ExportBountiesJSON lists bounties in reverse chronological order with optional status, category, and minimum reward filters for autonomous agent discovery.

Open
OID
092379…111d:37
ExportBountiesJSON details

Inspect func

ExportLeaderboardJSON

func(limit int) string

ExportLeaderboardJSON returns deterministically sorted builders & AI agents.

Open
OID
092379…111d:38
ExportLeaderboardJSON details

Inspect func

ExportProfileJSON

func(addrStr string) string

ExportProfileJSON returns a single profile as deterministic JSON.

Open
OID
092379…111d:39
ExportProfileJSON details

Inspect func

effectiveReward

func(b *v1.bountyRecord) int64
Open
OID
092379…111d:40
effectiveReward details

Inspect func

encodeBountyJSON

func(b *v1.bountyRecord, includeFound bool) string
Open
OID
092379…111d:41
encodeBountyJSON details

Inspect func

encodeProfileJSON

func(p *v1.profileRecord, rank int) string
Open
OID
092379…111d:42
encodeProfileJSON details

Inspect func

profileRankSlice

type

Value

v1.profileRankSlice

rankedProfiles

func() []*v1.profileRecord
Open
OID
092379…111d:43
rankedProfiles details

Inspect func

Render

func(path string) string

Render serves the native gnoweb interface and machine-readable Markdown views. Strictly read-only; all dynamic inputs are sanitized via sanitize/v0, EscapeMath, and byte-indexed ASCII NeutralizeGnoTags.

Open
OID
092379…111d:46
Render details

Inspect func

safeInline

func(s string) string
Open
OID
092379…111d:47
safeInline details

Inspect func

safeBlock

func(s string) string
Open
OID
092379…111d:49
safeBlock details

Inspect func

routeHref

func(sub string) string
Open
OID
092379…111d:51
routeHref details

Inspect func

txHref

func(base string, fn string, kv []string) string
Open
OID
092379…111d:52
txHref details

Inspect func

writeTopNav

func(b *strings.Builder, active string)
Open
OID
092379…111d:53
writeTopNav details

Inspect func

renderHome

func(res *v0.ResponseWriter, req *v0.Request)
Open
OID
092379…111d:54
renderHome details

Inspect func

renderHomePage

func(res *v0.ResponseWriter, req *v0.Request)
Open
OID
092379…111d:55
renderHomePage details

Inspect func

renderCategory

func(res *v0.ResponseWriter, req *v0.Request)
Open
OID
092379…111d:56
renderCategory details

Inspect func

renderBoardView

func(res *v0.ResponseWriter, filterCat string, page int)
Open
OID
092379…111d:57
renderBoardView details

Inspect func

renderBountyDetail

func(res *v0.ResponseWriter, req *v0.Request)
Open
OID
092379…111d:58
renderBountyDetail details

Inspect func

writeContextualActions

func(b *strings.Builder, rec *v1.bountyRecord)
Open
OID
092379…111d:59
writeContextualActions details

Inspect func

renderPostPage

func(res *v0.ResponseWriter, req *v0.Request)
Open
OID
092379…111d:60
renderPostPage details

Inspect func

renderLeaderboard

func(res *v0.ResponseWriter, req *v0.Request)
Open
OID
092379…111d:61
renderLeaderboard details

Inspect func

renderProfilePage

func(res *v0.ResponseWriter, req *v0.Request)
Open
OID
092379…111d:62
renderProfilePage details

Inspect func

renderAgentsHub

func(res *v0.ResponseWriter, req *v0.Request)
Open
OID
092379…111d:63
renderAgentsHub details

Inspect func

renderNotFound

func(res *v0.ResponseWriter, req *v0.Request)
Open
OID
092379…111d:64
renderNotFound details

Inspect func

displayHandle

func(addr .uverse.address) string
Open
OID
092379…111d:65
displayHandle details

Inspect func

asciiLowerByte

func(c uint8) uint8
Open
OID
092379…111d:66
asciiLowerByte details

Inspect func

hasASCIIPrefixFold

func(s string, pos int, pattern string) bool
Open
OID
092379…111d:68
hasASCIIPrefixFold details

Inspect func

NeutralizeGnoTags

func(s string) string

NeutralizeGnoTags escapes any \<gno- or \</gno- tag sequences using direct byte-indexed ASCII case folding on the original string. Avoiding strings.ToLower prevents multi-byte Unicode case expansions (such as U+0130 'İ' -> "i\\u0307") from shifting slice indices and letting raw \<gno-\*> tags pass through.

Open
OID
092379…111d:69
NeutralizeGnoTags details

Inspect func

ValidateProofURL

func(raw string) string

ValidateProofURL enforces HTTPS-only deliverable links with no whitespace so rendered proof links always survive p/nt/markdown/sanitize/v0 intact.

Open
OID
092379…111d:70
ValidateProofURL details

Inspect func

EscrowTokenKey

untyped string

Value

"gno.land/r/gnoland/wugnot.wugnot"

MinTopUpUgnot

int64

Value

100000

MaxEscrowUgnot

int64

Value

1000000000000

MaxExternalDonors

untyped bigint

Value

(20 <untyped> bigint)

BoardPageSize

untyped bigint

Value

(20 <untyped> bigint)

bountyRecord

type

Value

v1.bountyRecord

profileRecord

type

Value

v1.profileRecord

BountyView

type

BountyView is an immutable value-copy projection of a bounty safe for external callers.

Value

v1.BountyView

ProfileView

type

ProfileView is an immutable value-copy projection of a builder or AI agent profile.

Value

v1.ProfileView

BoardStats

type

BoardStats summarizes global protocol activity and escrow invariants.

Value

v1.BoardStats

arbiter

.uverse.address

All state variables are unexported so no external package can mutate realm state directly.

Value

<gnolang.StringValue>

realmAddress

.uverse.address

All state variables are unexported so no external package can mutate realm state directly.

Value

<gnolang.StringValue>

realmPkgPath

string

All state variables are unexported so no external package can mutate realm state directly.

Value

"gno.land/r/g1x582angdzrqadgv4382j6y7ju6fj5wll6yuuq4/hearthbounty/v1"

realmWebBase

string

All state variables are unexported so no external package can mutate realm state directly.

Value

"/r/g1x582angdzrqadgv4382j6y7ju6fj5wll6yuuq4/hearthbounty/v1"

bountySeq

v0.ID

All state variables are unexported so no external package can mutate realm state directly.

Value

<zero>

bounties

*v0.Tree

// seqid string -> \*bountyRecord

Open
OID
092379…111d:101
bounties details

Inspect pointer

profiles

*v0.Tree

// address string -> \*profileRecord

Open
OID
092379…111d:103
profiles details

Inspect pointer

openCount

int

All state variables are unexported so no external package can mutate realm state directly.

Value

1

claimedCount

int

All state variables are unexported so no external package can mutate realm state directly.

Value

0

submittedCount

int

All state variables are unexported so no external package can mutate realm state directly.

Value

1

disputedCount

int

All state variables are unexported so no external package can mutate realm state directly.

Value

0

settledCount

int

All state variables are unexported so no external package can mutate realm state directly.

Value

1

cancelledCount

int

All state variables are unexported so no external package can mutate realm state directly.

Value

0

agentCount

int

All state variables are unexported so no external package can mutate realm state directly.

Value

1

totalEscrowUgnot

int64

All state variables are unexported so no external package can mutate realm state directly.

Value

6000000

totalSettledUgnot

int64

All state variables are unexported so no external package can mutate realm state directly.

Value

2000000

totalRefundUgnot

int64

All state variables are unexported so no external package can mutate realm state directly.

Value

0

router

*v0.Router

All state variables are unexported so no external package can mutate realm state directly.

Open
OID
092379…111d:105
router details

Inspect pointer

deriveWebBase

func(pkgPath string) string
Open
OID
092379…111d:91
deriveWebBase details

Inspect func

bountyKey

func(id uint64) string
Open
OID
092379…111d:92
bountyKey details

Inspect func

getBountyRecord

func(id uint64) (*v1.bountyRecord, bool)
Open
OID
092379…111d:93
getBountyRecord details

Inspect func

getOrCreateProfile

func(addr .uverse.address, height int64) *v1.profileRecord
Open
OID
092379…111d:94
getOrCreateProfile details

Inspect func

toBountyView

func(b *v1.bountyRecord) v1.BountyView
Open
OID
092379…111d:95
toBountyView details

Inspect func

toProfileView

func(p *v1.profileRecord) v1.ProfileView
Open
OID
092379…111d:96
toProfileView details

Inspect func

decrementStatusCount

func(st v0.Status)
Open
OID
092379…111d:97
decrementStatusCount details

Inspect func

incrementStatusCount

func(st v0.Status)
Open
OID
092379…111d:98
incrementStatusCount details

Inspect func

transitionStatus

func(b *v1.bountyRecord, next v0.Status)
Open
OID
092379…111d:99
transitionStatus details

Inspect func

decrementSponsoredCredit

func(addr .uverse.address, amount int64)
Open
OID
092379…111d:100
decrementSponsoredCredit details

Inspect func
contributorRefund : type =v1.contributorRefund
ValidateEscrowToken : func(tokenKey string) Inspect
validateEscrowAmount : func(amount int64, minAmount int64) int64 Inspect
SetArbiter : func(next .uverse.address) Inspect
RegisterProfile : func(handle string, bio string, skills string, agentEndpoint string) Inspect
PostBounty : func(title string, spec string, category string, rewardUgnot int64, deadlineBlocks int64) uint64 Inspect
TopUpBounty : func(id uint64, amountUgnot int64) int64 Inspect
validateTopUpTarget : func(donor .uverse.address, id uint64, amount int64) *v1.bountyRecord Inspect
ClaimBounty : func(id uint64, agentNote string) Inspect
ReleaseExpiredClaim : func(id uint64) Inspect
SubmitProof : func(id uint64, proofURL string, proofDigest string, summary string) Inspect
RequestRevision : func(id uint64, feedback string) Inspect
ApproveAndSettle : func(id uint64, rating uint8, reviewNote string) Inspect
ExpireSubmission : func(id uint64) Inspect
settleFullToClaimant : func(b *v1.bountyRecord, rating uint8, reviewNote string, eventName string) Inspect
CancelBounty : func(id uint64) Inspect
OpenDispute : func(id uint64, reason string) Inspect
ResolveDispute : func(id uint64, hunterBps uint64, resolution string) Inspect
ExpireDispute : func(id uint64) Inspect
settleDisputeSplit : func(b *v1.bountyRecord, hunterBps uint64, reviewNote string, resolver .uverse.address, eventName string) Inspect
normalizeFilter : func(raw string) string Inspect
Arbiter : func() .uverse.address Inspect
PkgPath : func() string Inspect
EscrowToken : func() string Inspect
EscrowRealmAddress : func() .uverse.address Inspect
EscrowBalance : func(addr .uverse.address) int64 Inspect
EscrowAllowance : func(owner .uverse.address) int64 Inspect
GetStats : func() v1.BoardStats Inspect
GetBounty : func(id uint64) (v1.BountyView, bool) Inspect
GetDonorContribution : func(id uint64, donor .uverse.address) int64 Inspect
GetProfile : func(addr .uverse.address) (v1.ProfileView, bool) Inspect
ExportStatsJSON : func() string Inspect
ExportBountyJSON : func(id uint64) string Inspect
ExportBountiesJSON : func(statusFilter string, categoryFilter string, minRewardUgnot int64, limit int) string Inspect
ExportLeaderboardJSON : func(limit int) string Inspect
ExportProfileJSON : func(addrStr string) string Inspect
effectiveReward : func(b *v1.bountyRecord) int64 Inspect
encodeBountyJSON : func(b *v1.bountyRecord, includeFound bool) string Inspect
encodeProfileJSON : func(p *v1.profileRecord, rank int) string Inspect
profileRankSlice : type =v1.profileRankSlice
rankedProfiles : func() []*v1.profileRecord Inspect
initRouter : func() Inspect
Render : func(path string) string Inspect
safeInline : func(s string) string Inspect
safeCell : func(s string) string Inspect
safeBlock : func(s string) string Inspect
safeURL : func(s string) string Inspect
routeHref : func(sub string) string Inspect
txHref : func(base string, fn string, kv []string) string Inspect
writeTopNav : func(b *strings.Builder, active string) Inspect
renderHome : func(res *v0.ResponseWriter, req *v0.Request) Inspect
renderHomePage : func(res *v0.ResponseWriter, req *v0.Request) Inspect
renderCategory : func(res *v0.ResponseWriter, req *v0.Request) Inspect
renderBoardView : func(res *v0.ResponseWriter, filterCat string, page int) Inspect
renderBountyDetail : func(res *v0.ResponseWriter, req *v0.Request) Inspect
writeContextualActions : func(b *strings.Builder, rec *v1.bountyRecord) Inspect
renderPostPage : func(res *v0.ResponseWriter, req *v0.Request) Inspect
renderLeaderboard : func(res *v0.ResponseWriter, req *v0.Request) Inspect
renderProfilePage : func(res *v0.ResponseWriter, req *v0.Request) Inspect
renderAgentsHub : func(res *v0.ResponseWriter, req *v0.Request) Inspect
renderNotFound : func(res *v0.ResponseWriter, req *v0.Request) Inspect
displayHandle : func(addr .uverse.address) string Inspect
asciiLowerByte : func(c uint8) uint8 Inspect
hasASCIIPrefixFold : func(s string, pos int, pattern string) bool Inspect
NeutralizeGnoTags : func(s string) string Inspect
ValidateProofURL : func(raw string) string Inspect
EscrowTokenKey : untyped string ="gno.land/r/gnoland/wugnot.wugnot"
MinTopUpUgnot : int64 =100000
MaxEscrowUgnot : int64 =1000000000000
MaxExternalDonors : untyped bigint =(20 <untyped> bigint)
BoardPageSize : untyped bigint =(20 <untyped> bigint)
bountyRecord : type =v1.bountyRecord
profileRecord : type =v1.profileRecord
BountyView : type =v1.BountyView
ProfileView : type =v1.ProfileView
BoardStats : type =v1.BoardStats
arbiter : .uverse.address =<gnolang.StringValue>
realmAddress : .uverse.address =<gnolang.StringValue>
realmPkgPath : string ="gno.land/r/g1x582angdzrqadgv4382j6y7ju6fj5wll6yuuq4/hearthbounty/v1"
realmWebBase : string ="/r/g1x582angdzrqadgv4382j6y7ju6fj5wll6yuuq4/hearthbounty/v1"
bountySeq : v0.ID =<zero>
bounties : *v0.Tree Inspect
profiles : *v0.Tree Inspect
openCount : int =1
claimedCount : int =0
submittedCount : int =1
disputedCount : int =0
settledCount : int =1
cancelledCount : int =0
agentCount : int =1
totalEscrowUgnot : int64 =6000000
totalSettledUgnot : int64 =2000000
totalRefundUgnot : int64 =0
router : *v0.Router Inspect
init.94 : func() Inspect
deriveWebBase : func(pkgPath string) string Inspect
bountyKey : func(id uint64) string Inspect
getBountyRecord : func(id uint64) (*v1.bountyRecord, bool) Inspect
getOrCreateProfile : func(addr .uverse.address, height int64) *v1.profileRecord Inspect
toBountyView : func(b *v1.bountyRecord) v1.BountyView Inspect
toProfileView : func(p *v1.profileRecord) v1.ProfileView Inspect
decrementStatusCount : func(st v0.Status) Inspect
incrementStatusCount : func(st v0.Status) Inspect
transitionStatus : func(b *v1.bountyRecord, next v0.Status) Inspect
decrementSponsoredCredit : func(addr .uverse.address, amount int64) Inspect