Trait pallet_uniques::pallet::Config[][src]

pub trait Config<I: 'static = ()>: Config {
Show associated items type Event: From<Event<Self, I>> + IsType<<Self as Config>::Event>; type ClassId: Member + Parameter + Default + Copy + HasCompact; type InstanceId: Member + Parameter + Default + Copy + HasCompact + From<u16>; type Currency: ReservableCurrency<Self::AccountId>; type ForceOrigin: EnsureOrigin<Self::Origin>; type ClassDeposit: Get<<<Self as Config<I>>::Currency as Currency<<Self as SystemConfig>::AccountId>>::Balance>; type InstanceDeposit: Get<<<Self as Config<I>>::Currency as Currency<<Self as SystemConfig>::AccountId>>::Balance>; type MetadataDepositBase: Get<<<Self as Config<I>>::Currency as Currency<<Self as SystemConfig>::AccountId>>::Balance>; type AttributeDepositBase: Get<<<Self as Config<I>>::Currency as Currency<<Self as SystemConfig>::AccountId>>::Balance>; type DepositPerByte: Get<<<Self as Config<I>>::Currency as Currency<<Self as SystemConfig>::AccountId>>::Balance>; type StringLimit: Get<u32>; type KeyLimit: Get<u32>; type ValueLimit: Get<u32>; type WeightInfo: WeightInfo;
}
Expand description

The module configuration trait.

Associated Types

The overarching event type.

Identifier for the class of asset.

The type used to identify a unique asset within an asset class.

The currency mechanism, used for paying for reserves.

The origin which may forcibly create or destroy an asset or otherwise alter privileged attributes.

The basic amount of funds that must be reserved for an asset class.

The basic amount of funds that must be reserved for an asset instance.

The basic amount of funds that must be reserved when adding metadata to your asset.

The basic amount of funds that must be reserved when adding an attribute to an asset.

The additional funds that must be reserved for the number of bytes store in metadata, either “normal” metadata or attribute metadata.

The maximum length of data stored on-chain.

The maximum length of an attribute key.

The maximum length of an attribute value.

Weight information for extrinsics in this pallet.

Implementors