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.

gild/v0 package

Overview

Package gild is a paid task board.

A poster locks a reward in this realm when posting a task. One doer takes the task and sends a link to the work. The poster approves and the realm pays the doer. Two rules protect both sides:

  • If the poster stays silent for ReviewWindow after the work is sent, the doer can claim the reward.
  • If nobody takes the task, or the doer never sends work before the deadline, the poster gets the reward back.

Every payout is written to a public work record (see p/thesithunyein/rep), which other realms can read through Completed and Earned.

Function

Earned

func Earned(addr address) int64
Ask AI Claude ChatGPT

Earned returns the total paid to addr on Gild, in Denom.

Param

Command

gnokey query vm/qeval -remote "https://rpc.onyx.testnets.gno.land" -data "gno.land/r/g1jw2yrfqnd4fp90qadw88pnjgpden4vgagjvpe6/gild/v0.Earned()"

Result

Gno Expression Evaluator

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