# Contracts

Othentic CLI streamlines the deployment of contracts and allows users to configure various operations.&#x20;

#### Layer 1 contracts

The following contracts are deployed:

1. [AvsGovernance](https://docs.othentic.xyz/main/reference/contracts/avs-governance) for managing operators and governance policies.&#x20;
2. [L1MessageHandler](https://docs.othentic.xyz/main/reference/contracts/message-handlers) endpoint for broadcasting messages to L2 contracts.
3. [L1AvsTreasury](https://docs.othentic.xyz/main/reference/contracts/treasury) contract for managing rewards and handling protocol fee.
4. [RedistributionManager](https://docs.othentic.xyz/main/reference/contracts/redistribution-manager) contract for managing slashed funds.

#### Layer 2 contracts

The following contracts are deployed:

1. [AttestationCenter](https://docs.othentic.xyz/main/reference/contracts/attestation-center) for task verification, rewards, slashing and historical footprint.&#x20;
2. [OBLS](https://docs.othentic.xyz/main/reference/contracts/obls) implements Multisig operations and handles BLS signature aggregation.
3. [L2MessageHandler](https://docs.othentic.xyz/main/reference/contracts/message-handlers) complementary to `l1MessageHandler` , used for communicating with L1 components
4. [L2AvsTreasury](https://docs.othentic.xyz/main/reference/contracts/treasury) contract for managing rewards and handling protocol fee.
5. [InternalTaskHandler](https://docs.othentic.xyz/main/reference/contracts/internal-task-handler) contract for managing and handling [Internal Tasks](https://docs.othentic.xyz/main/learn/advanced-concepts/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](https://docs.layerzero.network/v2/home/modular-security/security-stack-dvns) to exchange messages between the layers. [L1MessageHandler](https://docs.othentic.xyz/main/reference/message-handlers#l1-message-handler) interacts directly with `AvsGovernance` and [L2MessageHandler](https://docs.othentic.xyz/main/reference/contracts/message-handlers) interacts directly with `AttestationCenter`.&#x20;
