Skip to content
This repository was archived by the owner on Dec 17, 2025. It is now read-only.

Commit 3df181f

Browse files
authored
Merge pull request #106 from morpho-dao/fix/license
Set valid SPDX License Identifier
2 parents 8088145 + eab6af5 commit 3df181f

23 files changed

Lines changed: 684 additions & 23 deletions

LICENSE

Lines changed: 661 additions & 0 deletions
Large diffs are not rendered by default.

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
"version": "1.0.0",
44
"description": "Data structures for Morpho's matching engine",
55
"repository": "https://github.com/morpho-protocol/morpho-data-structures.git",
6-
"author": "MerlinEgalite <egalite.merlin@gmail.com>",
7-
"license": "MIT",
6+
"author": "Morpho Labs <security@morpho.xyz>",
7+
"license": "AGPL-3.0-only",
88
"scripts": {
99
"test": "npx hardhat test test-ts/*.ts",
1010
"coverage": "npx hardhat coverage",

src/DoubleLinkedList.sol

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// SPDX-License-Identifier: GNU AGPLv3
1+
// SPDX-License-Identifier: AGPL-3.0-only
22
pragma solidity ^0.8.0;
33

44
library DoubleLinkedList {

src/Heap.sol

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// SPDX-License-Identifier: GNU AGPLv3
1+
// SPDX-License-Identifier: AGPL-3.0-only
22
pragma solidity ^0.8.0;
33

44
library BasicHeap {

src/HeapOrdering.sol

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// SPDX-License-Identifier: GNU AGPLv3
1+
// SPDX-License-Identifier: AGPL-3.0-only
22
pragma solidity ^0.8.0;
33

44
import "@openzeppelin/contracts/utils/math/SafeCast.sol";

src/RedBlackBinaryTree.sol

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// SPDX-License-Identifier: GNU AGPLv3
1+
// SPDX-License-Identifier: AGPL-3.0-only
22
pragma solidity ^0.8.0;
33

44
// A Solidity Red-Black Tree library to store and maintain a sorted data structure in a Red-Black binary search tree,

src/RedBlackBinaryTreeOptimized.sol

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// SPDX-License-Identifier: GNU AGPLv3
1+
// SPDX-License-Identifier: AGPL-3.0-only
22
pragma solidity ^0.8.0;
33

44
// A Solidity Red-Black Tree library to store and maintain a sorted data structure in a Red-Black binary search tree,

src/ThreeHeapOrdering.sol

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// SPDX-License-Identifier: GNU AGPLv3
1+
// SPDX-License-Identifier: AGPL-3.0-only
22
pragma solidity ^0.8.0;
33

44
import "@openzeppelin/contracts/utils/math/SafeCast.sol";

src/test/TestRedBlackBinaryTree.sol

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// SPDX-License-Identifier: UNLICENSED
1+
// SPDX-License-Identifier: AGPL-3.0-only
22
pragma solidity ^0.8.0;
33

44
import "../RedBlackBinaryTree.sol";

src/test/TestRedBlackBinaryTreeOptimized.sol

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// SPDX-License-Identifier: UNLICENSED
1+
// SPDX-License-Identifier: AGPL-3.0-only
22
pragma solidity ^0.8.0;
33

44
import "../RedBlackBinaryTreeOptimized.sol";

0 commit comments

Comments
 (0)