transfer_exec_fee

Function transfer_exec_fee 

Source
pub fn transfer_exec_fee(
    cfg: &RuntimeFeesConfig,
    implicit_account_creation_allowed: bool,
    eth_implicit_accounts_enabled: bool,
    receiver_account_type: AccountType,
) -> Gas
Expand description

Helper functions for computing Transfer fees. In case of implicit account creation they include extra fees for the CreateAccount and AddFullAccessKey (for Utility account only) actions that are implicit. We can assume that no overflow will happen here.