You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Draw funders to the left of the seed, where money comes from
"I still cannot see who transferred to that address on the front end." The
funders were on screen the whole time. They were drawn in the *rightmost*
column, which on a left-to-right flow diagram is where the money ends up.
`layer_nodes` walked forwards only. An address that paid the seed is not
reachable by following edges forwards, so it fell through to the "unreachable,
put it in the last column" clause --- past every address the money actually
reached. Both addresses that staked the LpdFi attacker, one of them 689,529
USDC, sat downstream of him in the position a reader takes to mean "where it
went". That is worse than leaving them out: an absent funder is a gap somebody
notices, a funder drawn as a recipient is a wrong answer shaped like a picture.
Depth is now signed --- negative upstream, positive downstream --- and the
frontend needed no change, because it already sorted depths numerically before
laying them out.
Upstream wins a tie, which the first version got backwards. Both of those
funders were also paid by the attacker (689,429 back to one, 116,495 to the
other), so with downstream winning they landed on the right again and the
funding was still invisible. For an address on both sides no column is true:
the arrows carry the direction and the column carries the emphasis, and the
emphasis belongs to the half a reader cannot otherwise see. Outbound is
already obvious --- it is the direction a trace fans out in.
The key now says which side means what, since a picture whose encoding is
undocumented gets read wrong, confidently.
Three of the new tests fail against the old function, checked by reverting it.
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01FXWQ25VgFeMuuMhGWjvdof
0 commit comments