diff --git a/LICENSE b/LICENSE new file mode 100644 index 00000000..de784493 --- /dev/null +++ b/LICENSE @@ -0,0 +1,20 @@ +Copyright (c) 2023 Morpho Labs + +Permission is hereby granted, free of charge, to any person obtaining +a copy of this software and associated documentation files (the +"Software"), to deal in the Software without restriction, including +without limitation the rights to use, copy, modify, merge, publish, +distribute, sublicense, and/or sell copies of the Software, and to +permit persons to whom the Software is furnished to do so, subject to +the following conditions: + +The above copyright notice and this permission notice shall be +included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF +MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND +NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE +LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION +OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION +WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. diff --git a/src/SpeedJumpIrm.sol b/src/SpeedJumpIrm.sol index 0bea8c13..56c1ddae 100644 --- a/src/SpeedJumpIrm.sol +++ b/src/SpeedJumpIrm.sol @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: UNLICENSED +// SPDX-License-Identifier: MIT pragma solidity 0.8.19; import {IIrm} from "../lib/morpho-blue/src/interfaces/IIrm.sol"; @@ -19,7 +19,7 @@ struct MarketIrm { /// @title SpeedJumpIrm /// @author Morpho Labs -/// @custom:contact security@morpho.xyz +/// @custom:contact security@morpho.org /// @notice Interest rate model. contract SpeedJumpIrm is IIrm { using MathLib for int256; diff --git a/src/libraries/ErrorsLib.sol b/src/libraries/ErrorsLib.sol index 0f6c6148..612d156c 100644 --- a/src/libraries/ErrorsLib.sol +++ b/src/libraries/ErrorsLib.sol @@ -1,9 +1,9 @@ -// SPDX-License-Identifier: UNLICENSED +// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /// @title ErrorsLib /// @author Morpho Labs -/// @custom:contact security@morpho.xyz +/// @custom:contact security@morpho.org /// @notice Library exposing error messages. library ErrorsLib { /// @dev Thrown when the input is too large to fit in the expected type. diff --git a/src/libraries/MathLib.sol b/src/libraries/MathLib.sol index f076274d..3bd37551 100644 --- a/src/libraries/MathLib.sol +++ b/src/libraries/MathLib.sol @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: UNLICENSED +// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import {ErrorsLib} from "./ErrorsLib.sol"; @@ -8,7 +8,7 @@ int256 constant WAD_INT = int256(WAD); /// @title MathLib /// @author Morpho Labs -/// @custom:contact security@morpho.xyz +/// @custom:contact security@morpho.org /// @notice Library to manage fixed-point arithmetic and approximate the exponential function. library MathLib { using MathLib for uint128; diff --git a/src/libraries/UtilsLib.sol b/src/libraries/UtilsLib.sol index 3d4f03ac..f6482664 100644 --- a/src/libraries/UtilsLib.sol +++ b/src/libraries/UtilsLib.sol @@ -1,9 +1,9 @@ -// SPDX-License-Identifier: UNLICENSED +// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /// @title UtilsLib /// @author Morpho Labs -/// @custom:contact security@morpho.xyz +/// @custom:contact security@morpho.org /// @notice Library exposing helpers. library UtilsLib { /// @dev Bounds `x` between `low` and `high`. diff --git a/test/MathLibTest.sol b/test/MathLibTest.sol index aff12bd5..6d327ea9 100644 --- a/test/MathLibTest.sol +++ b/test/MathLibTest.sol @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: UNLICENSED +// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import {MathLib} from "../src/libraries/MathLib.sol"; diff --git a/test/SpeedJumpIrmTest.sol b/test/SpeedJumpIrmTest.sol index 366b78d0..4810ccf3 100644 --- a/test/SpeedJumpIrmTest.sol +++ b/test/SpeedJumpIrmTest.sol @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: UNLICENSED +// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../src/SpeedJumpIrm.sol"; diff --git a/test/UtilsLibTest.sol b/test/UtilsLibTest.sol index e542bb9f..a002b0e8 100644 --- a/test/UtilsLibTest.sol +++ b/test/UtilsLibTest.sol @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: UNLICENSED +// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../src/libraries/UtilsLib.sol";