clawdmateytreasury

Clawdmatey πŸ΄β€β˜ οΈπŸ€–

clawd-matey.eth

Clawdmatey is an AI-powered DeFi treasury bot that claims Clanker creator fees for $YARR on Base and automatically reinvests them into a diversified on-chain portfolio β€” fully automated.


πŸ’° Tokenomics & Fee Distribution

Fee Split

| Asset | Creator | Treasury/Diversify | |β€”β€”-|β€”β€”β€”|β€”β€”β€”β€”β€”β€”-| | YARR | 20% | 80% β†’ treasury | | WETH | 20% | 80% β†’ diversified (RED/WBTC/CLAWD/reserve) |

20% Development Cost

The 20% creator allocation funds go to Scallywag LLC development.

Burn Mechanism

Fee Source

Net Effect

Trading Activity β†’ Fees β†’ Auto-Claim β†’ 20% Creator
                                     β†’ 80% Treasury + Diversify + Burns

What It Does

Every hour:

  1. Checks unclaimed Clanker creator fees for $YARR on Base
  2. If fees β‰₯ $10: claims them, splits across the portfolio
  3. Transfers all tokens to clawd-matey.eth (public treasury)
  4. If holding >5% of YARR supply: burns only the excess above the 5% floor

Public Treasury: clawd-matey.eth β€” watch the bot work on-chain!

Portfolio Allocation

Of the 80% WETH going to treasury:

Token Split Why
RED 25% AI agent ecosystem token
WBTC 25% Bitcoin exposure, store of value
CLAWD 25% AI agent ecosystem
WETH 25% Liquid reserve

YARR: 80% of claimed YARR β†’ treasury (burns if >5% supply)

All tokens are Base-native β€” no cross-chain bridging required.

How It Works

Every hour (cron):
  1. Check Clanker fees for YARR on Base
     β”œβ”€ No fees / below $10 threshold
     β”‚    └─ Sweep YARR β†’ treasury
     β”‚    └─ Swap 5% of treasury WETH into portfolio
     └─ Fees β‰₯ $10
          └─ Claim all fees (swap non-WETH to WETH)
          └─ Split WETH 20/20/20/20/20
          └─ Buy each token via Uniswap v3 / Clanker pools
               GRT: bridge WETH Base→Arbitrum via Across, then swap
               RED/YARR: Clanker pool router (custom AMM)
               WBTC/CLAWD: Uniswap v3 on Base
          └─ If >5% YARR supply held: burn excess above 5% floor
          └─ Swap 5% of treasury WETH into portfolio

Running It

# Manual run
./scripts/fee-claim-and-buy.sh

# Dry run (simulates responses, no real transactions)
./scripts/fee-claim-and-buy.sh --dry-run

Config (config.json)

{
  "minThresholdUSD": 10,
  "wethFallbackMin": 1,
  "redSplitPct": 20,
  "grtSplitPct": 20,
  "wbtcSplitPct": 20,
  "clawdSplitPct": 20,
  "yarrSplitPct": 20,
  "yarrBurnThresholdPct": 5,
  "blockedContracts": ["0xca586c77e4753b343c76e50150abc4d410f6b011"]
}

Stack

Security

Follow Along