Skip to content

Commit

Permalink
chore: CC0 license update (#118)
Browse files Browse the repository at this point in the history
  • Loading branch information
jaypaik committed Jan 25, 2024
1 parent 86e620b commit 1e8b649
Show file tree
Hide file tree
Showing 20 changed files with 68 additions and 129 deletions.
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 @@ -53,9 +53,9 @@ We have done 2 audits from Spearbit and Quantstamp and will upload the reports s

## 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

0 comments on commit 1e8b649

Please sign in to comment.