mirror of
https://github.com/pezkuwichain/pezkuwi-runtime-templates.git
synced 2026-06-13 22:11:02 +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.
49 lines
1.7 KiB
Rust
49 lines
1.7 KiB
Rust
pub mod asset_transactor;
|
|
pub mod barrier;
|
|
pub mod constants;
|
|
pub mod location_converter;
|
|
pub mod origin_converter;
|
|
pub mod weigher;
|
|
|
|
use pezframe_support::traits::{Everything, Nothing};
|
|
use xcm_builder::{EnsureDecodableXcm, FixedRateOfFungible, PezframeTransactionalProcessor};
|
|
|
|
use crate::xcm_mock::teyrchain::{MsgQueue, PezkuwiXcm, RuntimeCall};
|
|
|
|
// Generated from `decl_test_network!`
|
|
pub type XcmRouter = EnsureDecodableXcm<crate::xcm_mock::TeyrChainXcmRouter<MsgQueue>>;
|
|
|
|
pub struct XcmConfig;
|
|
impl xcm_executor::Config for XcmConfig {
|
|
type Aliasers = Nothing;
|
|
type AssetClaims = ();
|
|
type AssetExchanger = ();
|
|
type AssetLocker = PezkuwiXcm;
|
|
type AssetTransactor = asset_transactor::AssetTransactor;
|
|
type AssetTrap = ();
|
|
type Barrier = barrier::Barrier;
|
|
type CallDispatcher = RuntimeCall;
|
|
type FeeManager = ();
|
|
type HrmpChannelAcceptedHandler = ();
|
|
type HrmpChannelClosingHandler = ();
|
|
type HrmpNewChannelOpenRequestHandler = ();
|
|
type IsReserve = ();
|
|
type IsTeleporter = ();
|
|
type MaxAssetsIntoHolding = constants::MaxAssetsIntoHolding;
|
|
type MessageExporter = ();
|
|
type OriginConverter = origin_converter::OriginConverter;
|
|
type PezpalletInstancesInfo = ();
|
|
type ResponseHandler = ();
|
|
type RuntimeCall = RuntimeCall;
|
|
type SafeCallFilter = Everything;
|
|
type SubscriptionService = ();
|
|
type Trader = FixedRateOfFungible<constants::KsmPerSecondPerByte, ()>;
|
|
type TransactionalProcessor = PezframeTransactionalProcessor;
|
|
type UniversalAliases = Nothing;
|
|
type UniversalLocation = constants::UniversalLocation;
|
|
type Weigher = weigher::Weigher;
|
|
type XcmEventEmitter = PezkuwiXcm;
|
|
type XcmRecorder = PezkuwiXcm;
|
|
type XcmSender = XcmRouter;
|
|
}
|