From 95a6d9728b8cb74e4539c3b76510ffaa165daa56 Mon Sep 17 00:00:00 2001 From: Daniel Shiposha Date: Thu, 09 Jun 2022 12:22:39 +0000 Subject: [PATCH] fix: insert missing licenses --- --- a/pallets/proxy-rmrk-core/src/misc.rs +++ b/pallets/proxy-rmrk-core/src/misc.rs @@ -1,3 +1,19 @@ +// Copyright 2019-2022 Unique Network (Gibraltar) Ltd. +// This file is part of Unique Network. + +// Unique Network is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. + +// Unique Network is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. + +// You should have received a copy of the GNU General Public License +// along with Unique Network. If not, see . + use super::*; use codec::{Encode, Decode, Error}; --- a/pallets/proxy-rmrk-core/src/property.rs +++ b/pallets/proxy-rmrk-core/src/property.rs @@ -1,3 +1,19 @@ +// Copyright 2019-2022 Unique Network (Gibraltar) Ltd. +// This file is part of Unique Network. + +// Unique Network is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. + +// Unique Network is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. + +// You should have received a copy of the GNU General Public License +// along with Unique Network. If not, see . + use super::*; use core::convert::AsRef; --- a/primitives/rmrk-rpc/src/lib.rs +++ b/primitives/rmrk-rpc/src/lib.rs @@ -1,3 +1,19 @@ +// Copyright 2019-2022 Unique Network (Gibraltar) Ltd. +// This file is part of Unique Network. + +// Unique Network is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. + +// Unique Network is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. + +// You should have received a copy of the GNU General Public License +// along with Unique Network. If not, see . + #![cfg_attr(not(feature = "std"), no_std)] use sp_api::{Encode, Decode}; --- a/primitives/rmrk-traits/src/base.rs +++ b/primitives/rmrk-traits/src/base.rs @@ -1,3 +1,7 @@ +// Copyright (C) 2021-2022 RMRK +// This file is part of rmrk-substrate. +// License: Apache 2.0 modified by RMRK, see https://github.com/rmrk-team/rmrk-substrate/blob/main/LICENSE + use codec::{Decode, Encode, MaxEncodedLen}; use scale_info::TypeInfo; --- a/primitives/rmrk-traits/src/collection.rs +++ b/primitives/rmrk-traits/src/collection.rs @@ -1,3 +1,7 @@ +// Copyright (C) 2021-2022 RMRK +// This file is part of rmrk-substrate. +// License: Apache 2.0 modified by RMRK, see https://github.com/rmrk-team/rmrk-substrate/blob/main/LICENSE + use codec::{Decode, Encode, MaxEncodedLen}; use scale_info::TypeInfo; --- a/primitives/rmrk-traits/src/lib.rs +++ b/primitives/rmrk-traits/src/lib.rs @@ -1,3 +1,7 @@ +// Copyright (C) 2021-2022 RMRK +// This file is part of rmrk-substrate. +// License: Apache 2.0 modified by RMRK, see https://github.com/rmrk-team/rmrk-substrate/blob/main/LICENSE + #![cfg_attr(not(feature = "std"), no_std)] pub mod base; --- a/primitives/rmrk-traits/src/nft.rs +++ b/primitives/rmrk-traits/src/nft.rs @@ -1,3 +1,7 @@ +// Copyright (C) 2021-2022 RMRK +// This file is part of rmrk-substrate. +// License: Apache 2.0 modified by RMRK, see https://github.com/rmrk-team/rmrk-substrate/blob/main/LICENSE + use codec::{Decode, Encode, MaxEncodedLen}; use scale_info::TypeInfo; --- a/primitives/rmrk-traits/src/part.rs +++ b/primitives/rmrk-traits/src/part.rs @@ -1,3 +1,7 @@ +// Copyright (C) 2021-2022 RMRK +// This file is part of rmrk-substrate. +// License: Apache 2.0 modified by RMRK, see https://github.com/rmrk-team/rmrk-substrate/blob/main/LICENSE + use codec::{Decode, Encode, MaxEncodedLen}; use scale_info::TypeInfo; --- a/primitives/rmrk-traits/src/property.rs +++ b/primitives/rmrk-traits/src/property.rs @@ -1,3 +1,7 @@ +// Copyright (C) 2021-2022 RMRK +// This file is part of rmrk-substrate. +// License: Apache 2.0 modified by RMRK, see https://github.com/rmrk-team/rmrk-substrate/blob/main/LICENSE + use codec::{Decode, Encode}; use scale_info::TypeInfo; --- a/primitives/rmrk-traits/src/resource.rs +++ b/primitives/rmrk-traits/src/resource.rs @@ -1,3 +1,7 @@ +// Copyright (C) 2021-2022 RMRK +// This file is part of rmrk-substrate. +// License: Apache 2.0 modified by RMRK, see https://github.com/rmrk-team/rmrk-substrate/blob/main/LICENSE + use codec::{Decode, Encode, MaxEncodedLen}; use scale_info::TypeInfo; --- a/primitives/rmrk-traits/src/serialize.rs +++ b/primitives/rmrk-traits/src/serialize.rs @@ -1,3 +1,7 @@ +// Copyright (C) 2021-2022 RMRK +// This file is part of rmrk-substrate. +// License: Apache 2.0 modified by RMRK, see https://github.com/rmrk-team/rmrk-substrate/blob/main/LICENSE + use core::convert::AsRef; use serde::ser::{self, Serialize}; --- a/primitives/rmrk-traits/src/theme.rs +++ b/primitives/rmrk-traits/src/theme.rs @@ -1,3 +1,7 @@ +// Copyright (C) 2021-2022 RMRK +// This file is part of rmrk-substrate. +// License: Apache 2.0 modified by RMRK, see https://github.com/rmrk-team/rmrk-substrate/blob/main/LICENSE + use codec::{Decode, Encode}; use scale_info::TypeInfo; --- a/runtime/common/src/constants.rs +++ b/runtime/common/src/constants.rs @@ -1,3 +1,19 @@ +// Copyright 2019-2022 Unique Network (Gibraltar) Ltd. +// This file is part of Unique Network. + +// Unique Network is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. + +// Unique Network is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. + +// You should have received a copy of the GNU General Public License +// along with Unique Network. If not, see . + use sp_runtime::Perbill; use frame_support::{ parameter_types, --- a/runtime/common/src/dispatch.rs +++ b/runtime/common/src/dispatch.rs @@ -1,3 +1,19 @@ +// Copyright 2019-2022 Unique Network (Gibraltar) Ltd. +// This file is part of Unique Network. + +// Unique Network is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. + +// Unique Network is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. + +// You should have received a copy of the GNU General Public License +// along with Unique Network. If not, see . + use frame_support::{dispatch::DispatchResult, ensure}; use pallet_evm::{PrecompileHandle, PrecompileResult}; use sp_core::H160; --- a/runtime/common/src/lib.rs +++ b/runtime/common/src/lib.rs @@ -1,3 +1,19 @@ +// Copyright 2019-2022 Unique Network (Gibraltar) Ltd. +// This file is part of Unique Network. + +// Unique Network is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. + +// Unique Network is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. + +// You should have received a copy of the GNU General Public License +// along with Unique Network. If not, see . + #![cfg_attr(not(feature = "std"), no_std)] pub mod constants; --- a/runtime/common/src/runtime_apis.rs +++ b/runtime/common/src/runtime_apis.rs @@ -1,3 +1,19 @@ +// Copyright 2019-2022 Unique Network (Gibraltar) Ltd. +// This file is part of Unique Network. + +// Unique Network is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. + +// Unique Network is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. + +// You should have received a copy of the GNU General Public License +// along with Unique Network. If not, see . + #[macro_export] macro_rules! impl_common_runtime_apis { ( --- a/runtime/common/src/types.rs +++ b/runtime/common/src/types.rs @@ -1,3 +1,19 @@ +// Copyright 2019-2022 Unique Network (Gibraltar) Ltd. +// This file is part of Unique Network. + +// Unique Network is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. + +// Unique Network is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. + +// You should have received a copy of the GNU General Public License +// along with Unique Network. If not, see . + use sp_runtime::{ traits::{Verify, IdentifyAccount, BlakeTwo256}, generic, MultiSignature, -- gitstuff