Releases: dl-solarity/solidity-lib
Releases · dl-solarity/solidity-lib
Release v2.7.9
Release notes v2.7.9 🎉
This is a minor feature release
- Added
claimAll()method toAbstractStakingcontract. - Added
_distributeAllValue()method toAbstractValueDistributorcontract.
Release v2.7.8
Release notes v2.7.8 🎉
This is a patch release
- Changed
calldatatomemoryinMerkleWhitelistedcontract to allow for calls within inheritance.
Release v2.7.7
Release notes v2.7.7 🎉
This is a minor feature release
- Added
AVLTreelibrary to store "key <> value"uint,address, andbytes32pairs in ascending or descending order leveraginglog(n)complexity. - Added
Iteratorlibrary to accommodateAVLTreein-order traversal.
Release v2.7.6
Release notes v2.7.6 🎉
This is a patch release
Fixed MemoryUtils unsafeCopy function + added several pointer getters.
Release v2.7.5
Release notes v2.7.5 🎉
This is a patch release
Added MemoryUtils library, which provides memory copying functions (equivalent to the recent MCOPY opcode) through identity precompile.
Release v2.7.4
Release notes v2.7.4 🎉
This is a patch release
- Refactored
StringSettoDynamicSetin order to support bothstringandbytestypes. This also enables custom structures to be supported through ABI encoding.
v2.7.3
v2.7.2
v2.7.1
Release notes v2.7.1 🎉
This is a minor release
- Added
strictAdd()andstrictRemove()functions toSetHelperlibrary 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
Vestingcontract 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,Stakingcontracts to build efficient economic primitives.- ZK-compatible
SparseMerkleTreeandIncrementalMerkleTreedata structures. BlockGuardflash-loan protection mechanism.DiamondAccessControl,DimondERC721contracts.UniswapV3Oracleto get historical UniswapV3 prices.PermanentOwnablewithimmutableowner funcitonality.
Some of the contracts got refactored and optimized:
DecimalsConverterbecame more clear.DiamondOwnableis a standalone facet now.
Other changes:
compound-rate-keeper,staking, andvestinggot moved underfinancefolder.access-controlfolder got renamed toaccess.Vestingreceived an internal virtual function to release the funds.
And much more!
Check out the documentation for more details.