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

chore: CC0 license update #118

Merged
merged 2 commits into from
Jan 24, 2024
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
File renamed without changes.
121 changes: 0 additions & 121 deletions LICENSE-CC0

This file was deleted.

4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,9 +61,9 @@ forge script script/Deploy.s.sol --rpc-url $SEPOLIA_RPC_URL --broadcast

## License

The Modular Account libraries (i.e., all code inside the [src/libraries](src/libraries) directory) are licensed under the MIT License, also included in our repository in [LICENSE-MIT](LICENSE-MIT).
The Modular Account libraries (all code inside the [src/libraries](src/libraries) directory) are licensed under the MIT License, also included in our repository in [LICENSE](LICENSE).

The Modular Account and ERC-6900 interfaces (i.e., all code inside the [src/interfaces](src/interfaces) directory) are licensed under the CC0 1.0 Universal License, also included in our repository in [LICENSE-CC0](LICENSE-CC0).
The Modular Account and ERC-6900 interfaces (all code inside the [src/interfaces](src/interfaces) directory) are licensed under the CC0 1.0 Universal License.

All other code for Modular Account is licensed under the GNU General Public License v3.0, also included in our repository in [COPYING](COPYING).

Expand Down
5 changes: 5 additions & 0 deletions src/interfaces/IAccountInitializable.sol
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
// This work is marked with CC0 1.0 Universal.
//
// SPDX-License-Identifier: CC0-1.0
//
// To view a copy of this license, visit http://creativecommons.org/publicdomain/zero/1.0

pragma solidity ^0.8.22;

/// @title Account Initializable Interface
Expand Down
5 changes: 5 additions & 0 deletions src/interfaces/IAccountLoupe.sol
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
// This work is marked with CC0 1.0 Universal.
//
// SPDX-License-Identifier: CC0-1.0
//
// To view a copy of this license, visit http://creativecommons.org/publicdomain/zero/1.0

pragma solidity ^0.8.22;

import {FunctionReference} from "./IPluginManager.sol";
Expand Down
5 changes: 5 additions & 0 deletions src/interfaces/IAccountView.sol
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
// This work is marked with CC0 1.0 Universal.
//
// SPDX-License-Identifier: CC0-1.0
//
// To view a copy of this license, visit http://creativecommons.org/publicdomain/zero/1.0

pragma solidity ^0.8.22;

import {IEntryPoint} from "./erc4337/IEntryPoint.sol";
Expand Down
7 changes: 6 additions & 1 deletion src/interfaces/IPlugin.sol
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
// This work is marked with CC0 1.0 Universal.
//
// SPDX-License-Identifier: CC0-1.0
//
// To view a copy of this license, visit http://creativecommons.org/publicdomain/zero/1.0

pragma solidity ^0.8.22;

import {UserOperation} from "../interfaces/erc4337/UserOperation.sol";
Expand All @@ -14,7 +19,7 @@ enum ManifestAssociatedFunctionType {
// Function belongs to an external plugin provided as a dependency during plugin installation.
DEPENDENCY,
// Resolves to a magic value to always bypass runtime validation for a given function.
// This is only assignable on runtime validation functions. If it were to be used on a user op validationFunction,
// This is only assignable on runtime validation functions. If it were to be used on a user op validation function,
// it would risk burning gas from the account. When used as a hook in any hook location, it is equivalent to not
// setting a hook and is therefore disallowed.
RUNTIME_VALIDATION_ALWAYS_ALLOW,
Expand Down
5 changes: 5 additions & 0 deletions src/interfaces/IPluginExecutor.sol
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
// This work is marked with CC0 1.0 Universal.
//
// SPDX-License-Identifier: CC0-1.0
//
// To view a copy of this license, visit http://creativecommons.org/publicdomain/zero/1.0

pragma solidity ^0.8.22;

/// @title Plugin Executor Interface
Expand Down
5 changes: 5 additions & 0 deletions src/interfaces/IPluginManager.sol
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
// This work is marked with CC0 1.0 Universal.
//
// SPDX-License-Identifier: CC0-1.0
//
// To view a copy of this license, visit http://creativecommons.org/publicdomain/zero/1.0

pragma solidity ^0.8.22;

type FunctionReference is bytes21;
Expand Down
5 changes: 5 additions & 0 deletions src/interfaces/IStandardExecutor.sol
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
// This work is marked with CC0 1.0 Universal.
//
// SPDX-License-Identifier: CC0-1.0
//
// To view a copy of this license, visit http://creativecommons.org/publicdomain/zero/1.0

pragma solidity ^0.8.22;

struct Call {
Expand Down
5 changes: 5 additions & 0 deletions src/interfaces/erc4337/IAccount.sol
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
// This work is marked with CC0 1.0 Universal.
//
// SPDX-License-Identifier: CC0-1.0
//
// To view a copy of this license, visit http://creativecommons.org/publicdomain/zero/1.0

pragma solidity ^0.8.22;

import {IEntryPoint} from "./IEntryPoint.sol";
Expand Down
5 changes: 5 additions & 0 deletions src/interfaces/erc4337/IAggregator.sol
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
// This work is marked with CC0 1.0 Universal.
//
// SPDX-License-Identifier: CC0-1.0
//
// To view a copy of this license, visit http://creativecommons.org/publicdomain/zero/1.0

pragma solidity ^0.8.22;

import {UserOperation} from "./UserOperation.sol";
Expand Down
5 changes: 5 additions & 0 deletions src/interfaces/erc4337/IEntryPoint.sol
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
// This work is marked with CC0 1.0 Universal.
//
// SPDX-License-Identifier: CC0-1.0
//
// To view a copy of this license, visit http://creativecommons.org/publicdomain/zero/1.0

pragma solidity ^0.8.22;

import {UserOperation} from "./UserOperation.sol";
Expand Down
5 changes: 5 additions & 0 deletions src/interfaces/erc4337/IPaymaster.sol
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
// This work is marked with CC0 1.0 Universal.
//
// SPDX-License-Identifier: CC0-1.0
//
// To view a copy of this license, visit http://creativecommons.org/publicdomain/zero/1.0

pragma solidity ^0.8.22;

import {UserOperation} from "./UserOperation.sol";
Expand Down
5 changes: 5 additions & 0 deletions src/interfaces/erc4337/UserOperation.sol
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
// This work is marked with CC0 1.0 Universal.
//
// SPDX-License-Identifier: CC0-1.0
//
// To view a copy of this license, visit http://creativecommons.org/publicdomain/zero/1.0

pragma solidity ^0.8.22;

/// @notice User Operation struct as defined in ERC-4337
Expand Down
2 changes: 1 addition & 1 deletion src/libraries/AssociatedLinkedListSetLib.sol
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
//
// SPDX-License-Identifier: MIT
//
// See LICENSE-MIT file for more information
// See LICENSE file for more information

pragma solidity ^0.8.22;

Expand Down
2 changes: 1 addition & 1 deletion src/libraries/Constants.sol
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
//
// SPDX-License-Identifier: MIT
//
// See LICENSE-MIT file for more information
// See LICENSE file for more information

pragma solidity ^0.8.22;

Expand Down
2 changes: 1 addition & 1 deletion src/libraries/CountableLinkedListSetLib.sol
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
//
// SPDX-License-Identifier: MIT
//
// See LICENSE-MIT file for more information
// See LICENSE file for more information

pragma solidity ^0.8.22;

Expand Down
2 changes: 1 addition & 1 deletion src/libraries/LinkedListSetLib.sol
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
//
// SPDX-License-Identifier: MIT
//
// See LICENSE-MIT file for more information
// See LICENSE file for more information

pragma solidity ^0.8.22;

Expand Down
2 changes: 1 addition & 1 deletion src/libraries/PluginStorageLib.sol
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
//
// SPDX-License-Identifier: MIT
//
// See LICENSE-MIT file for more information
// See LICENSE file for more information

pragma solidity ^0.8.22;

Expand Down