

Emmy Codes 🪖🚀👨💻
3.5K posts

@_devEmmy
Backend Software Developer | Node.js, NestJS, Databases | Exploring Artificial Intelligence | Sharing Code Insights




🦖 Day 276 of learning blockchain 🔗 Today I deep dived into Chainlink Payment Abstraction v1 codebase preparing for the v2 audit contest on @code4rena What I covered: → FeeRouter — how it sits between service contracts & FeeAggregator, and why the withdrawNonAllowlistedAssets check was incomplete → FeeAggregator — bridgeAssets internals, CCIP message construction, dual allowlist validation (chain + receiver pair) → Reserves.sol — earmark math with signed int96 balances, how totalAmountOwed only tracks positive balances, CEI pattern on withdraw → EnumerableSet & EnumerableBytesSet — how OZ sets work internally with dual structure (array + mapping) → Found the exact medium bug that 42 wardens submitted — just by reading docs + tracing logic before touching code The best feeling in auditing is independently finding a bug before reading any report 🎯





Day 48 after integration of progress bar and logging made portal history, let's you see your transfer history you can limit the output, filter with when, mode and also view in JSON --json btw, I'm available to offer my services as a developer not yet good night mutuals



