• Features
  • About
  • Resources
  • Community
  • Events
  • Blog
  • Jobs

Sommelier Protocol Team Weekly Update #8

Welcome to the weekly Protocol team update on the Sommelier protocol upgrades! This week we continue with the Sommelier chain upgrade and bringing Steward to life.

SOMMELIER CHAIN: CORK (REINVEST) MODULE, FIXING IBC NON-DETERMINISM.

In a bid to react to the market events properly and make better decisions, the Sommelier team is incorporating the reinvest module called “cork” into the Sommelier chain. This module will reinvest users’ assets according to new strategies from strategy providers. Also, the protocol team is working to fix the IBC’s non-determinism in the chain.

Cork Module

The cork module is in-charge of the reinvest command in the Sommelier chain. First, there’s a `MsgSubmitCorkRequest` for submitting reinvest calls to Ethereum through the Gravity bridge contract. This request collects fields like `encoded_contract_call` which is the ABI encoded bytes to send to the contract. It also contains a `target_contract_address` which is an address of the contract to send the call.

Just like the rebalance function, the reinvest module will submit a vote to reinvest the appropriate Cellar based on the data received from strategy providers. This is possible with parameters like the `vote_period` and `vote-_threshold`. The vote period defines the number of blocks to wait for votes before attempting to tally while the vote threshold determines the percentage of bonded stake required to vote each period.

This module also consists of a genesis state which contains all cork state that must be provided at genesis. Here’s a list of all query stages in the cork module.

  1. QueryCommitPeriodRequest
  2. QueryCommitPeriodResponse
  3. QueryCommitPeriodResponse
  4. QueryParamsRequest
  5. QueryParamsResponse
  6. QuerySubmittedCorksRequest
  7. QuerySubmittedCorksResponse

Fixing Ibc Non-Determinism

A deterministic program, when given the same input, will always result in the same output. This intuitive, albeit quite fuzzily defined, property is oftentimes pretty important for a correct program. The Inter-Blockchain Communication (IBC) allows for communication across different chains in the Cosmos network.

The IBC for the Sommelier chain has been made deterministic by the Sommelier protocol team in order to make sure transactions are processed properly.

To learn more about Sommelier, please visit https://sommelier.finance/

To use Sommelier, try the Pairings App at https://app.sommelier.finance/

To participate in the community, please join the Telegram group https://t.me/getsomm.

To follow the project on Github, please star the project https://github.com/PeggyJV/sommelier.

More articles


This website does not constitute an offer to sell or a solicitation of interest to purchase any securities in any country or jurisdiction in which such offer or solicitation is not permitted by law. Nothing on this website is meant to be construed as investment advice and we do not provide investment advisory services, nor are we regulated or permitted to do so. This website is provided for convenience only. Sommelier does not manage any portfolios. You must make an independent judgment as to whether to add liquidity to portfolios.

Users of the Sommelier website should familiarize themselves with smart contracts to further consider the risks associated with smart contracts before adding liquidity to any portfolios.

Note that the website may change, and we are under no obligation to update or advise as to these changes. There is no guarantee that the Sommelier Mainnet, including any software, products or token use cases mentioned on the website, will be built, or offered by Sommelier. In particular, actual results and developments may be materially different from any forecast, opinion or expectation expressed in this website, or documents contained in it, and the past performance of any portfolio must not be relied on as a guide to its future performance.

To the extent permitted by law, the company and its directors, officers, employees, agents exclude all liability for any loss or damage arising from the use of, or reliance on, the material contained on this website whether or not caused by a negligent act or omission. The release, publication or distribution of this website and any materials herein may be restricted in some jurisdiction and therefore you must inform yourself of and observe any such restrictions.