Based on the description of the WrappedTokenBridge
contract, all the bridge functions inside are intended for users. There are two functions with token bridging functionality: onTokenTransfer()
and transferTokens()
. The transferTokens()
function differs from onTokenTransfer()
only in its ability to pay bridge fees in native tokens, suggesting that this functionality may not necessarily need owner administration.
The purpose of the transferTokens()
function is for anyone to use, but with the onlyOwner
modifier, it is restricted to only the owner being able to use it.
Remove the onlyOwner
modifier.
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.