Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Challenger ¶
type Challenger struct { Ctx context.Context Cfg *ChallengerConfig EigenDaContract *bindings.BVMEigenDataLayrChain RawEigenContract *bind.BoundContract WalletAddr common.Address EigenABI *abi.ABI L1ChainClient *l1l2client.L1ChainClient GraphClient *graphView.GraphClient GraphqlClient *graphql.Client // contains filtered or unexported fields }
func NewChallenger ¶
func NewChallenger(ctx context.Context, cfg *ChallengerConfig) (*Challenger, error)
If any datastore contains this fraud string
func (*Challenger) Start ¶
func (c *Challenger) Start() error
func (*Challenger) Stop ¶
func (c *Challenger) Stop()
type ChallengerConfig ¶
type ChallengerConfig struct { L1Client *l1l2client.L1ChainClient L2Client *l2ethclient.Client EigenContractAddr common.Address Logger *logging.Logger PrivKey *ecdsa.PrivateKey GraphProvider string RetrieverSocket string KzgConfig KzgConfig LastStoreNumber uint64 Timeout time.Duration }
type DataLayrDisclosureProof ¶
type DataLayrDisclosureProof struct { Header []byte Polys [][]byte MultirevealProofs []datalayr.MultiRevealProof BatchPolyEquivalenceProof [4]*big.Int StartingChunkIndex int }
func (*DataLayrDisclosureProof) ToDisclosureProofs ¶
func (fp *DataLayrDisclosureProof) ToDisclosureProofs() rc.BVMEigenDataLayrChainDisclosureProofs
type FraudProof ¶
type FraudProof struct { DataLayrDisclosureProof StartingSymbolIndex int }
Click to show internal directories.
Click to hide internal directories.