In-depth lesson · Reentrancy
Reports behind this point
Start with functions that send ETH or transfer tokens and then write state. Read the order of operations: if a balance, share or index is written after the external call, that is the first thing to test.