CURATIUM
All docs pages
Overview
Vaults
Markets and risk
Prices
Backstop and $CURA
Curation vote
Revenue
SDK, MCP and addresses

SDK, MCP and addresses

viem actions

import { createPublicClient, http, parseAbi } from "viem";
const vault = "0x85E34579581cCF3863CB486AdA148080F158f160";
const abi = parseAbi([
  "function deposit(uint256 assets, address receiver) returns (uint256)",
  "function redeem(uint256 shares, address receiver, address owner) returns (uint256)",
  "function convertToAssets(uint256) view returns (uint256)",
  "function balanceOf(address) view returns (uint256)",
]);
// deposit: approve USDC to the vault, then
await wallet.writeContract({ address: vault, abi, functionName: "deposit", args: [amount, user] });
// position
const shares = await client.readContract({ address: vault, abi, functionName: "balanceOf", args: [user] });
const assets = await client.readContract({ address: vault, abi, functionName: "convertToAssets", args: [shares] });

APY is computed as Morpho's own SDK does: the AdaptiveCurveIrm's borrowRateView per second, compounded over a year, times utilisation, weighted by the vault's position in each market, minus the performance fee.

MCP

A keyless MCP endpoint (JSON-RPC over HTTP) at /api/mcp with four tools: vaults, markets, quote_apy, deposit_calldata. An agent can read the vaults and build deposit calldata; it never holds keys.

curl -s https://<site>/api/mcp -H 'content-type: application/json' \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"deposit_calldata","arguments":{"vault":"usdc","amount":"1","receiver":"0x…"}}}'

Addresses (Elysium, 99901)

priceHub0xf6998C8DB094e1BC509F0CCa63f65E281AAcCCcd
oracleWhypeUsdc0x4672cf336e3852F3384c2D04A14E5C58d3cAE96c
oracleKhypeUsdc0x2D0be06223844f953C5004b79b7bF9A246A1CCe1
oracleKhypeWhype0xea44C1505c8823b307a22992bB89676fEf007c1F
oracleKntqUsdc0x78bE203d47e10b385d0d8Aa1e18e96cA92cB4836
metaMorphoFactory0x4c7Ea3803B7682E8Db2B49dE65FF6fC2F5F2c1Ca
backstop0x1d622186C41A01b57a46B0983Bb13cbbF7781753
kntqBurner0x78eCd36c5BeAbE35189f5B5d7176dB296f65f42F
treasury0x1848Fba1b19Ab13C663FED8C139ec7A11102dd39
vaultUsdc0x85E34579581cCF3863CB486AdA148080F158f160
vaultHype0x3f4D45C64A1408D5506AE929Af17A0a2D5355fff
governor0x2beeC1aE99B911377Da9657814CB83358545c5Fd
vaultOwner0x386949DF57f7b596304D089890071a497B6baE0b
coreSnapshotter_hyperevm0x4741bfd0eA1AAe8332999d87edA4FaD39A1d0ABA
Morpho Blue0xf4f231dEA43d33b2fe7E04CDC6F703F9fF83397b
USDC0xb47c4C8F73F009CC0C0d3f92B388d13E293F0B65
WHYPE0xbA876237B0F021A6c6D852d6c26E107997cC5E81
kHYPE0x248888D396A546A69A188f3Deb476964e581E9d0
KNTQ0xe45a355d9e9cAd2aD85F2d03E3eE3102A036acF0