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
Identifier for the class of asset.
The type used to identify a unique asset within an asset class.
type Currency: ReservableCurrency<Self::AccountId>
type Currency: ReservableCurrency<Self::AccountId>
The currency mechanism, used for paying for reserves.
type ForceOrigin: EnsureOrigin<Self::Origin>
type ForceOrigin: EnsureOrigin<Self::Origin>
The origin which may forcibly create or destroy an asset or otherwise alter privileged attributes.
type ClassDeposit: Get<<<Self as Config<I>>::Currency as Currency<<Self as SystemConfig>::AccountId>>::Balance>
type ClassDeposit: Get<<<Self as Config<I>>::Currency as Currency<<Self as SystemConfig>::AccountId>>::Balance>
The basic amount of funds that must be reserved for an asset class.
type InstanceDeposit: 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>
The basic amount of funds that must be reserved for an asset instance.
type MetadataDepositBase: 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>
The basic amount of funds that must be reserved when adding metadata to your asset.
type AttributeDepositBase: 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>
The basic amount of funds that must be reserved when adding an attribute to an asset.
type DepositPerByte: 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>
The additional funds that must be reserved for the number of bytes store in metadata, either “normal” metadata or attribute metadata.
type StringLimit: Get<u32>
type StringLimit: Get<u32>
The maximum length of data stored on-chain.
type ValueLimit: Get<u32>
type ValueLimit: Get<u32>
The maximum length of an attribute value.
type WeightInfo: WeightInfo
type WeightInfo: WeightInfo
Weight information for extrinsics in this pallet.