> For the complete documentation index, see [llms.txt](https://docs.sodex.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.sodex.com/for-developers/developers/wealth/contracts.md).

# Wealth Contracts

Factory, beacon, builder-fee, and recurring-buy contract addresses are listed below. Per-fund vault, market, asset, and subscription addresses change with each deployment — load them before submitting a request.

## Core contracts

| Contract        | Mainnet                                      |
| --------------- | -------------------------------------------- |
| VaultFactory    | `0x0ec2Ac77656d83e6B74B03e2a704ce656C4954D6` |
| Vault Beacon    | `0x04f26Ae15c97a53B10f6EA275eBB5E0f084Eae41` |
| Market Factory  | `0x75eeDBC8D93ecB93895e2d3cAaDFf265bA4716C8` |
| Market Beacon   | `0x495AA25FFe9Ac264264389220B4349Fe113E09F5` |
| BuilderRegistry | `0x638c784760FD1eE465F1bDaF721268ACA24D5A22` |
| TigrisRFQ       | `0x4Aa5E39956aCADd68bE0B6720a030Be3C14a6239` |

BuilderRegistry stores each user's builder-fee cap. TigrisRFQ is the RFQ contract that attaches `builderFeeData` on buy and sell. See [Builder Integration](/for-developers/developers/wealth/builder.md).

### Recurring buy contracts

| Contract                     | Mainnet                                      |
| ---------------------------- | -------------------------------------------- |
| AutomaticInvestment          | `0x76f8064b1B0f091D8f86D2EB203631D44B685146` |
| AutomaticInvestmentDeposit   | `0x355Be5eEE2965050Bd056f7cb0dFAAeD3cB11964` |
| AutomaticInvestmentExecution | `0x89149246cc0f3a576fA45E0377264C5BF9aDca70` |
| SodexExecutor                | `0x53a35Eb5Dd0B25B6F704dA7f6EcBBeCC151501dd` |

AutomaticInvestment schedules recurring-buy plans. AutomaticInvestmentDeposit is the USDC share ledger that prefunds those plans. AutomaticInvestmentExecution custodies each vault's execution until claim. SodexExecutor holds USDC for trading and returns vault tokens on settlement. Create a plan and prefund it on [Recurring Buys](/for-developers/developers/wealth/recurring-buys.md). Read plans with [Recurring Buy Plans API](/for-developers/api-reference/wealth-api/recurring-buys.md).

## Available vault contracts

`GET /api/v1/wealth/funds` returns listed funds. `fundType` is `escrow_vault`, `clob`, or `bridged_vault`. The vault methods on this page are for `escrow_vault`. A `clob` fund is a SoDEX RWA token and trades on CLOB. A `bridged_vault` follows [trading status](/for-developers/api-reference/wealth-api/trading.md#trading-status). Filter the list instead of using a static vault table.

```bash
curl -fsS 'https://mainnet-gw.sodex.dev/api/v1/wealth/funds' \
  -H 'Accept: application/json' |
  jq '[.data[] | select(.fundType == "escrow_vault")]'
```

Then load [Fund Information](/for-developers/api-reference/wealth-api/funds.md#get-fund-information) for an `escrow_vault` `fundId`. The response `contracts` object is the current vault, market, asset, and subscription deployment. Do not hardcode per-fund addresses. An address alone does not mean the fund is accepting deposits or redemptions.

```bash
curl -fsS 'https://mainnet-gw.sodex.dev/api/v1/wealth/funds/CXMT' \
  -H 'Accept: application/json' |
  jq '.data.contracts'
```

Replace `fundId` with an `escrow_vault` identifier from the fund list. Use the returned contracts with [Vault Lifecycle](/for-developers/developers/wealth/vault-lifecycle.md) and the [vault contract methods](/for-developers/api-reference/wealth-api/vault-contracts.md).

Example `contracts` objects:

### CXMT

| Contract     | Address                                      |
| ------------ | -------------------------------------------- |
| vault        | `0x9876b381a94876ea8fea56b625e15556fb450629` |
| market       | `0xfc1ffe2f3c39a2c126d26dcd45d03439e491ecec` |
| asset        | `0xcb7f80dff2727c791fa491722c428e6657f7e2c6` |
| subscription | `0xecb74e25a87fe8793175894ebac01c72677f13b8` |

### UNITREE

| Contract     | Address                                      |
| ------------ | -------------------------------------------- |
| vault        | `0x67531aef9ce1ad5af176d0940bb8dfb0e1c1ecbe` |
| market       | `0x830db93620edf3c3b611ada257b910bf97c8da85` |
| asset        | `0xcb7f80dff2727c791fa491722c428e6657f7e2c6` |
| subscription | `0x701ebb547442f43047e06d59470445480e2705c7` |
