referrerpolicy=no-referrer-when-downgrade
pallet_staking::asset

Function mint_creating

Source
pub fn mint_creating<T: Config>(
    who: &T::AccountId,
    value: BalanceOf<T>,
) -> Debt<<T as Config>::AccountId, <T as Config>::Currency>
Expand description

Mint value and create account for who if it does not exist.

If value is below existential deposit, the account is not created.

Note: This does not increase the total issuance.