Releases: OpenZeppelin/rust-contracts-stylus
Releases · OpenZeppelin/rust-contracts-stylus
v0.2.0-alpha.2
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
andErc721::_check_on_erc721_received
. #442 - Implement
AddAssignUnchecked
andSubAssignUnchecked
forStorageUint
. #418 - Implement
MethodError
forsafe_erc20::Error
. #402 - Use
function_selector!
to calculate transfer type selector inErc1155
. #417
Changed (Breaking)
- Update internal functions of
Erc721
andErc721Consecutive
to accept a reference toBytes
. #437
Full Changes List
- feat: add ERC1155Supply extension by @0xNeshi and @bidzyyys in #418
- feat: add ERC1155 Pausable Extension by @0xNeshi and @bidzyyys in #432
- feat: ERC1155 URIStorage Extension by @0xNeshi in #431
- feat: Add VestingWallet by @0xNeshi, @bidzyyys and @qalisander in #402
- feat: ERC1155Burnable extension by @0xNeshi, @bidzyyys and @qalisander in #417
- feat:
Erc1155MetadataUri
extension @0xNeshi and @qalisander in #416 - feat: Poseidon2 sponge hash function by @qalisander and @bidzyyys in #388
Full Changelog: v0.2.0-alpha.1...v0.2.0-alpha.2
v0.2.0-alpha.1
Summary
Added
- ERC-1155 Multi Token Standard. #275
SafeErc20
Utility. #289- Finite Fields arithmetics. #376
Ownable2Step
contract. #352IOwnable
trait. #352
Changed(breaking)
- Removed
only_owner
from the public interface of Ownable. #352
Full Changes List
- feat: Ownable2Step by @ggonzalez94, and @bidzyyys in #352
- feat: ERC1155 by @programskillforverification, @bidzyyys, @qalisander, and @0xNeshi in #275
- feat: SafeErc20 utility by @0xNeshi, @bidzyyys and @qalisander in #289
- feat: finite fields by @qalisander in #376
- fix: contract caching for benchmarks by @qalisander in #387
Full Changelog: v0.1.1...v0.2.0-alpha.1
v0.1.1
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
andno_std
projects to use the library. #373
Full Changes List
- fix: reference-types error on nightly version by @qalisander in #375
- fix: use mini-alloc by default and remove panic handler by @qalisander and @ggonzalez94 in #373
- build: bump v0.1.1 by @bidzyyys in #382
Full Changelog: v0.1.0...v0.1.1