> For the complete documentation index, see [llms.txt](https://hxz-1.gitbook.io/redelegator-finance/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://hxz-1.gitbook.io/redelegator-finance/deployments/contracts-and-addresses.md).

# Contracts & Addresses

> Redelegator deploys **no custom contracts** — it composes existing on-chain contracts. Below are the addresses the app **interacts with** (tokens, protocols, and the MetaMask delegation framework). The only "deployment" is upgrading the agent EOAs to `Stateless7702` smart accounts via EIP-7702.

```mermaid
graph TD
  App["Redelegator app — no custom contracts"]
  App --> T["Tokens (ERC-20): USDC · WETH · wstETH"]
  App --> L["LI.FI Diamond — routing + swaps"]
  App --> U["Uniswap v3 — pool + NonfungiblePositionManager"]
  App --> M["MetaMask Smart Accounts Kit — DelegationManager + Stateless7702 agents"]
```

#### Tokens & protocols

| Name                                    | Address                                      |
| --------------------------------------- | -------------------------------------------- |
| USDC                                    | `0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913` |
| WETH                                    | `0x4200000000000000000000000000000000000006` |
| wstETH                                  | `0xc1CBa3fCea344f92D9239c08C0568f6F2F0ee452` |
| LI.FI Diamond                           | `0x1231DEB6f5749EF6cE6943a275A1D3E7486F4EaE` |
| Uniswap v3 — USDC/WETH 0.05% pool       | `0xd0b53d9277642d899df5c87a3966a349a798f224` |
| Uniswap v3 — NonfungiblePositionManager | `0x03a520b32C04BF3bEEf7BEb72E919cf822Ed34f1` |

#### Framework

| Name              | Source                                                                                                                                                   |
| ----------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------- |
| DelegationManager | Resolved from `@metamask/smart-accounts-kit` (`delegationManagerAddress()`)                                                                              |
| Agent accounts    | Plain EOAs upgraded to MetaMask `Stateless7702` smart accounts (EIP-7702) via `pnpm upgrade-agents`; addresses are per-deployment, keys server-side only |

> ℹ️ Token/contract addresses are overridable via `NEXT_PUBLIC_*` env vars (`NEXT_PUBLIC_USDC_ADDRESS`, `NEXT_PUBLIC_LIDO_ADDRESS`, `NEXT_PUBLIC_LIFI_DIAMOND`) — see `.env.example`.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://hxz-1.gitbook.io/redelegator-finance/deployments/contracts-and-addresses.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
