github OpenZeppelin/cairo-contracts v2.0.0

latest releases: v3.0.0-alpha.1, v3.0.0-alpha.0
2 months ago

Summary

Added

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

Changed

  • Bump scarb to v2.11.4 (#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 SRC6 implementation updated accordingly

Full Changes List

New Contributors

Full Changelog: v1.0.0...v2.0.0

Don't miss a new cairo-contracts release

NewReleases is sending notifications on new releases.