> ## Documentation Index
> Fetch the complete documentation index at: https://docs.shodai.network/llms.txt
> Use this file to discover all available pages before exploring further.

# Contracts

> Find current Agreements Protocol EVM contract addresses and verified source links.

For the complete documentation index, see [llms.txt](https://docs.shodai.network/llms.txt).

Use this page when you need to inspect deployed onchain execution contracts directly, verify source code, or confirm a factory address used for low-level signing.

The `AgreementFactory` address is the `verifyingContract` for deploy permit signatures. Each deployed agreement is an `AgreementEngine` clone created by the factory. Input permit signatures use the deployed agreement address as the `verifyingContract`.

The TypeScript SDK resolves factory addresses from its protocol deployment registry for the selected `chainId`. The table below mirrors the current registry deployments.

## Current deployments

| Network | Chain ID | Contract | Address | Verified source |
| - | - | - | - | - |
| Base Mainnet | `8453` | `AgreementFactory` | `0x76dAA59C02d902e7063E6328D2E64ACee6CC121e` | [Verified source](https://basescan.org/address/0x76dAA59C02d902e7063E6328D2E64ACee6CC121e#code) |
| Base Mainnet | `8453` | `AgreementEngine` implementation | `0x1c2961AC5e2fBE47b3C0654d7dF543dB04F031A6` | [Verified source](https://basescan.org/address/0x1c2961AC5e2fBE47b3C0654d7dF543dB04F031A6#code) |
| Linea Sepolia | `59141` | `AgreementFactory` | `0x26Ff3AdEC23fC5778f190371B1CcCadDa74e26c8` | [Verified source](https://sepolia.lineascan.build/address/0x26Ff3AdEC23fC5778f190371B1CcCadDa74e26c8#code) |
| Linea Sepolia | `59141` | `AgreementEngine` implementation | `0x1F0f9c889E6c762D8D5669c65a1A8fDFbEe38664` | [Verified source](https://sepolia.lineascan.build/address/0x1F0f9c889E6c762D8D5669c65a1A8fDFbEe38664#code) |
| Linea Mainnet | `59144` | `AgreementFactory` | `0xB772Ea12546fd7153Bf1F5ED7266B8faB0dAD6C9` | [Verified source](https://lineascan.build/address/0xB772Ea12546fd7153Bf1F5ED7266B8faB0dAD6C9#code) |
| Linea Mainnet | `59144` | `AgreementEngine` implementation | `0x9263A3a927939Aa76bE7bFa1850A1ef50454e122` | [Verified source](https://lineascan.build/address/0x9263A3a927939Aa76bE7bFa1850A1ef50454e122#code) |
| Base Sepolia | `84532` | `AgreementFactory` | `0x76dAA59C02d902e7063E6328D2E64ACee6CC121e` | [Verified source](https://sepolia.basescan.org/address/0x76dAA59C02d902e7063E6328D2E64ACee6CC121e#code) |
| Base Sepolia | `84532` | `AgreementEngine` implementation | `0x1c2961AC5e2fBE47b3C0654d7dF543dB04F031A6` | [Verified source](https://sepolia.basescan.org/address/0x1c2961AC5e2fBE47b3C0654d7dF543dB04F031A6#code) |
| Ethereum Sepolia | `11155111` | `AgreementFactory` | `0x76dAA59C02d902e7063E6328D2E64ACee6CC121e` | [Verified source](https://sepolia.etherscan.io/address/0x76dAA59C02d902e7063E6328D2E64ACee6CC121e#code) |
| Ethereum Sepolia | `11155111` | `AgreementEngine` implementation | `0x1c2961AC5e2fBE47b3C0654d7dF543dB04F031A6` | [Verified source](https://sepolia.etherscan.io/address/0x1c2961AC5e2fBE47b3C0654d7dF543dB04F031A6#code) |

The verified source links open each network explorer's code tab.

## Contract roles

| Contract | Role |
| - | - |
| `AgreementFactory` | Deploys new agreement instances and verifies deploy permit signatures. Use this address as the factory address for direct deploy signing. |
| `AgreementEngine` implementation | Shared implementation for agreement clone instances. Each deployed agreement clone stores its own document hash, state, inputs, transitions, verifier registrations, initialization values, and optional actions. |

For low-level typed data, see [EIP-712 Signing Reference](/reference/eip-712-signing). For the execution model, see [Onchain execution engine](/system-architecture/on-chain).


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.