Function pallet_ip_pallet::pallet::dispatchables::expire_license

source ·
pub fn expire_license<T: Config>(contract_id: T::ContractId)
Expand description

Expires a license contract after its duration has ended

Allows any party to expire a license contract once its duration has passed. Cleans up contract storage and updates NFT contract mappings.

§Arguments

  • origin - Any signed party
  • contract_id - ID of the license contract to expire

§Events

§Errors

§State Changes

§Warning: Doc-Only

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