Skip to content
View saintsama98's full-sized avatar

Block or report saintsama98

Block user

Prevent this user from interacting with your repositories and sending you notifications. Learn more about blocking users.

You must be logged in to block users.

Content in all repositories owned by your account will be closed.
Maximum 250 characters. Please don’t include any personal information such as legal names or email addresses. Markdown is supported. This note will only be visible to you.
Report abuse

Contact GitHub support about this user’s behavior. Learn more about reporting abuse.

Report abuse
saintsama98/README.md

adiii.eth

adiii

Smart Contract Engineer | Protocol Research
Onchain credit · Vaults · Tranching and credit risk · Fixed rate lending

X  |  adiii.eth.limo  |  Paragraph  |  Email

I build the financial layer that sits on top of onchain credit: the vaults that hold it, the tranches that decide who is paid first and who absorbs a loss, and the pricing and risk rules behind both. I was one of the founding engineers at Blok Capital, an onchain portfolio management protocol. I have shipped several onchain capital structures as early beta builds, and designed and built Morrow, the first risk product on top of Morpho Midnight, now in early beta. I believe every product should stand on a strong suite of financial modelling, formal verification and Foundry based testing before it ships.


Experience

Blok Capital  |  Smart Contract Engineer, Core Protocol

Core engineer on Blok Capital's v1 protocol, a decentralized wealth management system of per user vaults built as EIP-2535 Diamonds and composed from a curated registry of protocol integration facets.

Built across the core protocol: integration facets for lending, fixed yield and perpetuals venues such as Morpho and Pendle, hardening of the Diamond facet surface, the offchain engine that computes and routes index rebalances, the first design of the multichain layer, and the token reward lock contracts with their unit, fuzz and invariant test suites. Alongside the engineering, researched the core protocol design end to end: how the vault architecture, facet registry, upgrade rules and integration surface fit together, and where the security boundaries sit.

Core contracts: BLOKCapital/blokc-v1-core


Featured: Morrow

Dated senior and junior credit tranches on Morpho Midnight, behind two vault tokens.

Morpho Midnight gave onchain credit fixed maturities. Morrow gives that credit a capital structure. One pool of fixed rate loans is split into a senior claim, paid first up to a fixed amount, and a junior claim that takes the first loss and keeps the residual. Lenders hold only srUSDC or jrUSDC, while capital runs through dated series that settle at maturity and roll automatically into the next.

Seniority cannot exist inside a Midnight market, where every lender shares losses pro rata, so Morrow builds it above the market. The premium senior pays junior is priced per series along a kinked curve that moves with the size of the junior cushion. The waterfall, the pricing and every rounding direction are checked against an independent integer reference model, proven symbolically with Halmos within stated bounds, and stress tested on a Base mainnet fork through replayed crashes, depegs, defaults and bad debt.

Repository  |  Announcement  |  The arithmetic behind tranching


Current Research

Tranching protects a senior holder from losses, but not from waiting to get out. I am researching an exit layer for fixed term credit and tokenized bonds, modelled on the tender option bond that municipal markets have used for decades. A trust holds the slow moving asset and splits it into a senior token with a put at par and a residual token that takes first loss, so exits are refinanced into new owners backed by committed liquidity instead of waiting in an issuer queue. Morrow is the first candidate. The repository is not public yet.

Read the research thread


Writing

Piece About
Dated Credit and Structured Liabilities Why onchain credit still has no liability side
Seven Architectures for Risk Tranching Live tranching designs and how they behaved under stress
The Arithmetic Behind Tranching The capital model under Morrow, in exact integers
Credit Vaults: Parts Unknown, ACRED A tokenized credit fund, from a Morpho loan to its quarterly exit
Where the Fee Hides in the Ten Largest Vaults Fee and exit rules across 12.6 billion dollars of vaults
The Limits of Vaultification Why most onchain vaults are constrained escrows
Banana Markets A meta vault routing USDC across four lending venues
Recurring Flywheel Around Stablecoins Where stablecoin dominance is actually won

Stack

Area Tools
Languages Solidity, Go, Python
Testing Foundry (unit, fuzz, invariant, fork), Echidna, Medusa, mutation and differential testing
Analysis and verification Slither, Aderyn, Halmos symbolic execution (Z3, CVC5, Bitwuzla, Yices), exact arithmetic reference models
Standards ERC-4626, ERC-7540, ERC-7887, EIP-2535, ERC-7201, UUPS
Lending and yield Morpho (Blue, Midnight, Vaults), Pendle, Aave, Compound, Ethena, Sky, Spark
Credit and structured products Centrifuge, Maple, Pareto, Securitize, Strata, Royco
Infrastructure Chainlink, Zama

Contact

Open to engineering and research roles in onchain credit, vaults and structured products.

X: @0xPutAmaterasu  |  adiii.eth.limo  |  adiiiresearch@gmail.com

Pinned Loading

  1. BLOKCapital/blokc-v1-core BLOKCapital/blokc-v1-core Public

    BLOK Capital Protocol V1 Core Contracts

    Solidity 3

  2. Morrow-Finance-Gob Morrow-Finance-Gob Public

    auto roller and trancher for underlying protocols like morpho midnight | Re: fixed credit, risk, ERC4626 vaults

    Solidity

  3. Awesome-Tranching Awesome-Tranching Public

    Re: major tranching mechanics from flagships in defi

  4. Propane-Privacy Propane-Privacy Public

    compliance layer for institutions as end users just like Securitize's DS protocol onchain, using Zama's intrinsic secure model | Re: institutional compliance, encryption models, onchain finance

    Solidity

  5. Gauge-Keeper-Go Gauge-Keeper-Go Public

    risk allocator layer | Re: ERC4626 vaults, ERC2535 Diamond Proxy

    Go

  6. Hooke-Tinlake-Trancher Hooke-Tinlake-Trancher Public

    tranching model motivated from Centrifuge's tinlake (early model) | educational reference | Re: token tranching methodology and research

    Solidity