Skip to content

Releases: mstable/mStable-contracts

Release 2.2.1

05 Jul 13:28
Compare
Choose a tag to compare

imUSD Savings Vault on Polygon

  • Deployment of RewardsDistributor to Polygon
  • ported old StakingRewards contracts on master. This includes
    • upgrade to Solidity 0.8.2
    • migration of contract tests to Hardhat, Ethers and Waffle
    • upgraded StakingRewards contracts to they can be proxied/initialized
    • Added StakingRewardsWithPlatformToken that can reward MTA and the WMATIC platform token
  • Added task deploy-imusd-staking to deploy proxied StakingRewardsWithPlatformToken to Polygon for imUSD vault (v-imUSD)
  • Added task polly-dis-rewards to distribute MTA and WMATIC rewards to the v-imUSD pool on Polygon
  • Added contract network address factory

Release v2.2.0

05 Jul 13:50
Compare
Choose a tag to compare

Pool Together changes

Changes so mStable contracts and functions can be imported into external repos. eg pooltogether-mstable

  • Added underlying() function to ISavingsContractV2 interface used by the PoolTogether yield source contract
  • Updated from legacy hardhat-typechain to @typechain/hardhat dependency
  • Upgraded to latest dependencies including ethers, typechain, hardhat and typescript
  • Export functions and types from the package
  • Added type definitions to TS config
  • Moved typescript output from transpiled to dist and added to repo and published package
  • Fixed bug in deployMV3 task that was causing type errors with new Typechain version
  • Token interface renamed optional savings to vault and added optional saving
  • Added rewards task to get COMP and stkAAVE stats

Version 2.1.0

30 Mar 16:34
Compare
Choose a tag to compare

Implement fPools and new boosted vaults

Version 2.0.0

13 Feb 16:00
Compare
Choose a tag to compare

Implement mAsset v2

  • Upgrades solc version to 0.8.0
  • Migrates necessary files to 0.8.0
  • Refactors test suite to use hardhat natively
  • Develop, test and deploy new mAsset: mBTC

Breaking changes ⚠️

  • Missing a number of key contracts that have not yet been imported to solc 0.8.0

This could be used in parallel with package v1.5.0

Version 1.5.0

18 Jan 12:49
Compare
Choose a tag to compare

Add tokenised savings contract and boosted savings vault

Implements interest bearing mAsset implementation. See MIP-5 for further details.

Implemented here: #118

Version 1.4.1

04 Jan 12:29
Compare
Choose a tag to compare

Add build output to package

Version 1.4.0

24 Dec 14:40
Compare
Choose a tag to compare

Gas reductions & Aave V2

Massively reduces gas costs across core system functions MINT, SWAP, REDEEM and SAVE. See MIP-3 and MIP-4 for details.

Implemented here: #120

Version 1.3.1

16 Nov 14:05
Compare
Choose a tag to compare

Liquidator-tweak

Adds a minimum price for a given SellToken to avoid a malicious attack on the capital.

Submitted via mStable Bug Bounty: Kevin - Bug bounty response.pdf

Implemented here: #114

Version 1.3.0

29 Oct 16:14
f345e1b
Compare
Choose a tag to compare

Liquidator

Sells COMP for mUSD and streams to the savings account on a second by second basis.

Proposed here: https://mips.mstable.org/MIPS/mip-2

Community voted on here and here

Implemented here: #113

Version 1.2.1

05 Oct 14:02
5f49e83
Compare
Choose a tag to compare

mStable Helper

See #86

This release sees the addition of the MStableHelper.sol, containing a few useful functions for use in minting, swapping, redeeming and saving.