Realm
gno.land/r/g16m0r7rm7fv5hx0ekr7gvx8g4fr7eu08nzhk6gt/bountyboard
Render
this realm has no Render() output
Query (read-only)
non-crossing functions · no tx, no wallet neededGetSubmissionCount(taskID int64) → int64
GetTaskDeadlineHeight(taskID int64) → int64
GetTaskOwner(taskID int64) → string
GetTaskReward(taskID int64) → int64
GetTaskStatus(taskID int64) → string
GetTaskWinner(taskID int64) → string
TotalLocked() → int64
Call functions (state-changing)
signs a tx via AdenaApproveSubmission(taskID int64, winner string)
CancelTask(taskID int64)
ClaimTask(taskID int64)
CreateTask(title string, description string, blocksUntilDeadline int64)
SettleExpired(taskID int64)
SubmitWork(taskID int64, content string)
All exported functions (13)
show raw signatures
| Name | Params | Returns |
|---|---|---|
| CreateTask | [{"Name": "cur", "Type": "interface {.seal func(); Address func() .uverse.address; IsCode func() bool; IsCurrent func() bool; IsEphemeral func() bool; IsUser func() bool; IsUserCall func() bool; IsUserRun func() bool; PkgPath func() string; Previous func() .uverse.realm; String func() string; Sub func(string) .uverse.realm; Subpath func() string}", "Value": ""}, {"Name": "title", "Type": "string", "Value": ""}, {"Name": "description", "Type": "string", "Value": ""}, {"Name": "blocksUntilDeadline", "Type": "int64", "Value": ""}] | [{"Name": ".res.0", "Type": "int64", "Value": ""}] |
| ClaimTask | [{"Name": "cur", "Type": "interface {.seal func(); Address func() .uverse.address; IsCode func() bool; IsCurrent func() bool; IsEphemeral func() bool; IsUser func() bool; IsUserCall func() bool; IsUserRun func() bool; PkgPath func() string; Previous func() .uverse.realm; String func() string; Sub func(string) .uverse.realm; Subpath func() string}", "Value": ""}, {"Name": "taskID", "Type": "int64", "Value": ""}] | — |
| SubmitWork | [{"Name": "cur", "Type": "interface {.seal func(); Address func() .uverse.address; IsCode func() bool; IsCurrent func() bool; IsEphemeral func() bool; IsUser func() bool; IsUserCall func() bool; IsUserRun func() bool; PkgPath func() string; Previous func() .uverse.realm; String func() string; Sub func(string) .uverse.realm; Subpath func() string}", "Value": ""}, {"Name": "taskID", "Type": "int64", "Value": ""}, {"Name": "content", "Type": "string", "Value": ""}] | — |
| ApproveSubmission | [{"Name": "cur", "Type": "interface {.seal func(); Address func() .uverse.address; IsCode func() bool; IsCurrent func() bool; IsEphemeral func() bool; IsUser func() bool; IsUserCall func() bool; IsUserRun func() bool; PkgPath func() string; Previous func() .uverse.realm; String func() string; Sub func(string) .uverse.realm; Subpath func() string}", "Value": ""}, {"Name": "taskID", "Type": "int64", "Value": ""}, {"Name": "winner", "Type": "string", "Value": ""}] | — |
| CancelTask | [{"Name": "cur", "Type": "interface {.seal func(); Address func() .uverse.address; IsCode func() bool; IsCurrent func() bool; IsEphemeral func() bool; IsUser func() bool; IsUserCall func() bool; IsUserRun func() bool; PkgPath func() string; Previous func() .uverse.realm; String func() string; Sub func(string) .uverse.realm; Subpath func() string}", "Value": ""}, {"Name": "taskID", "Type": "int64", "Value": ""}] | — |
| SettleExpired | [{"Name": "cur", "Type": "interface {.seal func(); Address func() .uverse.address; IsCode func() bool; IsCurrent func() bool; IsEphemeral func() bool; IsUser func() bool; IsUserCall func() bool; IsUserRun func() bool; PkgPath func() string; Previous func() .uverse.realm; String func() string; Sub func(string) .uverse.realm; Subpath func() string}", "Value": ""}, {"Name": "taskID", "Type": "int64", "Value": ""}] | — |
| GetTaskStatus | [{"Name": "taskID", "Type": "int64", "Value": ""}] | [{"Name": ".res.0", "Type": "string", "Value": ""}] |
| GetTaskReward | [{"Name": "taskID", "Type": "int64", "Value": ""}] | [{"Name": ".res.0", "Type": "int64", "Value": ""}] |
| GetTaskOwner | [{"Name": "taskID", "Type": "int64", "Value": ""}] | [{"Name": ".res.0", "Type": "string", "Value": ""}] |
| GetTaskDeadlineHeight | [{"Name": "taskID", "Type": "int64", "Value": ""}] | [{"Name": ".res.0", "Type": "int64", "Value": ""}] |
| GetTaskWinner | [{"Name": "taskID", "Type": "int64", "Value": ""}] | [{"Name": ".res.0", "Type": "string", "Value": ""}] |
| GetSubmissionCount | [{"Name": "taskID", "Type": "int64", "Value": ""}] | [{"Name": ".res.0", "Type": "int64", "Value": ""}] |
| TotalLocked | — | [{"Name": ".res.0", "Type": "int64", "Value": ""}] |
Files
Storage
{
"raw": "storage: 23444, deposit: 2344400"
}