From be3d7eeb484b4865a7bd34b5a419592e26f73a29 Mon Sep 17 00:00:00 2001 From: Sismobot <94460392+sismobot@users.noreply.github.com> Date: Tue, 3 Oct 2023 11:40:40 +0200 Subject: [PATCH] [factory]: Adding new sistermothers group --- group-generators/generators/index.ts | 2 + .../generators/sistermothers/index.ts | 39 +++++++++++++++++++ 2 files changed, 41 insertions(+) create mode 100644 group-generators/generators/sistermothers/index.ts diff --git a/group-generators/generators/index.ts b/group-generators/generators/index.ts index 0ceed6d61..e85e45260 100644 --- a/group-generators/generators/index.ts +++ b/group-generators/generators/index.ts @@ -675,6 +675,7 @@ import sismoWorkshopEthbrno from "./sismo-workshop-ethbrno"; import sismoZkBadgesHolders from "./sismo-zk-badges-holders"; import sismofollower from "./sismofollower"; import sismoog from "./sismoog"; +import sistermothers from "./sistermothers"; import sixUsers from "./six-users"; import sk from "./sk"; import skynetwork from "./skynetwork"; @@ -1538,6 +1539,7 @@ export const groupGenerators: GroupGeneratorsLibrary = { "sismo-zk-badges-holders": sismoZkBadgesHolders, "sismofollower": sismofollower, "sismoog": sismoog, + "sistermothers": sistermothers, "six-users": sixUsers, "sk": sk, "skynetwork": skynetwork, diff --git a/group-generators/generators/sistermothers/index.ts b/group-generators/generators/sistermothers/index.ts new file mode 100644 index 000000000..39e27bf9b --- /dev/null +++ b/group-generators/generators/sistermothers/index.ts @@ -0,0 +1,39 @@ + +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.Once, + + generate: async (context: GenerationContext): Promise => { + + + const jsonListData0 = { + "0x38378e4150d29B916C72A835bF3450b8BeA2C0c0": "1", + "0xf7B8413e38De558B5b8dC0090f124857B8FAa5d7": "1", + "0x20E7D6E39D24944568607e89FC164dCb3A03D7EB": "1", + "0xF4ba41659654A95307F47a6Aba6c7Bf238fD4cdB": "1", + }; + + return [ + { + name: "sistermothers", + timestamp: context.timestamp, + description: "Data Group of SisterMothers", + specs: "Just some sisters and mothers", + data: jsonListData0, + valueType: ValueType.Score, + tags: [Tags.Factory], + }, + ]; + }, +}; + +export default generator;