StatusOpen
untyped stringValue
"Open"
StatusClaimed
untyped stringValue
"Claimed"
StatusSubmitted
untyped stringValue
"Submitted"
StatusChangesRequested
untyped stringValue
"ChangesRequested"
StatusPaid
untyped stringValue
"Paid"
StatusRefunded
untyped stringValue
"Refunded"
StatusCancelled
untyped stringValue
"Cancelled"
NativeRewardDenom
untyped stringValue
"ugnot"
MinReviewWindowSeconds
int64Value
3600
MaxReviewWindowSeconds
int64Value
2592000
Task
typeTask is the authoritative escrow record. Descriptions, GitHub evidence, search metadata, and private operational data remain off-chain.
Value
gnotask.Task
tasks
map[string]*gnotask.Task- OID
- 0d5d46…d3c8:4
tasks details
taskIDs
[]stringValue
<zero>
requireDirectUser
func() .uverse.address- OID
- 0d5d46…d3c8:6
requireDirectUser details
requireTask
func(taskID string) *gnotask.Task- OID
- 0d5d46…d3c8:8
requireTask details
requireSponsor
func(task *gnotask.Task, caller .uverse.address)- OID
- 0d5d46…d3c8:9
requireSponsor details
requireContributor
func(task *gnotask.Task, caller .uverse.address)- OID
- 0d5d46…d3c8:10
requireContributor details
requireTaskID
func(taskID string)- OID
- 0d5d46…d3c8:11
requireTaskID details
requireHash
func(value string, field string)- OID
- 0d5d46…d3c8:12
requireHash details
requireExactEscrow
func(rewardAmount int64, rewardDenom string)- OID
- 0d5d46…d3c8:13
requireExactEscrow details
settleEscrow
func(task *gnotask.Task, recipient .uverse.address, reason string, terminalStatus string)- OID
- 0d5d46…d3c8:14
settleEscrow details
CreateTask
func(taskID string, specHash string, rewardAmount int64, rewardDenom string, deliveryDueUnix int64, reviewWindowSeconds int64)CreateTask locks the exact GNOT reward attached to this direct transaction. No Task becomes Open from a URL, promise, or off-chain balance screenshot.
- OID
- 0d5d46…d3c8:15
CreateTask details
CancelOpenTask
func(taskID string)CancelOpenTask returns the full escrow while nobody has been selected.
- OID
- 0d5d46…d3c8:16
CancelOpenTask details
SelectContributor
func(taskID string, contributor .uverse.address)SelectContributor records the one contributor chosen through the off-chain application flow. The reward remains in the Realm.
- OID
- 0d5d46…d3c8:17
SelectContributor details
SubmitEvidence
func(taskID string, evidenceHash string)SubmitEvidence anchors a canonical hash and starts the on-chain review timer.
- OID
- 0d5d46…d3c8:18
SubmitEvidence details
Review
func(taskID string, accept bool, reviewHash string)Review either requests the one allowed revision or atomically accepts and releases the escrow to the selected Contributor.
- OID
- 0d5d46…d3c8:19
Review details
ClaimAfterReviewDeadline
func(taskID string)ClaimAfterReviewDeadline protects a Contributor from an absent Sponsor.
- OID
- 0d5d46…d3c8:20
ClaimAfterReviewDeadline details
RefundExpiredTask
func(taskID string)RefundExpiredTask returns the escrow when the selected Contributor misses either the initial delivery deadline or the bounded revision deadline. Submitted work is protected by the review timer and cannot use this path.
- OID
- 0d5d46…d3c8:21
RefundExpiredTask details
TaskCount
func() int- OID
- 0d5d46…d3c8:22
TaskCount details
GetTask
func(taskID string) (string, .uverse.address, .uverse.address, string, string, int64, string, int64, int64, int64, int, string, string, bool, string)- OID
- 0d5d46…d3c8:23
GetTask details
GetTaskState
func(taskID string) stringGetTaskState is a compact, query-friendly representation for off-chain indexers. Every field is constrained so the pipe delimiter is unambiguous.
- OID
- 0d5d46…d3c8:24
GetTaskState details
Render
func(path string) string- OID
- 0d5d46…d3c8:25