// SPDX-License-Identifier: MIT pragma solidity 0.8.19; import "./PropelOwnableUpgradeable.sol"; import "../interfaces/IBlast.sol"; import "../interfaces/IWETH.sol"; contract BlastWrapperUpgradeable is PropelOwnableUpgradeable { function __Init_Blast(IPropelCore _propelCore) internal { __InitCore(_propelCore); blast().configureClaimableGas(); WETH().configure(YieldMode.CLAIMABLE); } function getClaimableWETH() public view returns(uint256) { return WETH().getClaimableAmount(address(this)); } function claimAllYield(address to) external onlyOwner { uint256 amount = getClaimableWETH(); require(amount > 0, "no claimable amount"); WETH().claim(to, amount); } function claimAllGas(address to) external onlyOwner { blast().claimAllGas(address(this), to); } }