Reentrancy Attacks
To Share and +4 nLEARNs Login with NEARBetween a cross-contract call and its callback any method of your contract can be executed. Not taking this into account is one of the main sources of exploits. It is so common that it has its own name: reentrancy attacks. Always make sure to keep your state in …