Function pallet_ip_pallet::pallet::dispatchables::accept_purchase

source ·
pub fn accept_purchase<T: Config>(offer_id: T::OfferId)
Expand description

Accepts a purchase offer

Allows the buyer to accept the offer and create a purchase contract.

§Arguments

  • origin - Must be signed by the buyer
  • offer_id - ID of the offer to accept

§Events

§Errors

§Warning: Doc-Only

This function is an automatically generated, and is doc-only, uncallable stub. See the real version in Pallet::accept_purchase.