Function pallet_ip_pallet::pallet::dispatchables::accept_license
source · pub fn accept_license<T: Config>(offer_id: T::OfferId)Expand description
Accepts a license offer
Allows the licensee to accept the offer and create a license contract.
§Arguments
origin- Must be signed by the licenseeoffer_id- ID of the offer to accept
§Events
Event::ContractCreated- When contract is created
§Errors
Error::OfferNotFound- If offer doesn’t existError::NotALicenseOffer- If offer is not a license offer
§Warning: Doc-Only
This function is an automatically generated, and is doc-only, uncallable
stub. See the real version in
Pallet::accept_license.