github OpenZeppelin/cairo-contracts v0.19.0

9 hours ago

Summary

Added

  • Multisig component (#1193)
  • is_valid_p256_signature utility function to openzeppelin_account::utils::signature (#1189)
  • Secp256r1KeyPair type and helpers to openzeppelin_testing::signing (#1189)
  • all_tokens_of_owner function to ERC721EnumerableComponent fetching all owner's tokens in a single call (#1196)
  • Embeddable impls for ERC2981 component (#1173)
    • ERC2981Info with read functions for discovering the component's state
    • ERC2981AdminOwnable providing admin functions for a token that implements Ownable component
    • ERC2981AdminAccessControl providing admin functions for a token that implements AccessControl component

Changed (Breaking)

  • Refactor openzeppelin_account::utils::secp256k1 module to openzeppelin_account::utils::secp256_point (#1189)
    • Secp256k1PointStorePacking replaced by a generic Secp256PointStorePacking
    • Secp256k1PointPartialEq replaced by a generic Secp256PointPartialEq
    • DebugSecp256k1Point replaced by a generic DebugSecp256Point
  • Apply underscore pattern to the internal functions of ERC2981Component to prevent collisions
    with new external functions (#1173)
  • Move Hash and PartialEq impls of Call struct from openzeppelin_governance::timelock::utils to openzeppelin_governance::utils (#1193)

Full Changes List

Full Changelog: v0.18.0...v0.19.0

Don't miss a new cairo-contracts release

NewReleases is sending notifications on new releases.