pub fn set_dapp_owner<T: Config>(
    smart_contract: T::SmartContract,
    new_owner: T::AccountId
)
Expand description

Used to change dApp owner.

Can be called by dApp owner or dApp staking manager origin. This is useful in two cases:

  1. when the dApp owner account is compromised, manager can change the owner to a new account
  2. if project wants to transfer ownership to a new account (DAO, multisig, etc.).

§Warning: Doc-Only

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