ink_env::test

Function count_used_storage_cells

source
pub fn count_used_storage_cells<T>(addr: H160) -> Result<usize>
where T: Environment,
Expand description

Returns the amount of storage cells used by the contract addr.

Returns None if the contract at addr is non-existent.