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.8.1 #868

Merged
merged 3 commits into from
Jan 26, 2024
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,9 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [Unreleased]
## Unreleased

## 0.8.1 (2024-01-23)

### Added

Expand Down
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.0" }
openzeppelin = { git = "https://github.com/OpenZeppelin/cairo-contracts.git", tag = "v0.8.1" }
```

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.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.
[`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.

## 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.0 (~/cairo-contracts/Scarb.toml)
Compiling starknet-contract(openzeppelin) openzeppelin v0.8.0 (~/cairo-contracts/Scarb.toml)
Compiling lib(openzeppelin) openzeppelin v0.8.1 (~/cairo-contracts/Scarb.toml)
Compiling starknet-contract(openzeppelin) openzeppelin v0.8.1 (~/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.0"
version = "0.8.1"
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.0"
version = "0.8.1"
cairo-version = "2.4.1"
authors = ["OpenZeppelin Community <maintainers@openzeppelin.org>"]
description = "OpenZeppelin Contracts written in Cairo for StarkNet, a decentralized ZK Rollup"
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.0
version: 0.8.1
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.0/src/access/ownable/ownable.cairo[Ownable]
:ownable-cairo: link:https://github.com/OpenZeppelin/cairo-contracts/blob/release-v0.8.1/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.0/src/access/ownable/ownable.cairo[{github-icon},role=heading-link]
=== `++OwnableComponent++` link:https://github.com/OpenZeppelin/cairo-contracts/blob/release-v0.8.1/src/access/ownable/ownable.cairo[{github-icon},role=heading-link]

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

[.contract]
[[IAccessControl]]
=== `++IAccessControl++` link:https://github.com/OpenZeppelin/cairo-contracts/blob/release-v0.8.0/src/access/accesscontrol/interface.cairo[{github-icon},role=heading-link]
=== `++IAccessControl++` link:https://github.com/OpenZeppelin/cairo-contracts/blob/release-v0.8.1/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 @@ -277,7 +277,7 @@ Emitted when `account` is revoked `role`.

[.contract]
[[AccessControlComponent]]
=== `++AccessControlComponent++` link:https://github.com/OpenZeppelin/cairo-contracts/blob/release-v0.8.0/src/access/accesscontrol/accesscontrol.cairo[{github-icon},role=heading-link]
=== `++AccessControlComponent++` link:https://github.com/OpenZeppelin/cairo-contracts/blob/release-v0.8.1/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.0/src/account/interface.cairo[{github-icon},role=heading-link]
=== `++ISRC6++` link:https://github.com/OpenZeppelin/cairo-contracts/blob/release-v0.8.1/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.0/src/account/account.cairo#L27[{github-icon},role=heading-link]
=== `++AccountComponent++` link:https://github.com/OpenZeppelin/cairo-contracts/blob/release-v0.8.1/src/account/account.cairo#L27[{github-icon},role=heading-link]

:OwnerAdded: xref:AccountComponent-OwnerAdded[OwnerAdded]
:OwnerRemoved: xref:AccountComponent-OwnerRemoved[OwnerRemoved]
Expand Down Expand Up @@ -155,15 +155,15 @@ See xref:ISRC6-is_valid_signature[ISRC6::is_valid_signature].
[[AccountComponent-__validate_declare__]]
==== `[.contract-item-name]#++__validate_declare__++#++(self: @ContractState, class_hash: felt252) → felt252++` [.item-kind]#external#

Validates a https://docs.starknet.io/documentation/architecture_and_concepts/Network_Architecture/Blocks/transactions/#declare-transaction[`Declare` transaction].
Validates a https://docs.starknet.io/documentation/architecture_and_concepts/Network_Architecture/transactions/#declare-transaction[`Declare` transaction].

Returns the short string `'VALID'` if valid, otherwise it reverts.

[.contract-item]
[[AccountComponent-__validate_deploy__]]
==== `[.contract-item-name]#++__validate_deploy__++#++(self: @ContractState, class_hash: felt252, contract_address_salt: felt252, public_key: felt252) → felt252++` [.item-kind]#external#

Validates a https://docs.starknet.io/documentation/architecture_and_concepts/Network_Architecture/Blocks/transactions/#deploy_account_transaction[`DeployAccount` transaction].
Validates a https://docs.starknet.io/documentation/architecture_and_concepts/Network_Architecture/transactions/#deploy_account_transaction[`DeployAccount` transaction].
See xref:/guides/deployment.adoc[Counterfactual Deployments].

Returns the short string `'VALID'` if valid, otherwise it reverts.
Expand Down Expand Up @@ -264,7 +264,7 @@ Emitted when a `public_key` is removed.

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

```javascript
use openzeppelin::presets::Account;
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.0/src/token/erc20/interface.cairo[{github-icon},role=heading-link]
=== `++IERC20++` link:https://github.com/OpenZeppelin/cairo-contracts/blob/release-v0.8.1/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.0/src/token/erc20/interface.cairo#L19[{github-icon},role=heading-link]
=== `++IERC20Metadata++` link:https://github.com/OpenZeppelin/cairo-contracts/blob/release-v0.8.1/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.0/src/token/erc20/erc20.cairo[{github-icon},role=heading-link]
=== `++ERC20Component++` link:https://github.com/OpenZeppelin/cairo-contracts/blob/release-v0.8.1/src/token/erc20/erc20.cairo[{github-icon},role=heading-link]

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

[.contract]
[[ERC20]]
=== `++ERC20++` link:https://github.com/OpenZeppelin/cairo-contracts/blob/release-v0.8.0/src/presets/erc20.cairo[{github-icon},role=heading-link]
=== `++ERC20++` link:https://github.com/OpenZeppelin/cairo-contracts/blob/release-v0.8.1/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.0/src/presets/erc721.cairo[{github-icon},role=heading-link]
=== `++ERC721++` link:https://github.com/OpenZeppelin/cairo-contracts/blob/release-v0.8.1/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.0/src/introspection/interface.cairo#L7[{github-icon},role=heading-link]
=== `++ISRC5++` link:https://github.com/OpenZeppelin/cairo-contracts/blob/release-v0.8.1/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.0/src/introspection/src5.cairo[{github-icon},role=heading-link]
=== `++SRC5Component++` link:https://github.com/OpenZeppelin/cairo-contracts/blob/release-v0.8.1/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.0/src/security/initializable.cairo[{github-icon},role=heading-link]
=== `++InitializableComponent++` link:https://github.com/OpenZeppelin/cairo-contracts/blob/release-v0.8.1/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.0/src/security/pausable.cairo[{github-icon},role=heading-link]
=== `++PausableComponent++` link:https://github.com/OpenZeppelin/cairo-contracts/blob/release-v0.8.1/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.0/src/security/reentrancyguard.cairo[{github-icon},role=heading-link]
=== `++ReentrancyGuardComponent++` link:https://github.com/OpenZeppelin/cairo-contracts/blob/release-v0.8.1/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.0/src/upgrades/interface.cairo#L3[{github-icon},role=heading-link]
=== `++IUpgradeable++` link:https://github.com/OpenZeppelin/cairo-contracts/blob/release-v0.8.1/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.0/src/upgrades/upgradeable.cairo[{github-icon},role=heading-link]
=== `++UpgradeableComponent++` link:https://github.com/OpenZeppelin/cairo-contracts/blob/release-v0.8.1/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.0" }
openzeppelin = { git = "https://github.com/OpenZeppelin/cairo-contracts.git", tag = "v0.8.1" }
----

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.0/src/upgrades/upgradeable.cairo[Upgradeable]
:upgradeable: https://github.com/OpenZeppelin/cairo-contracts/blob/release-v0.8.1/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.0-beta.0/src/utils/selectors.cairo[selectors.cairo]
:selectors: https://github.com/OpenZeppelin/cairo-contracts/blob/release-v0.8.1-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.0-beta.0/src/tests/utils/constants.cairo[constants.cairo]
:constants: https://github.com/OpenZeppelin/cairo-contracts/blob/release-v0.8.1-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 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.0 (access/accesscontrol/accesscontrol.cairo)
// OpenZeppelin Contracts for Cairo v0.8.1 (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.0 (access/accesscontrol/dual_accesscontrol.cairo)
// OpenZeppelin Contracts for Cairo v0.8.1 (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.0 (access/accesscontrol/interface.cairo)
// OpenZeppelin Contracts for Cairo v0.8.1 (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.0 (access/ownable/dual_ownable.cairo)
// OpenZeppelin Contracts for Cairo v0.8.1 (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.0 (access/ownable/interface.cairo)
// OpenZeppelin Contracts for Cairo v0.8.1 (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.0 (access/ownable/ownable.cairo)
// OpenZeppelin Contracts for Cairo v0.8.1 (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.0 (account/account.cairo)
// OpenZeppelin Contracts for Cairo v0.8.1 (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.0 (account/dual_account.cairo)
// OpenZeppelin Contracts for Cairo v0.8.1 (account/dual_account.cairo)

use openzeppelin::utils::UnwrapAndCast;
use openzeppelin::utils::selectors;
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.0 (account/interface.cairo)
// OpenZeppelin Contracts for Cairo v0.8.1 (account/interface.cairo)

use starknet::ContractAddress;
use starknet::account::Call;
Expand Down
2 changes: 1 addition & 1 deletion src/introspection/dual_src5.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.0 (introspection/dual_src5.cairo)
// OpenZeppelin Contracts for Cairo v0.8.1 (introspection/dual_src5.cairo)

use openzeppelin::utils::UnwrapAndCast;
use openzeppelin::utils::selectors;
Expand Down
2 changes: 1 addition & 1 deletion src/introspection/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.0 (introspection/interface.cairo)
// OpenZeppelin Contracts for Cairo v0.8.1 (introspection/interface.cairo)

const ISRC5_ID: felt252 = 0x3f918d17e5ee77373b56385708f855659a07f75997f365cf87748628532a055;

Expand Down
2 changes: 1 addition & 1 deletion src/introspection/src5.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.0 (introspection/src5.cairo)
// OpenZeppelin Contracts for Cairo v0.8.1 (introspection/src5.cairo)

/// # SRC5 Component
///
Expand Down
2 changes: 1 addition & 1 deletion src/presets/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.0 (presets/account.cairo)
// OpenZeppelin Contracts for Cairo v0.8.1 (presets/account.cairo)

/// # Account Preset
///
Expand Down
2 changes: 1 addition & 1 deletion src/presets/erc20.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.0 (presets/erc20.cairo)
// OpenZeppelin Contracts for Cairo v0.8.1 (presets/erc20.cairo)

/// # ERC20 Preset
///
Expand Down
2 changes: 1 addition & 1 deletion src/presets/erc721.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.0 (presets/erc721.cairo)
// OpenZeppelin Contracts for Cairo v0.8.1 (presets/erc721.cairo)

/// # ERC721 Preset
///
Expand Down
2 changes: 1 addition & 1 deletion src/security/initializable.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.0 (security/initializable.cairo)
// OpenZeppelin Contracts for Cairo v0.8.1 (security/initializable.cairo)

/// # Initializable Component
///
Expand Down
Loading