Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release v0.9.0 #909

Merged
merged 8 commits into from
Feb 9, 2024
Merged
Show file tree
Hide file tree
Changes from 7 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
3 changes: 2 additions & 1 deletion .github/workflows/prepare-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,8 @@ jobs:
run: |
echo "Current version: $CURRENT_VERSION"
echo "New version: $NEW_VERSION"
find . -type f -not -path '*/\.*' -not -path './CHANGELOG.md' -not -path './docs/package-lock.json' -not -path './RELEASING.md' -exec sed -i "s/$CURRENT_VERSION/$NEW_VERSION/g" {} +
SCAPED_CURRENT_VERSION=$(echo $CURRENT_VERSION | sed 's/\./\\./g')
martriay marked this conversation as resolved.
Show resolved Hide resolved
find . -type f -not -path '*/\.*' -not -path './CHANGELOG.md' -not -path './docs/package-lock.json' -not -path './RELEASING.md' -exec sed -i "s/$SCAPED_CURRENT_VERSION/$NEW_VERSION/g" {} +
ericnordelo marked this conversation as resolved.
Show resolved Hide resolved

- name: Auto-commit changes
uses: stefanzweifel/git-auto-commit-action@3ea6ae190baf489ba007f7c92608f33ce20ef04a #v4.16.0
Expand Down
5 changes: 3 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## Unreleased

## 0.9.0 (2024-02-08)

### Added

- EthAccount component and preset (#853)
Expand All @@ -18,7 +20,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Bump scarb to v2.4.4 (#853)
- Bump scarb to v2.5.3 (#898)
- OwnershipTransferred event args are indexed (#809)

### Removed

- Non standard increase_allowance and decrease_allowance functions in ERC20 contract (#881)
Expand All @@ -42,4 +44,3 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Support higher tx versions in Account (#858)
- Bump scarb to v2.4.1 (#858)
- Add security section to Upgrades docs (#861)

8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ Edit `scarb.toml` and add:

```toml
[dependencies]
openzeppelin = { git = "https://github.com/OpenZeppelin/cairo-contracts.git", tag = "v0.8.1" }
openzeppelin = { git = "https://github.com/OpenZeppelin/cairo-contracts.git", tag = "v0.9.0" }
```

Build the project to download it:
Expand Down Expand Up @@ -106,7 +106,7 @@ mod MyToken {

### Unsupported

[`DualCase` dispatchers](https://docs.openzeppelin.com/contracts-cairo/0.8.1/interfaces#dualcase_dispatchers) rely on Sierra's ability to catch a revert to resume execution. Currently, Starknet live chains (testnets and mainnet) don't implement that behavior. Starknet's testing framework does support it.
[`DualCase` dispatchers](https://docs.openzeppelin.com/contracts-cairo/0.9.0/interfaces#dualcase_dispatchers) rely on Sierra's ability to catch a revert to resume execution. Currently, Starknet live chains (testnets and mainnet) don't implement that behavior. Starknet's testing framework does support it.

## Learn

Expand Down Expand Up @@ -156,8 +156,8 @@ git clone git@github.com:OpenZeppelin/cairo-contracts.git
$ cd cairo-contracts
$ scarb build

Compiling lib(openzeppelin) openzeppelin v0.8.1 (~/cairo-contracts/Scarb.toml)
Compiling starknet-contract(openzeppelin) openzeppelin v0.8.1 (~/cairo-contracts/Scarb.toml)
Compiling lib(openzeppelin) openzeppelin v0.9.0 (~/cairo-contracts/Scarb.toml)
Compiling starknet-contract(openzeppelin) openzeppelin v0.9.0 (~/cairo-contracts/Scarb.toml)
Finished release target(s) in 16 seconds
```

Expand Down
2 changes: 1 addition & 1 deletion Scarb.lock
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@ version = 1

[[package]]
name = "openzeppelin"
version = "0.8.1"
version = "0.9.0"
2 changes: 1 addition & 1 deletion Scarb.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "openzeppelin"
version = "0.8.1"
version = "0.9.0"
edition = "2023_01"
cairo-version = "2.5.3"
authors = ["OpenZeppelin Community <maintainers@openzeppelin.org>"]
Expand Down
2 changes: 1 addition & 1 deletion docs/antora.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: contracts-cairo
title: Contracts for Cairo
version: 0.8.1
version: 0.9.0
nav:
- modules/ROOT/nav.adoc
asciidoc:
Expand Down
2 changes: 1 addition & 1 deletion docs/modules/ROOT/pages/access.adoc
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
:ownable-cairo: link:https://github.com/OpenZeppelin/cairo-contracts/blob/release-v0.8.1/src/access/ownable/ownable.cairo[Ownable]
:ownable-cairo: link:https://github.com/OpenZeppelin/cairo-contracts/blob/release-v0.9.0/src/access/ownable/ownable.cairo[Ownable]
:sn_keccak: https://docs.starknet.io/documentation/architecture_and_concepts/Cryptography/hash-functions/#starknet_keccak[sn_keccak]

= Access
Expand Down
6 changes: 3 additions & 3 deletions docs/modules/ROOT/pages/api/access.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ assigned each to multiple accounts.

[.contract]
[[OwnableComponent]]
=== `++OwnableComponent++` link:https://github.com/OpenZeppelin/cairo-contracts/blob/release-v0.8.1/src/access/ownable/ownable.cairo[{github-icon},role=heading-link]
=== `++OwnableComponent++` link:https://github.com/OpenZeppelin/cairo-contracts/blob/release-v0.9.0/src/access/ownable/ownable.cairo[{github-icon},role=heading-link]

```javascript
use openzeppelin::access::ownable::OwnableComponent;
Expand Down Expand Up @@ -257,7 +257,7 @@ Emitted when the ownership is transferred.

[.contract]
[[IAccessControl]]
=== `++IAccessControl++` link:https://github.com/OpenZeppelin/cairo-contracts/blob/release-v0.8.1/src/access/accesscontrol/interface.cairo[{github-icon},role=heading-link]
=== `++IAccessControl++` link:https://github.com/OpenZeppelin/cairo-contracts/blob/release-v0.9.0/src/access/accesscontrol/interface.cairo[{github-icon},role=heading-link]

:grant_role: xref:#IAccessControl-grant_role[grant_role]
:revoke_role: xref:#IAccessControl-revoke_role[revoke_role]
Expand Down Expand Up @@ -390,7 +390,7 @@ Emitted when `account` is revoked `role`.

[.contract]
[[AccessControlComponent]]
=== `++AccessControlComponent++` link:https://github.com/OpenZeppelin/cairo-contracts/blob/release-v0.8.1/src/access/accesscontrol/accesscontrol.cairo[{github-icon},role=heading-link]
=== `++AccessControlComponent++` link:https://github.com/OpenZeppelin/cairo-contracts/blob/release-v0.9.0/src/access/accesscontrol/accesscontrol.cairo[{github-icon},role=heading-link]

:assert_only_role: xref:#AccessControlComponent-assert_only_role
:grant_role: xref:#AccessControlComponent-grant_role[grant_role]
Expand Down
10 changes: 5 additions & 5 deletions docs/modules/ROOT/pages/api/account.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ Reference of interfaces, presets, and utilities related to account contracts.

[.contract]
[[ISRC6]]
=== `++ISRC6++` link:https://github.com/OpenZeppelin/cairo-contracts/blob/release-v0.8.1/src/account/interface.cairo[{github-icon},role=heading-link]
=== `++ISRC6++` link:https://github.com/OpenZeppelin/cairo-contracts/blob/release-v0.9.0/src/account/interface.cairo[{github-icon},role=heading-link]

```javascript
use openzeppelin::account::interface::ISRC6;
Expand Down Expand Up @@ -63,7 +63,7 @@ Returns the short string `'VALID'` if valid, otherwise it reverts.

[.contract]
[[AccountComponent]]
=== `++AccountComponent++` link:https://github.com/OpenZeppelin/cairo-contracts/blob/release-v0.8.1/src/account/account.cairo[{github-icon},role=heading-link]
=== `++AccountComponent++` link:https://github.com/OpenZeppelin/cairo-contracts/blob/release-v0.9.0/src/account/account.cairo[{github-icon},role=heading-link]

:OwnerAdded: xref:AccountComponent-OwnerAdded[OwnerAdded]
:OwnerRemoved: xref:AccountComponent-OwnerRemoved[OwnerRemoved]
Expand Down Expand Up @@ -263,7 +263,7 @@ Emitted when a `public_key` is removed.

[.contract]
[[EthAccountComponent]]
=== `++EthAccountComponent++` link:https://github.com/OpenZeppelin/cairo-contracts/blob/release-v0.8.1/src/account/eth_account.cairo[{github-icon},role=heading-link]
=== `++EthAccountComponent++` link:https://github.com/OpenZeppelin/cairo-contracts/blob/release-v0.9.0/src/account/eth_account.cairo[{github-icon},role=heading-link]

:OwnerAdded: xref:EthAccountComponent-OwnerAdded[OwnerAdded]
:OwnerRemoved: xref:EthAccountComponent-OwnerRemoved[OwnerRemoved]
Expand Down Expand Up @@ -469,7 +469,7 @@ Emitted when a `public_key` is removed.

[.contract]
[[Account]]
=== `++Account++` link:https://github.com/OpenZeppelin/cairo-contracts/blob/release-v0.8.1/src/presets/account.cairo[{github-icon},role=heading-link]
=== `++Account++` link:https://github.com/OpenZeppelin/cairo-contracts/blob/release-v0.9.0/src/presets/account.cairo[{github-icon},role=heading-link]

```javascript
use openzeppelin::presets::Account;
Expand Down Expand Up @@ -519,7 +519,7 @@ Sets the account `public_key` and registers the interfaces the contract supports

[.contract]
[[EthAccountUpgradeable]]
=== `++EthAccountUpgradeable++` link:https://github.com/OpenZeppelin/cairo-contracts/blob/release-v0.8.1/src/presets/eth_account.cairo[{github-icon},role=heading-link]
=== `++EthAccountUpgradeable++` link:https://github.com/OpenZeppelin/cairo-contracts/blob/release-v0.9.0/src/presets/eth_account.cairo[{github-icon},role=heading-link]

```javascript
use openzeppelin::presets::EthAccountUpgradeable;
Expand Down
8 changes: 4 additions & 4 deletions docs/modules/ROOT/pages/api/erc20.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ TIP: For an overview of ERC20, read our {erc20-guide}.

[.contract]
[[IERC20]]
=== `++IERC20++` link:https://github.com/OpenZeppelin/cairo-contracts/blob/release-v0.8.1/src/token/erc20/interface.cairo[{github-icon},role=heading-link]
=== `++IERC20++` link:https://github.com/OpenZeppelin/cairo-contracts/blob/release-v0.9.0/src/token/erc20/interface.cairo[{github-icon},role=heading-link]

[.hljs-theme-dark]
```javascript
Expand Down Expand Up @@ -112,7 +112,7 @@ Emitted when the allowance of a `spender` for an `owner` is set.

[.contract]
[[IERC20Metadata]]
=== `++IERC20Metadata++` link:https://github.com/OpenZeppelin/cairo-contracts/blob/release-v0.8.1/src/token/erc20/interface.cairo#L19[{github-icon},role=heading-link]
=== `++IERC20Metadata++` link:https://github.com/OpenZeppelin/cairo-contracts/blob/release-v0.9.0/src/token/erc20/interface.cairo#L19[{github-icon},role=heading-link]

[.hljs-theme-dark]
```javascript
Expand Down Expand Up @@ -160,7 +160,7 @@ NOTE: This information is only used for _display_ purposes: it in no way affects

[.contract]
[[ERC20Component]]
=== `++ERC20Component++` link:https://github.com/OpenZeppelin/cairo-contracts/blob/release-v0.8.1/src/token/erc20/erc20.cairo[{github-icon},role=heading-link]
=== `++ERC20Component++` link:https://github.com/OpenZeppelin/cairo-contracts/blob/release-v0.9.0/src/token/erc20/erc20.cairo[{github-icon},role=heading-link]

[.hljs-theme-dark]
```javascript
Expand Down Expand Up @@ -407,7 +407,7 @@ See <<IERC20-Approval,IERC20::Approval>>.

[.contract]
[[ERC20]]
=== `++ERC20++` link:https://github.com/OpenZeppelin/cairo-contracts/blob/release-v0.8.1/src/presets/erc20.cairo[{github-icon},role=heading-link]
=== `++ERC20++` link:https://github.com/OpenZeppelin/cairo-contracts/blob/release-v0.9.0/src/presets/erc20.cairo[{github-icon},role=heading-link]

```javascript
use openzeppelin::presets::ERC20;
Expand Down
2 changes: 1 addition & 1 deletion docs/modules/ROOT/pages/api/erc721.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -602,7 +602,7 @@ Whenever an IERC721 `token_id` token is transferred to this non-account contract

[.contract]
[[ERC721]]
=== `++ERC721++` link:https://github.com/OpenZeppelin/cairo-contracts/blob/release-v0.8.1/src/presets/erc721.cairo[{github-icon},role=heading-link]
=== `++ERC721++` link:https://github.com/OpenZeppelin/cairo-contracts/blob/release-v0.9.0/src/presets/erc721.cairo[{github-icon},role=heading-link]

```javascript
use openzeppelin::presets::ERC721;
Expand Down
4 changes: 2 additions & 2 deletions docs/modules/ROOT/pages/api/introspection.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ Reference of interfaces and utilities related to https://en.wikipedia.org/wiki/T

[.contract]
[[ISRC5]]
=== `++ISRC5++` link:https://github.com/OpenZeppelin/cairo-contracts/blob/release-v0.8.1/src/introspection/interface.cairo#L7[{github-icon},role=heading-link]
=== `++ISRC5++` link:https://github.com/OpenZeppelin/cairo-contracts/blob/release-v0.9.0/src/introspection/interface.cairo#L7[{github-icon},role=heading-link]

```javascript
use openzeppelin::introspection::interface::ISRC5;
Expand Down Expand Up @@ -44,7 +44,7 @@ on how to compute this ID.

[.contract]
[[SRC5Component]]
=== `++SRC5Component++` link:https://github.com/OpenZeppelin/cairo-contracts/blob/release-v0.8.1/src/introspection/src5.cairo[{github-icon},role=heading-link]
=== `++SRC5Component++` link:https://github.com/OpenZeppelin/cairo-contracts/blob/release-v0.9.0/src/introspection/src5.cairo[{github-icon},role=heading-link]

```javascript
use openzeppelin::introspection::src5::SRC5Component;
Expand Down
6 changes: 3 additions & 3 deletions docs/modules/ROOT/pages/api/security.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ Reference of components, interfaces and utilities found in the library's `securi

[.contract]
[[InitializableComponent]]
=== `++InitializableComponent++` link:https://github.com/OpenZeppelin/cairo-contracts/blob/release-v0.8.1/src/security/initializable.cairo[{github-icon},role=heading-link]
=== `++InitializableComponent++` link:https://github.com/OpenZeppelin/cairo-contracts/blob/release-v0.9.0/src/security/initializable.cairo[{github-icon},role=heading-link]

```javascript
use openzeppelin::security::InitializableComponent;
Expand Down Expand Up @@ -58,7 +58,7 @@ Requirements:

[.contract]
[[PausableComponent]]
=== `++PausableComponent++` link:https://github.com/OpenZeppelin/cairo-contracts/blob/release-v0.8.1/src/security/pausable.cairo[{github-icon},role=heading-link]
=== `++PausableComponent++` link:https://github.com/OpenZeppelin/cairo-contracts/blob/release-v0.9.0/src/security/pausable.cairo[{github-icon},role=heading-link]

:Paused: xref:PausableComponent-Paused[Paused]
:Unpaused: xref:PausableComponent-Unpaused[Unpaused]
Expand Down Expand Up @@ -163,7 +163,7 @@ Emitted when the contract is unpaused by `account`.

[.contract]
[[ReentrancyGuardComponent]]
=== `++ReentrancyGuardComponent++` link:https://github.com/OpenZeppelin/cairo-contracts/blob/release-v0.8.1/src/security/reentrancyguard.cairo[{github-icon},role=heading-link]
=== `++ReentrancyGuardComponent++` link:https://github.com/OpenZeppelin/cairo-contracts/blob/release-v0.9.0/src/security/reentrancyguard.cairo[{github-icon},role=heading-link]

```javascript
use openzeppelin::security::ReentrancyGuardComponent;
Expand Down
4 changes: 2 additions & 2 deletions docs/modules/ROOT/pages/api/upgrades.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ Reference of interfaces and utilities related to upgradeability.

[.contract]
[[IUpgradeable]]
=== `++IUpgradeable++` link:https://github.com/OpenZeppelin/cairo-contracts/blob/release-v0.8.1/src/upgrades/interface.cairo#L3[{github-icon},role=heading-link]
=== `++IUpgradeable++` link:https://github.com/OpenZeppelin/cairo-contracts/blob/release-v0.9.0/src/upgrades/interface.cairo#L3[{github-icon},role=heading-link]

:Upgraded: xref:UpgradeableComponent-Upgraded[Upgraded]

Expand Down Expand Up @@ -38,7 +38,7 @@ NOTE: This function is usually protected by an xref:access.adoc[Access Control]

[.contract]
[[UpgradeableComponent]]
=== `++UpgradeableComponent++` link:https://github.com/OpenZeppelin/cairo-contracts/blob/release-v0.8.1/src/upgrades/upgradeable.cairo[{github-icon},role=heading-link]
=== `++UpgradeableComponent++` link:https://github.com/OpenZeppelin/cairo-contracts/blob/release-v0.9.0/src/upgrades/upgradeable.cairo[{github-icon},role=heading-link]

```javascript
use openzeppelin::upgrades::upgradeable::UpgradeableComponent;
Expand Down
2 changes: 1 addition & 1 deletion docs/modules/ROOT/pages/index.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ Install the library by declaring it as a dependency in the project's `Scarb.toml
[,text]
----
[dependencies]
openzeppelin = { git = "https://github.com/OpenZeppelin/cairo-contracts.git", tag = "v0.8.1" }
openzeppelin = { git = "https://github.com/OpenZeppelin/cairo-contracts.git", tag = "v0.9.0" }
----

WARNING: Make sure the tag matches the target release.
Expand Down
2 changes: 1 addition & 1 deletion docs/modules/ROOT/pages/upgrades.adoc
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
:contract_classes: https://docs.starknet.io/documentation/architecture_and_concepts/Smart_Contracts/contract-classes/[Contract Classes]
:class_hash: https://docs.starknet.io/documentation/architecture_and_concepts/Smart_Contracts/class-hash/[class hash]
:replace_class_syscall: https://docs.starknet.io/documentation/architecture_and_concepts/Smart_Contracts/system-calls-cairo1/#replace_class[replace_class]
:upgradeable: https://github.com/OpenZeppelin/cairo-contracts/blob/release-v0.8.1/src/upgrades/upgradeable.cairo[Upgradeable]
:upgradeable: https://github.com/OpenZeppelin/cairo-contracts/blob/release-v0.9.0/src/upgrades/upgradeable.cairo[Upgradeable]
:ownable: xref:access.adoc#ownership_and_ownable[Ownable]
:i_upgradeable: xref:api/upgrades.adoc#IUpgradeable[IUpgradeable]
:library_calls: https://docs.starknet.io/documentation/architecture_and_concepts/Smart_Contracts/system-calls-cairo1/#library_call[library calls]
Expand Down
4 changes: 2 additions & 2 deletions docs/modules/ROOT/pages/utilities.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ See xref:#serde[`openzeppelin::utils::serde`].
use openzeppelin::utils::selectors;
```

:selectors: https://github.com/OpenZeppelin/cairo-contracts/blob/release-v0.8.1-beta.0/src/utils/selectors.cairo[selectors.cairo]
:selectors: https://github.com/OpenZeppelin/cairo-contracts/blob/release-v0.9.0-beta.0/src/utils/selectors.cairo[selectors.cairo]

Module containing constants matching multiple selectors used through the library.
To see the full list of selectors, see {selectors}.
Expand Down Expand Up @@ -284,7 +284,7 @@ See xref:#constants[`openzeppelin::tests::utils::constants`].
use openzeppelin::tests::utils::constants;
```

:constants: https://github.com/OpenZeppelin/cairo-contracts/blob/release-v0.8.1-beta.0/src/tests/utils/constants.cairo[constants.cairo]
:constants: https://github.com/OpenZeppelin/cairo-contracts/blob/release-v0.9.0-beta.0/src/tests/utils/constants.cairo[constants.cairo]

Module containing constants that are repeatedly used among tests.
To see the full list, see {constants}.
2 changes: 1 addition & 1 deletion docs/modules/ROOT/pages/utils/_class_hashes.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
// Class Hashes
:account-class-hash: 0x01148c31dfa5c4708a4e9cf1eb0fd3d4d8ad9ccf09d0232cd6b56bee64a7de9d
:eth-account-upgradeable-class-hash: 0x023e416842ca96b1f7067693892ed00881d97a4b0d9a4c793b75cb887944d98d
:erc20-class-hash: 0x07c9b5a246fe83b0cd81de65daddb94b3803f94950db99bf2431bbfecf284642
:erc20-class-hash: 0x7d94f28156c0dc3bfd9a07ca79b15b8da2b5b32093db79000fcd0f6f625d213
:erc721-class-hash: 0x06b7c9efc5467c621f58d87995302d940a39b7217b5c5a7a55555c97cabf5cd8

// Presets page
Expand Down
2 changes: 1 addition & 1 deletion src/access/accesscontrol/accesscontrol.cairo
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts for Cairo v0.8.1 (access/accesscontrol/accesscontrol.cairo)
// OpenZeppelin Contracts for Cairo v0.9.0 (access/accesscontrol/accesscontrol.cairo)

/// # AccessControl Component
///
Expand Down
2 changes: 1 addition & 1 deletion src/access/accesscontrol/dual_accesscontrol.cairo
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts for Cairo v0.8.1 (access/accesscontrol/dual_accesscontrol.cairo)
// OpenZeppelin Contracts for Cairo v0.9.0 (access/accesscontrol/dual_accesscontrol.cairo)

use openzeppelin::utils::UnwrapAndCast;
use openzeppelin::utils::selectors;
Expand Down
2 changes: 1 addition & 1 deletion src/access/accesscontrol/interface.cairo
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts for Cairo v0.8.1 (access/accesscontrol/interface.cairo)
// OpenZeppelin Contracts for Cairo v0.9.0 (access/accesscontrol/interface.cairo)

use starknet::ContractAddress;

Expand Down
2 changes: 1 addition & 1 deletion src/access/ownable/dual_ownable.cairo
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts for Cairo v0.8.1 (access/ownable/dual_ownable.cairo)
// OpenZeppelin Contracts for Cairo v0.9.0 (access/ownable/dual_ownable.cairo)

use openzeppelin::utils::UnwrapAndCast;
use openzeppelin::utils::selectors;
Expand Down
2 changes: 1 addition & 1 deletion src/access/ownable/interface.cairo
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts for Cairo v0.8.1 (access/ownable/interface.cairo)
// OpenZeppelin Contracts for Cairo v0.9.0 (access/ownable/interface.cairo)

use starknet::ContractAddress;

Expand Down
2 changes: 1 addition & 1 deletion src/access/ownable/ownable.cairo
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts for Cairo v0.8.1 (access/ownable/ownable.cairo)
// OpenZeppelin Contracts for Cairo v0.9.0 (access/ownable/ownable.cairo)

/// # Ownable Component
///
Expand Down
2 changes: 1 addition & 1 deletion src/account/account.cairo
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts for Cairo v0.8.1 (account/account.cairo)
// OpenZeppelin Contracts for Cairo v0.9.0 (account/account.cairo)

/// # Account Component
///
Expand Down
2 changes: 1 addition & 1 deletion src/account/dual_account.cairo
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts for Cairo v0.8.1 (account/dual_account.cairo)
// OpenZeppelin Contracts for Cairo v0.9.0 (account/dual_account.cairo)

use openzeppelin::utils::UnwrapAndCast;
use openzeppelin::utils::selectors;
Expand Down
2 changes: 1 addition & 1 deletion src/account/dual_eth_account.cairo
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts for Cairo v0.8.1 (account/dual_eth_account.cairo)
// OpenZeppelin Contracts for Cairo v0.9.0 (account/dual_eth_account.cairo)

use openzeppelin::account::interface::EthPublicKey;
use openzeppelin::account::utils::secp256k1::Secp256k1PointSerde;
Expand Down
2 changes: 1 addition & 1 deletion src/account/eth_account.cairo
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts for Cairo v0.8.1 (account/eth_account.cairo)
// OpenZeppelin Contracts for Cairo v0.9.0 (account/eth_account.cairo)

/// # EthAccount Component
///
Expand Down
2 changes: 1 addition & 1 deletion src/account/interface.cairo
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts for Cairo v0.8.1 (account/interface.cairo)
// OpenZeppelin Contracts for Cairo v0.9.0 (account/interface.cairo)

use openzeppelin::account::utils::secp256k1::Secp256k1PointSerde;
use starknet::ContractAddress;
Expand Down
2 changes: 1 addition & 1 deletion src/account/utils.cairo
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts for Cairo v0.8.1 (account/utils.cairo)
// OpenZeppelin Contracts for Cairo v0.9.0 (account/utils.cairo)

mod secp256k1;
mod signature;
Expand Down