pub fn verify_and_create_named_address_mapping<T: Copy + Display + Eq>(
    named_addresses: Vec<(String, T)>
) -> Result<BTreeMap<String, T>>