Function pallet_dapp_staking::pallet::dispatchables::register
source · pub fn register<T: Config>(
owner: T::AccountId,
smart_contract: T::SmartContract,
)Expand description
Used to register a new contract for dApp staking.
If successful, smart contract will be assigned a simple, unique numerical identifier. Owner is set to be initial beneficiary & manager of the dApp.
§Warning: Doc-Only
This function is an automatically generated, and is doc-only, uncallable
stub. See the real version in
Pallet::register.