Skip to content

Releases: dl-solarity/solidity-lib

Release v2.7.5

11 May 10:51
Compare
Choose a tag to compare

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

08 May 14:35
bb16e23
Compare
Choose a tag to compare

Release notes v2.7.4 🎉

This is a patch release

  • Refactored StringSet to DynamicSet in order to support both string and bytes types. This also enables custom structures to be supported through ABI encoding.

v2.7.3

06 Apr 08:33
709decf
Compare
Choose a tag to compare

Release notes v2.7.3 🎉

This is a minor release

  • Added update and remove operations to SparseMerkleTree data structure + significantly optimized add operation.

v2.7.2

15 Mar 13:52
339e08a
Compare
Choose a tag to compare

Release notes v2.7.2 🎉

This is a minor release

  • Added several missing typed functions to SetHelper and ArrayHelper contracts for consistency.

v2.7.1

14 Mar 16:32
f54793c
Compare
Choose a tag to compare

Release notes v2.7.1 🎉

This is a minor release

  • Added strictAdd() and strictRemove() functions to SetHelper 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

27 Feb 16:25
453786a
Compare
Choose a tag to compare

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 and IncrementalMerkleTree data structures.
  • BlockGuard flash-loan protection mechanism.
  • DiamondAccessControl, DimondERC721 contracts.
  • UniswapV3Oracle to get historical UniswapV3 prices.
  • PermanentOwnable with immutable 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, and vesting got moved under finance folder.
  • access-control folder got renamed to access.
  • Vesting received an internal virtual function to release the funds.

And much more!

Check out the documentation for more details.

v2.6.19

24 Feb 13:20
5fb4474
Compare
Choose a tag to compare

Release notes v2.6.19 🎉

This is a minor feature release

  • Added DiamondAccessControl module that is an adopted OpenZeppelin's AccessControl compatible with the Diamond pattern.

v2.6.18

15 Feb 10:06
Compare
Choose a tag to compare

Release notes v2.6.18 🎉

This is a bugfix release

  • Fixed BlockGuard incompatibility with some L2s (Arbitrum) due to the discrepancies in the NUMBER (blocknumber) opcode. Now users can override the getter function.

v2.6.17

13 Feb 14:07
Compare
Choose a tag to compare

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

06 Feb 15:23
457e57f
Compare
Choose a tag to compare

Release notes v2.6.16 🎉

This is a minor feature release

What's new

  • Added finance module that implements Vesting 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.