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

bounties package

Overview

Package bounties is Guildhall's escrowed bounty board.

Anyone can post a task, fund it with GNOT (or any native coin) or any token in the grc20 registry, and split it into milestones. Funds sit in this realm until the bounty's reviewers approve a milestone, at which point the milestone is paid to the contributor and a record of the work is written to gno.land/r/g1lnkytfqcjwllws63gvf0mv9yt04aswy4y9amhm/guildhall/reputation. Contested milestones go to an arbiter, who can pay the worker, refund the poster, or split the difference.

The rules live in gno.land/p/g1lnkytfqcjwllws63gvf0mv9yt04aswy4y9amhm/guildhall/bounty. This realm holds the funds, authenticates callers, moves coins, and renders the board.

Function

Count

func Count() int
Ask AI Claude ChatGPT

Count returns the number of bounties ever posted.

Command

gnokey query vm/qeval -remote "https://rpc.onyx.testnets.gno.land" -data "gno.land/r/g1lnkytfqcjwllws63gvf0mv9yt04aswy4y9amhm/guildhall/bounties.Count()"

Result