Releases: dl-solarity/solidity-lib
Releases · dl-solarity/solidity-lib
v2.7.1
Release notes v2.7.1 🎉
This is a minor release
- Added
strictAdd()
andstrictRemove()
functions toSetHelper
library that check and revert if the inserted element already exists in the set/removed element doesn't exist in the set. - Fixed a bug in
Vesting
contract that locked tokens for one more period after the cliff period ends.
v2.7.0
Release notes v2.7.0 🎉
This is a new major release
This release mostly refactors the existing project structure and updates the required dependencies.
To recap, there are several new modules introduced:
Vesting
,Staking
contracts to build efficient economic primitives.- ZK-compatible
SparseMerkleTree
andIncrementalMerkleTree
data structures. BlockGuard
flash-loan protection mechanism.DiamondAccessControl
,DimondERC721
contracts.UniswapV3Oracle
to get historical UniswapV3 prices.PermanentOwnable
withimmutable
owner funcitonality.
Some of the contracts got refactored and optimized:
DecimalsConverter
became more clear.DiamondOwnable
is a standalone facet now.
Other changes:
compound-rate-keeper
,staking
, andvesting
got moved underfinance
folder.access-control
folder got renamed toaccess
.Vesting
received an internal virtual function to release the funds.
And much more!
Check out the documentation for more details.
v2.6.19
v2.6.18
v2.6.17
Release notes v2.6.17 🎉
This is a minor feature release
What's new
- Added optimized Sparse Merkle Tree data structure implementation that supports custom hash functions and multiple types.
v2.6.16
Release notes v2.6.16 🎉
This is a minor feature release
What's new
- Added
finance
module that implementsVesting
functionality. Users may set up their vesting schedules leveraging linear and exponential distribution algorithms. Also, custom cliff periods and unlock steps are supported. With flexible structures,Vesting
contract beacons great reusability and portability.
v2.6.15
Release notes v2.6.15 🎉
This is a minor feature release
What's new
- Updated the
IncrementalMerkleTree
module to support custom hash functions and set desired tree height. This change makes the IMT compliant with ZK proofs.
Fixes
- Fixed revert in
withdraw
function in thestaking
module when 0 rewards were withdrawn.
v2.6.14
Release notes v2.6.14 🎉
This is a minor feature release
Introduced a whole new module staking
- Added
AbstractValueDistributor
contract that acts as a data structure that calculates the value distribution of users based on their shares. Users may join/leave/claim at any time and the contract algorithm accounts for that. - Added
AbstractStaking
contract that implements staking mechanics on top ofAbstractValueDistributor
contract.
v2.6.13
Release notes v2.6.13 🎉
This is a minor feature release
- Added
PermanentOwnable
smart contract that acts as a basic access control module where the ownership cannot be transferred. - Refactored
BroxyBeacon
andTransparentProxyUpgrader
contracts to inheritPermanentOwnable
.
v2.6.12
Release notes v2.6.12 🎉
This is a minor fix release
- Moved proxy contracts (
ProxyBeacon
,PublicBeaconProxy
,ProxyUpgrader
) from "contracts registry" module to a separate "proxy" module. - Relaxed functions visibility in the
proxy
module. - Renamed
ProxyUpgrader
toTransparentProxyUpgrader
to reflect its intended use. - Removed
onlyOwner
modifier fromgetImplementation()
method inTransparentProxyUpgrader
contract. - Fixed
AbstractPoolFactory
interaction withAbstractPoolContractsRegistry
contract. AddedaddProxyPool()
method to remove low-level interaction.