pub fn all_addresses(&self) -> BTreeSet<AccountAddress> {
        self.saved_memory
            .values()
            .map(|v1| v1.values().map(|v2| v2.values().map(|v3| v3.keys())))
            .flatten()
            .flatten()
            .flatten()
            .copied()
            .collect()
    }
/// Return all addresses in the state
Return all addresses in the state
Return all addresses in the state
pub fn all_addresses(&self) -> BTreeSet<AccountAddress> {
        self.saved_memory
            .values()
            .map(|v1| v1.values().map(|v2| v2.values().map(|v3| v3.keys())))
            .flatten()
            .flatten()
            .flatten()
            .copied()
            .collect()
    }
pub fn all_addresses ( & self ) -> BTreeSet < AccountAddress > { self . saved_memory . values ( ) . map ( | v1 | v1 . values ( ) . map ( | v2 | v2 . values ( ) . map ( | v3 | v3 . keys ( ) ) ) ) . flatten ( ) . flatten ( ) . flatten ( ) . copied ( ) . collect ( ) }
Return all addresses in the state
Return all addresses in the state
&self