mediumLogic errorEVM-Solidity
TraitForge: A dev will lose rewards if after claiming his rewards he mints an NFT
- Payout
- $0
- Protocol
- TraitForge
- Disclosed
- Sep 13, 2024
- Source
- code4rena
TraitForge's DevFund::claim() transfers a developer's pending Ether rewards before updating info.rewardDebt, breaking the checks-effects-interactions ordering. If the developer's receiving contract immediately spends the claimed funds to mint an NFT while the …
Similar reports
- No close matches yet.
References
- https://github.com/code-423n4/2024-07-traitforge-findings/issues/1060
- https://github.com/code-423n4/2024-07-traitforge-findings
This report is already public and closed. Coin Buggie never publishes active or unpatched vulnerability data.