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

style: update SPDX license identifiers #399

Merged
merged 1 commit into from
Jul 15, 2022
Merged
Show file tree
Hide file tree
Changes from all 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
2 changes: 1 addition & 1 deletion src/openzeppelin/access/accesscontrol.cairo
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# SPDX-License-Identifier: MIT
# OpenZeppelin Cairo Contracts v0.2.0 (access/accesscontrol.cairo)
# OpenZeppelin Cairo Contracts v0.2.1 (access/accesscontrol.cairo)

%lang starknet

Expand Down
2 changes: 1 addition & 1 deletion src/openzeppelin/access/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.2.0 (access/ownable.cairo)
# OpenZeppelin Contracts for Cairo v0.2.1 (access/ownable.cairo)

%lang starknet

Expand Down
2 changes: 1 addition & 1 deletion src/openzeppelin/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.2.0 (account/Account.cairo)
# OpenZeppelin Contracts for Cairo v0.2.1 (account/Account.cairo)

%lang starknet

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

%lang starknet

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

%lang starknet
from starkware.cairo.common.cairo_builtins import HashBuiltin, SignatureBuiltin, BitwiseBuiltin
Expand Down
2 changes: 1 addition & 1 deletion src/openzeppelin/account/IAccount.cairo
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# SPDX-License-Identifier: MIT
# OpenZeppelin Contracts for Cairo v0.2.0 (account/IAccount.cairo)
# OpenZeppelin Contracts for Cairo v0.2.1 (account/IAccount.cairo)

%lang starknet

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

%lang starknet

Expand Down
2 changes: 1 addition & 1 deletion src/openzeppelin/introspection/ERC165.cairo
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# SPDX-License-Identifier: MIT
# OpenZeppelin Contracts for Cairo v0.2.0 (introspection/ERC165.cairo)
# OpenZeppelin Contracts for Cairo v0.2.1 (introspection/ERC165.cairo)

%lang starknet

Expand Down
2 changes: 1 addition & 1 deletion src/openzeppelin/introspection/IERC165.cairo
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# SPDX-License-Identifier: MIT
# OpenZeppelin Contracts for Cairo v0.2.0 (introspection/IERC165.cairo)
# OpenZeppelin Contracts for Cairo v0.2.1 (introspection/IERC165.cairo)

%lang starknet

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

%lang starknet

Expand Down
2 changes: 1 addition & 1 deletion src/openzeppelin/security/pausable.cairo
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# SPDX-License-Identifier: MIT
# OpenZeppelin Contracts for Cairo v0.2.0 (security/pausable.cairo)
# OpenZeppelin Contracts for Cairo v0.2.1 (security/pausable.cairo)

%lang starknet

Expand Down
2 changes: 1 addition & 1 deletion src/openzeppelin/security/reentrancyguard.cairo
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# SPDX-License-Identifier: MIT
# OpenZeppelin Contracts for Cairo v0.2.0 (security/reentrancyguard.cairo)
# OpenZeppelin Contracts for Cairo v0.2.1 (security/reentrancyguard.cairo)

%lang starknet

Expand Down
2 changes: 1 addition & 1 deletion src/openzeppelin/security/safemath.cairo
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# SPDX-License-Identifier: MIT
# OpenZeppelin Contracts for Cairo v0.2.0 (security/safemath.cairo)
# OpenZeppelin Contracts for Cairo v0.2.1 (security/safemath.cairo)

%lang starknet

Expand Down
2 changes: 1 addition & 1 deletion src/openzeppelin/token/erc20/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.2.0 (token/erc20/ERC20.cairo)
# OpenZeppelin Contracts for Cairo v0.2.1 (token/erc20/ERC20.cairo)

%lang starknet

Expand Down
2 changes: 1 addition & 1 deletion src/openzeppelin/token/erc20/ERC20_Mintable.cairo
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# SPDX-License-Identifier: MIT
# OpenZeppelin Contracts for Cairo v0.2.0 (token/erc20/ERC20_Mintable.cairo)
# OpenZeppelin Contracts for Cairo v0.2.1 (token/erc20/ERC20_Mintable.cairo)

%lang starknet

Expand Down
2 changes: 1 addition & 1 deletion src/openzeppelin/token/erc20/ERC20_Pausable.cairo
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# SPDX-License-Identifier: MIT
# OpenZeppelin Contracts for Cairo v0.2.0 (token/erc20/ERC20_Pausable.cairo)
# OpenZeppelin Contracts for Cairo v0.2.1 (token/erc20/ERC20_Pausable.cairo)

%lang starknet

Expand Down
2 changes: 1 addition & 1 deletion src/openzeppelin/token/erc20/ERC20_Upgradeable.cairo
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# SPDX-License-Identifier: MIT
# OpenZeppelin Contracts for Cairo v0.2.0 (token/erc20/ERC20_Upgradeable.cairo)
# OpenZeppelin Contracts for Cairo v0.2.1 (token/erc20/ERC20_Upgradeable.cairo)

%lang starknet
%builtins pedersen range_check
Expand Down
2 changes: 1 addition & 1 deletion src/openzeppelin/token/erc20/interfaces/IERC20.cairo
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# SPDX-License-Identifier: MIT
# OpenZeppelin Contracts for Cairo v0.2.0 (token/erc20/interfaces/IERC20.cairo)
# OpenZeppelin Contracts for Cairo v0.2.1 (token/erc20/interfaces/IERC20.cairo)

%lang starknet

Expand Down
2 changes: 1 addition & 1 deletion src/openzeppelin/token/erc20/library.cairo
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# SPDX-License-Identifier: MIT
# OpenZeppelin Contracts for Cairo v0.2.0 (token/erc20/library.cairo)
# OpenZeppelin Contracts for Cairo v0.2.1 (token/erc20/library.cairo)

%lang starknet

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# SPDX-License-Identifier: MIT
# OpenZeppelin Contracts for Cairo v0.2.0 (token/erc721/ERC721_Mintable_Burnable.cairo)
# OpenZeppelin Contracts for Cairo v0.2.1 (token/erc721/ERC721_Mintable_Burnable.cairo)

%lang starknet

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# SPDX-License-Identifier: MIT
# OpenZeppelin Contracts for Cairo v0.2.0 (token/erc721/ERC721_Mintable_Pausable.cairo)
# OpenZeppelin Contracts for Cairo v0.2.1 (token/erc721/ERC721_Mintable_Pausable.cairo)

%lang starknet

Expand Down
2 changes: 1 addition & 1 deletion src/openzeppelin/token/erc721/interfaces/IERC721.cairo
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# SPDX-License-Identifier: MIT
# OpenZeppelin Contracts for Cairo v0.2.0 (token/erc721/interfaces/IERC721.cairo)
# OpenZeppelin Contracts for Cairo v0.2.1 (token/erc721/interfaces/IERC721.cairo)

%lang starknet

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# SPDX-License-Identifier: MIT
# OpenZeppelin Contracts for Cairo v0.2.0 (token/erc721/interfaces/IERC721_Metadata.cairo)
# OpenZeppelin Contracts for Cairo v0.2.1 (token/erc721/interfaces/IERC721_Metadata.cairo)

%lang starknet

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# SPDX-License-Identifier: MIT
# OpenZeppelin Contracts for Cairo v0.2.0 (token/erc721/interfaces/IERC721_Receiver.cairo)
# OpenZeppelin Contracts for Cairo v0.2.1 (token/erc721/interfaces/IERC721_Receiver.cairo)

%lang starknet

Expand Down
2 changes: 1 addition & 1 deletion src/openzeppelin/token/erc721/library.cairo
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# SPDX-License-Identifier: MIT
# OpenZeppelin Contracts for Cairo v0.2.0 (token/erc721/library.cairo)
# OpenZeppelin Contracts for Cairo v0.2.1 (token/erc721/library.cairo)

%lang starknet

Expand Down
2 changes: 1 addition & 1 deletion src/openzeppelin/token/erc721/utils/ERC721_Holder.cairo
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# SPDX-License-Identifier: MIT
# OpenZeppelin Contracts for Cairo v0.2.0 (token/erc721/utils/ERC721_Holder.cairo)
# OpenZeppelin Contracts for Cairo v0.2.1 (token/erc721/utils/ERC721_Holder.cairo)

%lang starknet

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# SPDX-License-Identifier: MIT
# OpenZeppelin Contracts for Cairo v0.2.0 (token/erc721_enumerable/ERC721_Enumerable_Mintable_Burnable.cairo)
# OpenZeppelin Contracts for Cairo v0.2.1 (token/erc721_enumerable/ERC721_Enumerable_Mintable_Burnable.cairo)

%lang starknet

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# SPDX-License-Identifier: MIT
# OpenZeppelin Contracts for Cairo v0.2.0 (token/erc721_enumerable/interfaces/IERC721_Enumerable.cairo)
# OpenZeppelin Contracts for Cairo v0.2.1 (token/erc721_enumerable/interfaces/IERC721_Enumerable.cairo)

%lang starknet

Expand Down
2 changes: 1 addition & 1 deletion src/openzeppelin/token/erc721_enumerable/library.cairo
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# SPDX-License-Identifier: MIT
# OpenZeppelin Contracts for Cairo v0.2.0 (token/erc721_enumerable/library.cairo)
# OpenZeppelin Contracts for Cairo v0.2.1 (token/erc721_enumerable/library.cairo)

%lang starknet

Expand Down
2 changes: 1 addition & 1 deletion src/openzeppelin/upgrades/Proxy.cairo
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# SPDX-License-Identifier: MIT
# OpenZeppelin Contracts for Cairo v0.2.0 (upgrades/Proxy.cairo)
# OpenZeppelin Contracts for Cairo v0.2.1 (upgrades/Proxy.cairo)

%lang starknet

Expand Down
2 changes: 1 addition & 1 deletion src/openzeppelin/upgrades/library.cairo
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# SPDX-License-Identifier: MIT
# OpenZeppelin Contracts for Cairo v0.2.0 (upgrades/library.cairo)
# OpenZeppelin Contracts for Cairo v0.2.1 (upgrades/library.cairo)

%lang starknet

Expand Down
2 changes: 1 addition & 1 deletion src/openzeppelin/utils/constants.cairo
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# SPDX-License-Identifier: MIT
# OpenZeppelin Contracts for Cairo v0.2.0 (utils/constants.cairo)
# OpenZeppelin Contracts for Cairo v0.2.1 (utils/constants.cairo)

%lang starknet

Expand Down