Skip to content

Farcaster-Attestation/delegate-attestation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

72 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Delegate Attestation

Overview

Delegate Attestation is an onchain implementation that utilizes the Ethereum Attestation Service (EAS) for issuing attestations to the top 100 delegates in Optimism's governance system.

EAS Schema

https://optimism.easscan.org/schema/view/0x8e2611b956fe603041d7fea2c8616c5e0dfb50becf30f640ab3154e4534eecd9

Deployments

Components

  • attester: An indexer that periodically retrieves the list of top delegates from the Agora API, compares it to the on-chain smart contracts, and—whenever it detects a discrepancy—submits an on-chain transaction to bring the on-chain data back into sync.
  • contracts: Provide an EAS resolver contract that will calculate delegated OP fully onchain for both direct and subdelegation.
  • subgraph: The subgraph indexes about delegation event from OP contract and subdelegation from Alligator contract. This subgraph is also have daily snapshot of latest change on direct delegation for each delegates.

About

Fully onchain OP top 100 delegate attestation system

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •