From 72d854ad854b29c7f3a9afbacc4ea8ba3c70dfea Mon Sep 17 00:00:00 2001 From: Sismobot <94460392+sismobot@users.noreply.github.com> Date: Tue, 31 Dec 2024 08:59:37 +0100 Subject: [PATCH] [factory]: Adding new esim group --- group-generators/generators/esim/index.ts | 37 +++++++++++++++++++++++ group-generators/generators/index.ts | 2 ++ 2 files changed, 39 insertions(+) create mode 100644 group-generators/generators/esim/index.ts diff --git a/group-generators/generators/esim/index.ts b/group-generators/generators/esim/index.ts new file mode 100644 index 000000000..e250cecf5 --- /dev/null +++ b/group-generators/generators/esim/index.ts @@ -0,0 +1,37 @@ + +import { Tags, ValueType, GroupWithData } from "topics/group"; +import { + GenerationContext, + GenerationFrequency, + GroupGenerator, +} from "topics/group-generator"; + +// Generated from factory.sismo.io + +const generator: GroupGenerator = { + + generationFrequency: GenerationFrequency.Daily, + + generate: async (context: GenerationContext): Promise => { + + + const jsonListData0 = { + "0x6b24fD32c923965ba85bea3B066870c23e9361f2": "1", + "0xee9382Bf729Ff377Da6CEEe428B3228AF5367A31": "1", + }; + + return [ + { + name: "esim", + timestamp: context.timestamp, + description: "eSIM platform users", + specs: "nothing", + data: jsonListData0, + valueType: ValueType.Score, + tags: [Tags.Factory], + }, + ]; + }, +}; + +export default generator; diff --git a/group-generators/generators/index.ts b/group-generators/generators/index.ts index d019866ff..0d3defb02 100644 --- a/group-generators/generators/index.ts +++ b/group-generators/generators/index.ts @@ -215,6 +215,7 @@ import ensVoter from "./ens-voter"; import ensVoters from "./ens-voters"; import erenSBadge from "./eren-s-badge"; import esilvWorkshop2023 from "./esilv-workshop-2023"; +import esim from "./esim"; import ethBelgrade from "./eth-belgrade"; import ethDegen from "./eth-degen"; import ethFoundationContributor from "./eth-foundation-contributor"; @@ -1133,6 +1134,7 @@ export const groupGenerators: GroupGeneratorsLibrary = { "eas-c10": easC10, "electora-star": electoraStar, "ens-domains-holders": ensDomainsHolders, + "esim": esim, "eth-belgrade": ethBelgrade, "eth-foundation-contributor": ethFoundationContributor, "eth-global-paris-example-02": ethGlobalParisExample02,