diff --git a/pallets/regions/README.md b/pallets/regions/README.md index 5a646123..19a65c78 100644 --- a/pallets/regions/README.md +++ b/pallets/regions/README.md @@ -1 +1 @@ -License: Unlicense +## Pallet Regions diff --git a/pallets/regions/src/benchmarking.rs b/pallets/regions/src/benchmarking.rs index 4128f705..5e97cbd3 100644 --- a/pallets/regions/src/benchmarking.rs +++ b/pallets/regions/src/benchmarking.rs @@ -1,3 +1,18 @@ +// This file is part of RegionX. +// +// RegionX 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. +// +// RegionX 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 RegionX. If not, see . + //! Benchmarking setup for pallet-regions use super::*; diff --git a/pallets/regions/src/ismp_mock.rs b/pallets/regions/src/ismp_mock.rs index 35234289..5160a0f7 100644 --- a/pallets/regions/src/ismp_mock.rs +++ b/pallets/regions/src/ismp_mock.rs @@ -1,3 +1,18 @@ +// This file is part of RegionX. +// +// RegionX 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. +// +// RegionX 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 RegionX. If not, see . + use ismp::{ error::Error, router::{DispatchRequest, Get as IsmpGet, IsmpDispatcher, PostResponse, Request}, diff --git a/pallets/regions/src/lib.rs b/pallets/regions/src/lib.rs index 0d106b56..ae8a4cbb 100644 --- a/pallets/regions/src/lib.rs +++ b/pallets/regions/src/lib.rs @@ -1,3 +1,18 @@ +// This file is part of RegionX. +// +// RegionX 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. +// +// RegionX 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 RegionX. If not, see . + #![cfg_attr(not(feature = "std"), no_std)] use core::cmp::max; diff --git a/pallets/regions/src/mock.rs b/pallets/regions/src/mock.rs index 053d3f61..1bfd74cb 100644 --- a/pallets/regions/src/mock.rs +++ b/pallets/regions/src/mock.rs @@ -1,3 +1,18 @@ +// This file is part of RegionX. +// +// RegionX 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. +// +// RegionX 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 RegionX. If not, see . + use crate::{ismp_mock::MockDispatcher, StateMachineHeightProvider}; use frame_support::{pallet_prelude::*, parameter_types, traits::Everything}; use frame_system as system; diff --git a/pallets/regions/src/nonfungible_impls.rs b/pallets/regions/src/nonfungible_impls.rs index f905b216..9352b98d 100644 --- a/pallets/regions/src/nonfungible_impls.rs +++ b/pallets/regions/src/nonfungible_impls.rs @@ -1,3 +1,18 @@ +// This file is part of RegionX. +// +// RegionX 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. +// +// RegionX 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 RegionX. If not, see . + use crate::*; use frame_support::{ ensure, diff --git a/pallets/regions/src/primitives.rs b/pallets/regions/src/primitives.rs index 1a79cd99..17f251fa 100644 --- a/pallets/regions/src/primitives.rs +++ b/pallets/regions/src/primitives.rs @@ -1,3 +1,18 @@ +// This file is part of RegionX. +// +// RegionX 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. +// +// RegionX 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 RegionX. If not, see . + use ismp::consensus::StateMachineId; pub trait StateMachineHeightProvider { diff --git a/pallets/regions/src/tests.rs b/pallets/regions/src/tests.rs index 396fb5b9..5dad33ca 100644 --- a/pallets/regions/src/tests.rs +++ b/pallets/regions/src/tests.rs @@ -1,3 +1,18 @@ +// This file is part of RegionX. +// +// RegionX 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. +// +// RegionX 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 RegionX. If not, see . + use crate::{ ismp_mock::requests, mock::*, utils, IsmpCustomError, IsmpModuleCallback, Record, Region, }; diff --git a/pallets/regions/src/types.rs b/pallets/regions/src/types.rs index d1795f7d..4b7717ef 100644 --- a/pallets/regions/src/types.rs +++ b/pallets/regions/src/types.rs @@ -1,3 +1,18 @@ +// This file is part of RegionX. +// +// RegionX 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. +// +// RegionX 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 RegionX. If not, see . + use crate::IsmpError; use frame_support::traits::fungible::Inspect; use pallet_broker::RegionRecord;