pub fn buy_item<T: Config<I>, I: 'static>( collection: T::CollectionId, item: T::ItemId, bid_price: <<T as Config<I>>::Currency as Currency<<T as SystemConfig>::AccountId>>::Balance )
Allows to buy an item if it’s up for sale.
Origin must be Signed and must not be the owner of the
collection: The collection of the item.
item: The item the sender wants to buy.
bid_price: The price the sender is willing to pay.
ItemBought on success.
This function is an automatically generated, and is doc-only, uncallable
stub. See the real version in