// SPDX-License-Identifier: MIT pragma solidity 0.8.19; import "./PropelOwnable.sol"; import "../interfaces/IBlast.sol"; import "../interfaces/IWETH.sol"; contract BlastWrapper is PropelOwnable { constructor(IPropelCore _propelCore) PropelOwnable(_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); } }