From b8afe5e1cfbb6b67c7888b102655d6afc13ebd64 Mon Sep 17 00:00:00 2001 From: Kresh Date: Fri, 19 Jul 2024 12:31:15 +0400 Subject: [PATCH] add license --- LICENSE | 98 +++++++++++++++++++ script/deploy/Core.s.sol | 2 +- script/deploy/MetadataService.s.sol | 2 +- script/deploy/NetworkMiddlewareService.s.sol | 2 +- script/deploy/NetworkRegistry.s.sol | 2 +- script/deploy/OperatorRegistry.s.sol | 2 +- script/deploy/OptInService.s.sol | 2 +- script/deploy/Vault.s.sol | 2 +- script/deploy/VaultFactory.s.sol | 2 +- src/contracts/DelegatorFactory.sol | 2 +- src/contracts/NetworkRegistry.sol | 2 +- src/contracts/OperatorRegistry.sol | 2 +- src/contracts/SlasherFactory.sol | 2 +- src/contracts/VaultConfigurator.sol | 2 +- src/contracts/VaultFactory.sol | 2 +- src/contracts/common/Entity.sol | 2 +- src/contracts/common/Factory.sol | 2 +- src/contracts/common/MigratableEntity.sol | 2 +- .../common/MigratableEntityProxy.sol | 2 +- src/contracts/common/MigratablesFactory.sol | 2 +- src/contracts/common/Registry.sol | 2 +- .../common/StaticDelegateCallable.sol | 2 +- src/contracts/delegator/BaseDelegator.sol | 2 +- .../delegator/FullRestakeDelegator.sol | 2 +- .../delegator/NetworkRestakeDelegator.sol | 2 +- src/contracts/hints/DelegatorHints.sol | 2 +- src/contracts/hints/Hints.sol | 2 +- src/contracts/hints/OptInServiceHints.sol | 2 +- src/contracts/hints/SlasherHints.sol | 2 +- src/contracts/hints/VaultHints.sol | 2 +- src/contracts/libraries/Checkpoints.sol | 2 +- src/contracts/libraries/ERC4626Math.sol | 2 +- src/contracts/service/MetadataService.sol | 2 +- .../service/NetworkMiddlewareService.sol | 2 +- src/contracts/service/OptInService.sol | 2 +- src/contracts/slasher/BaseSlasher.sol | 2 +- src/contracts/slasher/Slasher.sol | 2 +- src/contracts/slasher/VetoSlasher.sol | 2 +- src/contracts/vault/Vault.sol | 2 +- src/contracts/vault/VaultStorage.sol | 2 +- src/interfaces/IDelegatorFactory.sol | 2 +- src/interfaces/INetworkRegistry.sol | 2 +- src/interfaces/IOperatorRegistry.sol | 2 +- src/interfaces/ISlasherFactory.sol | 2 +- src/interfaces/IVaultConfigurator.sol | 2 +- src/interfaces/IVaultFactory.sol | 2 +- src/interfaces/collateral/ICollateral.sol | 2 +- src/interfaces/common/IEntity.sol | 2 +- src/interfaces/common/IFactory.sol | 2 +- src/interfaces/common/IMigratableEntity.sol | 2 +- .../common/IMigratableEntityProxy.sol | 2 +- src/interfaces/common/IMigratablesFactory.sol | 2 +- src/interfaces/common/IRegistry.sol | 2 +- src/interfaces/service/IMetadataService.sol | 2 +- .../service/INetworkMiddlewareService.sol | 2 +- src/interfaces/service/IOptInService.sol | 2 +- src/interfaces/slasher/IBaseSlasher.sol | 2 +- src/interfaces/slasher/ISlasher.sol | 2 +- src/interfaces/slasher/IVetoSlasher.sol | 2 +- src/interfaces/vault/IVault.sol | 2 +- src/interfaces/vault/IVaultStorage.sol | 2 +- 61 files changed, 158 insertions(+), 60 deletions(-) create mode 100644 LICENSE diff --git a/LICENSE b/LICENSE new file mode 100644 index 00000000..b755a253 --- /dev/null +++ b/LICENSE @@ -0,0 +1,98 @@ +Business Source License 1.1 + +License text copyright (c) 2017 MariaDB Corporation Ab, All Rights Reserved. +"Business Source License" is a trademark of MariaDB Corporation Ab. + +----------------------------------------------------------------------------- + +Parameters + +Licensor: GPRP + +Licensed Work: Symbiotic Core + The Licensed Work is (c) 2024 GPRP + +Additional Use Grant: None + +Change Date: 2026-07-19 + +Change License: GNU General Public License v2.0 or later + +----------------------------------------------------------------------------- + +Terms + +The Licensor hereby grants you the right to copy, modify, create derivative +works, redistribute, and make non-production use of the Licensed Work. The +Licensor may make an Additional Use Grant, above, permitting limited +production use. + +Effective on the Change Date, or the fourth anniversary of the first publicly +available distribution of a specific version of the Licensed Work under this +License, whichever comes first, the Licensor hereby grants you rights under +the terms of the Change License, and the rights granted in the paragraph +above terminate. + +If your use of the Licensed Work does not comply with the requirements +currently in effect as described in this License, you must purchase a +commercial license from the Licensor, its affiliated entities, or authorized +resellers, or you must refrain from using the Licensed Work. + +All copies of the original and modified Licensed Work, and derivative works +of the Licensed Work, are subject to this License. This License applies +separately for each version of the Licensed Work and the Change Date may vary +for each version of the Licensed Work released by Licensor. + +You must conspicuously display this License on each original or modified copy +of the Licensed Work. If you receive the Licensed Work in original or +modified form from a third party, the terms and conditions set forth in this +License apply to your use of that work. + +Any use of the Licensed Work in violation of this License will automatically +terminate your rights under this License for the current and all other +versions of the Licensed Work. + +This License does not grant you any right in any trademark or logo of +Licensor or its affiliates (provided that you may use a trademark or logo of +Licensor as expressly required by this License). + +TO THE EXTENT PERMITTED BY APPLICABLE LAW, THE LICENSED WORK IS PROVIDED ON +AN "AS IS" BASIS. LICENSOR HEREBY DISCLAIMS ALL WARRANTIES AND CONDITIONS, +EXPRESS OR IMPLIED, INCLUDING (WITHOUT LIMITATION) WARRANTIES OF +MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, NON-INFRINGEMENT, AND +TITLE. + +MariaDB hereby grants you permission to use this License’s text to license +your works, and to refer to it using the trademark "Business Source License", +as long as you comply with the Covenants of Licensor below. + +----------------------------------------------------------------------------- + +Covenants of Licensor + +In consideration of the right to use this License’s text and the "Business +Source License" name and trademark, Licensor covenants to MariaDB, and to all +other recipients of the licensed work to be provided by Licensor: + +1. To specify as the Change License the GPL Version 2.0 or any later version, + or a license that is compatible with GPL Version 2.0 or a later version, + where "compatible" means that software provided under the Change License can + be included in a program with software provided under GPL Version 2.0 or a + later version. Licensor may specify additional Change Licenses without + limitation. + +2. To either: (a) specify an additional grant of rights to use that does not + impose any additional restriction on the right granted in this License, as + the Additional Use Grant; or (b) insert the text "None". + +3. To specify a Change Date. + +4. Not to modify this License in any other way. + +----------------------------------------------------------------------------- + +Notice + +The Business Source License (this document, or the "License") is not an Open +Source license. However, the Licensed Work will eventually be made available +under an Open Source License, as stated in this License. diff --git a/script/deploy/Core.s.sol b/script/deploy/Core.s.sol index cf099381..3ccaeed5 100644 --- a/script/deploy/Core.s.sol +++ b/script/deploy/Core.s.sol @@ -1,4 +1,4 @@ -// // SPDX-License-Identifier: UNLICENSED +// // SPDX-License-Identifier: BUSL-1.1 // pragma solidity 0.8.25; // import "forge-std/Script.sol"; diff --git a/script/deploy/MetadataService.s.sol b/script/deploy/MetadataService.s.sol index 4eb51254..21ad9f71 100644 --- a/script/deploy/MetadataService.s.sol +++ b/script/deploy/MetadataService.s.sol @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: UNLICENSED +// SPDX-License-Identifier: BUSL-1.1 pragma solidity 0.8.25; import "forge-std/Script.sol"; diff --git a/script/deploy/NetworkMiddlewareService.s.sol b/script/deploy/NetworkMiddlewareService.s.sol index cf2ef7d4..92a49549 100644 --- a/script/deploy/NetworkMiddlewareService.s.sol +++ b/script/deploy/NetworkMiddlewareService.s.sol @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: UNLICENSED +// SPDX-License-Identifier: BUSL-1.1 pragma solidity 0.8.25; import "forge-std/Script.sol"; diff --git a/script/deploy/NetworkRegistry.s.sol b/script/deploy/NetworkRegistry.s.sol index 85ecf13e..75eb1a33 100644 --- a/script/deploy/NetworkRegistry.s.sol +++ b/script/deploy/NetworkRegistry.s.sol @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: UNLICENSED +// SPDX-License-Identifier: BUSL-1.1 pragma solidity 0.8.25; import "forge-std/Script.sol"; diff --git a/script/deploy/OperatorRegistry.s.sol b/script/deploy/OperatorRegistry.s.sol index 7813968a..81cc2a7f 100644 --- a/script/deploy/OperatorRegistry.s.sol +++ b/script/deploy/OperatorRegistry.s.sol @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: UNLICENSED +// SPDX-License-Identifier: BUSL-1.1 pragma solidity 0.8.25; import "forge-std/Script.sol"; diff --git a/script/deploy/OptInService.s.sol b/script/deploy/OptInService.s.sol index 6ba66c47..eb58bae1 100644 --- a/script/deploy/OptInService.s.sol +++ b/script/deploy/OptInService.s.sol @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: UNLICENSED +// SPDX-License-Identifier: BUSL-1.1 pragma solidity 0.8.25; import "forge-std/Script.sol"; diff --git a/script/deploy/Vault.s.sol b/script/deploy/Vault.s.sol index 2ecde9dc..704cb264 100644 --- a/script/deploy/Vault.s.sol +++ b/script/deploy/Vault.s.sol @@ -1,4 +1,4 @@ -// // SPDX-License-Identifier: UNLICENSED +// // SPDX-License-Identifier: BUSL-1.1 // pragma solidity 0.8.25; // import "forge-std/Script.sol"; diff --git a/script/deploy/VaultFactory.s.sol b/script/deploy/VaultFactory.s.sol index 2cd11a99..4de7bc5b 100644 --- a/script/deploy/VaultFactory.s.sol +++ b/script/deploy/VaultFactory.s.sol @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: UNLICENSED +// SPDX-License-Identifier: BUSL-1.1 pragma solidity 0.8.25; import "forge-std/Script.sol"; diff --git a/src/contracts/DelegatorFactory.sol b/src/contracts/DelegatorFactory.sol index 557b48c8..4672f0f5 100644 --- a/src/contracts/DelegatorFactory.sol +++ b/src/contracts/DelegatorFactory.sol @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: UNLICENSED +// SPDX-License-Identifier: BUSL-1.1 pragma solidity 0.8.25; import {Factory} from "src/contracts/common/Factory.sol"; diff --git a/src/contracts/NetworkRegistry.sol b/src/contracts/NetworkRegistry.sol index 0ca4a3dd..7ae46ae7 100644 --- a/src/contracts/NetworkRegistry.sol +++ b/src/contracts/NetworkRegistry.sol @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: UNLICENSED +// SPDX-License-Identifier: BUSL-1.1 pragma solidity 0.8.25; import {Registry} from "./common/Registry.sol"; diff --git a/src/contracts/OperatorRegistry.sol b/src/contracts/OperatorRegistry.sol index 9c7d9953..78d73814 100644 --- a/src/contracts/OperatorRegistry.sol +++ b/src/contracts/OperatorRegistry.sol @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: UNLICENSED +// SPDX-License-Identifier: BUSL-1.1 pragma solidity 0.8.25; import {Registry} from "./common/Registry.sol"; diff --git a/src/contracts/SlasherFactory.sol b/src/contracts/SlasherFactory.sol index 5c058d22..c1708509 100644 --- a/src/contracts/SlasherFactory.sol +++ b/src/contracts/SlasherFactory.sol @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: UNLICENSED +// SPDX-License-Identifier: BUSL-1.1 pragma solidity 0.8.25; import {Factory} from "src/contracts/common/Factory.sol"; diff --git a/src/contracts/VaultConfigurator.sol b/src/contracts/VaultConfigurator.sol index a3888152..1dde5ccc 100644 --- a/src/contracts/VaultConfigurator.sol +++ b/src/contracts/VaultConfigurator.sol @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: UNLICENSED +// SPDX-License-Identifier: BUSL-1.1 pragma solidity 0.8.25; import {VaultFactory} from "src/contracts/VaultFactory.sol"; diff --git a/src/contracts/VaultFactory.sol b/src/contracts/VaultFactory.sol index cdcd93a2..d82f4f3f 100644 --- a/src/contracts/VaultFactory.sol +++ b/src/contracts/VaultFactory.sol @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: UNLICENSED +// SPDX-License-Identifier: BUSL-1.1 pragma solidity 0.8.25; import {MigratablesFactory} from "src/contracts/common/MigratablesFactory.sol"; diff --git a/src/contracts/common/Entity.sol b/src/contracts/common/Entity.sol index a4c4eaf1..ecff2dbe 100644 --- a/src/contracts/common/Entity.sol +++ b/src/contracts/common/Entity.sol @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: UNLICENSED +// SPDX-License-Identifier: BUSL-1.1 pragma solidity 0.8.25; import {IEntity} from "src/interfaces/common/IEntity.sol"; diff --git a/src/contracts/common/Factory.sol b/src/contracts/common/Factory.sol index 59a14579..a6dae7fd 100644 --- a/src/contracts/common/Factory.sol +++ b/src/contracts/common/Factory.sol @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: UNLICENSED +// SPDX-License-Identifier: BUSL-1.1 pragma solidity 0.8.25; import {Registry} from "./Registry.sol"; diff --git a/src/contracts/common/MigratableEntity.sol b/src/contracts/common/MigratableEntity.sol index 30cdd9e1..bfc3e819 100644 --- a/src/contracts/common/MigratableEntity.sol +++ b/src/contracts/common/MigratableEntity.sol @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: UNLICENSED +// SPDX-License-Identifier: BUSL-1.1 pragma solidity 0.8.25; import {IMigratableEntity} from "src/interfaces/common/IMigratableEntity.sol"; diff --git a/src/contracts/common/MigratableEntityProxy.sol b/src/contracts/common/MigratableEntityProxy.sol index f1bc0371..fc4708b1 100644 --- a/src/contracts/common/MigratableEntityProxy.sol +++ b/src/contracts/common/MigratableEntityProxy.sol @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: UNLICENSED +// SPDX-License-Identifier: BUSL-1.1 pragma solidity 0.8.25; import {IMigratableEntityProxy} from "src/interfaces/common/IMigratableEntityProxy.sol"; diff --git a/src/contracts/common/MigratablesFactory.sol b/src/contracts/common/MigratablesFactory.sol index 87e59bcf..8e0b067e 100644 --- a/src/contracts/common/MigratablesFactory.sol +++ b/src/contracts/common/MigratablesFactory.sol @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: UNLICENSED +// SPDX-License-Identifier: BUSL-1.1 pragma solidity 0.8.25; import {MigratableEntityProxy} from "./MigratableEntityProxy.sol"; diff --git a/src/contracts/common/Registry.sol b/src/contracts/common/Registry.sol index d1deda2c..48ff8d43 100644 --- a/src/contracts/common/Registry.sol +++ b/src/contracts/common/Registry.sol @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: UNLICENSED +// SPDX-License-Identifier: BUSL-1.1 pragma solidity 0.8.25; import {IRegistry} from "src/interfaces/common/IRegistry.sol"; diff --git a/src/contracts/common/StaticDelegateCallable.sol b/src/contracts/common/StaticDelegateCallable.sol index 6cf41919..3e20125d 100644 --- a/src/contracts/common/StaticDelegateCallable.sol +++ b/src/contracts/common/StaticDelegateCallable.sol @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: UNLICENSED +// SPDX-License-Identifier: BUSL-1.1 pragma solidity 0.8.25; abstract contract StaticDelegateCallable { diff --git a/src/contracts/delegator/BaseDelegator.sol b/src/contracts/delegator/BaseDelegator.sol index 50953833..3bfd97f3 100644 --- a/src/contracts/delegator/BaseDelegator.sol +++ b/src/contracts/delegator/BaseDelegator.sol @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: UNLICENSED +// SPDX-License-Identifier: BUSL-1.1 pragma solidity 0.8.25; import {Entity} from "src/contracts/common/Entity.sol"; diff --git a/src/contracts/delegator/FullRestakeDelegator.sol b/src/contracts/delegator/FullRestakeDelegator.sol index e59772f5..964fdcb3 100644 --- a/src/contracts/delegator/FullRestakeDelegator.sol +++ b/src/contracts/delegator/FullRestakeDelegator.sol @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: UNLICENSED +// SPDX-License-Identifier: BUSL-1.1 pragma solidity 0.8.25; import {BaseDelegator} from "./BaseDelegator.sol"; diff --git a/src/contracts/delegator/NetworkRestakeDelegator.sol b/src/contracts/delegator/NetworkRestakeDelegator.sol index fd538bec..3c418e23 100644 --- a/src/contracts/delegator/NetworkRestakeDelegator.sol +++ b/src/contracts/delegator/NetworkRestakeDelegator.sol @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: UNLICENSED +// SPDX-License-Identifier: BUSL-1.1 pragma solidity 0.8.25; import {BaseDelegator} from "./BaseDelegator.sol"; diff --git a/src/contracts/hints/DelegatorHints.sol b/src/contracts/hints/DelegatorHints.sol index 651988eb..311c3ad4 100644 --- a/src/contracts/hints/DelegatorHints.sol +++ b/src/contracts/hints/DelegatorHints.sol @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: UNLICENSED +// SPDX-License-Identifier: BUSL-1.1 pragma solidity 0.8.25; import {Hints} from "./Hints.sol"; diff --git a/src/contracts/hints/Hints.sol b/src/contracts/hints/Hints.sol index 52781a04..e4d11661 100644 --- a/src/contracts/hints/Hints.sol +++ b/src/contracts/hints/Hints.sol @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: UNLICENSED +// SPDX-License-Identifier: BUSL-1.1 pragma solidity 0.8.25; import {StaticDelegateCallable} from "src/contracts/common/StaticDelegateCallable.sol"; diff --git a/src/contracts/hints/OptInServiceHints.sol b/src/contracts/hints/OptInServiceHints.sol index 8ad95c74..f2a0c459 100644 --- a/src/contracts/hints/OptInServiceHints.sol +++ b/src/contracts/hints/OptInServiceHints.sol @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: UNLICENSED +// SPDX-License-Identifier: BUSL-1.1 pragma solidity 0.8.25; import {Hints} from "./Hints.sol"; diff --git a/src/contracts/hints/SlasherHints.sol b/src/contracts/hints/SlasherHints.sol index 324fe80c..79116881 100644 --- a/src/contracts/hints/SlasherHints.sol +++ b/src/contracts/hints/SlasherHints.sol @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: UNLICENSED +// SPDX-License-Identifier: BUSL-1.1 pragma solidity 0.8.25; import {Hints} from "./Hints.sol"; diff --git a/src/contracts/hints/VaultHints.sol b/src/contracts/hints/VaultHints.sol index b0b4e57d..8ffad38e 100644 --- a/src/contracts/hints/VaultHints.sol +++ b/src/contracts/hints/VaultHints.sol @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: UNLICENSED +// SPDX-License-Identifier: BUSL-1.1 pragma solidity 0.8.25; import {Hints} from "./Hints.sol"; diff --git a/src/contracts/libraries/Checkpoints.sol b/src/contracts/libraries/Checkpoints.sol index 24f200db..4fd9a16b 100644 --- a/src/contracts/libraries/Checkpoints.sol +++ b/src/contracts/libraries/Checkpoints.sol @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: UNLICENSED +// SPDX-License-Identifier: BUSL-1.1 pragma solidity 0.8.25; import {Checkpoints as OZCheckpoints} from "@openzeppelin/contracts/utils/structs/Checkpoints.sol"; diff --git a/src/contracts/libraries/ERC4626Math.sol b/src/contracts/libraries/ERC4626Math.sol index 8410c7c2..d418f3d1 100644 --- a/src/contracts/libraries/ERC4626Math.sol +++ b/src/contracts/libraries/ERC4626Math.sol @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: UNLICENSED +// SPDX-License-Identifier: BUSL-1.1 pragma solidity 0.8.25; import {Math} from "@openzeppelin/contracts/utils/math/Math.sol"; diff --git a/src/contracts/service/MetadataService.sol b/src/contracts/service/MetadataService.sol index 2c7a2b68..70556d60 100644 --- a/src/contracts/service/MetadataService.sol +++ b/src/contracts/service/MetadataService.sol @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: UNLICENSED +// SPDX-License-Identifier: BUSL-1.1 pragma solidity 0.8.25; import {IMetadataService} from "src/interfaces/service/IMetadataService.sol"; diff --git a/src/contracts/service/NetworkMiddlewareService.sol b/src/contracts/service/NetworkMiddlewareService.sol index 78912eb0..af143068 100644 --- a/src/contracts/service/NetworkMiddlewareService.sol +++ b/src/contracts/service/NetworkMiddlewareService.sol @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: UNLICENSED +// SPDX-License-Identifier: BUSL-1.1 pragma solidity 0.8.25; import {INetworkMiddlewareService} from "src/interfaces/service/INetworkMiddlewareService.sol"; diff --git a/src/contracts/service/OptInService.sol b/src/contracts/service/OptInService.sol index a3b0a611..a59f3edb 100644 --- a/src/contracts/service/OptInService.sol +++ b/src/contracts/service/OptInService.sol @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: UNLICENSED +// SPDX-License-Identifier: BUSL-1.1 pragma solidity 0.8.25; import {StaticDelegateCallable} from "src/contracts/common/StaticDelegateCallable.sol"; diff --git a/src/contracts/slasher/BaseSlasher.sol b/src/contracts/slasher/BaseSlasher.sol index e308e12a..ecc1723d 100644 --- a/src/contracts/slasher/BaseSlasher.sol +++ b/src/contracts/slasher/BaseSlasher.sol @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: UNLICENSED +// SPDX-License-Identifier: BUSL-1.1 pragma solidity 0.8.25; import {Entity} from "src/contracts/common/Entity.sol"; diff --git a/src/contracts/slasher/Slasher.sol b/src/contracts/slasher/Slasher.sol index 2896e34a..3ba81b5e 100644 --- a/src/contracts/slasher/Slasher.sol +++ b/src/contracts/slasher/Slasher.sol @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: UNLICENSED +// SPDX-License-Identifier: BUSL-1.1 pragma solidity 0.8.25; import {BaseSlasher} from "./BaseSlasher.sol"; diff --git a/src/contracts/slasher/VetoSlasher.sol b/src/contracts/slasher/VetoSlasher.sol index e838e754..0df66968 100644 --- a/src/contracts/slasher/VetoSlasher.sol +++ b/src/contracts/slasher/VetoSlasher.sol @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: UNLICENSED +// SPDX-License-Identifier: BUSL-1.1 pragma solidity 0.8.25; import {BaseSlasher} from "./BaseSlasher.sol"; diff --git a/src/contracts/vault/Vault.sol b/src/contracts/vault/Vault.sol index b55da06b..3b928b06 100644 --- a/src/contracts/vault/Vault.sol +++ b/src/contracts/vault/Vault.sol @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: UNLICENSED +// SPDX-License-Identifier: BUSL-1.1 pragma solidity 0.8.25; import {MigratableEntity} from "src/contracts/common/MigratableEntity.sol"; diff --git a/src/contracts/vault/VaultStorage.sol b/src/contracts/vault/VaultStorage.sol index 19bbf471..466a2ff3 100644 --- a/src/contracts/vault/VaultStorage.sol +++ b/src/contracts/vault/VaultStorage.sol @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: UNLICENSED +// SPDX-License-Identifier: BUSL-1.1 pragma solidity 0.8.25; import {StaticDelegateCallable} from "src/contracts/common/StaticDelegateCallable.sol"; diff --git a/src/interfaces/IDelegatorFactory.sol b/src/interfaces/IDelegatorFactory.sol index 1141ba59..7a8a59a3 100644 --- a/src/interfaces/IDelegatorFactory.sol +++ b/src/interfaces/IDelegatorFactory.sol @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: UNLICENSED +// SPDX-License-Identifier: BUSL-1.1 pragma solidity 0.8.25; import {IFactory} from "src/interfaces/common/IFactory.sol"; diff --git a/src/interfaces/INetworkRegistry.sol b/src/interfaces/INetworkRegistry.sol index ec715a95..ee5aee80 100644 --- a/src/interfaces/INetworkRegistry.sol +++ b/src/interfaces/INetworkRegistry.sol @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: UNLICENSED +// SPDX-License-Identifier: BUSL-1.1 pragma solidity 0.8.25; import {IRegistry} from "./common/IRegistry.sol"; diff --git a/src/interfaces/IOperatorRegistry.sol b/src/interfaces/IOperatorRegistry.sol index 76b8701a..a9a3f19f 100644 --- a/src/interfaces/IOperatorRegistry.sol +++ b/src/interfaces/IOperatorRegistry.sol @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: UNLICENSED +// SPDX-License-Identifier: BUSL-1.1 pragma solidity 0.8.25; import {IRegistry} from "./common/IRegistry.sol"; diff --git a/src/interfaces/ISlasherFactory.sol b/src/interfaces/ISlasherFactory.sol index eabfb1c4..99891d54 100644 --- a/src/interfaces/ISlasherFactory.sol +++ b/src/interfaces/ISlasherFactory.sol @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: UNLICENSED +// SPDX-License-Identifier: BUSL-1.1 pragma solidity 0.8.25; import {IFactory} from "src/interfaces/common/IFactory.sol"; diff --git a/src/interfaces/IVaultConfigurator.sol b/src/interfaces/IVaultConfigurator.sol index 4fea9eea..1e0dc686 100644 --- a/src/interfaces/IVaultConfigurator.sol +++ b/src/interfaces/IVaultConfigurator.sol @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: UNLICENSED +// SPDX-License-Identifier: BUSL-1.1 pragma solidity 0.8.25; import {IVault} from "src/interfaces/vault/IVault.sol"; diff --git a/src/interfaces/IVaultFactory.sol b/src/interfaces/IVaultFactory.sol index 549120e6..5e40a6ab 100644 --- a/src/interfaces/IVaultFactory.sol +++ b/src/interfaces/IVaultFactory.sol @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: UNLICENSED +// SPDX-License-Identifier: BUSL-1.1 pragma solidity 0.8.25; import {IMigratablesFactory} from "src/interfaces/common/IMigratablesFactory.sol"; diff --git a/src/interfaces/collateral/ICollateral.sol b/src/interfaces/collateral/ICollateral.sol index 1fed2243..b4dca039 100644 --- a/src/interfaces/collateral/ICollateral.sol +++ b/src/interfaces/collateral/ICollateral.sol @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: UNLICENSED +// SPDX-License-Identifier: BUSL-1.1 pragma solidity 0.8.25; import {IERC20} from "@openzeppelin/contracts/token/ERC20/IERC20.sol"; diff --git a/src/interfaces/common/IEntity.sol b/src/interfaces/common/IEntity.sol index 8faea8ce..7cb68e70 100644 --- a/src/interfaces/common/IEntity.sol +++ b/src/interfaces/common/IEntity.sol @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: UNLICENSED +// SPDX-License-Identifier: BUSL-1.1 pragma solidity 0.8.25; interface IEntity { diff --git a/src/interfaces/common/IFactory.sol b/src/interfaces/common/IFactory.sol index 6b262b0d..b5468a25 100644 --- a/src/interfaces/common/IFactory.sol +++ b/src/interfaces/common/IFactory.sol @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: UNLICENSED +// SPDX-License-Identifier: BUSL-1.1 pragma solidity 0.8.25; import {IRegistry} from "./IRegistry.sol"; diff --git a/src/interfaces/common/IMigratableEntity.sol b/src/interfaces/common/IMigratableEntity.sol index 651b6ac1..d6c86d66 100644 --- a/src/interfaces/common/IMigratableEntity.sol +++ b/src/interfaces/common/IMigratableEntity.sol @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: UNLICENSED +// SPDX-License-Identifier: BUSL-1.1 pragma solidity 0.8.25; interface IMigratableEntity { diff --git a/src/interfaces/common/IMigratableEntityProxy.sol b/src/interfaces/common/IMigratableEntityProxy.sol index 60665188..ced836f2 100644 --- a/src/interfaces/common/IMigratableEntityProxy.sol +++ b/src/interfaces/common/IMigratableEntityProxy.sol @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: UNLICENSED +// SPDX-License-Identifier: BUSL-1.1 pragma solidity 0.8.25; import {IERC1967} from "@openzeppelin/contracts/interfaces/IERC1967.sol"; diff --git a/src/interfaces/common/IMigratablesFactory.sol b/src/interfaces/common/IMigratablesFactory.sol index 2ad85730..34293011 100644 --- a/src/interfaces/common/IMigratablesFactory.sol +++ b/src/interfaces/common/IMigratablesFactory.sol @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: UNLICENSED +// SPDX-License-Identifier: BUSL-1.1 pragma solidity 0.8.25; import {IRegistry} from "./IRegistry.sol"; diff --git a/src/interfaces/common/IRegistry.sol b/src/interfaces/common/IRegistry.sol index 2c775b3b..b76a8812 100644 --- a/src/interfaces/common/IRegistry.sol +++ b/src/interfaces/common/IRegistry.sol @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: UNLICENSED +// SPDX-License-Identifier: BUSL-1.1 pragma solidity 0.8.25; interface IRegistry { diff --git a/src/interfaces/service/IMetadataService.sol b/src/interfaces/service/IMetadataService.sol index d1fc79bf..c9f603ef 100644 --- a/src/interfaces/service/IMetadataService.sol +++ b/src/interfaces/service/IMetadataService.sol @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: UNLICENSED +// SPDX-License-Identifier: BUSL-1.1 pragma solidity 0.8.25; interface IMetadataService { diff --git a/src/interfaces/service/INetworkMiddlewareService.sol b/src/interfaces/service/INetworkMiddlewareService.sol index 5be08ae3..17689d67 100644 --- a/src/interfaces/service/INetworkMiddlewareService.sol +++ b/src/interfaces/service/INetworkMiddlewareService.sol @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: UNLICENSED +// SPDX-License-Identifier: BUSL-1.1 pragma solidity 0.8.25; interface INetworkMiddlewareService { diff --git a/src/interfaces/service/IOptInService.sol b/src/interfaces/service/IOptInService.sol index 82cab7bc..1938716c 100644 --- a/src/interfaces/service/IOptInService.sol +++ b/src/interfaces/service/IOptInService.sol @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: UNLICENSED +// SPDX-License-Identifier: BUSL-1.1 pragma solidity 0.8.25; interface IOptInService { diff --git a/src/interfaces/slasher/IBaseSlasher.sol b/src/interfaces/slasher/IBaseSlasher.sol index 1ba97ed4..363cdacd 100644 --- a/src/interfaces/slasher/IBaseSlasher.sol +++ b/src/interfaces/slasher/IBaseSlasher.sol @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: UNLICENSED +// SPDX-License-Identifier: BUSL-1.1 pragma solidity 0.8.25; interface IBaseSlasher { diff --git a/src/interfaces/slasher/ISlasher.sol b/src/interfaces/slasher/ISlasher.sol index 2105fbc7..107d600c 100644 --- a/src/interfaces/slasher/ISlasher.sol +++ b/src/interfaces/slasher/ISlasher.sol @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: UNLICENSED +// SPDX-License-Identifier: BUSL-1.1 pragma solidity 0.8.25; interface ISlasher { diff --git a/src/interfaces/slasher/IVetoSlasher.sol b/src/interfaces/slasher/IVetoSlasher.sol index deda6c05..01f6e96c 100644 --- a/src/interfaces/slasher/IVetoSlasher.sol +++ b/src/interfaces/slasher/IVetoSlasher.sol @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: UNLICENSED +// SPDX-License-Identifier: BUSL-1.1 pragma solidity 0.8.25; interface IVetoSlasher { diff --git a/src/interfaces/vault/IVault.sol b/src/interfaces/vault/IVault.sol index 325faf1e..dfde80ee 100644 --- a/src/interfaces/vault/IVault.sol +++ b/src/interfaces/vault/IVault.sol @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: UNLICENSED +// SPDX-License-Identifier: BUSL-1.1 pragma solidity 0.8.25; import {IVaultStorage} from "./IVaultStorage.sol"; diff --git a/src/interfaces/vault/IVaultStorage.sol b/src/interfaces/vault/IVaultStorage.sol index 18a2a55d..9d6861b1 100644 --- a/src/interfaces/vault/IVaultStorage.sol +++ b/src/interfaces/vault/IVaultStorage.sol @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: UNLICENSED +// SPDX-License-Identifier: BUSL-1.1 pragma solidity 0.8.25; interface IVaultStorage {