Releases: NexusMutual/smart-contracts
Releases · NexusMutual/smart-contracts
Tokenomics upgrade
This upgrade adds the Ramm contract that implements the new tokenomics model. Resources to learn more about it:
Audit Report
What's Changed
- Feature/tokenomics fast ratchet speed by @shark0der in #927
- Add zero budget unit test - getReserves / storeState by @rackstar in #946
- Feature/tokenomics todos by @MilGard91 in #957
- Feature: Remove MCR floor by @MilGard91 in #931
- Feature/tokenomics todos custom errors by @rackstar in #958
- Feature/tokenomics initial observations by @MilGard91 in #953
- Feature/tokenomics ramm swap integration tests by @rackstar in #949
- Feature/tokenomics twap unit tests by @MilGard91 in #947
- Add getInternalPrice method without update by @MilGard91 in #962
- Feature/tokenomics protocol internal price by @MilGard91 in #930
- Feature/tokenomics missing unit tests by @rackstar in #964
- test: Add missed coverage unit tests in Pool.sol by @rackstar in #974
- feat: Add mocks/common directory + base / generic mocks by @rackstar in #976
- Feature/ramm circuit breaker by @shark0der in #979
- Remove swapValue from pool constructor and remove unused variables by @shark0der in #983
- Check membership when minting by @shark0der in #985
- Update deploy script + deployments build script by @Gideonnn in #950
- Tokenomics audit fixes and circuit breakers by @shark0der in #984
- Feature: Tokenomics accumulator precision by @MilGard91 in #1007
- Feature: Tokenomics update twap by @MilGard91 in #1002
- refactor: Audit Ramm code refactor by @rackstar in #1008
- feat: Add EthInjected and EthExtracted events by @rackstar in #1009
- Feature: Tokenomics min max internal price and update initial twap values by @MilGard91 in #1003
- Feature: ramm context struct (reuse-results) by @MilGard91 in #1006
- Feature: Tokenomics - internal constants by @MilGard91 in #1010
- Fix: use correct ratchet speed by @shark0der in #1012
- Test: Update layout tests with new versions by @MilGard91 in #997
- Feature: Tokenomics integration test rebased by @MilGard91 in #1019
- Feature: Tokenomics observation packing by @MilGard91 in #1023
- Feature: Tokenomics injection extraction fix by @MilGard91 in #1022
- Repack Ramm storage by @shark0der in #1018
- Fix: Prevent disposable tc from enrolling itself and improve mint checks by @shark0der in #1017
- Chore: cleanup by @shark0der in #1026
- Update Read Me by @roxdanila in #1029
- Chore: fork tokenomics and bft fork tests fixes by @shark0der in #1028
- test: Tokenomics fork test by @rackstar in #1000
- Feature: Tokenomics skipped tests by @MilGard91 in #1032
- Feature: Tokenomics by @shark0der in #926
Full Changelog: v2.3.0...v2.4.0
Deployments typescript and minor fixes
Note: v2.2.0 was skipped due to an premature publication of the deployments package.
What's Changed
This release adds support for typescript to the deployment package and fixes a minor argument order isssue in the smart contracts.
Full Changelog: v2.1.1...v2.3.0
Release v2.1.1
- Parallel tests
- Bug fix in
Cover.sol
for fixed price products
What's Changed
- Script: generate tx for product types by @danoctavian in #892
- Test: add fixture by @MilGard91 in #876
- Bug: Fix fixed price product cover buys by @shark0der in #900
- Release v2.1.1 by @roxdanila in #911
Full Changelog: v2.1.0...v2.1.1
v2 bug fixes and enhancements
What's Changed
- Add processExpirations function on StakingViewer contract by @shark0der in #823
- Fix StakingViewer APY always returning sub-unit values by @shark0der in #826
- Update bumped price when setting the target price on an existing product by @shark0der in #824
- Fix: recalculate weights for all products and set lastEffectiveWeight for initial products by @kyledewy in #819
- getPoolProducts return expanded with
bumpedPriceUpdateTime
by @MilGard91 in #828 - Chore/compilation fail with warnings by @MilGard91 in #830
- Chore: Adding optimizer check for code-size error by @MilGard91 in #839
- Chore/remove oz test helpers and web3 by @MilGard91 in #841
- Fix: add withdraw/switch membership restrictions by @danoctavian in #833
- Fix processExpirations by advancing to next bucket and depositing to next tranche by @shark0der in #857
- Fix: effectiveWeight should be calculated out of raw capacity, not weighted capacity by @danoctavian in #831
- Chore/remove web3 truffle by @MilGard91 in #851
- Test: add more testing around effective weight calculations by @kyledewy in #811
- Fix: Revert if trying to initialize new pool with forbidden or non-existing products by @kyledewy in #805
- Chore: Add Multicall to the Cover contract by @roxdanila in #862
- Fix: Changing the commission calculation by @MilGard91 in #865
- Add deployments package and migrate from CircleCI to GH Actions by @shark0der in #869
- Chore: Add script for new products by @danoctavian in #870
- Feature: Expand Cover contract with
expireCover
by @MilGard91 in #868 - Test: add basic functionality test case updates by @danoctavian in #846
- Test: cowswap prod swaps by @danoctavian in #843
- Feature: Add process expiration events by @MilGard91 in #874
- Add tests for Governance by @MilGard91 in #873
- Fix: allocation carry over by @shark0der in #875
- Fix: SwapOperator denominator bug + enzyme full withdrawal by @danoctavian in #860
- Fix: Expiration bucket check on cover expiration by @shark0der in #878
- Remove extra copy of abis and generate them on the fly by @shark0der in #879
- Make StakingViewer pull StakingProducts address from master by @shark0der in #881
- Release 2.1.0 by @shark0der in #877
Full Changelog: v2.0.0...v2.1.0
Release v2
Disable active cover amount tracking on v1 ahead of upgrade
Disable active cover amount tracking on v1 ahead of upgrade
Improve ActionFailed
Whenever a governance action fails it was previously doing it silently making wallets misestimate the required gas. This release bubbles up the reverts allowing nodes to properly estimate the gas limit.
Partial claims
Implement partial claims
Enzyme vault integration and better timelock checks
- Implement enzyme vault integration
- Better claim assessment timelock checks
Disable delegations
Merge pull request #253 from NexusMutual/release-candidate Release 1.6.1