Changelog
v2 -> v3
Overview
Storage changes
Functions changes
setTokenBridgeConfig
if (oldConfig_.wstETH != address(0)) {
IERC20(stETH).approve(oldConfig_.wstETH, 0);
address oldGateway_;
try IGatewayRouter(oldConfig_.gateway).getGateway(oldConfig_.wstETH) returns (address gateway_) {
oldGateway_ = gateway_;
} catch {
oldGateway_ = oldConfig_.gateway;
}
IERC20(oldConfig_.wstETH).approve(oldGateway_, 0);
}sendWstETH
Test enviroment
Ethereum
Name
Address
Base
Name
Address
Last updated
Was this helpful?