fn create_non_fungibles<Y>(
    resource_address: ResourceAddress,
    id_type: NonFungibleIdType,
    entries: IndexMap<NonFungibleLocalId, ScryptoValue>,
    check_non_existence: bool,
    api: &mut Y
) -> Result<IndexSet<NonFungibleLocalId>, RuntimeError>