> For the complete documentation index, see [llms.txt](https://elacity.gitbook.io/elacity-sdks/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://elacity.gitbook.io/elacity-sdks/protocol/v3.0/references/modules/library/ierc20wrappable.md).

# IERC20Wrappable

[Git Source](https://github.com/Elacity/v3-drm-protocol/blob/52ca0e7824ef5fab5ebe0a131f7c6e6dd330de09/contracts/modules/library/IERC20Wrappable.sol)

**Inherits:** IERC20

**Title:** IERC20Wrappable

ERC-20 interface extension for wrapped native-token contracts.

## Functions

### deposit

Wraps native currency into ERC-20 balance.

`msg.value` defines wrapped amount.

```solidity
function deposit() external payable;
```

### withdraw

Unwraps wrapped balance back into native currency.

```solidity
function withdraw(uint256 wad) external;
```

**Parameters**

| Name  | Type      | Description       |
| ----- | --------- | ----------------- |
| `wad` | `uint256` | Amount to unwrap. |
