From a9cddcfb7b17b215b650deba0f2f88063f27db8a Mon Sep 17 00:00:00 2001 From: Sismobot <94460392+sismobot@users.noreply.github.com> Date: Sun, 29 Oct 2023 20:55:15 +0100 Subject: [PATCH] [factory]: Add new group-of-math-students group (#2263) Co-authored-by: bigq <99990370+yum0e@users.noreply.github.com> --- .../group-of-math-students/index.ts | 36 +++++++++++++++++++ group-generators/generators/index.ts | 8 +++-- 2 files changed, 41 insertions(+), 3 deletions(-) create mode 100644 group-generators/generators/group-of-math-students/index.ts diff --git a/group-generators/generators/group-of-math-students/index.ts b/group-generators/generators/group-of-math-students/index.ts new file mode 100644 index 000000000..8f94e00d2 --- /dev/null +++ b/group-generators/generators/group-of-math-students/index.ts @@ -0,0 +1,36 @@ + +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 = { + "0x3DdFBcF4375d2cFa36A71819ca5F6f0F018255eD": "1", + }; + + return [ + { + name: "group-of-math-students", + timestamp: context.timestamp, + description: "Data Group of Math Students", + specs: "NA", + 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 8a436e257..c9ee0bba7 100644 --- a/group-generators/generators/index.ts +++ b/group-generators/generators/index.ts @@ -311,6 +311,7 @@ import goreliuni from "./goreliuni"; import gotchiFrenchArmyXSismoLive from "./gotchi-french-army-x-sismo-live"; import grailMember from "./grail-member"; import groupOfChemistryStudents from "./group-of-chemistry-students"; +import groupOfMathStudents from "./group-of-math-students"; import group2m from "./group2m"; import groupsOfPhysics from "./groups-of-physics"; import groupsOfScience from "./groups-of-science"; @@ -980,7 +981,7 @@ export const groupGenerators: GroupGeneratorsLibrary = { "aztec-connect-depositors": aztecActiveDepositors, "b1y3-og-voters": b1y3OgVoters, "b74cky": b74cky, - "babt-holders-bsc":babtHolders, + "babt-holders-bsc": babtHolders, "baby2father-eth": baby2fatherEth, "backtomiami": backtomiami, "balkaneros-in-antler": balkanerosInAntler, @@ -1157,6 +1158,7 @@ export const groupGenerators: GroupGeneratorsLibrary = { "github-test": githubTest, "goerli-uni-holders": goerliUniHolders, "goreliuni": goreliuni, + "group-of-math-students": groupOfMathStudents, "group-of-chemistry-students": groupOfChemistryStudents, "group2m": group2m, "groups-of-physics": groupsOfPhysics, @@ -1347,7 +1349,7 @@ export const groupGenerators: GroupGeneratorsLibrary = { "hennadii": hennadii, "higepens": higepens, "hodlini": hodlini, - "hop-protocol-101":hopProtocol101, + "hop-protocol-101": hopProtocol101, "houdz-eth": houdzEth, "hthoe": hthoe, "humanbound": humanbound, @@ -1494,7 +1496,7 @@ export const groupGenerators: GroupGeneratorsLibrary = { "optimists": optimists, "orange-dao-contributors": orangeDaoContributors, "osa": osa, - "otterspace-sample":otterspace, + "otterspace-sample": otterspace, "ox10": ox10, "oxbage": oxbage, "padultra": padultra,