github OpenZeppelin/cairo-contracts v2.0.0-alpha.0
Release v2.0.0-alpha.0

pre-release7 days ago

Summary

Added

  • Add support for granting a role with delay in the AccessControl component (#1317)
  • Add the openzeppelin_macros package with the with_components macro (#1282)
  • Add ERC4626Component (#1170)
  • Add Math::u256_mul_div (#1170)

Changed

  • Bump scarb to v2.11.1 (#1373)

Changed (Breaking)

  • Add SRC-107 to ERC20Component (#1294)
    • decimals are now configurable using the ImmutableConfig trait
  • Update UDC interface and preset for backward compatibility with v1 (#1371)
    • Change from_zero argument to not_from_zero in both the interface and the ContractDeployed event
    • Add deployContract function to the preset
    • Update salt hashing algorithm from Poseidon to Pedersen
  • Update ISRC6 interface to match latest changes reflected in the SNIP (#1383)
    • __execute__ entry point now doesn't return any value
    • Account and EthAccount components ISRC6 implementation updated accordingly

Full Changes List

New Contributors

Full Changelog: v1.0.0...v2.0.0-alpha.0

Don't miss a new cairo-contracts release

NewReleases is sending notifications on new releases.