Trait pallet_remote_treasury::pallet::Config[][src]

pub trait Config: Config {
    type Event: From<Event<Self>> + IsType<<Self as Config>::Event>;
    type AdminOrigin: EnsureOrigin<Self::Origin>;
    type Balance: Parameter + Member + AtLeast32BitUnsigned + Default + Copy + MaybeSerializeDeserialize + Into<u128>;
    type AssetId: Parameter + Member + Copy + MaybeSerializeDeserialize;
    type PalletId: Get<PalletId>;
    type SelfAssetId: Get<Self::AssetId>;
    type RelayChainAssetId: Get<Self::AssetId>;
    type XcmAssetTransfer: XcmTransfer<Self::AccountId, Self::Balance, Self::AssetId>;
    type AssetIdConvert: Convert<Self::AssetId, Option<MultiLocation>>;
    type AccountId32Convert: Convert<Self::AccountId, [u8; 32]>;
    type WeightInfo: WeightInfo;
}
Expand description

Configuration trait of this pallet.

Implement this type for a runtime in order to customize this pallet.

Associated Types

Origin that is allowed to manage the treasury balance and initiate XCM withdrawals

The balance type for cross chain transfers

Asset Id that is used to identify different kinds of assets.

PalletId used to generate the AccountId which holds the balance of the treasury.

The native asset id

Identifier for the relay chain’s specific asset

The interface to Cross-chain transfer.

Convert a T::AssetId to its relative MultiLocation identifier.

Convert Self::Account to AccountId32

The weight for this pallet’s extrinsics.

Implementors