WethGate
Last updated
Was this helpful?
Last updated
Was this helpful?
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 .
Wrapped native token contract
Transfer assets to a receiver.
receiver
address
This address will receive a transfer.
wad
uint256
Amount in wei
Get this contract's version
Emitted when any amount is withdrawn.