Module Overview
Module Name qhands_policy
Module Reference 34af90156c
Verification Status Unverifiable
Age 21 hr
Sender 20233
More Info
Deployed in block 51,649,285
Deployed in tx 400a
Methods 14
Contracts 1
Module Build Info
Verification Status:Unverifiable
Build Image Used:N/A
Build Command Used:N/A
Archive Hash:N/A
Link to Source Code:N/A
Explanation:No embedded build information found.
Module Schema
Initialization

Parameters
{
  "admin": "<AccountAddress>",
  "registry": {
    "index": "<UInt64>",
    "subindex": "<UInt64>"
  },
  "verifier": "<AccountAddress>"
}
Errors
{
  "Enum": [
    {
      "ParseError": []
    },
    {
      "NotAdmin": []
    },
    {
      "NotVerifier": []
    },
    {
      "NotWorker": []
    },
    {
      "SenderNotAccount": []
    },
    {
      "SameRole": []
    },
    {
      "Paused": []
    },
    {
      "InvalidParam": []
    },
    {
      "AgentNotFound": []
    },
    {
      "AgentNotActive": []
    },
    {
      "NotAgentController": []
    },
    {
      "RegistryCallFailed": []
    },
    {
      "WorkerNotVerified": []
    },
    {
      "WorkerExpired": []
    },
    {
      "WrongResidence": []
    },
    {
      "SelfDealing": []
    },
    {
      "PastDeadline": []
    },
    {
      "BadStatus": []
    },
    {
      "TaskNotFound": []
    },
    {
      "WorkerNotFound": []
    },
    {
      "RefundNotDue": []
    },
    {
      "AlreadyCommitted": []
    },
    {
      "BlindFull": []
    },
    {
      "RevealTooEarly": []
    },
    {
      "NoCommit": []
    },
    {
      "BadReveal": []
    },
    {
      "AlreadyRevealed": []
    },
    {
      "SelfDealingToken": []
    },
    {
      "SelfDealingOwner": []
    }
  ]
}
Event
None
Methods

Parameters
"<UInt64>"
Errors
{
  "Enum": [
    {
      "ParseError": []
    },
    {
      "NotAdmin": []
    },
    {
      "NotVerifier": []
    },
    {
      "NotWorker": []
    },
    {
      "SenderNotAccount": []
    },
    {
      "SameRole": []
    },
    {
      "Paused": []
    },
    {
      "InvalidParam": []
    },
    {
      "AgentNotFound": []
    },
    {
      "AgentNotActive": []
    },
    {
      "NotAgentController": []
    },
    {
      "RegistryCallFailed": []
    },
    {
      "WorkerNotVerified": []
    },
    {
      "WorkerExpired": []
    },
    {
      "WrongResidence": []
    },
    {
      "SelfDealing": []
    },
    {
      "PastDeadline": []
    },
    {
      "BadStatus": []
    },
    {
      "TaskNotFound": []
    },
    {
      "WorkerNotFound": []
    },
    {
      "RefundNotDue": []
    },
    {
      "AlreadyCommitted": []
    },
    {
      "BlindFull": []
    },
    {
      "RevealTooEarly": []
    },
    {
      "NoCommit": []
    },
    {
      "BadReveal": []
    },
    {
      "AlreadyRevealed": []
    },
    {
      "SelfDealingToken": []
    },
    {
      "SelfDealingOwner": []
    }
  ]
}
Return
None

Parameters
{
  "task_id": "<UInt64>",
  "worker_token": "<UInt64>"
}
Errors
{
  "Enum": [
    {
      "ParseError": []
    },
    {
      "NotAdmin": []
    },
    {
      "NotVerifier": []
    },
    {
      "NotWorker": []
    },
    {
      "SenderNotAccount": []
    },
    {
      "SameRole": []
    },
    {
      "Paused": []
    },
    {
      "InvalidParam": []
    },
    {
      "AgentNotFound": []
    },
    {
      "AgentNotActive": []
    },
    {
      "NotAgentController": []
    },
    {
      "RegistryCallFailed": []
    },
    {
      "WorkerNotVerified": []
    },
    {
      "WorkerExpired": []
    },
    {
      "WrongResidence": []
    },
    {
      "SelfDealing": []
    },
    {
      "PastDeadline": []
    },
    {
      "BadStatus": []
    },
    {
      "TaskNotFound": []
    },
    {
      "WorkerNotFound": []
    },
    {
      "RefundNotDue": []
    },
    {
      "AlreadyCommitted": []
    },
    {
      "BlindFull": []
    },
    {
      "RevealTooEarly": []
    },
    {
      "NoCommit": []
    },
    {
      "BadReveal": []
    },
    {
      "AlreadyRevealed": []
    },
    {
      "SelfDealingToken": []
    },
    {
      "SelfDealingOwner": []
    }
  ]
}
Return
None

Parameters
{
  "dispute_for_agent": "<Bool>",
  "task_id": "<UInt64>"
}
Errors
{
  "Enum": [
    {
      "ParseError": []
    },
    {
      "NotAdmin": []
    },
    {
      "NotVerifier": []
    },
    {
      "NotWorker": []
    },
    {
      "SenderNotAccount": []
    },
    {
      "SameRole": []
    },
    {
      "Paused": []
    },
    {
      "InvalidParam": []
    },
    {
      "AgentNotFound": []
    },
    {
      "AgentNotActive": []
    },
    {
      "NotAgentController": []
    },
    {
      "RegistryCallFailed": []
    },
    {
      "WorkerNotVerified": []
    },
    {
      "WorkerExpired": []
    },
    {
      "WrongResidence": []
    },
    {
      "SelfDealing": []
    },
    {
      "PastDeadline": []
    },
    {
      "BadStatus": []
    },
    {
      "TaskNotFound": []
    },
    {
      "WorkerNotFound": []
    },
    {
      "RefundNotDue": []
    },
    {
      "AlreadyCommitted": []
    },
    {
      "BlindFull": []
    },
    {
      "RevealTooEarly": []
    },
    {
      "NoCommit": []
    },
    {
      "BadReveal": []
    },
    {
      "AlreadyRevealed": []
    },
    {
      "SelfDealingToken": []
    },
    {
      "SelfDealingOwner": []
    }
  ]
}
Return
None

Parameters
"<UInt64>"
Errors
{
  "Enum": [
    {
      "ParseError": []
    },
    {
      "NotAdmin": []
    },
    {
      "NotVerifier": []
    },
    {
      "NotWorker": []
    },
    {
      "SenderNotAccount": []
    },
    {
      "SameRole": []
    },
    {
      "Paused": []
    },
    {
      "InvalidParam": []
    },
    {
      "AgentNotFound": []
    },
    {
      "AgentNotActive": []
    },
    {
      "NotAgentController": []
    },
    {
      "RegistryCallFailed": []
    },
    {
      "WorkerNotVerified": []
    },
    {
      "WorkerExpired": []
    },
    {
      "WrongResidence": []
    },
    {
      "SelfDealing": []
    },
    {
      "PastDeadline": []
    },
    {
      "BadStatus": []
    },
    {
      "TaskNotFound": []
    },
    {
      "WorkerNotFound": []
    },
    {
      "RefundNotDue": []
    },
    {
      "AlreadyCommitted": []
    },
    {
      "BlindFull": []
    },
    {
      "RevealTooEarly": []
    },
    {
      "NoCommit": []
    },
    {
      "BadReveal": []
    },
    {
      "AlreadyRevealed": []
    },
    {
      "SelfDealingToken": []
    },
    {
      "SelfDealingOwner": []
    }
  ]
}
Return
None

Parameters
{
  "commit": [
    "<UInt8>",
    "<UInt8>",
    "<UInt8>",
    "<UInt8>",
    "<UInt8>",
    "<UInt8>",
    "<UInt8>",
    "<UInt8>",
    "<UInt8>",
    "<UInt8>",
    "<UInt8>",
    "<UInt8>",
    "<UInt8>",
    "<UInt8>",
    "<UInt8>",
    "<UInt8>",
    "<UInt8>",
    "<UInt8>",
    "<UInt8>",
    "<UInt8>",
    "<UInt8>",
    "<UInt8>",
    "<UInt8>",
    "<UInt8>",
    "<UInt8>",
    "<UInt8>",
    "<UInt8>",
    "<UInt8>",
    "<UInt8>",
    "<UInt8>",
    "<UInt8>",
    "<UInt8>"
  ],
  "task_id": "<UInt64>"
}
Errors
{
  "Enum": [
    {
      "ParseError": []
    },
    {
      "NotAdmin": []
    },
    {
      "NotVerifier": []
    },
    {
      "NotWorker": []
    },
    {
      "SenderNotAccount": []
    },
    {
      "SameRole": []
    },
    {
      "Paused": []
    },
    {
      "InvalidParam": []
    },
    {
      "AgentNotFound": []
    },
    {
      "AgentNotActive": []
    },
    {
      "NotAgentController": []
    },
    {
      "RegistryCallFailed": []
    },
    {
      "WorkerNotVerified": []
    },
    {
      "WorkerExpired": []
    },
    {
      "WrongResidence": []
    },
    {
      "SelfDealing": []
    },
    {
      "PastDeadline": []
    },
    {
      "BadStatus": []
    },
    {
      "TaskNotFound": []
    },
    {
      "WorkerNotFound": []
    },
    {
      "RefundNotDue": []
    },
    {
      "AlreadyCommitted": []
    },
    {
      "BlindFull": []
    },
    {
      "RevealTooEarly": []
    },
    {
      "NoCommit": []
    },
    {
      "BadReveal": []
    },
    {
      "AlreadyRevealed": []
    },
    {
      "SelfDealingToken": []
    },
    {
      "SelfDealingOwner": []
    }
  ]
}
Return
None

Parameters
{
  "answer_hash": [
    "<UInt8>",
    "<UInt8>",
    "<UInt8>",
    "<UInt8>",
    "<UInt8>",
    "<UInt8>",
    "<UInt8>",
    "<UInt8>",
    "<UInt8>",
    "<UInt8>",
    "<UInt8>",
    "<UInt8>",
    "<UInt8>",
    "<UInt8>",
    "<UInt8>",
    "<UInt8>",
    "<UInt8>",
    "<UInt8>",
    "<UInt8>",
    "<UInt8>",
    "<UInt8>",
    "<UInt8>",
    "<UInt8>",
    "<UInt8>",
    "<UInt8>",
    "<UInt8>",
    "<UInt8>",
    "<UInt8>",
    "<UInt8>",
    "<UInt8>",
    "<UInt8>",
    "<UInt8>"
  ],
  "salt": [
    "<UInt8>",
    "<UInt8>",
    "<UInt8>",
    "<UInt8>",
    "<UInt8>",
    "<UInt8>",
    "<UInt8>",
    "<UInt8>",
    "<UInt8>",
    "<UInt8>",
    "<UInt8>",
    "<UInt8>",
    "<UInt8>",
    "<UInt8>",
    "<UInt8>",
    "<UInt8>",
    "<UInt8>",
    "<UInt8>",
    "<UInt8>",
    "<UInt8>",
    "<UInt8>",
    "<UInt8>",
    "<UInt8>",
    "<UInt8>",
    "<UInt8>",
    "<UInt8>",
    "<UInt8>",
    "<UInt8>",
    "<UInt8>",
    "<UInt8>",
    "<UInt8>",
    "<UInt8>"
  ],
  "task_id": "<UInt64>"
}
Errors
{
  "Enum": [
    {
      "ParseError": []
    },
    {
      "NotAdmin": []
    },
    {
      "NotVerifier": []
    },
    {
      "NotWorker": []
    },
    {
      "SenderNotAccount": []
    },
    {
      "SameRole": []
    },
    {
      "Paused": []
    },
    {
      "InvalidParam": []
    },
    {
      "AgentNotFound": []
    },
    {
      "AgentNotActive": []
    },
    {
      "NotAgentController": []
    },
    {
      "RegistryCallFailed": []
    },
    {
      "WorkerNotVerified": []
    },
    {
      "WorkerExpired": []
    },
    {
      "WrongResidence": []
    },
    {
      "SelfDealing": []
    },
    {
      "PastDeadline": []
    },
    {
      "BadStatus": []
    },
    {
      "TaskNotFound": []
    },
    {
      "WorkerNotFound": []
    },
    {
      "RefundNotDue": []
    },
    {
      "AlreadyCommitted": []
    },
    {
      "BlindFull": []
    },
    {
      "RevealTooEarly": []
    },
    {
      "NoCommit": []
    },
    {
      "BadReveal": []
    },
    {
      "AlreadyRevealed": []
    },
    {
      "SelfDealingToken": []
    },
    {
      "SelfDealingOwner": []
    }
  ]
}
Return
None

Parameters
{
  "agent_token": "<UInt64>",
  "country": [
    "<UInt8>",
    "<UInt8>"
  ],
  "deadline": "<Timestamp (e.g. `2000-01-01T12:00:00Z`)>",
  "escrow": "<AccountAddress>",
  "wage": "<UInt64>"
}
Errors
{
  "Enum": [
    {
      "ParseError": []
    },
    {
      "NotAdmin": []
    },
    {
      "NotVerifier": []
    },
    {
      "NotWorker": []
    },
    {
      "SenderNotAccount": []
    },
    {
      "SameRole": []
    },
    {
      "Paused": []
    },
    {
      "InvalidParam": []
    },
    {
      "AgentNotFound": []
    },
    {
      "AgentNotActive": []
    },
    {
      "NotAgentController": []
    },
    {
      "RegistryCallFailed": []
    },
    {
      "WorkerNotVerified": []
    },
    {
      "WorkerExpired": []
    },
    {
      "WrongResidence": []
    },
    {
      "SelfDealing": []
    },
    {
      "PastDeadline": []
    },
    {
      "BadStatus": []
    },
    {
      "TaskNotFound": []
    },
    {
      "WorkerNotFound": []
    },
    {
      "RefundNotDue": []
    },
    {
      "AlreadyCommitted": []
    },
    {
      "BlindFull": []
    },
    {
      "RevealTooEarly": []
    },
    {
      "NoCommit": []
    },
    {
      "BadReveal": []
    },
    {
      "AlreadyRevealed": []
    },
    {
      "SelfDealingToken": []
    },
    {
      "SelfDealingOwner": []
    }
  ]
}
Return
None

Parameters
{
  "expires": "<Timestamp (e.g. `2000-01-01T12:00:00Z`)>",
  "residence": [
    "<UInt8>",
    "<UInt8>"
  ],
  "vaa_tx": [
    "<UInt8>",
    "<UInt8>",
    "<UInt8>",
    "<UInt8>",
    "<UInt8>",
    "<UInt8>",
    "<UInt8>",
    "<UInt8>",
    "<UInt8>",
    "<UInt8>",
    "<UInt8>",
    "<UInt8>",
    "<UInt8>",
    "<UInt8>",
    "<UInt8>",
    "<UInt8>",
    "<UInt8>",
    "<UInt8>",
    "<UInt8>",
    "<UInt8>",
    "<UInt8>",
    "<UInt8>",
    "<UInt8>",
    "<UInt8>",
    "<UInt8>",
    "<UInt8>",
    "<UInt8>",
    "<UInt8>",
    "<UInt8>",
    "<UInt8>",
    "<UInt8>",
    "<UInt8>"
  ],
  "worker": "<AccountAddress>"
}
Errors
{
  "Enum": [
    {
      "ParseError": []
    },
    {
      "NotAdmin": []
    },
    {
      "NotVerifier": []
    },
    {
      "NotWorker": []
    },
    {
      "SenderNotAccount": []
    },
    {
      "SameRole": []
    },
    {
      "Paused": []
    },
    {
      "InvalidParam": []
    },
    {
      "AgentNotFound": []
    },
    {
      "AgentNotActive": []
    },
    {
      "NotAgentController": []
    },
    {
      "RegistryCallFailed": []
    },
    {
      "WorkerNotVerified": []
    },
    {
      "WorkerExpired": []
    },
    {
      "WrongResidence": []
    },
    {
      "SelfDealing": []
    },
    {
      "PastDeadline": []
    },
    {
      "BadStatus": []
    },
    {
      "TaskNotFound": []
    },
    {
      "WorkerNotFound": []
    },
    {
      "RefundNotDue": []
    },
    {
      "AlreadyCommitted": []
    },
    {
      "BlindFull": []
    },
    {
      "RevealTooEarly": []
    },
    {
      "NoCommit": []
    },
    {
      "BadReveal": []
    },
    {
      "AlreadyRevealed": []
    },
    {
      "SelfDealingToken": []
    },
    {
      "SelfDealingOwner": []
    }
  ]
}
Return
None

Parameters
"<Bool>"
Errors
{
  "Enum": [
    {
      "ParseError": []
    },
    {
      "NotAdmin": []
    },
    {
      "NotVerifier": []
    },
    {
      "NotWorker": []
    },
    {
      "SenderNotAccount": []
    },
    {
      "SameRole": []
    },
    {
      "Paused": []
    },
    {
      "InvalidParam": []
    },
    {
      "AgentNotFound": []
    },
    {
      "AgentNotActive": []
    },
    {
      "NotAgentController": []
    },
    {
      "RegistryCallFailed": []
    },
    {
      "WorkerNotVerified": []
    },
    {
      "WorkerExpired": []
    },
    {
      "WrongResidence": []
    },
    {
      "SelfDealing": []
    },
    {
      "PastDeadline": []
    },
    {
      "BadStatus": []
    },
    {
      "TaskNotFound": []
    },
    {
      "WorkerNotFound": []
    },
    {
      "RefundNotDue": []
    },
    {
      "AlreadyCommitted": []
    },
    {
      "BlindFull": []
    },
    {
      "RevealTooEarly": []
    },
    {
      "NoCommit": []
    },
    {
      "BadReveal": []
    },
    {
      "AlreadyRevealed": []
    },
    {
      "SelfDealingToken": []
    },
    {
      "SelfDealingOwner": []
    }
  ]
}
Return
None

Parameters
"<AccountAddress>"
Errors
{
  "Enum": [
    {
      "ParseError": []
    },
    {
      "NotAdmin": []
    },
    {
      "NotVerifier": []
    },
    {
      "NotWorker": []
    },
    {
      "SenderNotAccount": []
    },
    {
      "SameRole": []
    },
    {
      "Paused": []
    },
    {
      "InvalidParam": []
    },
    {
      "AgentNotFound": []
    },
    {
      "AgentNotActive": []
    },
    {
      "NotAgentController": []
    },
    {
      "RegistryCallFailed": []
    },
    {
      "WorkerNotVerified": []
    },
    {
      "WorkerExpired": []
    },
    {
      "WrongResidence": []
    },
    {
      "SelfDealing": []
    },
    {
      "PastDeadline": []
    },
    {
      "BadStatus": []
    },
    {
      "TaskNotFound": []
    },
    {
      "WorkerNotFound": []
    },
    {
      "RefundNotDue": []
    },
    {
      "AlreadyCommitted": []
    },
    {
      "BlindFull": []
    },
    {
      "RevealTooEarly": []
    },
    {
      "NoCommit": []
    },
    {
      "BadReveal": []
    },
    {
      "AlreadyRevealed": []
    },
    {
      "SelfDealingToken": []
    },
    {
      "SelfDealingOwner": []
    }
  ]
}
Return
None

Parameters
{
  "proof_hash": [
    "<UInt8>",
    "<UInt8>",
    "<UInt8>",
    "<UInt8>",
    "<UInt8>",
    "<UInt8>",
    "<UInt8>",
    "<UInt8>",
    "<UInt8>",
    "<UInt8>",
    "<UInt8>",
    "<UInt8>",
    "<UInt8>",
    "<UInt8>",
    "<UInt8>",
    "<UInt8>",
    "<UInt8>",
    "<UInt8>",
    "<UInt8>",
    "<UInt8>",
    "<UInt8>",
    "<UInt8>",
    "<UInt8>",
    "<UInt8>",
    "<UInt8>",
    "<UInt8>",
    "<UInt8>",
    "<UInt8>",
    "<UInt8>",
    "<UInt8>",
    "<UInt8>",
    "<UInt8>"
  ],
  "task_id": "<UInt64>"
}
Errors
{
  "Enum": [
    {
      "ParseError": []
    },
    {
      "NotAdmin": []
    },
    {
      "NotVerifier": []
    },
    {
      "NotWorker": []
    },
    {
      "SenderNotAccount": []
    },
    {
      "SameRole": []
    },
    {
      "Paused": []
    },
    {
      "InvalidParam": []
    },
    {
      "AgentNotFound": []
    },
    {
      "AgentNotActive": []
    },
    {
      "NotAgentController": []
    },
    {
      "RegistryCallFailed": []
    },
    {
      "WorkerNotVerified": []
    },
    {
      "WorkerExpired": []
    },
    {
      "WrongResidence": []
    },
    {
      "SelfDealing": []
    },
    {
      "PastDeadline": []
    },
    {
      "BadStatus": []
    },
    {
      "TaskNotFound": []
    },
    {
      "WorkerNotFound": []
    },
    {
      "RefundNotDue": []
    },
    {
      "AlreadyCommitted": []
    },
    {
      "BlindFull": []
    },
    {
      "RevealTooEarly": []
    },
    {
      "NoCommit": []
    },
    {
      "BadReveal": []
    },
    {
      "AlreadyRevealed": []
    },
    {
      "SelfDealingToken": []
    },
    {
      "SelfDealingOwner": []
    }
  ]
}
Return
None

Parameters
None
Errors
{
  "Enum": [
    {
      "ParseError": []
    },
    {
      "NotAdmin": []
    },
    {
      "NotVerifier": []
    },
    {
      "NotWorker": []
    },
    {
      "SenderNotAccount": []
    },
    {
      "SameRole": []
    },
    {
      "Paused": []
    },
    {
      "InvalidParam": []
    },
    {
      "AgentNotFound": []
    },
    {
      "AgentNotActive": []
    },
    {
      "NotAgentController": []
    },
    {
      "RegistryCallFailed": []
    },
    {
      "WorkerNotVerified": []
    },
    {
      "WorkerExpired": []
    },
    {
      "WrongResidence": []
    },
    {
      "SelfDealing": []
    },
    {
      "PastDeadline": []
    },
    {
      "BadStatus": []
    },
    {
      "TaskNotFound": []
    },
    {
      "WorkerNotFound": []
    },
    {
      "RefundNotDue": []
    },
    {
      "AlreadyCommitted": []
    },
    {
      "BlindFull": []
    },
    {
      "RevealTooEarly": []
    },
    {
      "NoCommit": []
    },
    {
      "BadReveal": []
    },
    {
      "AlreadyRevealed": []
    },
    {
      "SelfDealingToken": []
    },
    {
      "SelfDealingOwner": []
    }
  ]
}
Return
{
  "admin": "<AccountAddress>",
  "next_task_id": "<UInt64>",
  "paused": "<Bool>",
  "registry": {
    "index": "<UInt64>",
    "subindex": "<UInt64>"
  },
  "verifier": "<AccountAddress>"
}

Parameters
"<UInt64>"
Errors
{
  "Enum": [
    {
      "ParseError": []
    },
    {
      "NotAdmin": []
    },
    {
      "NotVerifier": []
    },
    {
      "NotWorker": []
    },
    {
      "SenderNotAccount": []
    },
    {
      "SameRole": []
    },
    {
      "Paused": []
    },
    {
      "InvalidParam": []
    },
    {
      "AgentNotFound": []
    },
    {
      "AgentNotActive": []
    },
    {
      "NotAgentController": []
    },
    {
      "RegistryCallFailed": []
    },
    {
      "WorkerNotVerified": []
    },
    {
      "WorkerExpired": []
    },
    {
      "WrongResidence": []
    },
    {
      "SelfDealing": []
    },
    {
      "PastDeadline": []
    },
    {
      "BadStatus": []
    },
    {
      "TaskNotFound": []
    },
    {
      "WorkerNotFound": []
    },
    {
      "RefundNotDue": []
    },
    {
      "AlreadyCommitted": []
    },
    {
      "BlindFull": []
    },
    {
      "RevealTooEarly": []
    },
    {
      "NoCommit": []
    },
    {
      "BadReveal": []
    },
    {
      "AlreadyRevealed": []
    },
    {
      "SelfDealingToken": []
    },
    {
      "SelfDealingOwner": []
    }
  ]
}
Return
{
  "agent_account": "<AccountAddress>",
  "agent_token": "<UInt64>",
  "blind": {
    "Enum": [
      {
        "None": []
      },
      {
        "Some": [
          {
            "commit_a": [
              "<UInt8>",
              "<UInt8>",
              "<UInt8>",
              "<UInt8>",
              "<UInt8>",
              "<UInt8>",
              "<UInt8>",
              "<UInt8>",
              "<UInt8>",
              "<UInt8>",
              "<UInt8>",
              "<UInt8>",
              "<UInt8>",
              "<UInt8>",
              "<UInt8>",
              "<UInt8>",
              "<UInt8>",
              "<UInt8>",
              "<UInt8>",
              "<UInt8>",
              "<UInt8>",
              "<UInt8>",
              "<UInt8>",
              "<UInt8>",
              "<UInt8>",
              "<UInt8>",
              "<UInt8>",
              "<UInt8>",
              "<UInt8>",
              "<UInt8>",
              "<UInt8>",
              "<UInt8>"
            ],
            "commit_b": [
              "<UInt8>",
              "<UInt8>",
              "<UInt8>",
              "<UInt8>",
              "<UInt8>",
              "<UInt8>",
              "<UInt8>",
              "<UInt8>",
              "<UInt8>",
              "<UInt8>",
              "<UInt8>",
              "<UInt8>",
              "<UInt8>",
              "<UInt8>",
              "<UInt8>",
              "<UInt8>",
              "<UInt8>",
              "<UInt8>",
              "<UInt8>",
              "<UInt8>",
              "<UInt8>",
              "<UInt8>",
              "<UInt8>",
              "<UInt8>",
              "<UInt8>",
              "<UInt8>",
              "<UInt8>",
              "<UInt8>",
              "<UInt8>",
              "<UInt8>",
              "<UInt8>",
              "<UInt8>"
            ],
            "matched": {
              "Enum": [
                {
                  "None": []
                },
                {
                  "Some": [
                    "<Bool>"
                  ]
                }
              ]
            },
            "reveal_a": {
              "Enum": [
                {
                  "None": []
                },
                {
                  "Some": [
                    [
                      "<UInt8>",
                      "<UInt8>",
                      "<UInt8>",
                      "<UInt8>",
                      "<UInt8>",
                      "<UInt8>",
                      "<UInt8>",
                      "<UInt8>",
                      "<UInt8>",
                      "<UInt8>",
                      "<UInt8>",
                      "<UInt8>",
                      "<UInt8>",
                      "<UInt8>",
                      "<UInt8>",
                      "<UInt8>",
                      "<UInt8>",
                      "<UInt8>",
                      "<UInt8>",
                      "<UInt8>",
                      "<UInt8>",
                      "<UInt8>",
                      "<UInt8>",
                      "<UInt8>",
                      "<UInt8>",
                      "<UInt8>",
                      "<UInt8>",
                      "<UInt8>",
                      "<UInt8>",
                      "<UInt8>",
                      "<UInt8>",
                      "<UInt8>"
                    ]
                  ]
                }
              ]
            },
            "reveal_b": {
              "Enum": [
                {
                  "None": []
                },
                {
                  "Some": [
                    [
                      "<UInt8>",
                      "<UInt8>",
                      "<UInt8>",
                      "<UInt8>",
                      "<UInt8>",
                      "<UInt8>",
                      "<UInt8>",
                      "<UInt8>",
                      "<UInt8>",
                      "<UInt8>",
                      "<UInt8>",
                      "<UInt8>",
                      "<UInt8>",
                      "<UInt8>",
                      "<UInt8>",
                      "<UInt8>",
                      "<UInt8>",
                      "<UInt8>",
                      "<UInt8>",
                      "<UInt8>",
                      "<UInt8>",
                      "<UInt8>",
                      "<UInt8>",
                      "<UInt8>",
                      "<UInt8>",
                      "<UInt8>",
                      "<UInt8>",
                      "<UInt8>",
                      "<UInt8>",
                      "<UInt8>",
                      "<UInt8>",
                      "<UInt8>"
                    ]
                  ]
                }
              ]
            },
            "worker_a": {
              "Enum": [
                {
                  "None": []
                },
                {
                  "Some": [
                    "<AccountAddress>"
                  ]
                }
              ]
            },
            "worker_b": {
              "Enum": [
                {
                  "None": []
                },
                {
                  "Some": [
                    "<AccountAddress>"
                  ]
                }
              ]
            }
          }
        ]
      }
    ]
  },
  "country": [
    "<UInt8>",
    "<UInt8>"
  ],
  "deadline": "<Timestamp (e.g. `2000-01-01T12:00:00Z`)>",
  "escrow": "<AccountAddress>",
  "proof_hash": {
    "Enum": [
      {
        "None": []
      },
      {
        "Some": [
          [
            "<UInt8>",
            "<UInt8>",
            "<UInt8>",
            "<UInt8>",
            "<UInt8>",
            "<UInt8>",
            "<UInt8>",
            "<UInt8>",
            "<UInt8>",
            "<UInt8>",
            "<UInt8>",
            "<UInt8>",
            "<UInt8>",
            "<UInt8>",
            "<UInt8>",
            "<UInt8>",
            "<UInt8>",
            "<UInt8>",
            "<UInt8>",
            "<UInt8>",
            "<UInt8>",
            "<UInt8>",
            "<UInt8>",
            "<UInt8>",
            "<UInt8>",
            "<UInt8>",
            "<UInt8>",
            "<UInt8>",
            "<UInt8>",
            "<UInt8>",
            "<UInt8>",
            "<UInt8>"
          ]
        ]
      }
    ]
  },
  "status": {
    "Enum": [
      {
        "Posted": []
      },
      {
        "Accepted": []
      },
      {
        "ProofSubmitted": []
      },
      {
        "Released": []
      },
      {
        "Refunded": []
      }
    ]
  },
  "wage": "<UInt64>",
  "worker": {
    "Enum": [
      {
        "None": []
      },
      {
        "Some": [
          "<AccountAddress>"
        ]
      }
    ]
  },
  "worker_token": {
    "Enum": [
      {
        "None": []
      },
      {
        "Some": [
          "<UInt64>"
        ]
      }
    ]
  }
}

Parameters
"<AccountAddress>"
Errors
{
  "Enum": [
    {
      "ParseError": []
    },
    {
      "NotAdmin": []
    },
    {
      "NotVerifier": []
    },
    {
      "NotWorker": []
    },
    {
      "SenderNotAccount": []
    },
    {
      "SameRole": []
    },
    {
      "Paused": []
    },
    {
      "InvalidParam": []
    },
    {
      "AgentNotFound": []
    },
    {
      "AgentNotActive": []
    },
    {
      "NotAgentController": []
    },
    {
      "RegistryCallFailed": []
    },
    {
      "WorkerNotVerified": []
    },
    {
      "WorkerExpired": []
    },
    {
      "WrongResidence": []
    },
    {
      "SelfDealing": []
    },
    {
      "PastDeadline": []
    },
    {
      "BadStatus": []
    },
    {
      "TaskNotFound": []
    },
    {
      "WorkerNotFound": []
    },
    {
      "RefundNotDue": []
    },
    {
      "AlreadyCommitted": []
    },
    {
      "BlindFull": []
    },
    {
      "RevealTooEarly": []
    },
    {
      "NoCommit": []
    },
    {
      "BadReveal": []
    },
    {
      "AlreadyRevealed": []
    },
    {
      "SelfDealingToken": []
    },
    {
      "SelfDealingOwner": []
    }
  ]
}
Return
{
  "expires": "<Timestamp (e.g. `2000-01-01T12:00:00Z`)>",
  "residence": [
    "<UInt8>",
    "<UInt8>"
  ],
  "vaa_tx": [
    "<UInt8>",
    "<UInt8>",
    "<UInt8>",
    "<UInt8>",
    "<UInt8>",
    "<UInt8>",
    "<UInt8>",
    "<UInt8>",
    "<UInt8>",
    "<UInt8>",
    "<UInt8>",
    "<UInt8>",
    "<UInt8>",
    "<UInt8>",
    "<UInt8>",
    "<UInt8>",
    "<UInt8>",
    "<UInt8>",
    "<UInt8>",
    "<UInt8>",
    "<UInt8>",
    "<UInt8>",
    "<UInt8>",
    "<UInt8>",
    "<UInt8>",
    "<UInt8>",
    "<UInt8>",
    "<UInt8>",
    "<UInt8>",
    "<UInt8>",
    "<UInt8>",
    "<UInt8>"
  ]
}
Module Usage