File tree 3 files changed +8
-7
lines changed
docs/modules/ROOT/pages/api
src/token/erc721/extensions
3 files changed +8
-7
lines changed Original file line number Diff line number Diff line change @@ -8,6 +8,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
8
8
9
9
## Unreleased
10
10
11
+ ### Added
12
+
13
+ - ERC721URIStorage (#1031 )
14
+
11
15
### Changed
12
16
13
17
- Bump scarb to v2.7.0-rc.1 (#1025 )
@@ -23,9 +27,6 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
23
27
24
28
- Removed ` num_checkpoints ` and ` checkpoints ` from ` ERC20VotesABI ` .
25
29
26
- ### Added (2024-07-10)
27
-
28
- - ERC721URIStorage (#1031 )
29
30
30
31
## 0.14.0 (2024-06-14)
31
32
Original file line number Diff line number Diff line change @@ -693,7 +693,7 @@ See <<IERC721-Transfer,IERC721::Transfer>>.
693
693
694
694
[.contract]
695
695
[[ERC721URIStorageComponent]]
696
- === `++ERC721URIStorageComponent++` link:https://github.com/OpenZeppelin/cairo-contracts/blob/release-v0.14 .0/src/token/erc721/extensions/erc721_uri_storage.cairo[{github-icon},role=heading-link]
696
+ === `++ERC721URIStorageComponent++` link:https://github.com/OpenZeppelin/cairo-contracts/blob/release-v0.15.0-rc .0/src/token/erc721/extensions/erc721_uri_storage.cairo[{github-icon},role=heading-link]
697
697
698
698
```cairo
699
699
use openzeppelin::token::extensions::ERC721URIStorageComponent;
@@ -708,7 +708,7 @@ NOTE: Implementing xref:#ERC721Component[ERC721Component] is a requirement for t
708
708
709
709
The ERC721URIStorage component provides a flexible IERC721Metadata implementation that enables storage-based token URI management.
710
710
The URI of any `token_id` can be set by calling the internal function, xref:#ERC721URIStorageComponent-set_token_uri[set_token_uri].
711
- Updated `token_uri` can be queried through the external function xref:#ERC721URIStorageComponent-token_uri[token_uri].
711
+ The updated URI can be queried through the external function xref:#ERC721URIStorageComponent-token_uri[token_uri].
712
712
713
713
[.contract-index#ERC721URIStorageComponent-Embeddable-Impls]
714
714
.Embeddable Implementations
Original file line number Diff line number Diff line change 1
1
// SPDX-License-Identifier: MIT
2
- // OpenZeppelin Contracts for Cairo v0.14 .0 (token/erc721/extensions/erc721_uri_storage.cairo)
2
+ // OpenZeppelin Contracts for Cairo v0.15.0-rc .0 (token/erc721/extensions/erc721_uri_storage.cairo)
3
3
4
4
/// # ERC721URIStorage Component
5
5
///
@@ -15,7 +15,7 @@ pub mod ERC721URIStorageComponent {
15
15
16
16
#[storage]
17
17
struct Storage {
18
- ERC721URIStorage_token_uris : LegacyMap <u256 , ByteArray >,
18
+ ERC721URIStorage_token_uris : Map <u256 , ByteArray >,
19
19
}
20
20
21
21
#[event]
You can’t perform that action at this time.
0 commit comments