Function Distributor._distribute()
does not support native tokens, such as ETH, which is unreasonable.
https://github.com/Cyfrin/2023-08-sparkn/blob/main/src/Distributor.sol#L92
https://github.com/Cyfrin/2023-08-sparkn/blob/main/src/Distributor.sol#L116
As we can the code, the function has not payable
modifier
Each chain has its own native token, supporting these native tokens will be safer and more stable
manual
supporting these native tokens such adding payable
and process msg.value
The contest is live. Earn rewards by submitting a finding.
This is your time to appeal against judgements on your submissions.
Appeals are being carefully reviewed by our judges.