# Contract Namer

Complete ABI for the Contract Namer contract.

## Import

```ts
import { contractNamerV2Abi } from "@ensforge/contracts/v2";
```

## Usage

:::code-group
```ts [contract.ts]
import { getContract } from "viem";

const contract = getContract({
  address,
  abi: contractNamerV2Abi,
  client: publicClient,
});
```

```ts [client.ts]
// [!include ~/snippets/contracts/client.ts]
```
:::

## Exports

| Export               | Description                                             |
| -------------------- | ------------------------------------------------------- |
| `contractNamerV2Abi` | Immutable ABI value with viem-compatible literal types. |

## Entrypoint

`@ensforge/contracts/v2`

Exports are immutable and can be passed directly to viem contract, log, encoding, and decoding
utilities.

## When to use

Use the complete ABI when one integration needs several unrelated functions or event families from
this contract. For a single SDK action, prefer the corresponding focused fragment to minimize
bundled ABI data.

## Type Safety

Exports retain literal TypeScript types, so viem can infer valid function names, arguments, return
values, and event fields without a manual cast.

```ts
type Export = typeof contractNamerV2Abi;
```
