> For the complete documentation index, see [llms.txt](https://ston-fi.gitbook.io/docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://ston-fi.gitbook.io/docs/developer-section/dex/smart-contracts/v1/lpwallet.md).

# LpWallet (v1)

This is a standard Jetton token wallet for holding liquidity tokens. Only specific modifications for this implementation will be described.

## User message handlers

### `burn` (0x595f07bc)

Burn an amount of liquidity tokens.

#### **TL-B**

```
burn#595f07bc query_id:uint64 amount:Grams response_destination:MsgAddress custom_payload:Maybe ^Cell = InternalMsgBody;
```

#### **Message body**

| Name                   | Type      | Description                                    |
| ---------------------- | --------- | ---------------------------------------------- |
| `op`                   | `uint32`  | Operation code is equal to `burn`              |
| `query_id`             | `uint64`  | Query id                                       |
| `amount`               | `coins`   | Amount of coins to burn (in basic token units) |
| `response_destination` | `address` | Address of a user                              |

#### **Outgoing messages**

Sends a message with `burn_notification` op code to the router contract with the amount of token burnt.
