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.

quillbounty state

Back to all declarations

builders

*v0.Tree

// address.String() -> \*BuilderProfile

Open
OID
07488c…5ead:44
builders details

Inspect pointer

nextBountyID

uint64

Value

3

totalFunded

int64

Value

2500000

totalPaidOut

int64

Value

1000000

totalCompleted

int

Value

1

CreateBounty

func(title string, category string, spec string, reviewerAddr string, durationBlocks int64) uint64

CreateBounty creates a new ugnot-escrowed bounty on Gno.land. Caller must attach native ugnot via transaction send envelope. Security: enforces runtime.AssertOriginCall() + cur.Previous().IsUserCall() before inspecting unsafe.OriginSend() per Interrealm v2 payment guidelines.

Open
OID
07488c…5ead:11
CreateBounty details

Inspect func

TopUpBounty

func(bountyID uint64)

TopUpBounty allows anyone to add additional ugnot funding to an open bounty.

Open
OID
07488c…5ead:12
TopUpBounty details

Inspect func

SubmitWork

func(bountyID uint64, proofURL string, commitHash string, summary string) uint64

SubmitWork submits verifiable proof-of-work (PR/repo/gnoweb link + commit hash) on-chain.

Open
OID
07488c…5ead:13
SubmitWork details

Inspect func

RequestRevision

func(bountyID uint64, submissionID uint64, feedback string)

RequestRevision records an on-chain review note asking the builder to refine their submission.

Open
OID
07488c…5ead:14
RequestRevision details

Inspect func

ApproveSubmission

func(bountyID uint64, submissionID uint64, payoutUgnot int64, reviewNote string)

ApproveSubmission approves a submission and atomically releases escrowed ugnot. Pass payoutUgnot == 0 to release the entire remaining bounty balance (100% single-winner payout), or pass 0 \< payoutUgnot \<= RemainingUgnot for multi-winner split payouts.

Open
OID
07488c…5ead:15
ApproveSubmission details

Inspect func

RefundExpired

func(bountyID uint64) int64

RefundExpired returns remaining escrowed ugnot to the sponsor after deadlineHeight passes.

Open
OID
07488c…5ead:16
RefundExpired details

Inspect func

GetBounty

func(bountyID uint64) *quillbounty.Bounty

GetBounty returns a read-only copy of a bounty for cross-realm composability.

Open
OID
07488c…5ead:17
GetBounty details

Inspect func

GetBuilderProfile

func(addr .uverse.address) *quillbounty.BuilderProfile

GetBuilderProfile returns on-chain reputation stats for a builder address.

Open
OID
07488c…5ead:18
GetBuilderProfile details

Inspect func

Stats

func() (int, int, int64, int64)

Stats returns aggregate protocol metrics (totalBounties, totalCompleted, totalFundedUgnot, totalPaidOutUgnot).

Open
OID
07488c…5ead:19
Stats details

Inspect func

mustGetBounty

func(bountyID uint64) *quillbounty.Bounty
Open
OID
07488c…5ead:20
mustGetBounty details

Inspect func

mustGetSubmission

func(b *quillbounty.Bounty, submissionID uint64) *quillbounty.Submission
Open
OID
07488c…5ead:21
mustGetSubmission details

Inspect func

recordBuilderReputation

func(addr .uverse.address, payout int64, bountyID uint64)
Open
OID
07488c…5ead:22
recordBuilderReputation details

Inspect func

Render

func(path string) string

Render serves both interactive Markdown UI for gnoweb and machine-readable JSON endpoints under /api/\* for AI agents and MCP clients via ABCI vm/qrender.

Open
OID
07488c…5ead:26
Render details

Inspect func

realmVaultUgnot

func() int64
Open
OID
07488c…5ead:27
realmVaultUgnot details

Inspect func

renderHome

func(res *v0.ResponseWriter, req *v0.Request)
Open
OID
07488c…5ead:28
renderHome details

Inspect func

renderBountyDetail

func(res *v0.ResponseWriter, req *v0.Request)
Open
OID
07488c…5ead:29
renderBountyDetail details

Inspect func

renderBuilders

func(res *v0.ResponseWriter, *v0.Request)
Open
OID
07488c…5ead:30
renderBuilders details

Inspect func

renderAPIBounties

func(res *v0.ResponseWriter, *v0.Request)
Open
OID
07488c…5ead:31
renderAPIBounties details

Inspect func

renderAPIBountyDetail

func(res *v0.ResponseWriter, req *v0.Request)
Open
OID
07488c…5ead:32
renderAPIBountyDetail details

Inspect func

renderAPIBuilders

func(res *v0.ResponseWriter, *v0.Request)
Open
OID
07488c…5ead:33
renderAPIBuilders details

Inspect func

writeBountyJSON

func(sb *strings.Builder, b *quillbounty.Bounty, includeSubmissions bool)
Open
OID
07488c…5ead:34
writeBountyJSON details

Inspect func

sortedBuilders

func() []*quillbounty.BuilderProfile
Open
OID
07488c…5ead:35
sortedBuilders details

Inspect func

DenomUgnot

untyped string

Value

"ugnot"

MinDurationBlocks

int64

Value

10

MaxDurationBlocks

int64

Value

5000000

MaxTitleLen

untyped bigint

Value

(120 <untyped> bigint)

MaxSpecLen

untyped bigint

Value

(4000 <untyped> bigint)

MaxSummaryLen

untyped bigint

Value

(1000 <untyped> bigint)

MaxURLLen

untyped bigint

Value

(300 <untyped> bigint)

BountyStatus

type

Value

quillbounty.BountyStatus

StatusOpen

quillbounty.BountyStatus

Value

<gnolang.StringValue>

StatusCompleted

quillbounty.BountyStatus

Value

<gnolang.StringValue>

StatusExpired

quillbounty.BountyStatus

Value

<gnolang.StringValue>

SubmissionStatus

type

Value

quillbounty.SubmissionStatus

SubPending

quillbounty.SubmissionStatus

Value

<gnolang.StringValue>

SubNeedsRevision

quillbounty.SubmissionStatus

Value

<gnolang.StringValue>

SubApproved

quillbounty.SubmissionStatus

Value

<gnolang.StringValue>

Submission

type

Value

quillbounty.Submission

Bounty

type

Value

quillbounty.Bounty

BuilderProfile

type

Value

quillbounty.BuilderProfile

normalizeCategory

func(cat string) string
Open
OID
07488c…5ead:38
normalizeCategory details

Inspect func

formatGNOT

func(ugnot int64) string
Open
OID
07488c…5ead:39
formatGNOT details

Inspect func

escapeJSON

func(s string) string
Open
OID
07488c…5ead:40
escapeJSON details

Inspect func

shortAddr

func(a .uverse.address) string
Open
OID
07488c…5ead:41
shortAddr details

Inspect func
bounties : *v0.Tree Inspect
builders : *v0.Tree Inspect
nextBountyID : uint64 =3
totalFunded : int64 =2500000
totalPaidOut : int64 =1000000
totalCompleted : int =1
init.6 : func() Inspect
CreateBounty : func(title string, category string, spec string, reviewerAddr string, durationBlocks int64) uint64 Inspect
TopUpBounty : func(bountyID uint64) Inspect
SubmitWork : func(bountyID uint64, proofURL string, commitHash string, summary string) uint64 Inspect
RequestRevision : func(bountyID uint64, submissionID uint64, feedback string) Inspect
ApproveSubmission : func(bountyID uint64, submissionID uint64, payoutUgnot int64, reviewNote string) Inspect
RefundExpired : func(bountyID uint64) int64 Inspect
GetBounty : func(bountyID uint64) *quillbounty.Bounty Inspect
GetBuilderProfile : func(addr .uverse.address) *quillbounty.BuilderProfile Inspect
Stats : func() (int, int, int64, int64) Inspect
mustGetBounty : func(bountyID uint64) *quillbounty.Bounty Inspect
mustGetSubmission : func(b *quillbounty.Bounty, submissionID uint64) *quillbounty.Submission Inspect
recordBuilderReputation : func(addr .uverse.address, payout int64, bountyID uint64) Inspect
router : *v0.Router Inspect
init.20 : func() Inspect
Render : func(path string) string Inspect
realmVaultUgnot : func() int64 Inspect
renderHome : func(res *v0.ResponseWriter, req *v0.Request) Inspect
renderBountyDetail : func(res *v0.ResponseWriter, req *v0.Request) Inspect
renderBuilders : func(res *v0.ResponseWriter, *v0.Request) Inspect
renderAPIBounties : func(res *v0.ResponseWriter, *v0.Request) Inspect
renderAPIBountyDetail : func(res *v0.ResponseWriter, req *v0.Request) Inspect
renderAPIBuilders : func(res *v0.ResponseWriter, *v0.Request) Inspect
writeBountyJSON : func(sb *strings.Builder, b *quillbounty.Bounty, includeSubmissions bool) Inspect
sortedBuilders : func() []*quillbounty.BuilderProfile Inspect
DenomUgnot : untyped string ="ugnot"
MinDurationBlocks : int64 =10
MaxDurationBlocks : int64 =5000000
MaxTitleLen : untyped bigint =(120 <untyped> bigint)
MaxSpecLen : untyped bigint =(4000 <untyped> bigint)
MaxSummaryLen : untyped bigint =(1000 <untyped> bigint)
MaxURLLen : untyped bigint =(300 <untyped> bigint)
BountyStatus : type =quillbounty.BountyStatus
StatusOpen : quillbounty.BountyStatus =<gnolang.StringValue>
StatusCompleted : quillbounty.BountyStatus =<gnolang.StringValue>
StatusExpired : quillbounty.BountyStatus =<gnolang.StringValue>
SubmissionStatus : type =quillbounty.SubmissionStatus
SubPending : quillbounty.SubmissionStatus =<gnolang.StringValue>
SubNeedsRevision : quillbounty.SubmissionStatus =<gnolang.StringValue>
SubApproved : quillbounty.SubmissionStatus =<gnolang.StringValue>
Submission : type =quillbounty.Submission
Bounty : type =quillbounty.Bounty
BuilderProfile : type =quillbounty.BuilderProfile
padID : func(id uint64) string Inspect
normalizeCategory : func(cat string) string Inspect
formatGNOT : func(ugnot int64) string Inspect
escapeJSON : func(s string) string Inspect
shortAddr : func(a .uverse.address) string Inspect