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 source realm

Package guildhall is the Guildhall bounty board realm. A poster attaches GNOT to Post and the realm escrows it until ...

Overview

Package guildhall is the Guildhall bounty board realm. A poster attaches GNOT to Post and the realm escrows it until the quest is paid to a worker (by Accept or by silence through the review window) or returned to the poster (Refund past the deadline, or Cancel while open).

Functions 9

func Accept

crossing Action
1func Accept(cur realm, id uint64)
source

Accept pays the escrowed reward to the worker; poster only.

func Cancel

crossing Action
1func Cancel(cur realm, id uint64)
source

Cancel withdraws an open quest and returns its escrow to the poster.

func Claim

crossing Action
1func Claim(cur realm, id uint64)
source

Claim lets the caller take an open quest under a fresh lease.

func ClaimPayout

crossing Action
1func ClaimPayout(cur realm, id uint64)
source

ClaimPayout pays the worker when the review window closed with no answer from the poster; worker only.

func Post

crossing Action
1func Post(cur realm, title, spec string, leaseBlocks, reviewBlocks, deadline int64) uint64
source

Post escrows the attached ugnot as a quest's reward. The send and the direct-user-call check are a pair: OriginSend describes coins that landed at this realm only when the caller is a pure EOA, so anything else (maketx run scripts, intermediary realms) is rejected first.

func Refund

crossing Action
1func Refund(cur realm, id uint64)
source

Refund returns the escrow to the poster once the deadline passed.

func Reject

crossing Action
1func Reject(cur realm, id uint64, reason string)
source

Reject returns a submitted quest to the board inside the review window; poster only.

func Render

1func Render(path string) string
source

Render serves the board through gnoweb; there is no other UI.

func Submit

crossing Action
1func Submit(cur realm, id uint64, proofURL, note string)
source

Submit turns in the caller's proof of work while the lease is live.

Dependencies

Source Files 5