We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Optimism standard L2 token bridge (onlyEOA modifier):
onlyEOA
function withdraw( address _l2Token, uint256 _amount, uint32 _minGasLimit, bytes calldata _extraData ) external payable virtual onlyEOA { _initiateWithdrawal(_l2Token, msg.sender, msg.sender, _amount, _minGasLimit, _extraData); }
For the wstETH version, this check is missing:
function withdraw( address l2Token_, uint256 amount_, uint32 l1Gas_, bytes calldata data_ ) external whenWithdrawalsEnabled onlySupportedL2Token(l2Token_) { _initiateWithdrawal(msg.sender, msg.sender, amount_, l1Gas_, data_); }
However, it should have been there due to known design decision of Optimism.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Optimism standard L2 token bridge (
onlyEOA
modifier):For the wstETH version, this check is missing:
However, it should have been there due to known design decision of Optimism.
The text was updated successfully, but these errors were encountered: