Skip to content
View RichJamo's full-sized avatar
🏠
Working from home
🏠
Working from home

Block or report RichJamo

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
RichJamo/README.md

Richard Jamieson

Protocol architect and engineering lead. I design, build and secure DeFi infrastructure: Solidity contracts, cross-chain vault systems, and the off-chain services that settle them on-chain.

I am Senior Smart Contract Engineer at Hydrex, a concentrated-liquidity DEX on Base, and the sole engineer on its liquidity-mining reward system. Before that I founded Amana DeFi, an omnichain yield aggregator on ZetaChain, and wrote its protocol layer.

Most of my protocol work sits in private repositories. The green squares above are Hydrex: governance, emissions and treasury contracts, and the reward pipeline behind them. You cannot read any of it. So here is what I can actually show you.

Public work

Amana DeFi. An omnichain yield aggregator on ZetaChain. ERC-4626 vaults on six mainnet chains, routing deposits into twenty-one yield strategies across Aave, Compound, Convex, Balancer and Fluid. I founded it and wrote 94% of the Solidity: the vault base and strategy layer, the per-chain swap helpers, a gas tank that funds cross-chain calls, a zap contract, the treasury and the price oracle. 9,309 lines of tests.

The hard part was share pricing. A vault on one chain holds its assets in a strategy on another, so totalAssets() can only read the figure that arrived on the last cross-chain confirmation. A deposit in flight is real but invisible, and anyone depositing in that window buys shares against a stale NAV, at the expense of the holders already in. I moved the mint to confirmation rather than to deposit, which removes the window instead of narrowing it.

clean-report-problem. I tried four ways to hide a critical bug from an AI code auditor. Three failed. One got me caught, and the fourth was not an attack at all. Seventy runs, every transcript committed.

hydrex-periphery. Hydrex's auxiliary contracts, in Foundry. The token, the Basedrop campaign, escrow, and the conduits that automate parts of the protocol.

hydrex-optimiser. Python that indexes voting and bribe data on Linea, then solves for a weekly vote allocation.

Security

I was the sole counterpart to external auditors across four engagements at Hydrex. The decentralisation workstream I delivered came back with zero high-severity findings across fifteen contracts, and no failed remediations. I took Amana through audit by Linum Labs. I took Crystl Finance's V3 vaults through HashEx, where both reports are public. I compete in audit contests, with accepted findings on HackenProof.

Most of the bugs I have found in production did not throw an error. They balanced. They reconciled. They were quietly paying the wrong number to the wrong person, for weeks, and the only way to catch that is to reason about state transitions rather than wait for something to go red.

Solidity · Foundry · ERC-4626 · cross-chain · TypeScript · NestJS · PostgreSQL · Python

richardjamieson.co.za · LinkedIn · jamieson.rich@gmail.com

Pinned Loading

  1. AmanaDefi/Amana-monorepo AmanaDefi/Amana-monorepo Public

    Omnichain yield aggregator on ZetaChain: ERC-4626 vaults across six mainnet chains routing into twenty-one yield strategies, with contracts, subgraph and frontend.

    TypeScript 1

  2. clean-report-problem clean-report-problem Public

    I tried four ways to hide a critical bug from an AI code auditor. Three failed, one got me caught, and the fourth wasn't an attack. 70 runs, all committed.

  3. hydrex-periphery hydrex-periphery Public

    The Hydrex protocol's periphery smart contracts

    Solidity 2

  4. hydrex-lp-selection hydrex-lp-selection Public

    Forked from beawesomelee/hydrex-lp-dashboard

    Weekly LP pool selection and retention scoring for Hydrex on Base: subgraph discovery, a scored selection model, and dashboards published from CI.

    HTML

  5. hydrex-optimiser hydrex-optimiser Public

    Indexes Hydrex voting and bribe data on Linea, then solves for the vote allocation that maximises weekly returns. Python, with quadratic optimisation.

    Python