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 package

Functions

ApproveSubmission

func ApproveSubmission( cur realm, bountyID uint64, submissionID uint64, payoutUgnot int64, reviewNote string, )
Ask AI Claude ChatGPT

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.

Params

Command

# WARNING: This command is running in an INSECURE mode.
# It is strongly recommended to use a hardware device for signing
# and avoid trusting any computer connected to the internet,
# as your private keys could be exposed.

gnokey maketx call -pkgpath "gno.land/r/g1ypczwgczq2rkmgxc2t898tpsv5n8ecq3gj9fsv/quillbounty" -func "ApproveSubmission" -args $'' -args $'' -args $'' -args $'' -gas-fee 1000000ugnot -gas-wanted 1_000_000_000 -send "" -chainid "onyx-1" -remote "https://rpc.onyx.testnets.gno.land" ADDRESSgnokey query -remote "https://rpc.onyx.testnets.gno.land" auth/accounts/ADDRESS
gnokey maketx call -pkgpath "gno.land/r/g1ypczwgczq2rkmgxc2t898tpsv5n8ecq3gj9fsv/quillbounty" -func "ApproveSubmission" -args $'' -args $'' -args $'' -args $'' -gas-fee 1000000ugnot -gas-wanted 1_000_000_000 -send "" -broadcast=false ADDRESS > call.tx
gnokey sign -tx-path call.tx -chainid "onyx-1" -account-number ACCOUNTNUMBER -account-sequence SEQUENCENUMBER ADDRESS
gnokey broadcast -remote "https://rpc.onyx.testnets.gno.land" call.tx
  

CreateBounty

func CreateBounty( cur realm, title string, category string, spec string, reviewerAddr string, durationBlocks int64, ) uint64
Ask AI Claude ChatGPT

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.

Params

Command

# WARNING: This command is running in an INSECURE mode.
# It is strongly recommended to use a hardware device for signing
# and avoid trusting any computer connected to the internet,
# as your private keys could be exposed.

gnokey maketx call -pkgpath "gno.land/r/g1ypczwgczq2rkmgxc2t898tpsv5n8ecq3gj9fsv/quillbounty" -func "CreateBounty" -args $'' -args $'' -args $'' -args $'' -args $'' -gas-fee 1000000ugnot -gas-wanted 1_000_000_000 -send "" -chainid "onyx-1" -remote "https://rpc.onyx.testnets.gno.land" ADDRESSgnokey query -remote "https://rpc.onyx.testnets.gno.land" auth/accounts/ADDRESS
gnokey maketx call -pkgpath "gno.land/r/g1ypczwgczq2rkmgxc2t898tpsv5n8ecq3gj9fsv/quillbounty" -func "CreateBounty" -args $'' -args $'' -args $'' -args $'' -args $'' -gas-fee 1000000ugnot -gas-wanted 1_000_000_000 -send "" -broadcast=false ADDRESS > call.tx
gnokey sign -tx-path call.tx -chainid "onyx-1" -account-number ACCOUNTNUMBER -account-sequence SEQUENCENUMBER ADDRESS
gnokey broadcast -remote "https://rpc.onyx.testnets.gno.land" call.tx
  

RefundExpired

func RefundExpired(cur realm, bountyID uint64) int64
Ask AI Claude ChatGPT

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

Param

Command

# WARNING: This command is running in an INSECURE mode.
# It is strongly recommended to use a hardware device for signing
# and avoid trusting any computer connected to the internet,
# as your private keys could be exposed.

gnokey maketx call -pkgpath "gno.land/r/g1ypczwgczq2rkmgxc2t898tpsv5n8ecq3gj9fsv/quillbounty" -func "RefundExpired" -args $'' -gas-fee 1000000ugnot -gas-wanted 1_000_000_000 -send "" -chainid "onyx-1" -remote "https://rpc.onyx.testnets.gno.land" ADDRESSgnokey query -remote "https://rpc.onyx.testnets.gno.land" auth/accounts/ADDRESS
gnokey maketx call -pkgpath "gno.land/r/g1ypczwgczq2rkmgxc2t898tpsv5n8ecq3gj9fsv/quillbounty" -func "RefundExpired" -args $'' -gas-fee 1000000ugnot -gas-wanted 1_000_000_000 -send "" -broadcast=false ADDRESS > call.tx
gnokey sign -tx-path call.tx -chainid "onyx-1" -account-number ACCOUNTNUMBER -account-sequence SEQUENCENUMBER ADDRESS
gnokey broadcast -remote "https://rpc.onyx.testnets.gno.land" call.tx
  

Render

func Render(path string) string
Ask AI Claude ChatGPT

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.

Param

Command

gnokey query vm/qeval -remote "https://rpc.onyx.testnets.gno.land" -data "gno.land/r/g1ypczwgczq2rkmgxc2t898tpsv5n8ecq3gj9fsv/quillbounty.Render()"

Result

RequestRevision

func RequestRevision(cur realm, bountyID uint64, submissionID uint64, feedback string)
Ask AI Claude ChatGPT

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

Params

Command

# WARNING: This command is running in an INSECURE mode.
# It is strongly recommended to use a hardware device for signing
# and avoid trusting any computer connected to the internet,
# as your private keys could be exposed.

gnokey maketx call -pkgpath "gno.land/r/g1ypczwgczq2rkmgxc2t898tpsv5n8ecq3gj9fsv/quillbounty" -func "RequestRevision" -args $'' -args $'' -args $'' -gas-fee 1000000ugnot -gas-wanted 1_000_000_000 -send "" -chainid "onyx-1" -remote "https://rpc.onyx.testnets.gno.land" ADDRESSgnokey query -remote "https://rpc.onyx.testnets.gno.land" auth/accounts/ADDRESS
gnokey maketx call -pkgpath "gno.land/r/g1ypczwgczq2rkmgxc2t898tpsv5n8ecq3gj9fsv/quillbounty" -func "RequestRevision" -args $'' -args $'' -args $'' -gas-fee 1000000ugnot -gas-wanted 1_000_000_000 -send "" -broadcast=false ADDRESS > call.tx
gnokey sign -tx-path call.tx -chainid "onyx-1" -account-number ACCOUNTNUMBER -account-sequence SEQUENCENUMBER ADDRESS
gnokey broadcast -remote "https://rpc.onyx.testnets.gno.land" call.tx
  

Stats

func Stats() (int, int, int64, int64)
Ask AI Claude ChatGPT

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

Command

gnokey query vm/qeval -remote "https://rpc.onyx.testnets.gno.land" -data "gno.land/r/g1ypczwgczq2rkmgxc2t898tpsv5n8ecq3gj9fsv/quillbounty.Stats()"

Result

SubmitWork

func SubmitWork( cur realm, bountyID uint64, proofURL string, commitHash string, summary string, ) uint64
Ask AI Claude ChatGPT

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

Params

Command

# WARNING: This command is running in an INSECURE mode.
# It is strongly recommended to use a hardware device for signing
# and avoid trusting any computer connected to the internet,
# as your private keys could be exposed.

gnokey maketx call -pkgpath "gno.land/r/g1ypczwgczq2rkmgxc2t898tpsv5n8ecq3gj9fsv/quillbounty" -func "SubmitWork" -args $'' -args $'' -args $'' -args $'' -gas-fee 1000000ugnot -gas-wanted 1_000_000_000 -send "" -chainid "onyx-1" -remote "https://rpc.onyx.testnets.gno.land" ADDRESSgnokey query -remote "https://rpc.onyx.testnets.gno.land" auth/accounts/ADDRESS
gnokey maketx call -pkgpath "gno.land/r/g1ypczwgczq2rkmgxc2t898tpsv5n8ecq3gj9fsv/quillbounty" -func "SubmitWork" -args $'' -args $'' -args $'' -args $'' -gas-fee 1000000ugnot -gas-wanted 1_000_000_000 -send "" -broadcast=false ADDRESS > call.tx
gnokey sign -tx-path call.tx -chainid "onyx-1" -account-number ACCOUNTNUMBER -account-sequence SEQUENCENUMBER ADDRESS
gnokey broadcast -remote "https://rpc.onyx.testnets.gno.land" call.tx
  

TopUpBounty

func TopUpBounty(cur realm, bountyID uint64)
Ask AI Claude ChatGPT

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

Param

Command

# WARNING: This command is running in an INSECURE mode.
# It is strongly recommended to use a hardware device for signing
# and avoid trusting any computer connected to the internet,
# as your private keys could be exposed.

gnokey maketx call -pkgpath "gno.land/r/g1ypczwgczq2rkmgxc2t898tpsv5n8ecq3gj9fsv/quillbounty" -func "TopUpBounty" -args $'' -gas-fee 1000000ugnot -gas-wanted 1_000_000_000 -send "" -chainid "onyx-1" -remote "https://rpc.onyx.testnets.gno.land" ADDRESSgnokey query -remote "https://rpc.onyx.testnets.gno.land" auth/accounts/ADDRESS
gnokey maketx call -pkgpath "gno.land/r/g1ypczwgczq2rkmgxc2t898tpsv5n8ecq3gj9fsv/quillbounty" -func "TopUpBounty" -args $'' -gas-fee 1000000ugnot -gas-wanted 1_000_000_000 -send "" -broadcast=false ADDRESS > call.tx
gnokey sign -tx-path call.tx -chainid "onyx-1" -account-number ACCOUNTNUMBER -account-sequence SEQUENCENUMBER ADDRESS
gnokey broadcast -remote "https://rpc.onyx.testnets.gno.land" call.tx
  

GetBounty

func GetBounty(bountyID uint64) *Bounty
Ask AI Claude ChatGPT

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

Param

Command

gnokey query vm/qeval -remote "https://rpc.onyx.testnets.gno.land" -data "gno.land/r/g1ypczwgczq2rkmgxc2t898tpsv5n8ecq3gj9fsv/quillbounty.GetBounty()"

Result

GetBuilderProfile

func GetBuilderProfile(addr address) *BuilderProfile
Ask AI Claude ChatGPT

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

Param

Command

gnokey query vm/qeval -remote "https://rpc.onyx.testnets.gno.land" -data "gno.land/r/g1ypczwgczq2rkmgxc2t898tpsv5n8ecq3gj9fsv/quillbounty.GetBuilderProfile()"

Result

Gno Expression Evaluator

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