Realm
gno.land/r/g1x4zvyxlwauaanupr43fjm4l3kltk5h6lzgpvwn/gnotask
Rendered output
GnoTask
GNOT-escrowed open-source work.
On-chain Tasks: 5
Query (read-only)
non-crossing functions · no tx, no wallet neededGetTask(taskID string) → string, string, string, string, string, int64, string, int64, int64, int64, int, string, string, bool, string
GetTaskState(taskID string) → string
TaskCount() → int
Call functions (state-changing)
signs a tx via AdenaCancelOpenTask(taskID string)
ClaimAfterReviewDeadline(taskID string)
CreateTask(taskID string, specHash string, rewardAmount int64, rewardDenom string, deliveryDueUnix int64, reviewWindowSeconds int64)
RefundExpiredTask(taskID string)
Review(taskID string, accept bool, reviewHash string)
SelectContributor(taskID string, contributor string)
SubmitEvidence(taskID string, evidenceHash string)
All exported functions (11)
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": "taskID", "Type": "string", "Value": ""}, {"Name": "specHash", "Type": "string", "Value": ""}, {"Name": "rewardAmount", "Type": "int64", "Value": ""}, {"Name": "rewardDenom", "Type": "string", "Value": ""}, {"Name": "deliveryDueUnix", "Type": "int64", "Value": ""}, {"Name": "reviewWindowSeconds", "Type": "int64", "Value": ""}] | — |
| CancelOpenTask | [{"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": "string", "Value": ""}] | — |
| SelectContributor | [{"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": "string", "Value": ""}, {"Name": "contributor", "Type": "string", "Value": ""}] | — |
| SubmitEvidence | [{"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": "string", "Value": ""}, {"Name": "evidenceHash", "Type": "string", "Value": ""}] | — |
| Review | [{"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": "string", "Value": ""}, {"Name": "accept", "Type": "bool", "Value": ""}, {"Name": "reviewHash", "Type": "string", "Value": ""}] | — |
| ClaimAfterReviewDeadline | [{"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": "string", "Value": ""}] | — |
| RefundExpiredTask | [{"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": "string", "Value": ""}] | — |
| TaskCount | — | [{"Name": ".res.0", "Type": "int", "Value": ""}] |
| GetTask | [{"Name": "taskID", "Type": "string", "Value": ""}] | [{"Name": ".res.0", "Type": "string", "Value": ""}, {"Name": ".res.1", "Type": "string", "Value": ""}, {"Name": ".res.2", "Type": "string", "Value": ""}, {"Name": ".res.3", "Type": "string", "Value": ""}, {"Name": ".res.4", "Type": "string", "Value": ""}, {"Name": ".res.5", "Type": "int64", "Value": ""}, {"Name": ".res.6", "Type": "string", "Value": ""}, {"Name": ".res.7", "Type": "int64", "Value": ""}, {"Name": ".res.8", "Type": "int64", "Value": ""}, {"Name": ".res.9", "Type": "int64", "Value": ""}, {"Name": ".res.10", "Type": "int", "Value": ""}, {"Name": ".res.11", "Type": "string", "Value": ""}, {"Name": ".res.12", "Type": "string", "Value": ""}, {"Name": ".res.13", "Type": "bool", "Value": ""}, {"Name": ".res.14", "Type": "string", "Value": ""}] |
| GetTaskState | [{"Name": "taskID", "Type": "string", "Value": ""}] | [{"Name": ".res.0", "Type": "string", "Value": ""}] |
| Render | [{"Name": "path", "Type": "string", "Value": ""}] | [{"Name": ".res.0", "Type": "string", "Value": ""}] |
Files
Storage
{
"raw": "storage: 36529, deposit: 3652900"
}