Description
Smart contract functions that transfer tokens and update state are susceptible to reentrancy attacks. Implement checks-effects-interactions pattern and reentrancy guards.
Acceptance Criteria
Technical Scope
- contracts/src/lib.rs
- contracts/src/security_properties.rs
- contracts/test/foundry/
- Edge: read-only reentrancy, cross-function reentrancy, constructor reentrancy
Description
Smart contract functions that transfer tokens and update state are susceptible to reentrancy attacks. Implement checks-effects-interactions pattern and reentrancy guards.
Acceptance Criteria
Technical Scope