Vaults · Structured Products · Capital Protection · Tranching
Smart contract engineer on EVM chains, focused on vaults and structured products: capital protection, tranching, and curated lending. Previously at Blok Capital, where I co-architected a modular multichain wealth management protocol (Diamond proxy vaults, a DAO-governed Facet Registry, multiple yield strategies, onchain indices with automated rebalancing, cross-chain USDC via CCTP and CCIP). Since then I have gone deep on the structured-products side of DeFi, building and writing about the machinery that lets serious capital come onchain.
CPPI Capital-Protected Vault: an onchain vault that defends a principal floor by rule, shifting capital between a risky and a safe asset as the buffer above the floor grows or shrinks (wstETH for staking yield, a Pendle PT for a fixed rate). Backtested across 104 rolling 12-month terms with a jump-diffusion model. Now extending it with tranching, so a junior tranche absorbs the gap risk a rebalancing rule cannot.
Index Protocol: a pooled, async market-cap index vault on ERC-7540, with a capping and free-float methodology engine and CoW-based rebalancing. Designed around the supply oracle as the central risk.
Long-form on vault architecture and structured products.
- The Road to the Complete Vault — the vault standard from ERC-4626 to 7540/7575/6909 to BoringVault and the curator era, into a rubric for a complete vault.
- Onchain Lending is Missing CPPI: A Loan That Defends Its Own Collateral — why capital protection gates institutional capital.
- A Portfolio That Defends Itself — capital protection as a portfolio that holds its own floor by rule.
More on X / Twitter.
| Repo | What it is |
|---|---|
| cppi-vault | CPPI capital-protected vault: rule-based floor defense, wstETH + Pendle PT |
| index-protocol | Async ERC-7540 market-cap index vault with methodology engine and CoW rebalancing |
| Diamond-Storage-Detector | Static-analysis CLI for storage-slot collisions across EIP-2535 facets (Nick Mudge endorsed) |
| Vault-Router | ERC-4626 + EIP-2535 Diamond vault routing across Morpho, Aave, Pendle |
Languages Solidity · Rust · TypeScript
Frameworks Foundry · Hardhat · OpenZeppelin
Vault standards ERC-4626 · ERC-7540 · ERC-7575 · ERC-6909
Other standards EIP-2535 · ERC-7579 · ERC-4337 · ERC-1967
DeFi protocols Morpho · Aave · Pendle · Uniswap V4 · Chainlink
Cross-chain CCTP · CCIP
Infra Dune · Tenderly · The Graph · Foundry fuzzing
Uniswap V4 Incubator (Atrium) · Smart Contract Security, Advanced Foundry, Advanced Uniswap V3 (Cyfrin Updraft) · Web3 Dev, Blockchain Security Expert, Fintech Expert (101 Blockchains)
- X / Twitter: @0xjayeshyadav
- LinkedIn: linkedin.com/in/jayeshy14
- Email: jayeshnyadav497@gmail.com
Open to conversations on vault architecture, structured products, capital protection, and tranching.

