pub fn set_price<T: Config<I>, I: 'static>( collection: T::CollectionId, item: T::ItemId, price: Option<<<T as Config<I>>::Currency as Currency<<T as SystemConfig>::AccountId>>::Balance>, whitelisted_buyer: Option<<<T as Config>::Lookup as StaticLookup>::Source> )
Set (or reset) the price for an item.
Origin must be Signed and must be the owner of the asset
collection: The collection of the item.
item: The item to set the price for.
price: The price for the item. Pass
None, to reset the price.
buyer: Restricts the buy operation to a specific account.
ItemPriceSet on success if the price is not
ItemPriceRemoved on success if the price is
This function is an automatically generated, and is doc-only, uncallable
stub. See the real version in