Oracle
An Oracle is a decentralized role that sends permissioned transactions to the smart contract with critical information that cannot otherwise be efficiently obtained directly by the smart contract. These transactions include:
- Diva Validators Total Balance: Reports the total balance of active Diva validators, those in the creation process, or those pending exit on the Beacon Chain.
- Operator Rewards: Provides the root of a Merkle tree containing the calculated rewards for each operator based on their performance. This performance includes block creation and accurate participation in attestation duties. Additionally, the Oracle generates and provides the Merkle proof so that operators can claim their rewards from the smart contract.