Releases: mstable/mStable-contracts
Release 4.2.3
Instead of the mStable MTA/WETH Staking BPT (mBPT) being held in the Staking Token BPT (stkBPT) contract, it is deposited into the new Balancer mBPT Gauge Deposit (mBPT-gauge).
MCCP 21: Stake BPT staked in mStable into Balancer Staking contract has details on why the change was done.
See Pull Request #350 for the detailed contract changes.
Full Changelog: v2.4.2...v2.4.3
Release 2.4.2
The main feature of this release is being able to withdraw base assets (bAssets) or Feeder Pool assets (fAssets) from Vaults or Save in one transaction.
Examples:
- Withdraw USDC bAsset from the Savings Vault (v-imUSD).
- Withdraw WBTC bAsset from Save (imBTC).
- Withdraw FEI fAsset from the Savings Vault (v-imUSD).
- Withdraw HBTC fAsset from from Save (imBTC).
See the following for more details on how the processes work
https://github.com/mstable/mStable-process-docs/blob/main/unwrapper/README.md#unwrapper
Contract changes
- New
ISavingsContract
v3 interface with- new
redeemAndUnwrap
function depositSavings
override withreferrer
param
- new
- Added
withdrawAndUnwrap
function to vault contracts:BoostedVault
,BoostedDualVault
,StakingRewards
andStakingRewardsWithPlatformToken
. - New
Unwrapper
contract. SaveWrapper
contract addeddeposit
override withreferrer
param
Full Changelog: v2.4.1...v2.4.2
Release 2.4.1
What's Changed
- restore missing TypeScript files in @mstable/protocol package
- Updates to Hardhat tasks
- Changed times from UTC to local times.
over-boost
includes new Feeder Pools TBTCV2, RAI and FEI.rewards
now includes min AAVE/GUSD and AAVE/WBTC ratesrewards
fixed so it can handle zero COMP accruedstaked-snap
now has optional block argument to get historical datastaked-snap
now reports earned MTAdeploy-dud-contracts
for migration of mUSD from Iron Bank for BUSD and GUSD Feeder Poolsquest-complete-queue
can now run again different quests. eg the new Metanaut Space Programfeeder-mint
can now do a single mint or multi mint- Fixed staked tasks against mBPT which were resolving to the wrong contract address.
staked-snap
now has more info and better formattingdeployVault
added optionalboostCoeff
argument that defaults to 9 as per Staking V2 update.
- New Hardhat tasks
dials-snap
which reports votes and donations for new staking dialsstaked-time
which updates a staker's time multiplier
- New dummy contracts to migrate the mUSD in the GUSD and BUSD Feeder Pools back from Iron Bank
DudIntegration
is the replacement integration contract that a Feeder Pools use.DudPlatform
to temporally act as the platform, needed because otherwise, the migration will fail. Can be later called by governance to clear which short-circuits all following deposits and sends all back to theDudIntegration
, like in the cache it would.
Full Changelog: v2.4.0...v2.4.1
Release 2.4.0
What's Changed
- Adds
EmissionsController
main contracts: Allows governors to vote on the weekly distribution of $MTAVotiumBribeForwarder
: Allows users reward tokens to bribe vlCVX holders to vote for a Curve gauge using VotiumDisperseForwarder
: Transfers reward tokens to a list of off-chain calculated recipients and amounts.RevenueBuyBack
: Uses protocol revenue to buy MTA rewards for stakersBasicRewardsForwarder
: Transfers any received reward tokens to another contract or account
- Adds Polygon Integration Contracts
- L2EmissionsController
- L2BridgeRecipient
- BridgeForwarder
- Hardhat tasks
NonPeggedFeederPool
to Deploy Non Pegged Feeder Pool
New Contributors
Full Changelog: v2.3.2...v2.4.0
Release 2.3.2
Post Staking V2 deployment
- Added
exit
toIIncentivisedVotingLockup
interface used by MTA Staking V1 - Hardhat tasks to impersonate staking V1 txs
- Hardhat tasks to interact and impersonate with staking V2 contracts
- support for private transactions using the Taichi network
AAVE
andCOMP
liquidation Hardhat task now using private transactions- Hardhat rewards task now catches error if it can't get ALCX price from Uniswap V3
Release 2.3.1
Minor updates
- Optimised StakedToken
- Removed redundant files from package
Release 2.3.0
Release 2.2.4
Solidity upgrade and Hardhat task refactor
- Upgraded Solidity from 0.8.2 to 0.8.6
- Fixes to the
over-boost
andrewards
tasks - Refactor of Hardhat tasks
getSigner
factory that will work against Defender Relay of theDEFENDER_API_KEY
andDEFENDER_API_SECRET
environment variables- have been set, else uses the
IMPERSONATE
environment variable if set, otherwise uses a random account. getChain
will resolve aChain
enum from hardhat network and config.getNetworkAddress
will resolve a contract name to an address across different chainsresolveAddress
will resolve a contract name or token symbol to an address across different chainsresolveToken
will resolve a token symbol and type to aToken
object
Release 2.2.3
Alchemix Feeder Pool Integration
- New
AlchemixIntegration
contract to connect the alUSD Feeder Pool to the Alchemix alUSD staking pool - New
BoostedDualVault
contract that can pay two reward tokens. eg MTA and ALCX - Upgraded
Liquidator
to liquidate ALCX for alUSD
Release 2.2.2
- In the
StakingReward
andStakingRewardsWithPlatformToken
contracts, change the duration from a 7 days constant to an immutable set in the constructor. - Generate contract types into
dist/types/generated
folder during compile.