Internal Tasks
Overview
Internal Tasks are consensus-based modules for ongoing maintenance of the AVS network. Each module is purpose-built for a specific function and is carried out by the AVS Operators.
Each internal task is:
Registered with a unique Task Definition ID
Validated by Attesters
Scheduled based on frequency configured via environment variables, which can vary depending on the operational requirements.
The execution and validation of internal tasks are facilitated by the same operator set and consensus engine used by the AVS, ensuring that they adhere to the same consensus standards as core AVS Tasks.


Whenever an internal task is executed, a proof of task is generated. The generated proof, along with task execution data, is broadcast internally to the P2P network. Attesters validate the execution by verifying the proof and recalculating expected outcomes.
Usage
Guide: Configure Internal Tasks - step-by-step instructions to run Internal Tasks.
Types of Internal Tasks
1. Sync Voting Power
Task Definition ID: 10001
Task Name: VOTING_POWER_SYNC
The Operator's voting power is proportional to the amount of (re)stake assets locked to secure the AVS, and determine the influence of individual Operators over the consensus process.
Voting Power Calculation and Syncing Logic
Fetches the voting power from both L1 and L2
Computes the difference
Broadcasts a proposed voting power update to the P2P network.
Attesters validate the proposed update against recalculated values.
2. Voting Power Sync Per Task Definition
Task Definition ID: 10002
Task Name: VOTING_POWER_PER_TASK_DEFINITION_SYNC
This task synchronizes voting power specific to each task definition.
3. Update Weights
Task Definition ID: 10003
Task Name: WEIGHTS_UPDATE
It is responsible for periodically updating validator weights across Layer 2 chains in the Othentic AVS framework. These weights influence the voting power of validators and reflect the latest token economics and strategy multipliers, such as token prices.
Weights Update Calculation
Validator weights determine the relative influence of staking contracts in the consensus process. The WeightsUpdateTask:
Fetches the latest weights data from an external TokenDataService, which accounts for factors like token prices, multipliers, and staking balances.
Encodes this weights data into a format suitable for on-chain transactions.
Broadcasts these updates as internal tasks to the Othentic network on all configured Layer 2 chains.
Ensures the validator set's voting power stays aligned with dynamic market and token conditions.
By adjusting weights periodically, the system maintains fairness and accuracy in voting power distribution reflecting real-world token prices.
Last updated