Trait pallet_saft_registry::pallet::Config [−][src]
pub trait Config: Config + MaybeAssetIdConvert<u8, Self::AssetId> {
type AdminOrigin: EnsureOrigin<Self::Origin, Success = <Self as Config>::AccountId>;
type AssetRecorder: AssetRecorder<Self::AccountId, Self::AssetId, Self::Balance>;
type AssetRecorderBenchmarks: AssetRecorderBenchmarks<Self::AssetId, Self::Balance>;
type Balance: Parameter + Member + AtLeast32BitUnsigned + Default + Copy;
type AssetId: Parameter + Member + Copy;
type Event: From<Event<Self>> + IsType<<Self as Config>::Event>;
type WeightInfo: WeightInfo;
}
Expand description
Configuration trait of this pallet.
Implement this type for a runtime in order to customize this pallet.
Associated Types
type AdminOrigin: EnsureOrigin<Self::Origin, Success = <Self as Config>::AccountId>
type AssetRecorder: AssetRecorder<Self::AccountId, Self::AssetId, Self::Balance>
type AssetRecorderBenchmarks: AssetRecorderBenchmarks<Self::AssetId, Self::Balance>
type WeightInfo: WeightInfo
type WeightInfo: WeightInfo
The weight for this pallet’s extrinsics.