# How does the protocol work?

The Sommelier protocol is a Cosmos SDK-based proof-of-stake chain for coordinating updates to smart contracts implementing investment strategies (referred to as "cellars"). Stakers of the SOMM token use governance functionality to approve of cellar contracts that have been deployed. Once approved, strategists update the investment positions of cellars for depositors in response to market conditions by sending update recommendations to validators, who then vote to approve an update. When a consensus of staked power has agreed, these updates are applied to the cellars using Sommelier's fork of the Gravity Bridge, which is the mechanism by which the Sommelier protocol communicates with Ethereum. As compensation for providing these services, depending on the specific configuration of a given cellar, the strategist and the protocol itself receive fees as a percentage of total assets and/or performance. Fees received by the protocol are currently held in a module account and in the v7 upgrade will be auctioned for SOMM, with the proceeds being distributed pro rata to stakers of SOMM.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://sommelier-finance.gitbook.io/sommelier-documentation/protocol/how-does-the-protocol-work.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
