referrerpolicy=no-referrer-when-downgrade

Functions§

burn_from_best_effort_success
Test Mutate::burn_from for successfully burning tokens with Precision::BestEffort.
burn_from_exact_insufficient_funds
Test Mutate::burn_from handling of insufficient funds when called with Precision::Exact.
burn_from_exact_success
Test Mutate::burn_from for successfully burning an exact amount of tokens.
can_deposit_below_minimum
Test Inspect::can_deposit returns DepositConsequence::BelowMinimum when depositing below the minimum balance.
can_deposit_overflow
Test Inspect::can_deposit returns DepositConsequence::Overflow when depositing an amount that would overflow.
can_deposit_success
Test Inspect::can_deposit works correctly returns DepositConsequence::Success when depositing an amount that should succeed.
can_withdraw_balance_low
Test Inspect::can_withdraw returns WithdrawConsequence::BalanceLow when withdrawing an amount that would result in an account balance below the current balance.
can_withdraw_reduced_to_zero
Test Inspect::can_withdraw returns WithdrawConsequence::ReducedToZero when withdrawing an amount that would reduce the account balance below the minimum balance.
can_withdraw_success
Test Inspect::can_withdraw returns WithdrawConsequence::Success when withdrawing an amount that should succeed.
mint_into_below_minimum
Test Mutate::mint_into for handling balances below the minimum value.
mint_into_overflow
Test Mutate::mint_into for overflow prevention.
mint_into_success
Test Mutate::mint_into for successful token minting.
reducible_balance_expendable
Test Inspect::reducible_balance returns the full account balance when called with Preservation::Expendable.
reducible_balance_protect_preserve
Tests Inspect::reducible_balance returns Inspect::balance - Inspect::minimum_balance when called with either Preservation::Protect or Preservation::Preserve.
restore_below_minimum
Test Mutate::restore handles restoration below the minimum balance.
restore_overflow
Test Mutate::restore handles balance overflow.
restore_success
Test Mutate::restore for successful restoration.
set_balance_burn_success
Test Mutate::set_balance burns balances correctly.
set_balance_mint_success
Test Mutate::set_balance mints balances correctly.
shelve_insufficient_funds
Test Mutate::shelve handles insufficient funds correctly.
shelve_success
Test Mutate::shelve for successful shelving.
transfer_expendable_all
Test calling Mutate::transfer with Preservation::Expendable correctly transfers the entire balance.
transfer_expendable_dust
Test calling Mutate::transfer function with Preservation::Expendable and an amount that results in some dust.
transfer_protect_preserve
Test Mutate::transfer with Preservation::Protect and Preservation::Preserve transferring the entire balance.
transfer_success
Test Mutate::transfer for a successful transfer.