Skip to content

Commit

Permalink
update-service-components-order.md (#84)
Browse files Browse the repository at this point in the history
Now the components are arranged in the same order as the modules in the graphic, making it easier to understand
  • Loading branch information
warcin101 authored Dec 20, 2024
1 parent 04c447b commit 7eb18ab
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions docs/avs/service-components.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,14 +17,6 @@ Subsequently, it extracts the timestamp and calculates the median price from the
Simultaneously, it checks the current price and timestamp returned by the smart contract.
If the price has changed by more than a predefined deviation or if more than a specified time has passed since the last update, the calculated result is sent to the aggregator.

## Aggregator

The Aggregator acts as a hub, receiving results computed by the Task Performer.
These results are sent to a pool of Attesters, who have previously registered with the AVS network through the Aggregator.
The Aggregator then monitors for events originating from Attesters, specifically signed votes indicating their approval or disapproval of the verified result.
These votes are aggregated into a collective BLS signature.
Finally, the consolidated result from the Task Performer, accompanied by the BLS signature, is transmitted to the corresponding smart contract deployed on the blockchain.

## Attester

Attesters are responsible for verifying the result calculated by the Performer and casting a vote either in favor or against based on this verification.
Expand All @@ -39,6 +31,14 @@ For each node, it checks if its public key is included in a predetermined whitel
Additionally, the median and timestamp calculated by the Performer are verified.
The verification result, a Boolean value, is returned to the Attester.

## Aggregator

The Aggregator acts as a hub, receiving results computed by the Task Performer.
These results are sent to a pool of Attesters, who have previously registered with the AVS network through the Aggregator.
The Aggregator then monitors for events originating from Attesters, specifically signed votes indicating their approval or disapproval of the verified result.
These votes are aggregated into a collective BLS signature.
Finally, the consolidated result from the Task Performer, accompanied by the BLS signature, is transmitted to the corresponding smart contract deployed on the blockchain.

## Smart contracts

After being verified by Attesters, the Task Performer's result is sent to the blockchain.
Expand Down

0 comments on commit 7eb18ab

Please sign in to comment.