Function ink_env::test::get_contract_rent_allowance[][src]

pub fn get_contract_rent_allowance<T>(
    account_id: T::AccountId
) -> Result<T::Balance> where
    T: Environment

Returns the rent allowance of the contract account.

Errors

  • If account does not exist.
  • If the underlying account type does not match.
  • If the returned rent allowance cannot be properly decoded.