Internal Task Handler
Last updated
Last updated
The InternalTaskHandler
contract on L2 is one of the core component of the Othentic AVS framework handling . It is responsible for processing and executing system-level tasks that are delegated by the AttestationCenter
.
These tasks include:
Internal administrative transactions
Returns the block number of the last committed update from L1.
Returns the block number of the last committed update from L2.
Returns the address of the current AttestationCenter
contract.
Internal Transactions Execution 10002
Weights Update 10003
Access is restricted to the ATTESTATION_CENTER
role.
Handles voting power sync tasks. Decodes a VotingPowerUpdate
struct and updates voting power for Operators using the OBLS contract. It also includes checks against duplicate or future block submissions.
Handles weight update tasks. Decodes an array of WeightUpdate
structs and emits a message via the MessageHandler
contract for cross-chain propagation.
This task normalizes validator weights according to external factors like token prices or other economic metrics.
Processes internal OBLS-specific administrative transactions to update voting power per task for restricted operators. This is restricted only to certain method selectors on the OBLS contract.
Processes a task from the AttestationCenter
. Based on the , the appropriate internal function is triggered:
10001