diff --git a/README.md b/README.md index 7f652c125..77107c130 100644 --- a/README.md +++ b/README.md @@ -49,7 +49,7 @@ pip install openzeppelin-cairo-contracts ### Use a basic preset -Presets are ready-to-use contracts that you can deploy right away. They also serve as examples of how to use library modules. [Read more about presets](https://docs.openzeppelin.com/contracts-cairo/0.4.0/extensibility#presets). +Presets are ready-to-use contracts that you can deploy right away. They also serve as examples of how to use library modules. [Read more about presets](https://docs.openzeppelin.com/contracts-cairo/0.5.0/extensibility#presets). ```cairo // contracts/MyToken.cairo @@ -80,11 +80,11 @@ nile compile nile deploy MyToken --alias my_token ``` -> Note that `` is expected to be two integers i.e. `1` `0`. See [Uint256](https://docs.openzeppelin.com/contracts-cairo/0.4.0/utilities#uint256) for more information. +> Note that `` is expected to be two integers i.e. `1` `0`. See [Uint256](https://docs.openzeppelin.com/contracts-cairo/0.5.0/utilities#uint256) for more information. ### Write a custom contract using library modules -[Read more about libraries](https://docs.openzeppelin.com/contracts-cairo/0.4.0/extensibility#libraries). +[Read more about libraries](https://docs.openzeppelin.com/contracts-cairo/0.5.0/extensibility#libraries). ```cairo %lang starknet @@ -111,13 +111,13 @@ func transfer{syscall_ptr: felt*, pedersen_ptr: HashBuiltin*, range_check_ptr}( Check out the [full documentation site](https://docs.openzeppelin.com/contracts-cairo)! Featuring: -- [Accounts](https://docs.openzeppelin.com/contracts-cairo/0.4.0/accounts) -- [ERC20](https://docs.openzeppelin.com/contracts-cairo/0.4.0/erc20) -- [ERC721](https://docs.openzeppelin.com/contracts-cairo/0.4.0/erc721) -- [Contract extensibility pattern](https://docs.openzeppelin.com/contracts-cairo/0.4.0/extensibility) -- [Proxies and upgrades](https://docs.openzeppelin.com/contracts-cairo/0.4.0/proxies) -- [Security](https://docs.openzeppelin.com/contracts-cairo/0.4.0/security) -- [Utilities](https://docs.openzeppelin.com/contracts-cairo/0.4.0/utilities) +- [Accounts](https://docs.openzeppelin.com/contracts-cairo/0.5.0/accounts) +- [ERC20](https://docs.openzeppelin.com/contracts-cairo/0.5.0/erc20) +- [ERC721](https://docs.openzeppelin.com/contracts-cairo/0.5.0/erc721) +- [Contract extensibility pattern](https://docs.openzeppelin.com/contracts-cairo/0.5.0/extensibility) +- [Proxies and upgrades](https://docs.openzeppelin.com/contracts-cairo/0.5.0/proxies) +- [Security](https://docs.openzeppelin.com/contracts-cairo/0.5.0/security) +- [Utilities](https://docs.openzeppelin.com/contracts-cairo/0.5.0/utilities) ### Cairo @@ -257,7 +257,7 @@ def foo_factory(): return cached_foo ``` -See [Memoization](https://docs.openzeppelin.com/contracts-cairo/0.4.0/utilities#memoization) in the Utilities documentation for a more thorough example on caching contracts. +See [Memoization](https://docs.openzeppelin.com/contracts-cairo/0.5.0/utilities#memoization) in the Utilities documentation for a more thorough example on caching contracts. > Note that this does not apply for stateless libraries such as SafeMath. diff --git a/docs/antora.yml b/docs/antora.yml index 45dc8f04a..b4c46eb5f 100644 --- a/docs/antora.yml +++ b/docs/antora.yml @@ -1,5 +1,5 @@ name: contracts-cairo title: Contracts for Cairo -version: 0.4.0 +version: 0.5.0 nav: - modules/ROOT/nav.adoc diff --git a/scripts/update_version.py b/scripts/update_version.py index 59ed6f586..122e5c49d 100644 --- a/scripts/update_version.py +++ b/scripts/update_version.py @@ -3,7 +3,7 @@ import sys from pathlib import Path -CURRENT_VERSION = "v0.4.0" +CURRENT_VERSION = "v0.5.0" DOC_PATHS = ["docs/antora.yml", "README.md"] diff --git a/src/openzeppelin/access/accesscontrol/IAccessControl.cairo b/src/openzeppelin/access/accesscontrol/IAccessControl.cairo index 2ab70d92f..514fc053a 100644 --- a/src/openzeppelin/access/accesscontrol/IAccessControl.cairo +++ b/src/openzeppelin/access/accesscontrol/IAccessControl.cairo @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -// OpenZeppelin Contracts for Cairo v0.4.0 (access/accesscontrol/IAccessControl.cairo) +// OpenZeppelin Contracts for Cairo v0.5.0 (access/accesscontrol/IAccessControl.cairo) %lang starknet diff --git a/src/openzeppelin/access/accesscontrol/library.cairo b/src/openzeppelin/access/accesscontrol/library.cairo index 42b65c80f..4260bcd11 100644 --- a/src/openzeppelin/access/accesscontrol/library.cairo +++ b/src/openzeppelin/access/accesscontrol/library.cairo @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -// OpenZeppelin Contracts for Cairo v0.4.0 (access/accesscontrol/library.cairo) +// OpenZeppelin Contracts for Cairo v0.5.0 (access/accesscontrol/library.cairo) %lang starknet diff --git a/src/openzeppelin/access/ownable/library.cairo b/src/openzeppelin/access/ownable/library.cairo index 03032b1c3..e2a9c172f 100644 --- a/src/openzeppelin/access/ownable/library.cairo +++ b/src/openzeppelin/access/ownable/library.cairo @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -// OpenZeppelin Contracts for Cairo v0.4.0 (access/ownable/library.cairo) +// OpenZeppelin Contracts for Cairo v0.5.0 (access/ownable/library.cairo) %lang starknet diff --git a/src/openzeppelin/account/IAccount.cairo b/src/openzeppelin/account/IAccount.cairo index 1601ddcbd..731668ee2 100644 --- a/src/openzeppelin/account/IAccount.cairo +++ b/src/openzeppelin/account/IAccount.cairo @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -// OpenZeppelin Contracts for Cairo v0.4.0 (account/IAccount.cairo) +// OpenZeppelin Contracts for Cairo v0.5.0 (account/IAccount.cairo) %lang starknet diff --git a/src/openzeppelin/account/library.cairo b/src/openzeppelin/account/library.cairo index f48c4c59d..2fb8864f6 100644 --- a/src/openzeppelin/account/library.cairo +++ b/src/openzeppelin/account/library.cairo @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -// OpenZeppelin Contracts for Cairo v0.4.0 (account/library.cairo) +// OpenZeppelin Contracts for Cairo v0.5.0 (account/library.cairo) %lang starknet diff --git a/src/openzeppelin/account/presets/Account.cairo b/src/openzeppelin/account/presets/Account.cairo index f6978f34c..4f68470aa 100644 --- a/src/openzeppelin/account/presets/Account.cairo +++ b/src/openzeppelin/account/presets/Account.cairo @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -// OpenZeppelin Contracts for Cairo v0.4.0 (account/presets/Account.cairo) +// OpenZeppelin Contracts for Cairo v0.5.0 (account/presets/Account.cairo) %lang starknet diff --git a/src/openzeppelin/account/presets/AddressRegistry.cairo b/src/openzeppelin/account/presets/AddressRegistry.cairo index aa0c75d42..bea637e09 100644 --- a/src/openzeppelin/account/presets/AddressRegistry.cairo +++ b/src/openzeppelin/account/presets/AddressRegistry.cairo @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -// OpenZeppelin Contracts for Cairo v0.4.0 (account/presets/AddressRegistry.cairo) +// OpenZeppelin Contracts for Cairo v0.5.0 (account/presets/AddressRegistry.cairo) %lang starknet diff --git a/src/openzeppelin/account/presets/EthAccount.cairo b/src/openzeppelin/account/presets/EthAccount.cairo index 35f2313b8..0f59dfc2a 100644 --- a/src/openzeppelin/account/presets/EthAccount.cairo +++ b/src/openzeppelin/account/presets/EthAccount.cairo @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -// OpenZeppelin Contracts for Cairo v0.4.0 (account/presets/EthAccount.cairo) +// OpenZeppelin Contracts for Cairo v0.5.0 (account/presets/EthAccount.cairo) %lang starknet from starkware.cairo.common.cairo_builtins import HashBuiltin, SignatureBuiltin, BitwiseBuiltin diff --git a/src/openzeppelin/introspection/erc165/IERC165.cairo b/src/openzeppelin/introspection/erc165/IERC165.cairo index 13a9c38ae..745fff01a 100644 --- a/src/openzeppelin/introspection/erc165/IERC165.cairo +++ b/src/openzeppelin/introspection/erc165/IERC165.cairo @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -// OpenZeppelin Contracts for Cairo v0.4.0 (introspection/erc165/IERC165.cairo) +// OpenZeppelin Contracts for Cairo v0.5.0 (introspection/erc165/IERC165.cairo) %lang starknet diff --git a/src/openzeppelin/introspection/erc165/library.cairo b/src/openzeppelin/introspection/erc165/library.cairo index 9a6e290e5..689bdb0b2 100644 --- a/src/openzeppelin/introspection/erc165/library.cairo +++ b/src/openzeppelin/introspection/erc165/library.cairo @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -// OpenZeppelin Contracts for Cairo v0.4.0 (introspection/erc165/library.cairo) +// OpenZeppelin Contracts for Cairo v0.5.0 (introspection/erc165/library.cairo) %lang starknet diff --git a/src/openzeppelin/security/initializable/library.cairo b/src/openzeppelin/security/initializable/library.cairo index 6f7381433..1fe00ab27 100644 --- a/src/openzeppelin/security/initializable/library.cairo +++ b/src/openzeppelin/security/initializable/library.cairo @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -// OpenZeppelin Contracts for Cairo v0.4.0 (security/initializable/library.cairo) +// OpenZeppelin Contracts for Cairo v0.5.0 (security/initializable/library.cairo) %lang starknet diff --git a/src/openzeppelin/security/pausable/library.cairo b/src/openzeppelin/security/pausable/library.cairo index 78c07dd1a..158146bf2 100644 --- a/src/openzeppelin/security/pausable/library.cairo +++ b/src/openzeppelin/security/pausable/library.cairo @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -// OpenZeppelin Contracts for Cairo v0.4.0 (security/pausable/library.cairo) +// OpenZeppelin Contracts for Cairo v0.5.0 (security/pausable/library.cairo) %lang starknet diff --git a/src/openzeppelin/security/reentrancyguard/library.cairo b/src/openzeppelin/security/reentrancyguard/library.cairo index 0ee8b83d9..19db62215 100644 --- a/src/openzeppelin/security/reentrancyguard/library.cairo +++ b/src/openzeppelin/security/reentrancyguard/library.cairo @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -// OpenZeppelin Contracts for Cairo v0.4.0 (security/reentrancyguard/library.cairo) +// OpenZeppelin Contracts for Cairo v0.5.0 (security/reentrancyguard/library.cairo) %lang starknet diff --git a/src/openzeppelin/security/safemath/library.cairo b/src/openzeppelin/security/safemath/library.cairo index 3105a6932..912b471d7 100644 --- a/src/openzeppelin/security/safemath/library.cairo +++ b/src/openzeppelin/security/safemath/library.cairo @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -// OpenZeppelin Contracts for Cairo v0.4.0 (security/safemath/library.cairo) +// OpenZeppelin Contracts for Cairo v0.5.0 (security/safemath/library.cairo) %lang starknet diff --git a/src/openzeppelin/token/erc20/IERC20.cairo b/src/openzeppelin/token/erc20/IERC20.cairo index 21e705c80..79c08dad0 100644 --- a/src/openzeppelin/token/erc20/IERC20.cairo +++ b/src/openzeppelin/token/erc20/IERC20.cairo @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -// OpenZeppelin Contracts for Cairo v0.4.0 (token/erc20/IERC20.cairo) +// OpenZeppelin Contracts for Cairo v0.5.0 (token/erc20/IERC20.cairo) %lang starknet diff --git a/src/openzeppelin/token/erc20/library.cairo b/src/openzeppelin/token/erc20/library.cairo index 7a4c9f756..2503f5bde 100644 --- a/src/openzeppelin/token/erc20/library.cairo +++ b/src/openzeppelin/token/erc20/library.cairo @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -// OpenZeppelin Contracts for Cairo v0.4.0 (token/erc20/library.cairo) +// OpenZeppelin Contracts for Cairo v0.5.0 (token/erc20/library.cairo) %lang starknet diff --git a/src/openzeppelin/token/erc20/presets/ERC20.cairo b/src/openzeppelin/token/erc20/presets/ERC20.cairo index df227359f..ac9f6a3d0 100644 --- a/src/openzeppelin/token/erc20/presets/ERC20.cairo +++ b/src/openzeppelin/token/erc20/presets/ERC20.cairo @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -// OpenZeppelin Contracts for Cairo v0.4.0 (token/erc20/presets/ERC20.cairo) +// OpenZeppelin Contracts for Cairo v0.5.0 (token/erc20/presets/ERC20.cairo) %lang starknet diff --git a/src/openzeppelin/token/erc20/presets/ERC20Burnable.cairo b/src/openzeppelin/token/erc20/presets/ERC20Burnable.cairo index 0ca9595fb..62e2cdcf4 100644 --- a/src/openzeppelin/token/erc20/presets/ERC20Burnable.cairo +++ b/src/openzeppelin/token/erc20/presets/ERC20Burnable.cairo @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -// OpenZeppelin Cairo Contracts v0.4.0 (token/erc20/presets/ERC20Burnable.cairo) +// OpenZeppelin Cairo Contracts v0.5.0 (token/erc20/presets/ERC20Burnable.cairo) %lang starknet diff --git a/src/openzeppelin/token/erc20/presets/ERC20Mintable.cairo b/src/openzeppelin/token/erc20/presets/ERC20Mintable.cairo index 8f77e70d5..e07b9373b 100644 --- a/src/openzeppelin/token/erc20/presets/ERC20Mintable.cairo +++ b/src/openzeppelin/token/erc20/presets/ERC20Mintable.cairo @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -// OpenZeppelin Contracts for Cairo v0.4.0 (token/erc20/presets/ERC20Mintable.cairo) +// OpenZeppelin Contracts for Cairo v0.5.0 (token/erc20/presets/ERC20Mintable.cairo) %lang starknet diff --git a/src/openzeppelin/token/erc20/presets/ERC20Pausable.cairo b/src/openzeppelin/token/erc20/presets/ERC20Pausable.cairo index 5b423fc58..aaa25fd97 100644 --- a/src/openzeppelin/token/erc20/presets/ERC20Pausable.cairo +++ b/src/openzeppelin/token/erc20/presets/ERC20Pausable.cairo @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -// OpenZeppelin Contracts for Cairo v0.4.0 (token/erc20/presets/ERC20Pausable.cairo) +// OpenZeppelin Contracts for Cairo v0.5.0 (token/erc20/presets/ERC20Pausable.cairo) %lang starknet diff --git a/src/openzeppelin/token/erc20/presets/ERC20Upgradeable.cairo b/src/openzeppelin/token/erc20/presets/ERC20Upgradeable.cairo index 13bfa2c04..8819c12e9 100644 --- a/src/openzeppelin/token/erc20/presets/ERC20Upgradeable.cairo +++ b/src/openzeppelin/token/erc20/presets/ERC20Upgradeable.cairo @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -// OpenZeppelin Contracts for Cairo v0.4.0 (token/erc20/presets/ERC20Upgradeable.cairo) +// OpenZeppelin Contracts for Cairo v0.5.0 (token/erc20/presets/ERC20Upgradeable.cairo) %lang starknet %builtins pedersen range_check diff --git a/src/openzeppelin/token/erc721/IERC721.cairo b/src/openzeppelin/token/erc721/IERC721.cairo index 8541246c4..473a5f307 100644 --- a/src/openzeppelin/token/erc721/IERC721.cairo +++ b/src/openzeppelin/token/erc721/IERC721.cairo @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -// OpenZeppelin Contracts for Cairo v0.4.0 (token/erc721/IERC721.cairo) +// OpenZeppelin Contracts for Cairo v0.5.0 (token/erc721/IERC721.cairo) %lang starknet diff --git a/src/openzeppelin/token/erc721/IERC721Metadata.cairo b/src/openzeppelin/token/erc721/IERC721Metadata.cairo index 51be9c585..a3743a873 100644 --- a/src/openzeppelin/token/erc721/IERC721Metadata.cairo +++ b/src/openzeppelin/token/erc721/IERC721Metadata.cairo @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -// OpenZeppelin Contracts for Cairo v0.4.0 (token/erc721/IERC721Metadata.cairo) +// OpenZeppelin Contracts for Cairo v0.5.0 (token/erc721/IERC721Metadata.cairo) %lang starknet diff --git a/src/openzeppelin/token/erc721/IERC721Receiver.cairo b/src/openzeppelin/token/erc721/IERC721Receiver.cairo index f6be9dfd6..bb724b798 100644 --- a/src/openzeppelin/token/erc721/IERC721Receiver.cairo +++ b/src/openzeppelin/token/erc721/IERC721Receiver.cairo @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -// OpenZeppelin Contracts for Cairo v0.4.0 (token/erc721/IERC721Receiver.cairo) +// OpenZeppelin Contracts for Cairo v0.5.0 (token/erc721/IERC721Receiver.cairo) %lang starknet diff --git a/src/openzeppelin/token/erc721/enumerable/IERC721Enumerable.cairo b/src/openzeppelin/token/erc721/enumerable/IERC721Enumerable.cairo index abdec0622..94b5ea5fd 100644 --- a/src/openzeppelin/token/erc721/enumerable/IERC721Enumerable.cairo +++ b/src/openzeppelin/token/erc721/enumerable/IERC721Enumerable.cairo @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -// OpenZeppelin Contracts for Cairo v0.4.0 (token/erc721/enumerable/IERC721Enumerable.cairo) +// OpenZeppelin Contracts for Cairo v0.5.0 (token/erc721/enumerable/IERC721Enumerable.cairo) %lang starknet diff --git a/src/openzeppelin/token/erc721/enumerable/library.cairo b/src/openzeppelin/token/erc721/enumerable/library.cairo index 64ceaa7ee..eaf5698f2 100644 --- a/src/openzeppelin/token/erc721/enumerable/library.cairo +++ b/src/openzeppelin/token/erc721/enumerable/library.cairo @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -// OpenZeppelin Contracts for Cairo v0.4.0 (token/erc721/enumerable/library.cairo) +// OpenZeppelin Contracts for Cairo v0.5.0 (token/erc721/enumerable/library.cairo) %lang starknet diff --git a/src/openzeppelin/token/erc721/enumerable/presets/ERC721EnumerableMintableBurnable.cairo b/src/openzeppelin/token/erc721/enumerable/presets/ERC721EnumerableMintableBurnable.cairo index a89b1fbb7..175705371 100644 --- a/src/openzeppelin/token/erc721/enumerable/presets/ERC721EnumerableMintableBurnable.cairo +++ b/src/openzeppelin/token/erc721/enumerable/presets/ERC721EnumerableMintableBurnable.cairo @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -// OpenZeppelin Contracts for Cairo v0.4.0 (token/erc721/enumerable/presets/ERC721EnumerableMintableBurnable.cairo) +// OpenZeppelin Contracts for Cairo v0.5.0 (token/erc721/enumerable/presets/ERC721EnumerableMintableBurnable.cairo) %lang starknet diff --git a/src/openzeppelin/token/erc721/enumerable/presets/utils/ERC721Holder.cairo b/src/openzeppelin/token/erc721/enumerable/presets/utils/ERC721Holder.cairo index 3dcdc5bb3..511a41afc 100644 --- a/src/openzeppelin/token/erc721/enumerable/presets/utils/ERC721Holder.cairo +++ b/src/openzeppelin/token/erc721/enumerable/presets/utils/ERC721Holder.cairo @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -// OpenZeppelin Contracts for Cairo v0.4.0 (token/erc721/presets/utils/ERC721Holder.cairo) +// OpenZeppelin Contracts for Cairo v0.5.0 (token/erc721/presets/utils/ERC721Holder.cairo) %lang starknet diff --git a/src/openzeppelin/token/erc721/library.cairo b/src/openzeppelin/token/erc721/library.cairo index 8f68cd068..cb1d01b2c 100644 --- a/src/openzeppelin/token/erc721/library.cairo +++ b/src/openzeppelin/token/erc721/library.cairo @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -// OpenZeppelin Contracts for Cairo v0.4.0 (token/erc721/library.cairo) +// OpenZeppelin Contracts for Cairo v0.5.0 (token/erc721/library.cairo) %lang starknet diff --git a/src/openzeppelin/token/erc721/presets/ERC721MintableBurnable.cairo b/src/openzeppelin/token/erc721/presets/ERC721MintableBurnable.cairo index 1bfd3fe3f..4623cc3a6 100644 --- a/src/openzeppelin/token/erc721/presets/ERC721MintableBurnable.cairo +++ b/src/openzeppelin/token/erc721/presets/ERC721MintableBurnable.cairo @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -// OpenZeppelin Contracts for Cairo v0.4.0 (token/erc721/presets/ERC721MintableBurnable.cairo) +// OpenZeppelin Contracts for Cairo v0.5.0 (token/erc721/presets/ERC721MintableBurnable.cairo) %lang starknet diff --git a/src/openzeppelin/token/erc721/presets/ERC721MintablePausable.cairo b/src/openzeppelin/token/erc721/presets/ERC721MintablePausable.cairo index 5b56f6824..55d6fb572 100644 --- a/src/openzeppelin/token/erc721/presets/ERC721MintablePausable.cairo +++ b/src/openzeppelin/token/erc721/presets/ERC721MintablePausable.cairo @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -// OpenZeppelin Contracts for Cairo v0.4.0 (token/erc721/presets/ERC721MintablePausable.cairo) +// OpenZeppelin Contracts for Cairo v0.5.0 (token/erc721/presets/ERC721MintablePausable.cairo) %lang starknet diff --git a/src/openzeppelin/upgrades/library.cairo b/src/openzeppelin/upgrades/library.cairo index c75e4e6a8..7bb7bcaf7 100644 --- a/src/openzeppelin/upgrades/library.cairo +++ b/src/openzeppelin/upgrades/library.cairo @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -// OpenZeppelin Contracts for Cairo v0.4.0 (upgrades/library.cairo) +// OpenZeppelin Contracts for Cairo v0.5.0 (upgrades/library.cairo) %lang starknet diff --git a/src/openzeppelin/upgrades/presets/Proxy.cairo b/src/openzeppelin/upgrades/presets/Proxy.cairo index 50785ee8a..df9b06df6 100644 --- a/src/openzeppelin/upgrades/presets/Proxy.cairo +++ b/src/openzeppelin/upgrades/presets/Proxy.cairo @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -// OpenZeppelin Contracts for Cairo v0.4.0 (upgrades/presets/Proxy.cairo) +// OpenZeppelin Contracts for Cairo v0.5.0 (upgrades/presets/Proxy.cairo) %lang starknet diff --git a/src/openzeppelin/utils/constants/library.cairo b/src/openzeppelin/utils/constants/library.cairo index aad8242b3..ef5ee0c36 100644 --- a/src/openzeppelin/utils/constants/library.cairo +++ b/src/openzeppelin/utils/constants/library.cairo @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -// OpenZeppelin Contracts for Cairo v0.4.0 (utils/constants/library.cairo) +// OpenZeppelin Contracts for Cairo v0.5.0 (utils/constants/library.cairo) %lang starknet diff --git a/src/openzeppelin/utils/presets/UniversalDeployer.cairo b/src/openzeppelin/utils/presets/UniversalDeployer.cairo index 3256000bc..799cee4c0 100644 --- a/src/openzeppelin/utils/presets/UniversalDeployer.cairo +++ b/src/openzeppelin/utils/presets/UniversalDeployer.cairo @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -// OpenZeppelin Contracts for Cairo v0.4.0 (utils/presets/UniversalDeployer.cairo) +// OpenZeppelin Contracts for Cairo v0.5.0 (utils/presets/UniversalDeployer.cairo) %lang starknet