Contracts

Othentic CLI streamlines the deployment of contracts and allows users to configure various operations.

Layer 1 contracts

The following contracts are deployed:

  1. AvsGovernance for managing operators and governance policies.

  2. L1MessageHandler endpoint for broadcasting messages to L2 contracts.

  3. L1AvsTreasury contract for managing rewards and handling protocol fee.

Layer 2 contracts

The following contracts are deployed:

  1. AttestationCenter for task verification, rewards, slashing and historical footprint.

  2. OBLS implements Multisig operations and handles BLS signature aggregation.

  3. L2MessageHandler complementary to l1MessageHandler , used for communicating with L1 components

  4. L2AvsTreasury contract for managing rewards and handling protocol fee.

  5. InternalTaskHandler contract for managing and handling Internal Tasks.

To minimize costs and availability associated with running your AVS, AvsGovernance and AttestationCenter are being deployed on L1 and L2 (respectively). The Othentic Stack utilizes DVN to exchange messages between the layers. L1MessageHandler interacts directly with AvsGovernance and L2MessageHandler interacts directly with AttestationCenter.

Last updated