contributorRefund
typeValue
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.
- OID
- 092379…111d:3
ValidateEscrowToken details
validateEscrowAmount
func(amount int64, minAmount int64) int64- OID
- 092379…111d:5
validateEscrowAmount details
SetArbiter
func(next .uverse.address)SetArbiter transfers dispute-resolution authority to a new valid Gno address.
- OID
- 092379…111d:6
SetArbiter details
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.
- OID
- 092379…111d:7
RegisterProfile details
PostBounty
func(title string, spec string, category string, rewardUgnot int64, deadlineBlocks int64) uint64PostBounty 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()).
- OID
- 092379…111d:8
PostBounty details
TopUpBounty
func(id uint64, amountUgnot int64) int64TopUpBounty 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.
- OID
- 092379…111d:9
TopUpBounty details
validateTopUpTarget
func(donor .uverse.address, id uint64, amount int64) *v1.bountyRecord- OID
- 092379…111d:10
validateTopUpTarget details
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.
- OID
- 092379…111d:11
ClaimBounty details
ReleaseExpiredClaim
func(id uint64)ReleaseExpiredClaim returns a claimed bounty to Open when either the claimant voluntarily steps down or ChainHeight() reaches DeadlineHeight.
- OID
- 092379…111d:12
ReleaseExpiredClaim details
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.
- OID
- 092379…111d:13
SubmitProof details
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.
- OID
- 092379…111d:14
RequestRevision details
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.
- OID
- 092379…111d:15
ApproveAndSettle details
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.
- OID
- 092379…111d:16
ExpireSubmission details
settleFullToClaimant
func(b *v1.bountyRecord, rating uint8, reviewNote string, eventName string)- OID
- 092379…111d:17
settleFullToClaimant details
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.
- OID
- 092379…111d:18
CancelBounty details
OpenDispute
func(id uint64, reason string)OpenDispute escalates a submitted bounty to arbiter review and sets a deterministic dispute resolution timeout.
- OID
- 092379…111d:19
OpenDispute details
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.
- OID
- 092379…111d:20
ResolveDispute details
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.
- OID
- 092379…111d:21
ExpireDispute details
settleDisputeSplit
func(b *v1.bountyRecord, hunterBps uint64, reviewNote string, resolver .uverse.address, eventName string)- OID
- 092379…111d:22
settleDisputeSplit details
normalizeFilter
func(raw string) string- OID
- 092379…111d:23
normalizeFilter details
Arbiter
func() .uverse.address- OID
- 092379…111d:24
Arbiter details
PkgPath
func() stringPkgPath returns the canonical Gno.land package path of this realm.
- OID
- 092379…111d:26
PkgPath details
EscrowToken
func() stringEscrowToken returns the canonical grc20reg key used for 1:1 ugnot-backed escrow.
- OID
- 092379…111d:27
EscrowToken details
EscrowRealmAddress
func() .uverse.address- OID
- 092379…111d:28
EscrowRealmAddress details
EscrowBalance
func(addr .uverse.address) int64EscrowBalance returns the current wugnot balance of addr from grc20reg.
- OID
- 092379…111d:29
EscrowBalance details
EscrowAllowance
func(owner .uverse.address) int64EscrowAllowance returns how much wugnot owner has approved this realm to pull.
- OID
- 092379…111d:30
EscrowAllowance details
GetStats
func() v1.BoardStatsGetStats returns an immutable snapshot of protocol counters and escrow totals.
- OID
- 092379…111d:31
GetStats details
GetBounty
func(id uint64) (v1.BountyView, bool)GetBounty returns a value copy of a single bounty by ID.
- OID
- 092379…111d:32
GetBounty details
GetDonorContribution
func(id uint64, donor .uverse.address) int64GetDonorContribution returns the external top-up ugnot currently held in custody for donor on bounty id (0 if none or if donor is the sponsor).
- OID
- 092379…111d:33
GetDonorContribution details
GetProfile
func(addr .uverse.address) (v1.ProfileView, bool)GetProfile returns a value copy of a builder or AI agent profile.
- OID
- 092379…111d:34
GetProfile details
ExportStatsJSON
func() stringExportStatsJSON returns global protocol stats as deterministic JSON for MCP agents.
- OID
- 092379…111d:35
ExportStatsJSON details
ExportBountyJSON
func(id uint64) stringExportBountyJSON returns a single bounty as deterministic JSON (or {"found":false}).
- OID
- 092379…111d:36
ExportBountyJSON details
ExportBountiesJSON
func(statusFilter string, categoryFilter string, minRewardUgnot int64, limit int) stringExportBountiesJSON lists bounties in reverse chronological order with optional status, category, and minimum reward filters for autonomous agent discovery.
- OID
- 092379…111d:37
ExportBountiesJSON details
ExportLeaderboardJSON
func(limit int) stringExportLeaderboardJSON returns deterministically sorted builders & AI agents.
- OID
- 092379…111d:38
ExportLeaderboardJSON details
ExportProfileJSON
func(addrStr string) stringExportProfileJSON returns a single profile as deterministic JSON.
- OID
- 092379…111d:39
ExportProfileJSON details
effectiveReward
func(b *v1.bountyRecord) int64- OID
- 092379…111d:40
effectiveReward details
encodeBountyJSON
func(b *v1.bountyRecord, includeFound bool) string- OID
- 092379…111d:41
encodeBountyJSON details
encodeProfileJSON
func(p *v1.profileRecord, rank int) string- OID
- 092379…111d:42
encodeProfileJSON details
profileRankSlice
typeValue
v1.profileRankSlice
rankedProfiles
func() []*v1.profileRecord- OID
- 092379…111d:43
rankedProfiles details
initRouter
func()- OID
- 092379…111d:44
initRouter details
Render
func(path string) stringRender 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.
- OID
- 092379…111d:46
Render details
safeInline
func(s string) string- OID
- 092379…111d:47
safeInline details
safeCell
func(s string) string- OID
- 092379…111d:48
safeCell details
safeBlock
func(s string) string- OID
- 092379…111d:49
safeBlock details
safeURL
func(s string) string- OID
- 092379…111d:50
safeURL details
routeHref
func(sub string) string- OID
- 092379…111d:51
routeHref details
txHref
func(base string, fn string, kv []string) string- OID
- 092379…111d:52
txHref details
writeTopNav
func(b *strings.Builder, active string)- OID
- 092379…111d:53
writeTopNav details
renderHome
func(res *v0.ResponseWriter, req *v0.Request)- OID
- 092379…111d:54
renderHome details
renderHomePage
func(res *v0.ResponseWriter, req *v0.Request)- OID
- 092379…111d:55
renderHomePage details
renderCategory
func(res *v0.ResponseWriter, req *v0.Request)- OID
- 092379…111d:56
renderCategory details
renderBoardView
func(res *v0.ResponseWriter, filterCat string, page int)- OID
- 092379…111d:57
renderBoardView details
renderBountyDetail
func(res *v0.ResponseWriter, req *v0.Request)- OID
- 092379…111d:58
renderBountyDetail details
writeContextualActions
func(b *strings.Builder, rec *v1.bountyRecord)- OID
- 092379…111d:59
writeContextualActions details
renderPostPage
func(res *v0.ResponseWriter, req *v0.Request)- OID
- 092379…111d:60
renderPostPage details
renderLeaderboard
func(res *v0.ResponseWriter, req *v0.Request)- OID
- 092379…111d:61
renderLeaderboard details
renderProfilePage
func(res *v0.ResponseWriter, req *v0.Request)- OID
- 092379…111d:62
renderProfilePage details
renderAgentsHub
func(res *v0.ResponseWriter, req *v0.Request)- OID
- 092379…111d:63
renderAgentsHub details
renderNotFound
func(res *v0.ResponseWriter, req *v0.Request)- OID
- 092379…111d:64
renderNotFound details
displayHandle
func(addr .uverse.address) string- OID
- 092379…111d:65
displayHandle details
asciiLowerByte
func(c uint8) uint8- OID
- 092379…111d:66
asciiLowerByte details
hasASCIIPrefixFold
func(s string, pos int, pattern string) bool- OID
- 092379…111d:68
hasASCIIPrefixFold details
NeutralizeGnoTags
func(s string) stringNeutralizeGnoTags 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.
- OID
- 092379…111d:69
NeutralizeGnoTags details
ValidateProofURL
func(raw string) stringValidateProofURL enforces HTTPS-only deliverable links with no whitespace so rendered proof links always survive p/nt/markdown/sanitize/v0 intact.
- OID
- 092379…111d:70
ValidateProofURL details
EscrowTokenKey
untyped stringValue
"gno.land/r/gnoland/wugnot.wugnot"
MinTopUpUgnot
int64Value
100000
MaxEscrowUgnot
int64Value
1000000000000
MaxExternalDonors
untyped bigintValue
(20 <untyped> bigint)
BoardPageSize
untyped bigintValue
(20 <untyped> bigint)
bountyRecord
typeValue
v1.bountyRecord
profileRecord
typeValue
v1.profileRecord
BountyView
typeBountyView is an immutable value-copy projection of a bounty safe for external callers.
Value
v1.BountyView
ProfileView
typeProfileView is an immutable value-copy projection of a builder or AI agent profile.
Value
v1.ProfileView
BoardStats
typeBoardStats summarizes global protocol activity and escrow invariants.
Value
v1.BoardStats
arbiter
.uverse.addressAll state variables are unexported so no external package can mutate realm state directly.
Value
<gnolang.StringValue>
realmAddress
.uverse.addressAll state variables are unexported so no external package can mutate realm state directly.
Value
<gnolang.StringValue>
realmPkgPath
stringAll state variables are unexported so no external package can mutate realm state directly.
Value
"gno.land/r/g1x582angdzrqadgv4382j6y7ju6fj5wll6yuuq4/hearthbounty/v1"
realmWebBase
stringAll state variables are unexported so no external package can mutate realm state directly.
Value
"/r/g1x582angdzrqadgv4382j6y7ju6fj5wll6yuuq4/hearthbounty/v1"
bountySeq
v0.IDAll state variables are unexported so no external package can mutate realm state directly.
Value
<zero>
bounties
*v0.Tree// seqid string -> \*bountyRecord
- OID
- 092379…111d:101
bounties details
profiles
*v0.Tree// address string -> \*profileRecord
- OID
- 092379…111d:103
profiles details
openCount
intAll state variables are unexported so no external package can mutate realm state directly.
Value
1
claimedCount
intAll state variables are unexported so no external package can mutate realm state directly.
Value
0
submittedCount
intAll state variables are unexported so no external package can mutate realm state directly.
Value
1
disputedCount
intAll state variables are unexported so no external package can mutate realm state directly.
Value
0
settledCount
intAll state variables are unexported so no external package can mutate realm state directly.
Value
1
cancelledCount
intAll state variables are unexported so no external package can mutate realm state directly.
Value
0
agentCount
intAll state variables are unexported so no external package can mutate realm state directly.
Value
1
totalEscrowUgnot
int64All state variables are unexported so no external package can mutate realm state directly.
Value
6000000
totalSettledUgnot
int64All state variables are unexported so no external package can mutate realm state directly.
Value
2000000
totalRefundUgnot
int64All state variables are unexported so no external package can mutate realm state directly.
Value
0
router
*v0.RouterAll state variables are unexported so no external package can mutate realm state directly.
- OID
- 092379…111d:105
router details
init.94
func()- OID
- 092379…111d:89
init.94 details
deriveWebBase
func(pkgPath string) string- OID
- 092379…111d:91
deriveWebBase details
bountyKey
func(id uint64) string- OID
- 092379…111d:92
bountyKey details
getBountyRecord
func(id uint64) (*v1.bountyRecord, bool)- OID
- 092379…111d:93
getBountyRecord details
getOrCreateProfile
func(addr .uverse.address, height int64) *v1.profileRecord- OID
- 092379…111d:94
getOrCreateProfile details
toBountyView
func(b *v1.bountyRecord) v1.BountyView- OID
- 092379…111d:95
toBountyView details
toProfileView
func(p *v1.profileRecord) v1.ProfileView- OID
- 092379…111d:96
toProfileView details
decrementStatusCount
func(st v0.Status)- OID
- 092379…111d:97
decrementStatusCount details
incrementStatusCount
func(st v0.Status)- OID
- 092379…111d:98
incrementStatusCount details
transitionStatus
func(b *v1.bountyRecord, next v0.Status)- OID
- 092379…111d:99
transitionStatus details
decrementSponsoredCredit
func(addr .uverse.address, amount int64)- OID
- 092379…111d:100