The Task is executed off-chain, with the result of the computation being attested by multiple operators' signatures. These signatures are subsequently aggregated before the final validation and on-chain value writing occurs.
Exocore-AVS-Task Lifecycle (Flow)
Each task request follows a specific process. To illustrate this, let's examine the example of summing two numbers.
The Task Generator entity transmits the two numbers to be summed to the AVS contract.
The AVS contract emits a NewTaskCreated event, representing the two numbers to be summed.
Operators listen to the AVS contract for this event, perform the summation, sign the result using a BLS signature, and transmit their signature to the Aggregator entity.
The Aggregator consolidates these signatures into a single aggregated signature using BLS signature aggregation. Once the required threshold is met, the Aggregator submits the aggregated signature back to the AVS contract.
The AVS contract verifies that the thresholds have been met and that the aggregated signature is valid. Upon successful verification, the execution result is accepted.
Task Creation
The following parameters are utilized to create tasks and can use them to register essential information on the Exocore Network:
# Execute the following command to query the task statusexocoredqueryavsSubmitTaskResult0x96949787E6a209AFb4dE035754F79DC9982D3F2a17exo1mq6pj6f5tafmgkk6lehew5radfq3w20gpegzs5# Response outputResponse:BLSSignature:ad9b563bc7d986b4e39207e644b90c1286c4c0169000d4b54fce0fcb4e167b91d5b2f5e31d3428564050ca281f818f4009c58d93a775a0fc8f38cc95a6d258ec009bc283843ee98191df47f00c13b04d1e1529b24aef2d2f7a2e21718e704dd3+V8mot+EvfxmOperatorAddress:exo1mq6pj6f5tafmgkk6lehew5radfq3w20gpegzs5Stage:2TaskContractAddress:0x96949787E6a209AFb4dE035754F79DC9982D3F2aTaskID:2TaskResponse:eyJUYXNrSUQiOjEsIk51bWJlclN1bSI6MTAwfQ==TaskResponseHash:0x597bd5ccb1a3a7fbd0ae6a83ece927a0ec100ac5c0a3910e2a32a90eef97ce18