Releases: dl-solarity/solidity-lib
Releases · dl-solarity/solidity-lib
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
StringSet
toDynamicSet
in order to support bothstring
andbytes
types. 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 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.