v0.2.0-rc.0
Pre-release
Pre-release
Summary
Added
- Contracts now support constructors. #639
- Add Pedersen hash with Starknet parameters. #644
- Add shift left, right operators to Uint. #644
Erc721Wrapperextension to support token wrapping. #461- Add callable interface for ERC-721. #461
- Add missing functions to callable ERC-20 interface. #461
- All events now derive
Debug. #614 Erc20Wrapperextension to support token wrapping. #498Erc20events deriveDebug. #498- Implement
MethodErrorfor all contracts' errors. #594 - Implement
IErc165for all base contracts for standard interface detection. #603 - Expose interface ID for
Erc20Wrapper,Erc4626andErc20FlashMint. #603 - Short Weierstrass elliptic curves primitives. #589
Changed
Changed (Breaking)
- Bump Stylus SDK to
v0.9.0. #639 - Convert associated
const INTERFACE_IDinto an associatedfn interface_id()on all traits. #639 IErc165::supports_interfacenow accepts&selfas first parameter. #639- Removed
Erc165struct. #639 - Contracts now use the new Stylus SDK inheritance model. #639
- Moved
Erc20callable interface to /erc20/interface.rs module and renamed it toErc20Interface. #461 - Bump
cargo-stylustov0.5.11. #617 - Bump Stylus SDK to
v0.8.4. #624 - Remove
ownable_two_step::Errorwrapper inOwnable2Step, and emitownable::Errordirectly. #594 - Poseidon babybear and goldilocks (64-bit) instances now have 256-bit security (capacity 4). #613
BitIteratorBE(bit iteration) trait atopenzeppelin_cryptonow acceptsselfby value. #589- Feature
stdwas removed from libraries. #662
Fixed
- The
#[interface_id]attribute now correctly copies supertraits. #651 IErc721Metadata::interface_id()now has the correct value.
Full Changes List
Full Changelog: v0.2.0-alpha.4...v0.2.0-rc.0