difftreelog
feat add rmrk proxy create_base
in: master
12 files changed
Cargo.lockdiffbeforeafterboth--- a/Cargo.lock
+++ b/Cargo.lock
@@ -5513,6 +5513,7 @@
"pallet-randomness-collective-flip",
"pallet-refungible",
"pallet-rmrk-core",
+ "pallet-rmrk-equip",
"pallet-structure",
"pallet-sudo",
"pallet-template-transaction-payment",
@@ -6533,6 +6534,25 @@
]
[[package]]
+name = "pallet-rmrk-equip"
+version = "0.1.0"
+dependencies = [
+ "frame-benchmarking",
+ "frame-support",
+ "frame-system",
+ "pallet-common",
+ "pallet-evm",
+ "pallet-nonfungible",
+ "pallet-rmrk-core",
+ "parity-scale-codec 3.1.2",
+ "scale-info",
+ "sp-core",
+ "sp-runtime",
+ "sp-std",
+ "up-data-structs",
+]
+
+[[package]]
name = "pallet-scheduler"
version = "4.0.0-dev"
source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.21#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
pallets/proxy-rmrk-core/Cargo.tomldiffbeforeafterboth--- a/pallets/proxy-rmrk-core/Cargo.toml
+++ b/pallets/proxy-rmrk-core/Cargo.toml
@@ -18,10 +18,7 @@
sp-core = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.21" }
pallet-common = { default-features = false, path = '../common' }
pallet-nonfungible = { default-features = false, path = "../../pallets/nonfungible" }
-# pallet-structure = { default-features = false, path = '../structure' }
up-data-structs = { default-features = false, path = '../../primitives/data-structs' }
-# evm-coder = { default-features = false, path = '../../crates/evm-coder' }
-# pallet-evm-coder-substrate = { default-features = false, path = '../evm-coder-substrate' }
pallet-evm = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.21-logs" }
frame-benchmarking = { default-features = false, optional = true, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.21" }
scale-info = { version = "2.0.1", default-features = false, features = ["derive"] }
@@ -37,9 +34,6 @@
"pallet-common/std",
"pallet-nonfungible/std",
"pallet-evm/std",
- # "pallet-structure/std",
- # "evm-coder/std",
- # "pallet-evm-coder-substrate/std",
'frame-benchmarking/std',
]
runtime-benchmarks = [
pallets/proxy-rmrk-core/src/lib.rsdiffbeforeafterboth--- a/pallets/proxy-rmrk-core/src/lib.rs
+++ b/pallets/proxy-rmrk-core/src/lib.rs
@@ -254,8 +254,8 @@
});
let nft_id = Self::create_nft(
- sender,
- cross_owner,
+ &sender,
+ &cross_owner,
collection_id.into(),
CollectionType::Regular,
NftType::Regular,
@@ -302,9 +302,9 @@
}
impl<T: Config> Pallet<T> {
- fn create_nft(
- sender: T::CrossAccountId,
- owner: T::CrossAccountId,
+ pub fn create_nft(
+ sender: &T::CrossAccountId,
+ owner: &T::CrossAccountId,
collection_id: CollectionId,
collection_type: CollectionType,
nft_type: NftType,
@@ -320,14 +320,14 @@
.try_into()
.map_err(|_| <Error<T>>::NftTypeEncodeError)?,
properties: BoundedVec::default(),
- owner,
+ owner: owner.clone(),
};
let budget = budget::Value::new(2);
<PalletNft<T>>::create_item(
&collection,
- &sender,
+ sender,
data,
&budget,
).map_err(Self::map_common_err_to_proxy)?;
pallets/proxy-rmrk-core/src/property.rsdiffbeforeafterboth--- a/pallets/proxy-rmrk-core/src/property.rs
+++ b/pallets/proxy-rmrk-core/src/property.rs
@@ -19,7 +19,7 @@
Thumb,
EquippedNft,
BaseType,
- // // RmrkPartId(/* Id type? */)
+ ExternalPartId,
EquippableList,
ZIndex,
ThemeName,
@@ -62,8 +62,7 @@
Self::Thumb => key!("thumb"),
Self::EquippedNft => key!("equipped-nft"),
Self::BaseType => key!("base-type"),
- // RmrkResourceId(/* Id type? */)
- // RmrkPartId(/* Id type? */)
+ Self::ExternalPartId => key!("ext-part-id"),
Self::EquippableList => key!("equippable-list"),
Self::ZIndex => key!("z-index"),
Self::ThemeName => key!("theme-name"),
pallets/proxy-rmrk-equip/Cargo.tomldiffbeforeafterboth--- /dev/null
+++ b/pallets/proxy-rmrk-equip/Cargo.toml
@@ -0,0 +1,45 @@
+[package]
+name = "pallet-rmrk-equip"
+version = "0.1.0"
+license = "GPLv3"
+edition = "2021"
+
+[dependencies.codec]
+default-features = false
+features = ['derive']
+package = 'parity-scale-codec'
+version = '3.1.2'
+
+[dependencies]
+frame-support = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.21" }
+frame-system = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.21" }
+sp-runtime = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.21" }
+sp-std = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.21" }
+sp-core = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.21" }
+pallet-common = { default-features = false, path = '../common' }
+pallet-nonfungible = { default-features = false, path = "../../pallets/nonfungible" }
+up-data-structs = { default-features = false, path = '../../primitives/data-structs' }
+pallet-evm = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.21-logs" }
+frame-benchmarking = { default-features = false, optional = true, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.21" }
+scale-info = { version = "2.0.1", default-features = false, features = ["derive"] }
+pallet-rmrk-core = { default-features = false, path = "../proxy-rmrk-core" }
+
+[features]
+default = ["std"]
+std = [
+ "frame-support/std",
+ "frame-system/std",
+ "sp-runtime/std",
+ "sp-std/std",
+ "up-data-structs/std",
+ "pallet-common/std",
+ "pallet-nonfungible/std",
+ "pallet-rmrk-core/std",
+ "pallet-evm/std",
+ 'frame-benchmarking/std',
+]
+runtime-benchmarks = [
+ 'frame-benchmarking',
+ 'frame-support/runtime-benchmarks',
+ 'frame-system/runtime-benchmarks',
+]
pallets/proxy-rmrk-equip/src/lib.rsdiffbeforeafterboth--- /dev/null
+++ b/pallets/proxy-rmrk-equip/src/lib.rs
@@ -0,0 +1,173 @@
+// 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 <http://www.gnu.org/licenses/>.
+
+#![cfg_attr(not(feature = "std"), no_std)]
+
+use frame_support::{pallet_prelude::*, transactional, BoundedVec, dispatch::DispatchResult};
+use frame_system::{pallet_prelude::*, ensure_signed};
+use sp_runtime::DispatchError;
+use up_data_structs::*;
+use pallet_common::{Pallet as PalletCommon, Error as CommonError, CollectionHandle};
+use pallet_rmrk_core::{Pallet as PalletCore, rmrk_property, misc::*};
+use pallet_nonfungible::{Pallet as PalletNft};
+use pallet_evm::account::CrossAccountId;
+
+pub use pallet::*;
+
+#[frame_support::pallet]
+pub mod pallet {
+ use super::*;
+
+ #[pallet::config]
+ pub trait Config: frame_system::Config
+ + pallet_rmrk_core::Config {
+ type Event: From<Event<Self>> + IsType<<Self as frame_system::Config>::Event>;
+ }
+
+ #[pallet::storage]
+ #[pallet::getter(fn internal_part_id)]
+ pub type InernalPartId<T: Config> = StorageDoubleMap<
+ _,
+ Twox64Concat,
+ CollectionId,
+ Twox64Concat,
+ RmrkPartId,
+ TokenId
+ >;
+
+ #[pallet::pallet]
+ #[pallet::generate_store(pub(super) trait Store)]
+ pub struct Pallet<T>(_);
+
+ #[pallet::event]
+ #[pallet::generate_deposit(pub(super) fn deposit_event)]
+ pub enum Event<T: Config> {
+ BaseCreated {
+ issuer: T::AccountId,
+ base_id: RmrkBaseId,
+ },
+ }
+
+ #[pallet::error]
+ pub enum Error<T> {
+ NoAvailableBaseId,
+ }
+
+ #[pallet::call]
+ impl<T: Config> Pallet<T> {
+ #[pallet::weight(10_000 + T::DbWeight::get().reads_writes(1,1))]
+ #[transactional]
+ pub fn create_base(
+ origin: OriginFor<T>,
+ base_type: RmrkString,
+ symbol: RmrkString,
+ parts: BoundedVec<RmrkPartType, RmrkPartsLimit>,
+ ) -> DispatchResult {
+ let sender = ensure_signed(origin)?;
+ let cross_sender = T::CrossAccountId::from_sub(sender.clone());
+
+ let data = CreateCollectionData {
+ limits: None,
+ token_prefix: symbol.into_inner()
+ .try_into()
+ .map_err(|_| <CommonError<T>>::CollectionTokenPrefixLimitExceeded)?,
+ ..Default::default()
+ };
+
+ let collection_id_res = <PalletNft<T>>::init_collection(sender.clone(), data);
+
+ if let Err(DispatchError::Arithmetic(_)) = &collection_id_res {
+ return Err(<Error<T>>::NoAvailableBaseId.into());
+ }
+
+ let collection_id = collection_id_res?;
+
+ let collection = <PalletCore<T>>::get_nft_collection(collection_id)?.into_inner();
+
+ <PalletCommon<T>>::set_scoped_collection_properties(
+ &collection,
+ PropertyScope::Rmrk,
+ [
+ rmrk_property!(Config=T, CollectionType: CollectionType::Base)?,
+ rmrk_property!(Config=T, BaseType: base_type)?,
+ ].into_iter()
+ )?;
+
+ for part in parts {
+ let part_id = part.id();
+ let part_token_id = Self::create_part(
+ &cross_sender,
+ &collection,
+ part
+ )?;
+
+ <InernalPartId<T>>::insert(collection_id, part_id, part_token_id);
+
+ <PalletNft<T>>::set_scoped_token_property(
+ &collection,
+ part_token_id,
+ PropertyScope::Rmrk,
+ rmrk_property!(Config=T, ExternalPartId: part_id)?
+ )?;
+ }
+
+ Self::deposit_event(Event::BaseCreated { issuer: sender, base_id: collection_id.0 });
+
+ Ok(())
+ }
+ }
+}
+
+impl<T: Config> Pallet<T> {
+ fn create_part(
+ sender: &T::CrossAccountId,
+ collection: &CollectionHandle<T>,
+ part: RmrkPartType
+ ) -> Result<TokenId, DispatchError> {
+ let owner = sender;
+
+ let src = part.src();
+ let z_index = part.z_index();
+
+ let nft_type = match part {
+ RmrkPartType::FixedPart(_) => NftType::FixedPart,
+ RmrkPartType::SlotPart(_) => NftType::SlotPart,
+ };
+
+ let token_id = <PalletCore<T>>::create_nft(
+ sender,
+ owner,
+ collection.id,
+ CollectionType::Base,
+ nft_type,
+ [
+ rmrk_property!(Config=T, Src: src)?,
+ rmrk_property!(Config=T, ZIndex: z_index)?
+ ].into_iter()
+ )?;
+
+ if let RmrkPartType::SlotPart(part) = part {
+ <PalletNft<T>>::set_scoped_token_property(
+ collection,
+ token_id,
+ PropertyScope::Rmrk,
+ rmrk_property!(Config=T, EquippableList: part.equippable)?
+ )?;
+ }
+
+ Ok(token_id)
+ }
+}
primitives/data-structs/src/rmrk.rsdiffbeforeafterboth--- a/primitives/data-structs/src/rmrk.rs
+++ b/primitives/data-structs/src/rmrk.rs
@@ -416,6 +416,29 @@
SlotPart(SlotPart<BoundedString, BoundedCollectionList>),
}
+impl<BoundedString, BoundedCollectionList> PartType<BoundedString, BoundedCollectionList> {
+ pub fn id(&self) -> PartId {
+ match self {
+ Self::FixedPart(part) => part.id,
+ Self::SlotPart(part) => part.id
+ }
+ }
+
+ pub fn src(&self) -> &BoundedString {
+ match self {
+ Self::FixedPart(part) => &part.src,
+ Self::SlotPart(part) => &part.src
+ }
+ }
+
+ pub fn z_index(&self) -> ZIndex {
+ match self {
+ Self::FixedPart(part) => part.z,
+ Self::SlotPart(part) => part.z
+ }
+ }
+}
+
#[cfg_attr(feature = "std", derive(Eq, Serialize))]
#[derive(Encode, Decode, Debug, TypeInfo, Clone, PartialEq)]
#[cfg_attr(
runtime/common/src/runtime_apis.rsdiffbeforeafterboth--- a/runtime/common/src/runtime_apis.rs
+++ b/runtime/common/src/runtime_apis.rs
@@ -347,27 +347,27 @@
fn base_parts(base_id: RmrkBaseId) -> Result<Vec<RmrkPartType>, DispatchError> {
use frame_support::BoundedVec;
- use pallet_proxy_rmrk_core::{RmrkProperty, misc::{CollectionType, RmrkNft, RmrkDecode}};
+ use pallet_proxy_rmrk_core::{RmrkProperty, misc::{CollectionType, NftType, RmrkNft, RmrkDecode}};
let collection_id = CollectionId(base_id);
if RmrkCore::ensure_collection_type(collection_id, CollectionType::Base).is_err() { return Ok(Vec::new()); }
- let parts = (dispatch_unique_runtime!(collection_id.collection_tokens()) as Result<Vec<TokenId>, DispatchError>)?
- .iter()
+ let parts = (dispatch_unique_runtime!(collection_id.collection_tokens()))?
+ .into_iter()
.filter_map(|token_id| {
- let nft_type = RmrkCore::get_nft_type(collection_id, *token_id).unwrap();
+ let nft_type = RmrkCore::get_nft_type(collection_id, token_id).ok()?;
match nft_type {
- FixedPart => Some(RmrkPartType::FixedPart(RmrkFixedPart {
- id: token_id.0,
- src: RmrkCore::get_nft_property(collection_id, *token_id, RmrkProperty::Src).unwrap().decode_or_default(),
- z: RmrkCore::get_nft_property(collection_id, *token_id, RmrkProperty::ZIndex).unwrap().decode_or_default(),
+ NftType::FixedPart => Some(RmrkPartType::FixedPart(RmrkFixedPart {
+ id: RmrkCore::get_nft_property(collection_id, token_id, RmrkProperty::ExternalPartId).ok()?.decode_or_default(),
+ src: RmrkCore::get_nft_property(collection_id, token_id, RmrkProperty::Src).ok()?.decode_or_default(),
+ z: RmrkCore::get_nft_property(collection_id, token_id, RmrkProperty::ZIndex).ok()?.decode_or_default(),
})),
- SlotPart => Some(RmrkPartType::SlotPart(RmrkSlotPart {
- id: token_id.0,
- src: RmrkCore::get_nft_property(collection_id, *token_id, RmrkProperty::Src).unwrap().decode_or_default(),
- z: RmrkCore::get_nft_property(collection_id, *token_id, RmrkProperty::ZIndex).unwrap().decode_or_default(),
- equippable: RmrkCore::get_nft_property(collection_id, *token_id, RmrkProperty::EquippableList).unwrap().decode_or_default(),
+ NftType::SlotPart => Some(RmrkPartType::SlotPart(RmrkSlotPart {
+ id: RmrkCore::get_nft_property(collection_id, token_id, RmrkProperty::ExternalPartId).ok()?.decode_or_default(),
+ src: RmrkCore::get_nft_property(collection_id, token_id, RmrkProperty::Src).ok()?.decode_or_default(),
+ z: RmrkCore::get_nft_property(collection_id, token_id, RmrkProperty::ZIndex).ok()?.decode_or_default(),
+ equippable: RmrkCore::get_nft_property(collection_id, token_id, RmrkProperty::EquippableList).ok()?.decode_or_default(),
})),
_ => None
}
runtime/opal/Cargo.tomldiffbeforeafterboth1################################################################################2# Package34[package]5authors = ['Unique Network <support@uniquenetwork.io>']6build = 'build.rs'7description = 'Opal Runtime'8edition = '2021'9homepage = 'https://unique.network'10license = 'GPLv3'11name = 'opal-runtime'12repository = 'https://github.com/UniqueNetwork/unique-chain'13version = '0.9.20'1415[package.metadata.docs.rs]16targets = ['x86_64-unknown-linux-gnu']1718[features]19default = ['std']20runtime-benchmarks = [21 'hex-literal',22 'frame-benchmarking',23 'frame-support/runtime-benchmarks',24 'frame-system-benchmarking',25 'frame-system/runtime-benchmarks',26 'pallet-ethereum/runtime-benchmarks',27 'pallet-evm-migration/runtime-benchmarks',28 'pallet-evm-coder-substrate/runtime-benchmarks',29 'pallet-balances/runtime-benchmarks',30 'pallet-timestamp/runtime-benchmarks',31 'pallet-common/runtime-benchmarks',32 'pallet-structure/runtime-benchmarks',33 'pallet-fungible/runtime-benchmarks',34 'pallet-refungible/runtime-benchmarks',35 'pallet-nonfungible/runtime-benchmarks',36 'pallet-proxy-rmrk-core/runtime-benchmarks',37 'pallet-unique/runtime-benchmarks',38 'pallet-inflation/runtime-benchmarks',39 'pallet-xcm/runtime-benchmarks',40 'sp-runtime/runtime-benchmarks',41 'xcm-builder/runtime-benchmarks',42]43try-runtime = [44 'frame-try-runtime',45 'frame-executive/try-runtime',46 'frame-system/try-runtime',47]48std = [49 'codec/std',50 'cumulus-pallet-aura-ext/std',51 'cumulus-pallet-parachain-system/std',52 'cumulus-pallet-xcm/std',53 'cumulus-pallet-xcmp-queue/std',54 'cumulus-primitives-core/std',55 'cumulus-primitives-utility/std',56 'frame-try-runtime/std',57 'frame-executive/std',58 'frame-support/std',59 'frame-system/std',60 'frame-system-rpc-runtime-api/std',61 'pallet-aura/std',62 'pallet-balances/std',63 # 'pallet-contracts/std',64 # 'pallet-contracts-primitives/std',65 # 'pallet-contracts-rpc-runtime-api/std',66 # 'pallet-contract-helpers/std',67 'pallet-randomness-collective-flip/std',68 'pallet-sudo/std',69 'pallet-timestamp/std',70 'pallet-transaction-payment/std',71 'pallet-transaction-payment-rpc-runtime-api/std',72 'pallet-treasury/std',73 # 'pallet-vesting/std',74 'pallet-evm/std',75 'pallet-evm-migration/std',76 'pallet-evm-contract-helpers/std',77 'pallet-evm-transaction-payment/std',78 'pallet-evm-coder-substrate/std',79 'pallet-ethereum/std',80 'pallet-base-fee/std',81 'fp-rpc/std',82 'up-rpc/std',83 'fp-evm-mapping/std',84 'fp-self-contained/std',85 'parachain-info/std',86 'serde',87 'pallet-inflation/std',88 'pallet-common/std',89 'pallet-structure/std',90 'pallet-fungible/std',91 'pallet-refungible/std',92 'pallet-nonfungible/std',93 'pallet-proxy-rmrk-core/std',94 'pallet-unique/std',95 'pallet-unq-scheduler/std',96 'pallet-charge-transaction/std',97 'up-data-structs/std',98 'sp-api/std',99 'sp-block-builder/std',100 "sp-consensus-aura/std",101 'sp-core/std',102 'sp-inherents/std',103 'sp-io/std',104 'sp-offchain/std',105 'sp-runtime/std',106 'sp-session/std',107 'sp-std/std',108 'sp-transaction-pool/std',109 'sp-version/std',110 'xcm/std',111 'xcm-builder/std',112 'xcm-executor/std',113 'unique-runtime-common/std',114 'rmrk-rpc/std',115116 "orml-vesting/std",117]118limit-testing = ['pallet-unique/limit-testing', 'up-data-structs/limit-testing']119120################################################################################121# Substrate Dependencies122123[dependencies.codec]124default-features = false125features = ['derive']126package = 'parity-scale-codec'127version = '3.1.2'128129[dependencies.frame-benchmarking]130default-features = false131git = "https://github.com/paritytech/substrate"132optional = true133branch = "polkadot-v0.9.21"134135[dependencies.frame-try-runtime]136default-features = false137git = 'https://github.com/paritytech/substrate'138optional = true139branch = 'polkadot-v0.9.21'140141[dependencies.frame-executive]142default-features = false143git = "https://github.com/paritytech/substrate"144branch = "polkadot-v0.9.21"145146[dependencies.frame-support]147default-features = false148git = "https://github.com/paritytech/substrate"149branch = "polkadot-v0.9.21"150151[dependencies.frame-system]152default-features = false153git = "https://github.com/paritytech/substrate"154branch = "polkadot-v0.9.21"155156[dependencies.frame-system-benchmarking]157default-features = false158git = "https://github.com/paritytech/substrate"159optional = true160branch = "polkadot-v0.9.21"161162[dependencies.frame-system-rpc-runtime-api]163default-features = false164git = "https://github.com/paritytech/substrate"165branch = "polkadot-v0.9.21"166167[dependencies.hex-literal]168optional = true169version = '0.3.3'170171[dependencies.serde]172default-features = false173features = ['derive']174optional = true175version = '1.0.130'176177[dependencies.pallet-aura]178default-features = false179git = "https://github.com/paritytech/substrate"180branch = "polkadot-v0.9.21"181182[dependencies.pallet-balances]183default-features = false184git = "https://github.com/paritytech/substrate"185branch = "polkadot-v0.9.21"186187# Contracts specific packages188# [dependencies.pallet-contracts]189# git = 'https://github.com/paritytech/substrate'190# default-features = false191# branch = 'master'192# version = '4.0.0-dev'193194# [dependencies.pallet-contracts-primitives]195# git = 'https://github.com/paritytech/substrate'196# default-features = false197# branch = 'master'198# version = '4.0.0-dev'199200# [dependencies.pallet-contracts-rpc-runtime-api]201# git = 'https://github.com/paritytech/substrate'202# default-features = false203# branch = 'master'204# version = '4.0.0-dev'205206[dependencies.pallet-randomness-collective-flip]207default-features = false208git = "https://github.com/paritytech/substrate"209branch = "polkadot-v0.9.21"210211[dependencies.pallet-sudo]212default-features = false213git = "https://github.com/paritytech/substrate"214branch = "polkadot-v0.9.21"215216[dependencies.pallet-timestamp]217default-features = false218git = "https://github.com/paritytech/substrate"219branch = "polkadot-v0.9.21"220221[dependencies.pallet-transaction-payment]222default-features = false223git = "https://github.com/paritytech/substrate"224branch = "polkadot-v0.9.21"225226[dependencies.pallet-transaction-payment-rpc-runtime-api]227default-features = false228git = "https://github.com/paritytech/substrate"229branch = "polkadot-v0.9.21"230231[dependencies.pallet-treasury]232default-features = false233git = "https://github.com/paritytech/substrate"234branch = "polkadot-v0.9.21"235236# [dependencies.pallet-vesting]237# default-features = false238# git = 'https://github.com/paritytech/substrate'239# branch = 'master'240241[dependencies.sp-arithmetic]242default-features = false243git = "https://github.com/paritytech/substrate"244branch = "polkadot-v0.9.21"245246[dependencies.sp-api]247default-features = false248git = "https://github.com/paritytech/substrate"249branch = "polkadot-v0.9.21"250251[dependencies.sp-block-builder]252default-features = false253git = "https://github.com/paritytech/substrate"254branch = "polkadot-v0.9.21"255256[dependencies.sp-core]257default-features = false258git = "https://github.com/paritytech/substrate"259branch = "polkadot-v0.9.21"260261[dependencies.sp-consensus-aura]262default-features = false263git = "https://github.com/paritytech/substrate"264branch = "polkadot-v0.9.21"265266[dependencies.sp-inherents]267default-features = false268git = "https://github.com/paritytech/substrate"269branch = "polkadot-v0.9.21"270271[dependencies.sp-io]272default-features = false273git = "https://github.com/paritytech/substrate"274branch = "polkadot-v0.9.21"275276[dependencies.sp-offchain]277default-features = false278git = "https://github.com/paritytech/substrate"279branch = "polkadot-v0.9.21"280281[dependencies.sp-runtime]282default-features = false283git = "https://github.com/paritytech/substrate"284branch = "polkadot-v0.9.21"285286[dependencies.sp-session]287default-features = false288git = "https://github.com/paritytech/substrate"289branch = "polkadot-v0.9.21"290291[dependencies.sp-std]292default-features = false293git = "https://github.com/paritytech/substrate"294branch = "polkadot-v0.9.21"295296[dependencies.sp-transaction-pool]297default-features = false298git = "https://github.com/paritytech/substrate"299branch = "polkadot-v0.9.21"300301[dependencies.sp-version]302default-features = false303git = "https://github.com/paritytech/substrate"304branch = "polkadot-v0.9.21"305306[dependencies.smallvec]307version = '1.6.1'308309################################################################################310# Cumulus dependencies311312[dependencies.parachain-info]313default-features = false314git = "https://github.com/uniquenetwork/cumulus"315branch = "polkadot-v0.9.21"316317[dependencies.cumulus-pallet-aura-ext]318git = "https://github.com/uniquenetwork/cumulus"319branch = "polkadot-v0.9.21"320default-features = false321322[dependencies.cumulus-pallet-parachain-system]323git = "https://github.com/uniquenetwork/cumulus"324branch = "polkadot-v0.9.21"325default-features = false326327[dependencies.cumulus-primitives-core]328git = "https://github.com/uniquenetwork/cumulus"329branch = "polkadot-v0.9.21"330default-features = false331332[dependencies.cumulus-pallet-xcm]333git = "https://github.com/uniquenetwork/cumulus"334branch = "polkadot-v0.9.21"335default-features = false336337[dependencies.cumulus-pallet-dmp-queue]338git = "https://github.com/uniquenetwork/cumulus"339branch = "polkadot-v0.9.21"340default-features = false341342[dependencies.cumulus-pallet-xcmp-queue]343git = "https://github.com/uniquenetwork/cumulus"344branch = "polkadot-v0.9.21"345default-features = false346347[dependencies.cumulus-primitives-utility]348git = "https://github.com/uniquenetwork/cumulus"349branch = "polkadot-v0.9.21"350default-features = false351352[dependencies.cumulus-primitives-timestamp]353git = "https://github.com/uniquenetwork/cumulus"354branch = "polkadot-v0.9.21"355default-features = false356357################################################################################358# Polkadot dependencies359360[dependencies.polkadot-parachain]361git = "https://github.com/paritytech/polkadot"362branch = "release-v0.9.21"363default-features = false364365[dependencies.xcm]366git = "https://github.com/paritytech/polkadot"367branch = "release-v0.9.21"368default-features = false369370[dependencies.xcm-builder]371git = "https://github.com/paritytech/polkadot"372branch = "release-v0.9.21"373default-features = false374375[dependencies.xcm-executor]376git = "https://github.com/paritytech/polkadot"377branch = "release-v0.9.21"378default-features = false379380[dependencies.pallet-xcm]381git = "https://github.com/paritytech/polkadot"382branch = "release-v0.9.21"383default-features = false384385[dependencies.orml-vesting]386git = "https://github.com/uniquenetwork/open-runtime-module-library"387branch = "unique-polkadot-v0.9.21"388version = "0.4.1-dev"389default-features = false390391################################################################################392# local dependencies393394[dependencies]395log = { version = "0.4.16", default-features = false }396unique-runtime-common = { path = "../common", default-features = false }397scale-info = { version = "2.0.1", default-features = false, features = [398 "derive",399] }400derivative = "2.2.0"401pallet-unique = { path = '../../pallets/unique', default-features = false }402up-rpc = { path = "../../primitives/rpc", default-features = false }403rmrk-rpc = { path = "../../primitives/rmrk-rpc", default-features = false }404fp-evm-mapping = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.21-logs" }405pallet-inflation = { path = '../../pallets/inflation', default-features = false }406up-data-structs = { path = '../../primitives/data-structs', default-features = false }407pallet-common = { default-features = false, path = "../../pallets/common" }408pallet-structure = { default-features = false, path = "../../pallets/structure" }409pallet-fungible = { default-features = false, path = "../../pallets/fungible" }410pallet-refungible = { default-features = false, path = "../../pallets/refungible" }411pallet-nonfungible = { default-features = false, path = "../../pallets/nonfungible" }412pallet-proxy-rmrk-core = { default-features = false, path = "../../pallets/proxy-rmrk-core", package = "pallet-rmrk-core" }413pallet-unq-scheduler = { path = '../../pallets/scheduler', default-features = false }414# pallet-contract-helpers = { path = '../pallets/contract-helpers', default-features = false, version = '0.1.0' }415pallet-charge-transaction = { git = "https://github.com/uniquenetwork/pallet-sponsoring", branch = "polkadot-v0.9.21", package = "pallet-template-transaction-payment", default-features = false, version = "3.0.0" }416pallet-evm-migration = { path = '../../pallets/evm-migration', default-features = false }417pallet-evm-contract-helpers = { path = '../../pallets/evm-contract-helpers', default-features = false }418pallet-evm-transaction-payment = { path = '../../pallets/evm-transaction-payment', default-features = false }419pallet-evm-coder-substrate = { default-features = false, path = "../../pallets/evm-coder-substrate" }420pallet-evm = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.21-logs" }421pallet-ethereum = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.21-logs" }422pallet-base-fee = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.21-logs" }423fp-rpc = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.21-logs" }424fp-self-contained = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.21-logs" }425426################################################################################427# Build Dependencies428429[build-dependencies.substrate-wasm-builder]430git = "https://github.com/paritytech/substrate"431branch = "polkadot-v0.9.21"1################################################################################2# Package34[package]5authors = ['Unique Network <support@uniquenetwork.io>']6build = 'build.rs'7description = 'Opal Runtime'8edition = '2021'9homepage = 'https://unique.network'10license = 'GPLv3'11name = 'opal-runtime'12repository = 'https://github.com/UniqueNetwork/unique-chain'13version = '0.9.20'1415[package.metadata.docs.rs]16targets = ['x86_64-unknown-linux-gnu']1718[features]19default = ['std']20runtime-benchmarks = [21 'hex-literal',22 'frame-benchmarking',23 'frame-support/runtime-benchmarks',24 'frame-system-benchmarking',25 'frame-system/runtime-benchmarks',26 'pallet-ethereum/runtime-benchmarks',27 'pallet-evm-migration/runtime-benchmarks',28 'pallet-evm-coder-substrate/runtime-benchmarks',29 'pallet-balances/runtime-benchmarks',30 'pallet-timestamp/runtime-benchmarks',31 'pallet-common/runtime-benchmarks',32 'pallet-structure/runtime-benchmarks',33 'pallet-fungible/runtime-benchmarks',34 'pallet-refungible/runtime-benchmarks',35 'pallet-nonfungible/runtime-benchmarks',36 'pallet-proxy-rmrk-core/runtime-benchmarks',37 'pallet-unique/runtime-benchmarks',38 'pallet-inflation/runtime-benchmarks',39 'pallet-xcm/runtime-benchmarks',40 'sp-runtime/runtime-benchmarks',41 'xcm-builder/runtime-benchmarks',42]43try-runtime = [44 'frame-try-runtime',45 'frame-executive/try-runtime',46 'frame-system/try-runtime',47]48std = [49 'codec/std',50 'cumulus-pallet-aura-ext/std',51 'cumulus-pallet-parachain-system/std',52 'cumulus-pallet-xcm/std',53 'cumulus-pallet-xcmp-queue/std',54 'cumulus-primitives-core/std',55 'cumulus-primitives-utility/std',56 'frame-try-runtime/std',57 'frame-executive/std',58 'frame-support/std',59 'frame-system/std',60 'frame-system-rpc-runtime-api/std',61 'pallet-aura/std',62 'pallet-balances/std',63 # 'pallet-contracts/std',64 # 'pallet-contracts-primitives/std',65 # 'pallet-contracts-rpc-runtime-api/std',66 # 'pallet-contract-helpers/std',67 'pallet-randomness-collective-flip/std',68 'pallet-sudo/std',69 'pallet-timestamp/std',70 'pallet-transaction-payment/std',71 'pallet-transaction-payment-rpc-runtime-api/std',72 'pallet-treasury/std',73 # 'pallet-vesting/std',74 'pallet-evm/std',75 'pallet-evm-migration/std',76 'pallet-evm-contract-helpers/std',77 'pallet-evm-transaction-payment/std',78 'pallet-evm-coder-substrate/std',79 'pallet-ethereum/std',80 'pallet-base-fee/std',81 'fp-rpc/std',82 'up-rpc/std',83 'fp-evm-mapping/std',84 'fp-self-contained/std',85 'parachain-info/std',86 'serde',87 'pallet-inflation/std',88 'pallet-common/std',89 'pallet-structure/std',90 'pallet-fungible/std',91 'pallet-refungible/std',92 'pallet-nonfungible/std',93 'pallet-proxy-rmrk-core/std',94 'pallet-proxy-rmrk-equip/std',95 'pallet-unique/std',96 'pallet-unq-scheduler/std',97 'pallet-charge-transaction/std',98 'up-data-structs/std',99 'sp-api/std',100 'sp-block-builder/std',101 "sp-consensus-aura/std",102 'sp-core/std',103 'sp-inherents/std',104 'sp-io/std',105 'sp-offchain/std',106 'sp-runtime/std',107 'sp-session/std',108 'sp-std/std',109 'sp-transaction-pool/std',110 'sp-version/std',111 'xcm/std',112 'xcm-builder/std',113 'xcm-executor/std',114 'unique-runtime-common/std',115 'rmrk-rpc/std',116117 "orml-vesting/std",118]119limit-testing = ['pallet-unique/limit-testing', 'up-data-structs/limit-testing']120121################################################################################122# Substrate Dependencies123124[dependencies.codec]125default-features = false126features = ['derive']127package = 'parity-scale-codec'128version = '3.1.2'129130[dependencies.frame-benchmarking]131default-features = false132git = "https://github.com/paritytech/substrate"133optional = true134branch = "polkadot-v0.9.21"135136[dependencies.frame-try-runtime]137default-features = false138git = 'https://github.com/paritytech/substrate'139optional = true140branch = 'polkadot-v0.9.21'141142[dependencies.frame-executive]143default-features = false144git = "https://github.com/paritytech/substrate"145branch = "polkadot-v0.9.21"146147[dependencies.frame-support]148default-features = false149git = "https://github.com/paritytech/substrate"150branch = "polkadot-v0.9.21"151152[dependencies.frame-system]153default-features = false154git = "https://github.com/paritytech/substrate"155branch = "polkadot-v0.9.21"156157[dependencies.frame-system-benchmarking]158default-features = false159git = "https://github.com/paritytech/substrate"160optional = true161branch = "polkadot-v0.9.21"162163[dependencies.frame-system-rpc-runtime-api]164default-features = false165git = "https://github.com/paritytech/substrate"166branch = "polkadot-v0.9.21"167168[dependencies.hex-literal]169optional = true170version = '0.3.3'171172[dependencies.serde]173default-features = false174features = ['derive']175optional = true176version = '1.0.130'177178[dependencies.pallet-aura]179default-features = false180git = "https://github.com/paritytech/substrate"181branch = "polkadot-v0.9.21"182183[dependencies.pallet-balances]184default-features = false185git = "https://github.com/paritytech/substrate"186branch = "polkadot-v0.9.21"187188# Contracts specific packages189# [dependencies.pallet-contracts]190# git = 'https://github.com/paritytech/substrate'191# default-features = false192# branch = 'master'193# version = '4.0.0-dev'194195# [dependencies.pallet-contracts-primitives]196# git = 'https://github.com/paritytech/substrate'197# default-features = false198# branch = 'master'199# version = '4.0.0-dev'200201# [dependencies.pallet-contracts-rpc-runtime-api]202# git = 'https://github.com/paritytech/substrate'203# default-features = false204# branch = 'master'205# version = '4.0.0-dev'206207[dependencies.pallet-randomness-collective-flip]208default-features = false209git = "https://github.com/paritytech/substrate"210branch = "polkadot-v0.9.21"211212[dependencies.pallet-sudo]213default-features = false214git = "https://github.com/paritytech/substrate"215branch = "polkadot-v0.9.21"216217[dependencies.pallet-timestamp]218default-features = false219git = "https://github.com/paritytech/substrate"220branch = "polkadot-v0.9.21"221222[dependencies.pallet-transaction-payment]223default-features = false224git = "https://github.com/paritytech/substrate"225branch = "polkadot-v0.9.21"226227[dependencies.pallet-transaction-payment-rpc-runtime-api]228default-features = false229git = "https://github.com/paritytech/substrate"230branch = "polkadot-v0.9.21"231232[dependencies.pallet-treasury]233default-features = false234git = "https://github.com/paritytech/substrate"235branch = "polkadot-v0.9.21"236237# [dependencies.pallet-vesting]238# default-features = false239# git = 'https://github.com/paritytech/substrate'240# branch = 'master'241242[dependencies.sp-arithmetic]243default-features = false244git = "https://github.com/paritytech/substrate"245branch = "polkadot-v0.9.21"246247[dependencies.sp-api]248default-features = false249git = "https://github.com/paritytech/substrate"250branch = "polkadot-v0.9.21"251252[dependencies.sp-block-builder]253default-features = false254git = "https://github.com/paritytech/substrate"255branch = "polkadot-v0.9.21"256257[dependencies.sp-core]258default-features = false259git = "https://github.com/paritytech/substrate"260branch = "polkadot-v0.9.21"261262[dependencies.sp-consensus-aura]263default-features = false264git = "https://github.com/paritytech/substrate"265branch = "polkadot-v0.9.21"266267[dependencies.sp-inherents]268default-features = false269git = "https://github.com/paritytech/substrate"270branch = "polkadot-v0.9.21"271272[dependencies.sp-io]273default-features = false274git = "https://github.com/paritytech/substrate"275branch = "polkadot-v0.9.21"276277[dependencies.sp-offchain]278default-features = false279git = "https://github.com/paritytech/substrate"280branch = "polkadot-v0.9.21"281282[dependencies.sp-runtime]283default-features = false284git = "https://github.com/paritytech/substrate"285branch = "polkadot-v0.9.21"286287[dependencies.sp-session]288default-features = false289git = "https://github.com/paritytech/substrate"290branch = "polkadot-v0.9.21"291292[dependencies.sp-std]293default-features = false294git = "https://github.com/paritytech/substrate"295branch = "polkadot-v0.9.21"296297[dependencies.sp-transaction-pool]298default-features = false299git = "https://github.com/paritytech/substrate"300branch = "polkadot-v0.9.21"301302[dependencies.sp-version]303default-features = false304git = "https://github.com/paritytech/substrate"305branch = "polkadot-v0.9.21"306307[dependencies.smallvec]308version = '1.6.1'309310################################################################################311# Cumulus dependencies312313[dependencies.parachain-info]314default-features = false315git = "https://github.com/uniquenetwork/cumulus"316branch = "polkadot-v0.9.21"317318[dependencies.cumulus-pallet-aura-ext]319git = "https://github.com/uniquenetwork/cumulus"320branch = "polkadot-v0.9.21"321default-features = false322323[dependencies.cumulus-pallet-parachain-system]324git = "https://github.com/uniquenetwork/cumulus"325branch = "polkadot-v0.9.21"326default-features = false327328[dependencies.cumulus-primitives-core]329git = "https://github.com/uniquenetwork/cumulus"330branch = "polkadot-v0.9.21"331default-features = false332333[dependencies.cumulus-pallet-xcm]334git = "https://github.com/uniquenetwork/cumulus"335branch = "polkadot-v0.9.21"336default-features = false337338[dependencies.cumulus-pallet-dmp-queue]339git = "https://github.com/uniquenetwork/cumulus"340branch = "polkadot-v0.9.21"341default-features = false342343[dependencies.cumulus-pallet-xcmp-queue]344git = "https://github.com/uniquenetwork/cumulus"345branch = "polkadot-v0.9.21"346default-features = false347348[dependencies.cumulus-primitives-utility]349git = "https://github.com/uniquenetwork/cumulus"350branch = "polkadot-v0.9.21"351default-features = false352353[dependencies.cumulus-primitives-timestamp]354git = "https://github.com/uniquenetwork/cumulus"355branch = "polkadot-v0.9.21"356default-features = false357358################################################################################359# Polkadot dependencies360361[dependencies.polkadot-parachain]362git = "https://github.com/paritytech/polkadot"363branch = "release-v0.9.21"364default-features = false365366[dependencies.xcm]367git = "https://github.com/paritytech/polkadot"368branch = "release-v0.9.21"369default-features = false370371[dependencies.xcm-builder]372git = "https://github.com/paritytech/polkadot"373branch = "release-v0.9.21"374default-features = false375376[dependencies.xcm-executor]377git = "https://github.com/paritytech/polkadot"378branch = "release-v0.9.21"379default-features = false380381[dependencies.pallet-xcm]382git = "https://github.com/paritytech/polkadot"383branch = "release-v0.9.21"384default-features = false385386[dependencies.orml-vesting]387git = "https://github.com/uniquenetwork/open-runtime-module-library"388branch = "unique-polkadot-v0.9.21"389version = "0.4.1-dev"390default-features = false391392################################################################################393# local dependencies394395[dependencies]396log = { version = "0.4.16", default-features = false }397unique-runtime-common = { path = "../common", default-features = false }398scale-info = { version = "2.0.1", default-features = false, features = [399 "derive",400] }401derivative = "2.2.0"402pallet-unique = { path = '../../pallets/unique', default-features = false }403up-rpc = { path = "../../primitives/rpc", default-features = false }404rmrk-rpc = { path = "../../primitives/rmrk-rpc", default-features = false }405fp-evm-mapping = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.21-logs" }406pallet-inflation = { path = '../../pallets/inflation', default-features = false }407up-data-structs = { path = '../../primitives/data-structs', default-features = false }408pallet-common = { default-features = false, path = "../../pallets/common" }409pallet-structure = { default-features = false, path = "../../pallets/structure" }410pallet-fungible = { default-features = false, path = "../../pallets/fungible" }411pallet-refungible = { default-features = false, path = "../../pallets/refungible" }412pallet-nonfungible = { default-features = false, path = "../../pallets/nonfungible" }413pallet-proxy-rmrk-core = { default-features = false, path = "../../pallets/proxy-rmrk-core", package = "pallet-rmrk-core" }414pallet-proxy-rmrk-equip = { default-features = false, path = "../../pallets/proxy-rmrk-equip", package = "pallet-rmrk-equip" }415pallet-unq-scheduler = { path = '../../pallets/scheduler', default-features = false }416# pallet-contract-helpers = { path = '../pallets/contract-helpers', default-features = false, version = '0.1.0' }417pallet-charge-transaction = { git = "https://github.com/uniquenetwork/pallet-sponsoring", branch = "polkadot-v0.9.21", package = "pallet-template-transaction-payment", default-features = false, version = "3.0.0" }418pallet-evm-migration = { path = '../../pallets/evm-migration', default-features = false }419pallet-evm-contract-helpers = { path = '../../pallets/evm-contract-helpers', default-features = false }420pallet-evm-transaction-payment = { path = '../../pallets/evm-transaction-payment', default-features = false }421pallet-evm-coder-substrate = { default-features = false, path = "../../pallets/evm-coder-substrate" }422pallet-evm = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.21-logs" }423pallet-ethereum = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.21-logs" }424pallet-base-fee = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.21-logs" }425fp-rpc = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.21-logs" }426fp-self-contained = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.21-logs" }427428################################################################################429# Build Dependencies430431[build-dependencies.substrate-wasm-builder]432git = "https://github.com/paritytech/substrate"433branch = "polkadot-v0.9.21"runtime/opal/src/lib.rsdiffbeforeafterboth--- a/runtime/opal/src/lib.rs
+++ b/runtime/opal/src/lib.rs
@@ -906,6 +906,10 @@
type Event = Event;
}
+impl pallet_proxy_rmrk_equip::Config for Runtime {
+ type Event = Event;
+}
+
impl pallet_unique::Config for Runtime {
type Event = Event;
type WeightInfo = pallet_unique::weights::SubstrateWeight<Self>;
@@ -1019,6 +1023,7 @@
Nonfungible: pallet_nonfungible::{Pallet, Storage} = 69,
Structure: pallet_structure::{Pallet, Call, Storage, Event<T>} = 70,
RmrkCore: pallet_proxy_rmrk_core::{Pallet, Call, Storage, Event<T>} = 71,
+ RmrkEquip: pallet_proxy_rmrk_equip::{Pallet, Call, Storage, Event<T>} = 72,
// Frontier
EVM: pallet_evm::{Pallet, Config, Call, Storage, Event<T>} = 100,
runtime/quartz/src/lib.rsdiffbeforeafterboth--- a/runtime/quartz/src/lib.rs
+++ b/runtime/quartz/src/lib.rs
@@ -880,6 +880,14 @@
type WeightInfo = pallet_nonfungible::weights::SubstrateWeight<Self>;
}
+impl pallet_proxy_rmrk_core::Config for Runtime {
+ type Event = Event;
+}
+
+impl pallet_proxy_rmrk_equip::Config for Runtime {
+ type Event = Event;
+}
+
impl pallet_unique::Config for Runtime {
type Event = Event;
type WeightInfo = pallet_unique::weights::SubstrateWeight<Self>;
@@ -992,6 +1000,7 @@
Nonfungible: pallet_nonfungible::{Pallet, Storage} = 69,
Structure: pallet_structure::{Pallet, Call, Storage, Event<T>} = 70,
RmrkCore: pallet_proxy_rmrk_core::{Pallet, Call, Storage, Event<T>} = 71,
+ RmrkEquip: pallet_proxy_rmrk_equip::{Pallet, Call, Storage, Event<T>} = 72,
// Frontier
EVM: pallet_evm::{Pallet, Config, Call, Storage, Event<T>} = 100,
runtime/unique/src/lib.rsdiffbeforeafterboth--- a/runtime/unique/src/lib.rs
+++ b/runtime/unique/src/lib.rs
@@ -884,6 +884,14 @@
type WeightInfo = pallet_nonfungible::weights::SubstrateWeight<Self>;
}
+impl pallet_proxy_rmrk_core::Config for Runtime {
+ type Event = Event;
+}
+
+impl pallet_proxy_rmrk_equip::Config for Runtime {
+ type Event = Event;
+}
+
impl pallet_unique::Config for Runtime {
type Event = Event;
type WeightInfo = pallet_unique::weights::SubstrateWeight<Self>;
@@ -997,6 +1005,7 @@
Nonfungible: pallet_nonfungible::{Pallet, Storage} = 69,
Structure: pallet_structure::{Pallet, Call, Storage, Event<T>} = 70,
RmrkCore: pallet_proxy_rmrk_core::{Pallet, Call, Storage, Event<T>} = 71,
+ RmrkEquip: pallet_proxy_rmrk_equip::{Pallet, Call, Storage, Event<T>} = 72,
// Frontier
EVM: pallet_evm::{Pallet, Config, Call, Storage, Event<T>} = 100,