Module frame_support::traits::tokens::fungible::conformance_tests::regular::mutate
source · Functions§
- Test
Mutate::burn_fromfor successfully burning tokens withPrecision::BestEffort. - Test
Mutate::burn_fromhandling of insufficient funds when called withPrecision::Exact. - Test
Mutate::burn_fromfor successfully burning an exact amount of tokens. - Test
Inspect::can_depositreturnsDepositConsequence::BelowMinimumwhen depositing below the minimum balance. - Test
Inspect::can_depositreturnsDepositConsequence::Overflowwhen depositing an amount that would overflow. - Test
Inspect::can_depositworks correctly returnsDepositConsequence::Successwhen depositing an amount that should succeed. - Test
Inspect::can_withdrawreturnsWithdrawConsequence::BalanceLowwhen withdrawing an amount that would result in an account balance below the current balance. - Test
Inspect::can_withdrawreturnsWithdrawConsequence::ReducedToZerowhen withdrawing an amount that would reduce the account balance below the minimum balance. - Test
Inspect::can_withdrawreturnsWithdrawConsequence::Successwhen withdrawing an amount that should succeed. - Test
Mutate::mint_intofor handling balances below the minimum value. - Test
Mutate::mint_intofor overflow prevention. - Test
Mutate::mint_intofor successful token minting. - Test
Inspect::reducible_balancereturns the full account balance when called withPreservation::Expendable. - Tests
Inspect::reducible_balancereturnsInspect::balance-Inspect::minimum_balancewhen called with eitherPreservation::ProtectorPreservation::Preserve. - Test
Mutate::restorehandles restoration below the minimum balance. - Test
Mutate::restorehandles balance overflow. - Test
Mutate::restorefor successful restoration. - Test
Mutate::set_balanceburns balances correctly. - Test
Mutate::set_balancemints balances correctly. - Test
Mutate::shelvehandles insufficient funds correctly. - Test
Mutate::shelvefor successful shelving. - Test calling
Mutate::transferwithPreservation::Expendablecorrectly transfers the entire balance. - Test calling
Mutate::transferfunction withPreservation::Expendableand an amount that results in some dust. - Test
Mutate::transferwithPreservation::ProtectandPreservation::Preservetransferring the entire balance. - Test
Mutate::transferfor a successful transfer.