> For the complete documentation index, see [llms.txt](https://docs.kiln.fi/v1/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.kiln.fi/v1/kiln-products/omnivaults/security/source-code.md).

# Source code

If you want to perform your own code review, you can use the verified contract links on common block explorers like Etherscan.

All the code is available under the BUSL-1.1 licence.

## Ethereum mainnet <a href="#ethereum-mainnet" id="ethereum-mainnet"></a>

| Smart Contract                      | Link                                                                                                                  |
| ----------------------------------- | --------------------------------------------------------------------------------------------------------------------- |
| Vault Implementation                | [0x869855168858364368e62A5D1D092cc1dbD31f5a](https://etherscan.io/address/0x869855168858364368e62A5D1D092cc1dbD31f5a) |
| VaultUpgradeableBeacon              | [0x15f7f910e5a8c86e609fd11c58f7342d86d3a25c](https://etherscan.io/address/0x15f7f910e5a8c86e609fd11c58f7342d86d3a25c) |
| ConnectorRegistry                   | [0xdE63817c82e93499357aE198518f90Ac1bE93A72](https://etherscan.io/address/0x15f7f910e5a8c86e609fd11c58f7342d86d3a25c) |
| VaultFactory                        | [0xe175F13eB9383bCC61822Ca17ecB02038b00030D](https://etherscan.io/address/0xe175F13eB9383bCC61822Ca17ecB02038b00030D) |
| BlockList                           | [0x7e7F84Da187117e06AbB03E1454E07Af42D0E4BE](https://etherscan.io/address/0x7e7F84Da187117e06AbB03E1454E07Af42D0E4BE) |
| AaveV3Connector                     | [0x08c28e1c82C09487DCB15a3e0839e8C888EeE3CD](https://etherscan.io/address/0x08c28e1c82C09487DCB15a3e0839e8C888EeE3CD) |
| CompoundV3Connector                 | [0xbeaa30DCB697CFFB64E319A3Fc4b0688Be5aE790](https://etherscan.io/address/0xbeaa30DCB697CFFB64E319A3Fc4b0688Be5aE790) |
| CompoundV3MarketRegistry            | [0x08f80358Ce68363Ec06304cE667F1727246C852D](https://etherscan.io/address/0x08f80358Ce68363Ec06304cE667F1727246C852D) |
| SDAIConnector                       | [0x22Fc700401FABbB7de1872461E8733d74e02f88a](https://etherscan.io/address/0x22Fc700401FABbB7de1872461E8733d74e02f88a) |
| MetamorphoConnector                 | [0xDa5FfFCF097A95E0aE6e6eC9b966da5ba89844f2](https://etherscan.io/address/0x3443Ea9BcC9E1E515e567a278bDae103e7324d1d) |
| AngleSavingConnector                | [0x3443Ea9BcC9E1E515e567a278bDae103e7324d1d](https://etherscan.io/address/0x3443Ea9BcC9E1E515e567a278bDae103e7324d1d) |
| CompoundV3MarketRegistry            | [0x08f80358Ce68363Ec06304cE667F1727246C852D](https://etherscan.io/address/0x08f80358Ce68363Ec06304cE667F1727246C852D) |
| Proxy (Bitcoin.com Spark DAI vault) | [0xF4918Ef824a242602E0d3e5DB07fFd4DaC4ad3Ea](https://etherscan.io/address/0xF4918Ef824a242602E0d3e5DB07fFd4DaC4ad3Ea) |

## BNB mainnet <a href="#bnb-mainnet" id="bnb-mainnet"></a>

| Smart Contract                  | Link                                                                                                                 |
| ------------------------------- | -------------------------------------------------------------------------------------------------------------------- |
| Vault Implementation            | [0x5B5E6f108B2FBB72789A35D4E8FDD2f4822f4Fde](https://bscscan.com/address/0x5B5E6f108B2FBB72789A35D4E8FDD2f4822f4Fde) |
| VaultUpgradeableBeacon          | [0x50006F2C5C914cEF560ceeD7686f038480199202](https://bscscan.com/address/0x50006F2C5C914cEF560ceeD7686f038480199202) |
| ConnectorRegistry               | [0xFeE955a07E92A772933B6326150D857635791a3E](https://bscscan.com/address/0xFeE955a07E92A772933B6326150D857635791a3E) |
| VaultFactory                    | [0xab13884Afd9180Da85391Bf0b455cD256bc5F921](https://bscscan.com/address/0xab13884Afd9180Da85391Bf0b455cD256bc5F921) |
| BlockList                       | [0x53bDbd3bDA9ecFA6E479da69de0C2C3428e431f7](https://bscscan.com/address/0x53bDbd3bDA9ecFA6E479da69de0C2C3428e431f7) |
| AaveV3Connector                 | [0x7cC875AbA6dE71c484205482A950F56bc1963726](https://bscscan.com/address/0x7cC875AbA6dE71c484205482A950F56bc1963726) |
| VenusConnector                  | [0x045d8C112645301565935f250f4520008c26F50F](https://bscscan.com/address/0x045d8C112645301565935f250f4520008c26F50F) |
| Proxy (Cool Wallet AaveV3 USDT) | [0x4d1806C26A728f2e1b82b4549b9E074DBE5940B9](https://bscscan.com/address/0x4d1806C26A728f2e1b82b4549b9E074DBE5940B9) |

## Arbitrum mainnet <a href="#arbitrum-mainnet" id="arbitrum-mainnet"></a>

| Smart Contract                   | Link                                                                                                                                             |
| -------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------ |
| Vault Implementation             | [0xacF8cafa86795Cd30A8cBB7157a75ef4c118D7E7](https://arbiscan.io/address/0xacF8cafa86795Cd30A8cBB7157a75ef4c118D7E7)                             |
| VaultUpgradeableBeacon           | [0xB03DDF4375E879B8E3bc240527bc55988c975ac4](https://arbiscan.io/address/0xB03DDF4375E879B8E3bc240527bc55988c975ac4)                             |
| ConnectorRegistry                | [0xDceF4a9535becd16c4ec149980445a4DeA976D89](https://arbiscan.io/address/0xDceF4a9535becd16c4ec149980445a4DeA976D89)                             |
| VaultFactory                     | [0x9fe6B2c958ba79b9EEf48608678eB6Be1Dbc6bD0](https://arbiscan.io/address/0x9fe6B2c958ba79b9EEf48608678eB6Be1Dbc6bD0)                             |
| BlockList                        | [0x27f264eC0003e7309CC4A7201D4cC8b6fa46afd7](https://arbiscan.io/address/0x27f264eC0003e7309CC4A7201D4cC8b6fa46afd7)                             |
| AaveV3Connector                  | [0x3990c145f71A32ff0A3A20cDa2090B9A786eb9aD](https://arbiscan.io/address/0x3990c145f71A32ff0A3A20cDa2090B9A786eb9aD)                             |
| CompoundV3Connector              | [0xB9B55f53dBfBCD46a8B85083054E4bbe1073AD53](https://arbiscan.io/address/0xB9B55f53dBfBCD46a8B85083054E4bbe1073AD53)                             |
| CompoundV3MarketRegistry         | [0x9cb057f462BBd076E5dD30C5f5d5dfa97ab006D3](https://arbiscan.io/address/https://arbiscan.io/address/0x9cb057f462BBd076E5dD30C5f5d5dfa97ab006D3) |
| Proxy (Bitnovo Compound v3 USDC) | [0x19A0F016Ac3989e754ab8216810beD8503bDA37e](https://arbiscan.io/address/0x19A0F016Ac3989e754ab8216810beD8503bDA37e)                             |

## Polygon mainnet <a href="#polygon-mainnet" id="polygon-mainnet"></a>

| Smart Contract                  | Link                                                                                                                     |
| ------------------------------- | ------------------------------------------------------------------------------------------------------------------------ |
| Vault Implementation            | [0x39fc3bd5a3f909498224bAD8118eE3F4d11fA426](https://polygonscan.com/address/0x39fc3bd5a3f909498224bAD8118eE3F4d11fA426) |
| VaultUpgradeableBeacon          | [0x89312A13D978820F15bC9414ef6ec9cC004C5D1f](https://polygonscan.com/address/0x89312A13D978820F15bC9414ef6ec9cC004C5D1f) |
| ConnectorRegistry               | [0xf2a98992c5B5c6560488A22a9D994CB0f416D2dD](https://polygonscan.com/address/0xf2a98992c5B5c6560488A22a9D994CB0f416D2dD) |
| VaultFactory                    | [0xd02b8601644E8c39f0206583df6D59d349A54c68](https://polygonscan.com/address/0xd02b8601644E8c39f0206583df6D59d349A54c68) |
| BlockList                       | [0xf7e7Afa6eD4094cb3e7A2BB7690ec4d83c9Dc879](https://polygonscan.com/address/0xf7e7Afa6eD4094cb3e7A2BB7690ec4d83c9Dc879) |
| AaveV3Connector                 | [0xB37b7048873D90c68B997F6D078648e866F17287](https://polygonscan.com/address/0xB37b7048873D90c68B997F6D078648e866F17287) |
| Proxy (Cool Wallet AaveV3 USDT) | [0x03441c89e7b751bb570f9dc8c92702b127c52c51](https://polygonscan.com/address/0x03441c89e7b751bb570f9dc8c92702b127c52c51) |

## Optimism mainnet <a href="#optimism-mainnet" id="optimism-mainnet"></a>

| Smart Contract              | Link                                                                                                                             |
| --------------------------- | -------------------------------------------------------------------------------------------------------------------------------- |
| Vault Implementation        | [0x14C01e411Dbf8e648214458dab5558D46c84619A](https://optimistic.etherscan.io/address/0x14C01e411Dbf8e648214458dab5558D46c84619A) |
| VaultUpgradeableBeacon      | [0xE1CacE168150265E1b1bC6E9c1636B747928a1D8](https://optimistic.etherscan.io/address/0xE1CacE168150265E1b1bC6E9c1636B747928a1D8) |
| ConnectorRegistry           | [0x307320C7323EB80C721c41469BEE3776Fa8A96D2](https://optimistic.etherscan.io/address/0x307320C7323EB80C721c41469BEE3776Fa8A96D2) |
| VaultFactory                | [0xFbfef9bceE4b5c7991Af296c486D4022A21E447D](https://optimistic.etherscan.io/address/0xFbfef9bceE4b5c7991Af296c486D4022A21E447D) |
| BlockList                   | [0xBaC0694104D9F0e55a81384d24e26e3553FB5a4C](https://optimistic.etherscan.io/address/0xBaC0694104D9F0e55a81384d24e26e3553FB5a4C) |
| AaveV3Connector             | [0x3511d6378322BDBA40a59891Ec61f9A7C387667f](https://optimistic.etherscan.io/address/0x3511d6378322BDBA40a59891Ec61f9A7C387667f) |
| Proxy (Dakota AAVE v3 USDC) | [0xb9ebff375d5eade50ed561f611754902f70e34cf](https://optimistic.etherscan.io/address/0xb9ebff375d5eade50ed561f611754902f70e34cf) |

## Base mainnet

| Smart contract         | Link                                                                                                                  |
| ---------------------- | --------------------------------------------------------------------------------------------------------------------- |
| Vault Implementation   | [0xDEDDCc8D5C0b9D920Dc7a3BEC1Fc112C40379ca8](https://basescan.org/address/0xDEDDCc8D5C0b9D920Dc7a3BEC1Fc112C40379ca8) |
| VaultUpgradeableBeacon | [0x1D011ff40899e22fcBa7ac1DeDCf227a1B4974DB](https://basescan.org/address/0x1D011ff40899e22fcBa7ac1DeDCf227a1B4974DB) |
| ConnectorRegistry      | [0x3D72BfC5a2368BCD7f019c061843B06De3EbBFFd](https://basescan.org/address/0x3D72BfC5a2368BCD7f019c061843B06De3EbBFFd) |
| VaultFactory           | [0x7feAdEe6b31934e81C39F925d935470C0a0AEC47](https://basescan.org/address/0x7feAdEe6b31934e81C39F925d935470C0a0AEC47) |
| BlockList              | [0xdf6D22e02d3c86cB769fAdf12ccd8eCe425E3F8e](https://basescan.org/address/0xdf6D22e02d3c86cB769fAdf12ccd8eCe425E3F8e) |
| AaveV3Connector        | [0x611E4996BE1dd6b7777A593949E3b60446c21113](https://basescan.org/address/0x611E4996BE1dd6b7777A593949E3b60446c21113) |
| CompoundV3Connector    | [0x2eF8cb41DD108d429bf8D664d6fb907C8d71753b](https://basescan.org/address/0x2eF8cb41DD108d429bf8D664d6fb907C8d71753b) |
| MetamorphoConnector    | [0xe4B3e16AA6c028c676852dEfe2Fd742050ee1E03](https://basescan.org/address/0xe4B3e16AA6c028c676852dEfe2Fd742050ee1E03) |


---

# 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://docs.kiln.fi/v1/kiln-products/omnivaults/security/source-code.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.
