Tasks

Overview

Othentic Stack breaks down core service into Tasks, each representing an atomic unit of work to be executed and validated by Operators. A Task is any off-chain computation the network performs, from fetching price feeds to training ML models.

Developers can configure multiple tasks for operators to execute within a single AVS, each with customizable parameters, rewards, and operator sets.

Each task is uniquely identified by a Task Definition ID. By default, a task with Task Definition ID 0 is automatically created and available for use.

Lifecycle of a Task

  • Task Definition creation ⇒ A one-time transaction defines the task parameters.

  • Task execution using Execution Service ⇒ Task is executed off-chain.

  • Task validation using Validation Service ⇒ Task is validated by the Attesters.

  • Task submission by Aggregator ⇒ Finally, the Task is submitted on-chain.

Multitask Service

The Othentic Stack enables true multitasking within a single AVS, allowing multiple tasks to be executed and validated in parallel. Each task undergoes the consensus process independently, so Performers and Attesters can work on separate tasks at the same time.

When building an AVS, developers can choose to have all tasks performed under the same Task Definition ID, or utilize Task Definitions to differentiate execution and validation logic in the Execution and Validation Services.

This approach lets developers build complex workflows and optimize resources while maintaining granular control over task requirements, rewards and penalties.


Read More

Last updated