Watchtower Architecture
Software Architecture - client, APIs and contracts
Architecture

Watchtower client
Proof of Diligence

List of Key Smart Contracts and their key functions
1. OperatorRegistry
addToOperatorWhitelist([OperatorAddress])
suspend(operator)
registerWatchtowerAsOperator(watchtower, expiry, signedMessage)
deRegister(watchtowerAddress)
2. DiligenceProofManager
setPoDClaimBounties(_chainID, _claimBounties)
setPoIClaimBounties(_chainID, _claimBounties)
submitPoDProof (chainID, l2_blockNumber, proofOfDiligence, signatureProofOfDiligence)
submitPoIProof (chainID, l2_blockNumber, proofOfDiligence, signatureProofOfDiligence)
3. AlertManager
raiseAlert(chainID, l2BlockNumber, originalOutputRoot, computedOutputRoot, proofofDiligence)
getAlerts(chainID,L2BlockNumber)
4. WitnessHub (AVS ServiceManager Contract)
updateRewards (chainID, blockNumBegin, blockNumEnd, operatorsList, proofRewards, rewardHash)
Aggregator
Last updated