Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

IWBERA

Git Source

Inherits: IERC20

The deposit function allows users to deposit EVM balance (BERA) into the contract. It mints an equivalent amount of WBERA tokens and assigns them to the sender.

Functions

deposit

function deposit() external payable;

withdraw

function withdraw(uint256 amount) external;