referrerpolicy=no-referrer-when-downgrade

Function kill_pure

Source
pub fn kill_pure<T: Config>(
    spawner: <<T as Config>::Lookup as StaticLookup>::Source,
    proxy_type: T::ProxyType,
    index: u16,
    height: BlockNumberFor<T>,
    ext_index: u32,
)
Expand description

Removes a previously spawned pure proxy.

WARNING: All access to this account will be lost. Any funds held in it will be inaccessible.

Requires a Signed origin, and the sender account must have been created by a call to create_pure with corresponding parameters.

  • spawner: The account that originally called create_pure to create this account.
  • index: The disambiguation index originally passed to create_pure. Probably 0.
  • proxy_type: The proxy type originally passed to create_pure.
  • height: The height of the chain when the call to create_pure was processed.
  • ext_index: The extrinsic index in which the call to create_pure was processed.

Fails with NoPermission in case the caller is not a previously created pure account whose create_pure call has corresponding parameters.

§Warning: Doc-Only

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