Function call conflict while calling from a proxy.
There are a function named onTokenTransfer()
is present in both of this contract SDLPoolPrimary and WrappedTokenBridge. Both of these function selector are same:
In a system where two different contracts, not connected to each other, have methods with the same function selector, it could lead to unexpected behavior when these methods are invoked through a proxy contract. This is because the proxy contract will not be aware of which specific contract's function to execute when a function with a clashing selector is called.
Manual analysis.
Change the function name.
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.