Skip to content

Releases: OpenZeppelin/rust-contracts-stylus

v0.2.0-alpha.2

19 Dec 14:06
4de08e5
Compare
Choose a tag to compare
v0.2.0-alpha.2 Pre-release
Pre-release

Summary

Added

  • Erc1155Supply extension. #418
  • Erc1155Pausable extension. #432
  • Erc1155UriStorage extension. #431
  • VestingWallet contract. #402
  • Erc1155Burnable extension. #417
  • Erc1155MetadataUri extension. #416
  • Poseidon2 sponge hash function. #388

Changed

  • Update "magic values" to explicit calculations in Erc721Metadata::supports_interface and Erc721::_check_on_erc721_received. #442
  • Implement AddAssignUnchecked and SubAssignUnchecked for StorageUint. #418
  • Implement MethodError for safe_erc20::Error. #402
  • Use function_selector! to calculate transfer type selector in Erc1155. #417

Changed (Breaking)

  • Update internal functions of Erc721 and Erc721Consecutive to accept a reference to Bytes. #437

Full Changes List

Full Changelog: v0.2.0-alpha.1...v0.2.0-alpha.2

v0.2.0-alpha.1

15 Nov 01:09
28f3178
Compare
Choose a tag to compare
v0.2.0-alpha.1 Pre-release
Pre-release

Summary

Added

  • ERC-1155 Multi Token Standard. #275
  • SafeErc20 Utility. #289
  • Finite Fields arithmetics. #376
  • Ownable2Step contract. #352
  • IOwnable trait. #352

Changed(breaking)

  • Removed only_owner from the public interface of Ownable. #352

Full Changes List

Full Changelog: v0.1.1...v0.2.0-alpha.1

v0.1.1

28 Oct 19:20
1500735
Compare
Choose a tag to compare

Summary

Changed

  • Mini alloc is now used by default via the stylus-sdk. This avoids conflicts with duplicate #[global_allocator] definitions. #373
  • Removed the panic handler from the library, making it easier for std and no_std projects to use the library. #373

Full Changes List

Full Changelog: v0.1.0...v0.1.1

v0.1.0

17 Oct 17:41
68745a7
Compare
Choose a tag to compare

First release 🎉