OpenViSTAI · Agents · Blockchain · Crypto
Menu
DeFi

Mstable Contracts

Mstable Contracts is a public repository of the Solidity smart contracts and tests that make up the core mStable protocol, together with Hardhat tasks and TypeScript development tooling. Its README describes mAssets, basket assets, validation limits, savings contracts and governance-controlled upgrade delays.

Independent OpenViST project profile, based on linked sources.

Mstable Contracts — OpenViST project profile in DeFi.
OpenViST project illustration. See the linked sources for product details.
Understand the project

Practical overview

When it fits

Use the repository when you need source code, tests or development tooling for examining the mStable protocol's core smart contracts. Its README is also useful for understanding the protocol mechanics the contracts are intended to support.

Who it is for

  • Developers studying or adapting the core mStable contract design.
  • Contributors who want to work with the repository's tests and Hardhat tasks.

Documented uses

  • Inspect the contracts that implement the core mStable protocol.
  • Use the included tests as a starting point for contract testing.
  • Review or adapt the contract code for related protocol development.
Before you choose

Requirements & limits

The repository is public and specifies the AGPL-3.0 license.

  • The README lists Node.js v14.16.1 and ganache-cli as development prerequisites.
  • The documented test stack includes Hardhat, Ethers, Waffle, TypeScript and Typechain.
  • The README distinguishes master and beta branches by their described release stages and typical network contexts.
  • The repository describes one-week delays for governor changes and contract upgrades.

Check current requirements in the official documentation. Source-based guidance does not mean OpenViST has run or independently tested this project.

Source-based practical guide

Install dependencies and run the repository test suite

Prepare the documented development environment and invoke the contract tests.

Before you start

  • Node.js v14.16.1
  • ganache-cli
  • Yarn

Steps

  1. Install the listed prerequisites.

  2. Run yarn to install dependencies.

  3. Run yarn test to invoke the test suite.

Expected outcome

The repository's documented Hardhat-based test command is invoked for its contract tests.

Guide limitations

  • The instructions do not guarantee successful execution in a particular environment.
  • The README describes tests running in Hardhat's EVM; this guide does not establish live-network testing.
Evidence and transparency

Sources & review

Source record details
Source availability
Active
Sources checked
15 October 2026
Original website title
mstable/mStable-contracts · Official homepage title · retained in its source language