Skip to main content
Upgradable contracts cannot receive ether via transfer because of increased SLOAD gas cost. We use this non-upgradeable contract as the recipient and then immediately transfer to an upgradable contract. More details about this issue can be found here.

Variables

weth

Wrapped native token contract

Functions

constructor

withdraw

Transfer assets to a receiver.

Parameters:


_safeTransferETH

receive

version

Get this contract’s version

Events

Withdrawal

Emitted when any amount is withdrawn.