pub fn max_account_id() -> AccountId {
    let list_count = 2u32.saturating_pow(used_account_subtree_depth() as u32);
    if list_count == u32::max_value() {
        list_count
    } else {
        list_count - 1
    }
}
/// Max token id, based on the depth of the used left subtree
Max token id, based on the depth of the used left subtree
Max token id based on the depth of the used left subtree
pub fn max_account_id() -> AccountId {
    let list_count = 2u32.saturating_pow(used_account_subtree_depth() as u32);
    if list_count == u32::max_value() {
        list_count
    } else {
        list_count - 1
    }
}
pub fn max_account_id ( ) -> AccountId { let list_count = 2u32 . saturating_pow ( used_account_subtree_depth ( ) as u32 ) ; if list_count == u32 :: max_value ( ) { list_count } else { list_count - 1 } }
Max token id, based on the depth of the used left subtree
Max token id based on the depth of the used left subtree