There is no recieve/fallback function implemented in registry.sol
regestry does not have any receive/fallback functions to receive ETH
Vulnerability Detail
recoverFunds function can transfer erc20 tokens and Native tokens to recipient but the registry.sol is not implementing any receive function to receive ETH. So it is impossible to send eth to the contract
0xG0P1
medium
There is no
recieve/fallback
function implemented inregistry.sol
regestry does not have any receive/fallback functions to receive ETH
Vulnerability Detail
recoverFunds
function can transfer erc20 tokens and Native tokens to recipient but theregistry.sol
is not implementing any receive function to receive ETH. So it is impossible to send eth to the contractImpact
Can't send Native tokens
Code Snippet
https://github.com/sherlock-audit/2023-09-Gitcoin/blob/main/allo-v2/contracts/core/Registry.sol#L387
Tool used
Manual Review
Recommendation
Implement receive/fallback function