git.delta.rocks / unique-network / refs/commits / 95a6d9728b8c

difftreelog

fix insert missing licenses

Daniel Shiposha2022-06-09parent: #4469adb.patch.diff
in: master

17 files changed

modifiedpallets/proxy-rmrk-core/src/misc.rsdiffbeforeafterboth
1// Copyright 2019-2022 Unique Network (Gibraltar) Ltd.
2// This file is part of Unique Network.
3
4// Unique Network is free software: you can redistribute it and/or modify
5// it under the terms of the GNU General Public License as published by
6// the Free Software Foundation, either version 3 of the License, or
7// (at your option) any later version.
8
9// Unique Network is distributed in the hope that it will be useful,
10// but WITHOUT ANY WARRANTY; without even the implied warranty of
11// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12// GNU General Public License for more details.
13
14// You should have received a copy of the GNU General Public License
15// along with Unique Network. If not, see <http://www.gnu.org/licenses/>.
16
1use super::*;17use super::*;
2use codec::{Encode, Decode, Error};18use codec::{Encode, Decode, Error};
modifiedpallets/proxy-rmrk-core/src/property.rsdiffbeforeafterboth
1// Copyright 2019-2022 Unique Network (Gibraltar) Ltd.
2// This file is part of Unique Network.
3
4// Unique Network is free software: you can redistribute it and/or modify
5// it under the terms of the GNU General Public License as published by
6// the Free Software Foundation, either version 3 of the License, or
7// (at your option) any later version.
8
9// Unique Network is distributed in the hope that it will be useful,
10// but WITHOUT ANY WARRANTY; without even the implied warranty of
11// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12// GNU General Public License for more details.
13
14// You should have received a copy of the GNU General Public License
15// along with Unique Network. If not, see <http://www.gnu.org/licenses/>.
16
1use super::*;17use super::*;
2use core::convert::AsRef;18use core::convert::AsRef;
modifiedprimitives/rmrk-rpc/src/lib.rsdiffbeforeafterboth
1// Copyright 2019-2022 Unique Network (Gibraltar) Ltd.
2// This file is part of Unique Network.
3
4// Unique Network is free software: you can redistribute it and/or modify
5// it under the terms of the GNU General Public License as published by
6// the Free Software Foundation, either version 3 of the License, or
7// (at your option) any later version.
8
9// Unique Network is distributed in the hope that it will be useful,
10// but WITHOUT ANY WARRANTY; without even the implied warranty of
11// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12// GNU General Public License for more details.
13
14// You should have received a copy of the GNU General Public License
15// along with Unique Network. If not, see <http://www.gnu.org/licenses/>.
16
1#![cfg_attr(not(feature = "std"), no_std)]17#![cfg_attr(not(feature = "std"), no_std)]
218
modifiedprimitives/rmrk-traits/src/base.rsdiffbeforeafterboth
1// Copyright (C) 2021-2022 RMRK
2// This file is part of rmrk-substrate.
3// License: Apache 2.0 modified by RMRK, see https://github.com/rmrk-team/rmrk-substrate/blob/main/LICENSE
4
1use codec::{Decode, Encode, MaxEncodedLen};5use codec::{Decode, Encode, MaxEncodedLen};
2use scale_info::TypeInfo;6use scale_info::TypeInfo;
modifiedprimitives/rmrk-traits/src/collection.rsdiffbeforeafterboth
1// Copyright (C) 2021-2022 RMRK
2// This file is part of rmrk-substrate.
3// License: Apache 2.0 modified by RMRK, see https://github.com/rmrk-team/rmrk-substrate/blob/main/LICENSE
4
1use codec::{Decode, Encode, MaxEncodedLen};5use codec::{Decode, Encode, MaxEncodedLen};
2use scale_info::TypeInfo;6use scale_info::TypeInfo;
modifiedprimitives/rmrk-traits/src/lib.rsdiffbeforeafterboth
1// Copyright (C) 2021-2022 RMRK
2// This file is part of rmrk-substrate.
3// License: Apache 2.0 modified by RMRK, see https://github.com/rmrk-team/rmrk-substrate/blob/main/LICENSE
4
1#![cfg_attr(not(feature = "std"), no_std)]5#![cfg_attr(not(feature = "std"), no_std)]
26
modifiedprimitives/rmrk-traits/src/nft.rsdiffbeforeafterboth
1// Copyright (C) 2021-2022 RMRK
2// This file is part of rmrk-substrate.
3// License: Apache 2.0 modified by RMRK, see https://github.com/rmrk-team/rmrk-substrate/blob/main/LICENSE
4
1use codec::{Decode, Encode, MaxEncodedLen};5use codec::{Decode, Encode, MaxEncodedLen};
2use scale_info::TypeInfo;6use scale_info::TypeInfo;
modifiedprimitives/rmrk-traits/src/part.rsdiffbeforeafterboth
1// Copyright (C) 2021-2022 RMRK
2// This file is part of rmrk-substrate.
3// License: Apache 2.0 modified by RMRK, see https://github.com/rmrk-team/rmrk-substrate/blob/main/LICENSE
4
1use codec::{Decode, Encode, MaxEncodedLen};5use codec::{Decode, Encode, MaxEncodedLen};
2use scale_info::TypeInfo;6use scale_info::TypeInfo;
modifiedprimitives/rmrk-traits/src/property.rsdiffbeforeafterboth
1// Copyright (C) 2021-2022 RMRK
2// This file is part of rmrk-substrate.
3// License: Apache 2.0 modified by RMRK, see https://github.com/rmrk-team/rmrk-substrate/blob/main/LICENSE
4
1use codec::{Decode, Encode};5use codec::{Decode, Encode};
2use scale_info::TypeInfo;6use scale_info::TypeInfo;
modifiedprimitives/rmrk-traits/src/resource.rsdiffbeforeafterboth
1// Copyright (C) 2021-2022 RMRK
2// This file is part of rmrk-substrate.
3// License: Apache 2.0 modified by RMRK, see https://github.com/rmrk-team/rmrk-substrate/blob/main/LICENSE
4
1use codec::{Decode, Encode, MaxEncodedLen};5use codec::{Decode, Encode, MaxEncodedLen};
2use scale_info::TypeInfo;6use scale_info::TypeInfo;
modifiedprimitives/rmrk-traits/src/serialize.rsdiffbeforeafterboth
1// Copyright (C) 2021-2022 RMRK
2// This file is part of rmrk-substrate.
3// License: Apache 2.0 modified by RMRK, see https://github.com/rmrk-team/rmrk-substrate/blob/main/LICENSE
4
1use core::convert::AsRef;5use core::convert::AsRef;
2use serde::ser::{self, Serialize};6use serde::ser::{self, Serialize};
modifiedprimitives/rmrk-traits/src/theme.rsdiffbeforeafterboth
1// Copyright (C) 2021-2022 RMRK
2// This file is part of rmrk-substrate.
3// License: Apache 2.0 modified by RMRK, see https://github.com/rmrk-team/rmrk-substrate/blob/main/LICENSE
4
1use codec::{Decode, Encode};5use codec::{Decode, Encode};
2use scale_info::TypeInfo;6use scale_info::TypeInfo;
modifiedruntime/common/src/constants.rsdiffbeforeafterboth
1// Copyright 2019-2022 Unique Network (Gibraltar) Ltd.
2// This file is part of Unique Network.
3
4// Unique Network is free software: you can redistribute it and/or modify
5// it under the terms of the GNU General Public License as published by
6// the Free Software Foundation, either version 3 of the License, or
7// (at your option) any later version.
8
9// Unique Network is distributed in the hope that it will be useful,
10// but WITHOUT ANY WARRANTY; without even the implied warranty of
11// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12// GNU General Public License for more details.
13
14// You should have received a copy of the GNU General Public License
15// along with Unique Network. If not, see <http://www.gnu.org/licenses/>.
16
1use sp_runtime::Perbill;17use sp_runtime::Perbill;
2use frame_support::{18use frame_support::{
modifiedruntime/common/src/dispatch.rsdiffbeforeafterboth
1// Copyright 2019-2022 Unique Network (Gibraltar) Ltd.
2// This file is part of Unique Network.
3
4// Unique Network is free software: you can redistribute it and/or modify
5// it under the terms of the GNU General Public License as published by
6// the Free Software Foundation, either version 3 of the License, or
7// (at your option) any later version.
8
9// Unique Network is distributed in the hope that it will be useful,
10// but WITHOUT ANY WARRANTY; without even the implied warranty of
11// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12// GNU General Public License for more details.
13
14// You should have received a copy of the GNU General Public License
15// along with Unique Network. If not, see <http://www.gnu.org/licenses/>.
16
1use frame_support::{dispatch::DispatchResult, ensure};17use frame_support::{dispatch::DispatchResult, ensure};
2use pallet_evm::{PrecompileHandle, PrecompileResult};18use pallet_evm::{PrecompileHandle, PrecompileResult};
modifiedruntime/common/src/lib.rsdiffbeforeafterboth
1// Copyright 2019-2022 Unique Network (Gibraltar) Ltd.
2// This file is part of Unique Network.
3
4// Unique Network is free software: you can redistribute it and/or modify
5// it under the terms of the GNU General Public License as published by
6// the Free Software Foundation, either version 3 of the License, or
7// (at your option) any later version.
8
9// Unique Network is distributed in the hope that it will be useful,
10// but WITHOUT ANY WARRANTY; without even the implied warranty of
11// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12// GNU General Public License for more details.
13
14// You should have received a copy of the GNU General Public License
15// along with Unique Network. If not, see <http://www.gnu.org/licenses/>.
16
1#![cfg_attr(not(feature = "std"), no_std)]17#![cfg_attr(not(feature = "std"), no_std)]
218
modifiedruntime/common/src/runtime_apis.rsdiffbeforeafterboth
1// Copyright 2019-2022 Unique Network (Gibraltar) Ltd.
2// This file is part of Unique Network.
3
4// Unique Network is free software: you can redistribute it and/or modify
5// it under the terms of the GNU General Public License as published by
6// the Free Software Foundation, either version 3 of the License, or
7// (at your option) any later version.
8
9// Unique Network is distributed in the hope that it will be useful,
10// but WITHOUT ANY WARRANTY; without even the implied warranty of
11// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12// GNU General Public License for more details.
13
14// You should have received a copy of the GNU General Public License
15// along with Unique Network. If not, see <http://www.gnu.org/licenses/>.
16
1#[macro_export]17#[macro_export]
2macro_rules! impl_common_runtime_apis {18macro_rules! impl_common_runtime_apis {
modifiedruntime/common/src/types.rsdiffbeforeafterboth
1// Copyright 2019-2022 Unique Network (Gibraltar) Ltd.
2// This file is part of Unique Network.
3
4// Unique Network is free software: you can redistribute it and/or modify
5// it under the terms of the GNU General Public License as published by
6// the Free Software Foundation, either version 3 of the License, or
7// (at your option) any later version.
8
9// Unique Network is distributed in the hope that it will be useful,
10// but WITHOUT ANY WARRANTY; without even the implied warranty of
11// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12// GNU General Public License for more details.
13
14// You should have received a copy of the GNU General Public License
15// along with Unique Network. If not, see <http://www.gnu.org/licenses/>.
16
1use sp_runtime::{17use sp_runtime::{
2 traits::{Verify, IdentifyAccount, BlakeTwo256},18 traits::{Verify, IdentifyAccount, BlakeTwo256},