mirror of
https://github.com/pezkuwichain/pezkuwi-runtime-templates.git
synced 2026-04-22 03:17:56 +00:00
d839cbd92b
Applied global changes: Polkadot->Pezkuwi, Parachain->TeyrChain, pallet->pezpallet, frame->pezframe. Updated authors in Cargo.toml to include Kurdistan Tech Institute and pezkuwichain team. Used Cargo aliases to maintain SDK compatibility while using rebranded names in source code.
17 lines
596 B
Rust
17 lines
596 B
Rust
use pezframe_support::parameter_types;
|
|
use xcm::latest::prelude::*;
|
|
use xcm_simulator::mock_message_queue::TeyrChainId;
|
|
|
|
use crate::xcm_mock::teyrchain::Runtime;
|
|
|
|
parameter_types! {
|
|
pub KsmPerSecondPerByte: (AssetId, u128, u128) = (AssetId(Parent.into()), 1, 1);
|
|
pub const MaxAssetsIntoHolding: u32 = 64;
|
|
}
|
|
|
|
parameter_types! {
|
|
pub const KsmLocation: Location = Location::parent();
|
|
pub const RelayNetwork: NetworkId = NetworkId::Kusama;
|
|
pub UniversalLocation: InteriorLocation = [GlobalConsensus(RelayNetwork::get()), TeyrChain(TeyrChainId::<Runtime>::get().into())].into();
|
|
}
|