referrerpolicy=no-referrer-when-downgrade

Function pallet_contracts::pallet::dispatchables::remove_code

source ·
pub fn remove_code<T: Config>(code_hash: <T as Config>::Hash)
Expand description

Remove the code stored under code_hash and refund the deposit to its owner.

A code can only be removed by its original uploader (its owner) and only if it is not used by any contract.

§Warning: Doc-Only

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