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

# Smart contracts

## Source code

Grace contracts source code can be found on the official Github repository:

{% embed url="<https://github.com/GraceProtocol/grace-protocol>" %}

## Live Deployments

{% tabs %}
{% tab title="Ethereum" %}

<table><thead><tr><th width="224">Name</th><th>Address</th></tr></thead><tbody><tr><td>Core</td><td>0x164dd1f4174020642967bea521e56fc776742b49</td></tr><tr><td>Oracle</td><td>0x9a4b2f3669cc3e415fce39e32bd57bb5dfd64e16</td></tr><tr><td>PoolDeployer</td><td>0x2c039b25201e85edb94fe844c7002d7f5b19bc10</td></tr><tr><td>CollateralDeployer</td><td>0x0c95bf53cf5b3d05289c4aac86bd8cdafe44647b</td></tr><tr><td>RateProvider</td><td>0x6c2edef87b6e2de7a0b8d7ebd2fe8eb4ef0694c4</td></tr><tr><td>Interest RateModel</td><td>0x1522ad0a3250eb0f64e0acfe090ca40949330cc1</td></tr><tr><td>Collateral RateModel</td><td>0x43e7381b1611fe6a11eae25e91bc70f5eda241d8</td></tr><tr><td>BorrowController</td><td>0x6f25f5a2789fa92ed47e3bde75c211a488dfd9cf</td></tr><tr><td>Lens</td><td>0x88a134ecd0c1dd20b14ab8f49f9f8b60291167bc</td></tr><tr><td>GTR</td><td>0xd921552c27f5e420fc8565cbff0724cb84a7f0f4</td></tr><tr><td>Reserve</td><td>0x296d571864e04e0fbf470fdf037a5ee30fc16a11</td></tr><tr><td>VaultFactory</td><td>0xafb659e53554ceac0d49aafe4524add603caff3f</td></tr><tr><td>ClaimHelper</td><td>0x0ff94681b96d2cdbe5df80380612d58955644615</td></tr><tr><td>DOLA Pool</td><td>0x332ce425328b5d20bf581101bce099d98dc12686</td></tr><tr><td>USDC Pool</td><td>0xf80c614b5f92450d932e4047c6476dfe7a25c850</td></tr><tr><td>DAI Pool</td><td>0xf20f296a3901bfbc66230e5c332ada8a4e482761</td></tr><tr><td>USDT Pool</td><td>0x107c6a6b3196e68a3b1b874e767abf4399694f55</td></tr><tr><td>DOLA Vault</td><td>0x53b3AEFe30C8d3169D076f021bD50Da3Fdbff731</td></tr><tr><td>USDC Vault</td><td>0x13050015783747bd7084fA44Cd297cF4DA7bcC72</td></tr><tr><td>DAI Vault</td><td>0x2228b8603d0EB56E66A365ae9A86fd9E3859aaEe</td></tr><tr><td>USDT Vault</td><td>0x3522C808483c92Db2343B39A448AC37F48057e39</td></tr><tr><td>WBTC Collateral</td><td>0x9B55214aE4fE177a395cd138136e7e66f2268f66</td></tr><tr><td>WETH Collateral</td><td>0x5C4688e5271D4DfAD4e91F13B4804452Aa8d326f</td></tr><tr><td>wstETH Collateral</td><td>0xCDbB333fF4AEb007Bc5566fF609997f8F0Bed7ed</td></tr></tbody></table>
{% endtab %}

{% tab title="Base" %}

<table><thead><tr><th width="237">Name</th><th>Address</th></tr></thead><tbody><tr><td>Core</td><td>0x1522ad0a3250eb0f64e0acfe090ca40949330cc1</td></tr><tr><td>Oracle</td><td>0x2c039b25201e85edb94fe844c7002d7f5b19bc10</td></tr><tr><td>PoolDeployer</td><td>0x5eb0df003ac658241686b79fc93a4b9be18b0ebf</td></tr><tr><td>CollateralDeployer</td><td>0x5dc3b4d9ca0c5023520876aa3a29deed972d0364</td></tr><tr><td>RateProvider</td><td>0x0c95bf53cf5b3d05289c4aac86bd8cdafe44647b</td></tr><tr><td>Interest RateModel</td><td>0x4ae260196CcF9F251AfdC7b532cC93D11a21fB80</td></tr><tr><td>Collateral RateModel</td><td>0x472c2d61bF28fe869273697667F6E6166DE82d82</td></tr><tr><td>BorrowController</td><td>0x9a4b2f3669cc3e415fce39e32bd57bb5dfd64e16</td></tr><tr><td>Lens</td><td>0x6f25f5a2789fa92ed47e3bde75c211a488dfd9cf</td></tr><tr><td>GTR</td><td>0x88a134ecd0c1dd20b14ab8f49f9f8b60291167bc</td></tr><tr><td>Reserve</td><td>0x164dd1f4174020642967bea521e56fc776742b49</td></tr><tr><td>VaultFactory</td><td>0x383d2111197b74e3363206db8730daaad6ddc0f4</td></tr><tr><td>DOLA Pool</td><td>0x808bcf1170c8427996d199230ae13b3f16f934e6</td></tr><tr><td>USDC Pool</td><td>0xd82d7300e5d3b3db85594e9171af9d58d6628366</td></tr><tr><td>DOLA Vault</td><td>0xa0e9e2bd79c2e44c15c2949c0c3659979ea13456</td></tr><tr><td>USDC Vault</td><td>0xcf96d3a655fecd570a11d758e945bc50631c3640</td></tr><tr><td>WETH Collateral</td><td>0xdb7869ffb1e46dd86746ea7403fa2bb5caf7fa46</td></tr><tr><td>AERO Collateral</td><td>0x5d84bb226a39d67d7b7a01ad0c77223a03735494</td></tr><tr><td>cbETH Collateral</td><td>0x6F6850a67253b606a4569614fC4BA5ef3dF90A39</td></tr><tr><td>DEGEN Collateral</td><td>0xd7D0fCDfa85d5627679d8248fD74A7556877b622</td></tr></tbody></table>
{% endtab %}
{% endtabs %}

## Bug reports

Users are encouraged to report any potential smart contract bugs to the team. For more information, visit the following page:

{% content-ref url="/pages/TReFHEY8Mc6n2hoVG0UM" %}
[Security](/technical/security.md)
{% endcontent-ref %}


---

# 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, and the optional `goal` query parameter:

```
GET https://docs.grace.loans/technical/smart-contracts.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
