v0.18.0
Summary
Added
VotesComponent
with implementation for ERC721 and ERC20 tokens (#1114)IUpgradeAndCall
interface (#1148)upgrade_and_call
function in UpgradeableComponent's InternalImpl (#1148)ERC20Permit
impl forERC20Component
facilitating token approvals via off-chain signatures (#1140)ISNIP12Metadata
interface for discovering name and version of a SNIP-12 impl (#1140)SNIP12MetadataExternal
impl ofISNIP12Metadata
interface forERC20Component
(#1140)
Changed
- Bump scarb to v2.8.4 (#1146)
Changed (Breaking)
- Remove
ERC20Votes
component in favor ofVotesComponent
(#1114)Trace
is now declared as astorage_node
and now usesVec
instead ofStorageArray
.delegate_by_sig
signature
param in theIVotes
interface updated fromArray<felt252>
toSpan<felt252>
.
- Remove
StorageArray
fromopenzeppelin_utils
(#1114) - Bump snforge to 0.31.0
- Remove openzeppelin_utils::selectors (#1163)
- Remove
DualCase dispatchers
(#1163)- Remove
try_selector_with_fallback
fromopenzeppelin_utils
- Remove
unwrap_and_cast
module fromopenzeppelin_utils
- Remove
openzeppelin_access::accesscontrol::dual_accesscontrol
- Remove
openzeppelin_access::ownable::dual_ownable
- Remove
openzeppelin_account::dual_account
- Remove
openzeppelin_account::dual_eth_account
- Remove
openzeppelin_token::erc20::dual20
- Remove
openzeppelin_token::erc721::dual721
- Remove
openzeppelin_token::erc721::dual721_receiver
- Remove
openzeppelin_token::erc1155::dual1155
- Remove
openzeppelin_token::erc1155::dual1155_receiver
- Remove
SRC9Component
now usesISRC6Dispatcher
instead ofDualCaseAccount
(#1163)ERC20VotesComponent
now usesISRC6Dispatcher
instead ofDualCaseAccount
(#1163)ERC721Component
now usesIERC721ReceiverDispatcher
instead ofDualCaseERC721Receiver
(#1163)ERC1155Component
now usesIERC1155ReceiverDispatcher
instead ofDualCaseERC1155Receiver
(#1163)
Full Changes List
- Improve packages READMEs by @ericnordelo in #1159
- Remove git import references and colon use clauses in docs by @ericnordelo in #1165
- Vesting Doc by @immrsd in #1157
- Chore(deps): Bump crate-ci/typos from 1.24.6 to 1.25.0 by @dependabot in #1171
- Bump scarb to 2.8.3 by @ericnordelo in #1166
- Add missing manifest import by @maciektr in #1169
- Use
crate
for local imports by @andrew-fleming in #1176 - Add timelock captions by @andrew-fleming in #1167
- Remove DualCase dispatchers by @ericnordelo in #1163
- Chore(deps): Bump crate-ci/typos from 1.25.0 to 1.26.0 by @dependabot in #1178
- Improve mocks by @ericnordelo in #1146
- Add declare script for presets by @andrew-fleming in #1118
- Add upgrade_and_call by @andrew-fleming in #1148
- ERC20 Permit Component by @immrsd in #1140
- Update imports in snip12 doc code blocks by @andrew-fleming in #1182
- Erc721 votes and general Votes component by @ggonzalez94 in #1114
- Fix comment by @ericnordelo in #1185
Full Changelog: v0.17.0...v0.18.0