---
name: mamo-336e507d323a
description: Interact with Mamo DeFi yield strategies on Base (Moonwell). Deposit/withdraw USDC, cbBTC, MAMO, or ETH into automated yield strategies. Check APY rates and account status.
version: 1.0.0
metadata: {"clawdbot":{"emoji":"🐮","category":"defi","requires":{"bins":["node"]}}}
---

# Mamo — DeFi Yield Aggregator (Moonwell on Base)

Mamo is a DeFi yield aggregator built by Moonwell on Base chain. It deploys per-user smart contracts that split deposits between Moonwell core markets and Morpho vaults for optimized yield, with auto-compounding of rewards.

**Chain:** Base (8453)
**Strategies:** USDC stablecoin, cbBTC lending, ETH lending, MAMO staking

## Setup

```bash
cd ~/clawd/skills/mamo/scripts  # or wherever this skill lives
npm install
export MAMO_WALLET_KEY=0x...     # wallet private key
export MAMO_RPC_URL=https://...  # optional, defaults to Base public RPC
```

## Commands

```bash
# Create a yield strategy (deploys your personal strategy contract via on-chain factory)
node mamo.mjs create usdc_stablecoin
node mamo.mjs create cbbtc_lending
node mamo.mjs create eth_lending

# Deposit tokens (approve + deposit to your strategy contract)
node mamo.mjs deposit 100 usdc
node mamo.mjs deposit 0.5 cbbtc

# Withdraw tokens
node mamo.mjs withdraw 50 usdc
node mamo.mjs withdraw all cbbtc

# Account overview — wallet balances + strategy positions
node mamo.mjs status

# Current APY rates
node mamo.mjs apy
node mamo.mjs apy usdc_stablecoin
```

## How It Works

1. **Create strategy** → Calls the on-chain StrategyFactory to deploy a personal proxy contract owned by your wallet
2. **Deposit** → CLI approves token spend, then calls `deposit(amount)` on your strategy contract
3. **Yield accrues** → Strategy splits funds between Moonwell + Morpho, auto-compounds rewards via CowSwap
4. **Withdraw** → Only the owner (your wallet) can withdraw. Funds go directly to your wallet

Strategy addresses are stored locally in `~/.config/mamo/strategies.json` (the on-chain registry may not be updated for user-created strategies).

## Key Addresses

| Token | Address |
|-------|---------|
| USDC | `0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913` |
| cbBTC | `0xcbB7C0000aB88B473b1f5aFd9ef808440eed33Bf` |
| MAMO | `0x7300b37dfdfab110d83290a29dfb31b1740219fe` |
| Registry | `0x46a5624C2ba92c08aBA4B206297052EDf14baa92` |

## Security

- Use a **dedicated hot wallet** — not your main holdings
- Only deposit what you're comfortable having in a hot wallet
- Store `MAMO_WALLET_KEY` in env vars, never in committed files
- All transactions are simulated before sending


---
Source attribution: kbarbel640-del
Original project: https://github.com/kbarbel640-del/skills/blob/e7e336ac628c3e3bd771aff1aaa469c93778f94a/skills/anajuliabit/mamo/SKILL.md
License: MIT
License information: https://opensource.org/license/mit
Original upstream instructions; downloaded from Mega AI Hub.

## Upstream license notice

MIT License

Copyright (c) 2026 clawdbot

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.



# Mega AI Hub resource metadata

Creator / publisher: kbarbel640-del
Original project: https://github.com/kbarbel640-del/skills/blob/e7e336ac628c3e3bd771aff1aaa469c93778f94a/skills/anajuliabit/mamo/SKILL.md
Attribution basis: Source repository record

Fields of work: Finance & Accounting, Marketing
Roles: Financial Analyst, Growth Marketer, Product Marketer
Specialties: API
Tools: Moonwell, Node
Country applicability: Country not specified
Classification basis: Source catalog labels
Instruction SHA-256: 1b693e30fb5b6bdf0ee636d0b5a32341255b2090f394732e51961b898be970f7
