diff --git a/README.md b/README.md index 77107c130..7f652c125 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.5.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.4.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.5.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.4.0/utilities#uint256) for more information. ### Write a custom contract using library modules -[Read more about libraries](https://docs.openzeppelin.com/contracts-cairo/0.5.0/extensibility#libraries). +[Read more about libraries](https://docs.openzeppelin.com/contracts-cairo/0.4.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.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) +- [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) ### Cairo @@ -257,7 +257,7 @@ def foo_factory(): return cached_foo ``` -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. +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. > Note that this does not apply for stateless libraries such as SafeMath. diff --git a/docs/antora.yml b/docs/antora.yml index b4c46eb5f..45dc8f04a 100644 --- a/docs/antora.yml +++ b/docs/antora.yml @@ -1,5 +1,5 @@ name: contracts-cairo title: Contracts for Cairo -version: 0.5.0 +version: 0.4.0 nav: - modules/ROOT/nav.adoc diff --git a/scripts/update_version.py b/scripts/update_version.py index 122e5c49d..59ed6f586 100644 --- a/scripts/update_version.py +++ b/scripts/update_version.py @@ -3,7 +3,7 @@ import sys from pathlib import Path -CURRENT_VERSION = "v0.5.0" +CURRENT_VERSION = "v0.4.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 514fc053a..2ab70d92f 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.5.0 (access/accesscontrol/IAccessControl.cairo) +// OpenZeppelin Contracts for Cairo v0.4.0 (access/accesscontrol/IAccessControl.cairo) %lang starknet diff --git a/src/openzeppelin/access/accesscontrol/library.cairo b/src/openzeppelin/access/accesscontrol/library.cairo index 4260bcd11..42b65c80f 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.5.0 (access/accesscontrol/library.cairo) +// OpenZeppelin Contracts for Cairo v0.4.0 (access/accesscontrol/library.cairo) %lang starknet diff --git a/src/openzeppelin/access/ownable/library.cairo b/src/openzeppelin/access/ownable/library.cairo index e2a9c172f..03032b1c3 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.5.0 (access/ownable/library.cairo) +// OpenZeppelin Contracts for Cairo v0.4.0 (access/ownable/library.cairo) %lang starknet diff --git a/src/openzeppelin/account/IAccount.cairo b/src/openzeppelin/account/IAccount.cairo index 731668ee2..1601ddcbd 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.5.0 (account/IAccount.cairo) +// OpenZeppelin Contracts for Cairo v0.4.0 (account/IAccount.cairo) %lang starknet diff --git a/src/openzeppelin/account/library.cairo b/src/openzeppelin/account/library.cairo index 2fb8864f6..f48c4c59d 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.5.0 (account/library.cairo) +// OpenZeppelin Contracts for Cairo v0.4.0 (account/library.cairo) %lang starknet diff --git a/src/openzeppelin/account/presets/Account.cairo b/src/openzeppelin/account/presets/Account.cairo index 4f68470aa..f6978f34c 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.5.0 (account/presets/Account.cairo) +// OpenZeppelin Contracts for Cairo v0.4.0 (account/presets/Account.cairo) %lang starknet diff --git a/src/openzeppelin/account/presets/AddressRegistry.cairo b/src/openzeppelin/account/presets/AddressRegistry.cairo index bea637e09..aa0c75d42 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.5.0 (account/presets/AddressRegistry.cairo) +// OpenZeppelin Contracts for Cairo v0.4.0 (account/presets/AddressRegistry.cairo) %lang starknet diff --git a/src/openzeppelin/account/presets/EthAccount.cairo b/src/openzeppelin/account/presets/EthAccount.cairo index 0f59dfc2a..35f2313b8 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.5.0 (account/presets/EthAccount.cairo) +// OpenZeppelin Contracts for Cairo v0.4.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 745fff01a..13a9c38ae 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.5.0 (introspection/erc165/IERC165.cairo) +// OpenZeppelin Contracts for Cairo v0.4.0 (introspection/erc165/IERC165.cairo) %lang starknet diff --git a/src/openzeppelin/introspection/erc165/library.cairo b/src/openzeppelin/introspection/erc165/library.cairo index 689bdb0b2..9a6e290e5 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.5.0 (introspection/erc165/library.cairo) +// OpenZeppelin Contracts for Cairo v0.4.0 (introspection/erc165/library.cairo) %lang starknet diff --git a/src/openzeppelin/security/initializable/library.cairo b/src/openzeppelin/security/initializable/library.cairo index 1fe00ab27..6f7381433 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.5.0 (security/initializable/library.cairo) +// OpenZeppelin Contracts for Cairo v0.4.0 (security/initializable/library.cairo) %lang starknet diff --git a/src/openzeppelin/security/pausable/library.cairo b/src/openzeppelin/security/pausable/library.cairo index 158146bf2..78c07dd1a 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.5.0 (security/pausable/library.cairo) +// OpenZeppelin Contracts for Cairo v0.4.0 (security/pausable/library.cairo) %lang starknet diff --git a/src/openzeppelin/security/reentrancyguard/library.cairo b/src/openzeppelin/security/reentrancyguard/library.cairo index 19db62215..0ee8b83d9 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.5.0 (security/reentrancyguard/library.cairo) +// OpenZeppelin Contracts for Cairo v0.4.0 (security/reentrancyguard/library.cairo) %lang starknet diff --git a/src/openzeppelin/security/safemath/library.cairo b/src/openzeppelin/security/safemath/library.cairo index 912b471d7..3105a6932 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.5.0 (security/safemath/library.cairo) +// OpenZeppelin Contracts for Cairo v0.4.0 (security/safemath/library.cairo) %lang starknet diff --git a/src/openzeppelin/token/erc20/IERC20.cairo b/src/openzeppelin/token/erc20/IERC20.cairo index 79c08dad0..21e705c80 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.5.0 (token/erc20/IERC20.cairo) +// OpenZeppelin Contracts for Cairo v0.4.0 (token/erc20/IERC20.cairo) %lang starknet diff --git a/src/openzeppelin/token/erc20/library.cairo b/src/openzeppelin/token/erc20/library.cairo index 2503f5bde..7a4c9f756 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.5.0 (token/erc20/library.cairo) +// OpenZeppelin Contracts for Cairo v0.4.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 ac9f6a3d0..df227359f 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.5.0 (token/erc20/presets/ERC20.cairo) +// OpenZeppelin Contracts for Cairo v0.4.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 62e2cdcf4..0ca9595fb 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.5.0 (token/erc20/presets/ERC20Burnable.cairo) +// OpenZeppelin Cairo Contracts v0.4.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 e07b9373b..8f77e70d5 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.5.0 (token/erc20/presets/ERC20Mintable.cairo) +// OpenZeppelin Contracts for Cairo v0.4.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 aaa25fd97..5b423fc58 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.5.0 (token/erc20/presets/ERC20Pausable.cairo) +// OpenZeppelin Contracts for Cairo v0.4.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 8819c12e9..13bfa2c04 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.5.0 (token/erc20/presets/ERC20Upgradeable.cairo) +// OpenZeppelin Contracts for Cairo v0.4.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 473a5f307..8541246c4 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.5.0 (token/erc721/IERC721.cairo) +// OpenZeppelin Contracts for Cairo v0.4.0 (token/erc721/IERC721.cairo) %lang starknet diff --git a/src/openzeppelin/token/erc721/IERC721Metadata.cairo b/src/openzeppelin/token/erc721/IERC721Metadata.cairo index a3743a873..51be9c585 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.5.0 (token/erc721/IERC721Metadata.cairo) +// OpenZeppelin Contracts for Cairo v0.4.0 (token/erc721/IERC721Metadata.cairo) %lang starknet diff --git a/src/openzeppelin/token/erc721/IERC721Receiver.cairo b/src/openzeppelin/token/erc721/IERC721Receiver.cairo index bb724b798..f6be9dfd6 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.5.0 (token/erc721/IERC721Receiver.cairo) +// OpenZeppelin Contracts for Cairo v0.4.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 94b5ea5fd..abdec0622 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.5.0 (token/erc721/enumerable/IERC721Enumerable.cairo) +// OpenZeppelin Contracts for Cairo v0.4.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 eaf5698f2..64ceaa7ee 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.5.0 (token/erc721/enumerable/library.cairo) +// OpenZeppelin Contracts for Cairo v0.4.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 175705371..a89b1fbb7 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.5.0 (token/erc721/enumerable/presets/ERC721EnumerableMintableBurnable.cairo) +// OpenZeppelin Contracts for Cairo v0.4.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 511a41afc..3dcdc5bb3 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.5.0 (token/erc721/presets/utils/ERC721Holder.cairo) +// OpenZeppelin Contracts for Cairo v0.4.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 cb1d01b2c..8f68cd068 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.5.0 (token/erc721/library.cairo) +// OpenZeppelin Contracts for Cairo v0.4.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 4623cc3a6..1bfd3fe3f 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.5.0 (token/erc721/presets/ERC721MintableBurnable.cairo) +// OpenZeppelin Contracts for Cairo v0.4.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 55d6fb572..5b56f6824 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.5.0 (token/erc721/presets/ERC721MintablePausable.cairo) +// OpenZeppelin Contracts for Cairo v0.4.0 (token/erc721/presets/ERC721MintablePausable.cairo) %lang starknet diff --git a/src/openzeppelin/upgrades/library.cairo b/src/openzeppelin/upgrades/library.cairo index 7bb7bcaf7..c75e4e6a8 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.5.0 (upgrades/library.cairo) +// OpenZeppelin Contracts for Cairo v0.4.0 (upgrades/library.cairo) %lang starknet diff --git a/src/openzeppelin/upgrades/presets/Proxy.cairo b/src/openzeppelin/upgrades/presets/Proxy.cairo index df9b06df6..50785ee8a 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.5.0 (upgrades/presets/Proxy.cairo) +// OpenZeppelin Contracts for Cairo v0.4.0 (upgrades/presets/Proxy.cairo) %lang starknet diff --git a/src/openzeppelin/utils/constants/library.cairo b/src/openzeppelin/utils/constants/library.cairo index ef5ee0c36..aad8242b3 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.5.0 (utils/constants/library.cairo) +// OpenZeppelin Contracts for Cairo v0.4.0 (utils/constants/library.cairo) %lang starknet diff --git a/src/openzeppelin/utils/presets/UniversalDeployer.cairo b/src/openzeppelin/utils/presets/UniversalDeployer.cairo index 799cee4c0..3256000bc 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.5.0 (utils/presets/UniversalDeployer.cairo) +// OpenZeppelin Contracts for Cairo v0.4.0 (utils/presets/UniversalDeployer.cairo) %lang starknet