I'm trying to understand the mechanism for a reentrancy attack, and how it might be mitigated. I'm looking at (for example) this scan result: https://de.fi/scanner/contract/0xab46a03d8B82F6f8551d05FfA5E071cAfB313e5D?chainId=arbi
I'd love to understand 1) Why/How does the WETHGateway Reentrancy vulnerability work? 2) What does it mean "No relevant code execution after reentrancy expression.", and what would the "bad" counterexample look like?
Thanks!