Skip to content

Releases: dl-solarity/solidity-lib

Release v2.7.9

21 Jun 09:52
e6db053

Choose a tag to compare

Release notes v2.7.9 🎉

This is a minor feature release

  • Added claimAll() method to AbstractStaking contract.
  • Added _distributeAllValue() method to AbstractValueDistributor contract.

Release v2.7.8

11 Jun 17:02
676a5c7

Choose a tag to compare

Release notes v2.7.8 🎉

This is a patch release

  • Changed calldata to memory in MerkleWhitelisted contract to allow for calls within inheritance.

Release v2.7.7

10 Jun 09:59
d5a01b8

Choose a tag to compare

Release notes v2.7.7 🎉

This is a minor feature release

  • Added AVLTree library to store "key <> value" uint, address, and bytes32 pairs in ascending or descending order leveraging log(n) complexity.
  • Added Iterator library to accommodate AVLTree in-order traversal.

Release v2.7.6

13 May 11:04
59b1654

Choose a tag to compare

Release notes v2.7.6 🎉

This is a patch release

Fixed MemoryUtils unsafeCopy function + added several pointer getters.

Release v2.7.5

11 May 10:51

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

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

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

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

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

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.