Protocols / Smart Wallet
DeFi Saver
DeFi Saver gives each user a smart wallet (DSProxy) that runs DeFi recipes, such as leverage, repay and collateral actions across Aave, Morpho, Compound, Liquity and others. Automation bots can execute saved strategies when a trigger fires. An agent can find a user's wallet, look up contract addresses in the registry, and build recipes for the wallet to execute.
On-chainEVM11 contractsWebsite · Docs
get_protocol({ "protocol": "defi-saver" })Risks an agent should know
- Recipes run with the power of the user's smart wallet. A wrong recipe can move or approve funds, so simulate and check each action before sending.
- Automated strategies are executed by DeFi Saver's bots. Users must authorize subscriptions, and they can be cancelled.
- Contracts are upgradable through the DFSRegistry, which has a wait period on changes. Addresses can change over time.
- Each underlying lending protocol carries its own liquidation and market risk.
What an agent can do
| find-wallet | Find a user's DeFi Saver smart wallet DFSProxyRegistryV2.getMcdProxy(owner) on the chain; the zero address means none |
| run-recipe | Execute a recipe through the user's smart wallet build the recipe (name, callData[], subData[], actionIds[], paramMapping[]) with each action's id from DFSRegistry.getAddr, then call the user's wallet proxy to run RecipeExecutor.executeRecipe |
| lookup-address | Get the current address of a DeFi Saver contract DFSRegistry.getAddr(bytes4 id) on the chain; do not hardcode executor addresses |
Contracts
ethereum · chain id 1
| Contract | Address | Key functions | Try |
|---|---|---|---|
| DFSProxyRegistryV2 registry | 0x0cCB1F91beb8590949880D2a61C26C11d6280319 source | readgetMcdProxy(address) readgetAllProxies(address) readMCD_REGISTRY() | Full ABI |
| DFSRegistry registry | 0x287778F121F134C66212FB16c9b53eC991D32f5b source | readgetAddr(bytes4) readisRegistered(bytes4) | Full ABI |
| RecipeExecutor other | 0x6e7dEde13E011Eee74E0c731A06c158377fc1Cae source | writeexecuteRecipe((string,bytes[],bytes32[],bytes4[],uint8[][])) writeexecuteRecipeFromTxSaver((string,bytes[],bytes32[],bytes4[],uint8[][]),(uint256,address,uint256,uint256,bool)) | Full ABI |
| StrategyExecutor other | 0x3727C31D4D4c5270290FFb20C4C358C84c0792C9 source | writeexecuteStrategy(uint256,uint256,bytes[],bytes[],(uint64,bool,bytes[],bytes32[])) | Full ABI |
arbitrum · chain id 42161
| Contract | Address | Key functions | Try |
|---|---|---|---|
| DFSProxyRegistryV2 registry | 0x4fe554C08d0e0a1f52ba83F334f65bc618140D89 source | readgetMcdProxy(address) readgetAllProxies(address) | Full ABI |
| RecipeExecutor other | 0x1674Df46e92A393d6B29139BF8C2d2885F40F7B2 source | writeexecuteRecipe((string,bytes[],bytes32[],bytes4[],uint8[][])) writeexecuteRecipeFromTxSaver((string,bytes[],bytes32[],bytes4[],uint8[][]),(uint256,address,uint256,uint256,bool)) | Full ABI |
| StrategyExecutorL2 other | 0xe4719f2d5b85F589B809AC8A1b9463238836325c source | writeexecuteStrategy(uint256,uint256,bytes[],bytes[]) | Full ABI |
base · chain id 8453
| Contract | Address | Key functions | Try |
|---|---|---|---|
| DFSProxyRegistryV2 registry | 0x28C8bCf583bD10dc718A7596d1bEFF23990d1907 source | readgetMcdProxy(address) readgetAllProxies(address) | Full ABI |
| RecipeExecutor other | 0xB81865b724eF6DAc41DFf125E5445701924ea19D source | writeexecuteRecipe((string,bytes[],bytes32[],bytes4[],uint8[][])) writeexecuteRecipeFromTxSaver((string,bytes[],bytes32[],bytes4[],uint8[][]),(uint256,address,uint256,uint256,bool)) | Full ABI |
optimism · chain id 10
| Contract | Address | Key functions | Try |
|---|---|---|---|
| DFSProxyRegistryV2 registry | 0xa1651732a4F6a9aec2261304a7E2cd5790A224e5 source | readgetMcdProxy(address) readgetAllProxies(address) | Full ABI |
| RecipeExecutor other | 0x3296C0f3Ff67B00306e5Ce251CDfA1E0160F5742 source | writeexecuteRecipe((string,bytes[],bytes32[],bytes4[],uint8[][])) writeexecuteRecipeFromTxSaver((string,bytes[],bytes32[],bytes4[],uint8[][]),(uint256,address,uint256,uint256,bool)) | Full ABI |
Notes
Addresses come from the addresses folder of the official defisaver/defisaver-v3-contracts repo (mainnet.json, arbitrum.json, base.json, optimism.json). The DeFi Saver docs link to a DecenterApps copy of the repo; the addresses here are from the defisaver org repo. Each contract listed has code on its chain, and the DFSProxyRegistryV2, DFSRegistry and RecipeExecutor ABIs were checked on Sourcify (the StrategyExecutor entries were checked on Sourcify as well). The per-action contracts (AaveV3Supply, MorphoBlueBorrow, and so on) are not listed; get their ids from DFSRegistry.getAddr. A wallet creation function was not confirmed on the registry ABI, so none is listed. Solana and the DeFi Saver Perps product are not covered.
Sources
- https://docs.defisaver.com
- https://github.com/DecenterApps/defisaver-v3-contracts
- https://api.github.com/repos/defisaver/defisaver-v3-contracts/contents/addresses
- https://raw.githubusercontent.com/defisaver/defisaver-v3-contracts/main/addresses/mainnet.json
- https://raw.githubusercontent.com/defisaver/defisaver-v3-contracts/main/addresses/arbitrum.json
- https://raw.githubusercontent.com/defisaver/defisaver-v3-contracts/main/addresses/base.json
- https://raw.githubusercontent.com/defisaver/defisaver-v3-contracts/main/addresses/optimism.json
- https://api.llama.fi/protocol/defi-saver-asset-management
- https://defillama.com/protocol/defi-saver-asset-management
Researched 2026-11-28. Addresses are copied from the official sources above; check them before moving large amounts.