Function ctype::pallet::dispatchables::add

source ·
pub fn add<T: Config>(ctype: Vec<u8>)
Expand description

Create a new CType from the given unique CType hash and associates it with its creator.

A CType with the same hash must not be stored on chain.

Emits CTypeCreated.

Weight: O(1)

  • Reads: Ctypes, Balance
  • Writes: Ctypes, Balance

Warning: Doc-Only

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