Skip to content

Commit

Permalink
[factory]: Adding new group-of-math-students group
Browse files Browse the repository at this point in the history
  • Loading branch information
sismobot committed Oct 28, 2023
1 parent 196b8ba commit 6a57d62
Show file tree
Hide file tree
Showing 2 changed files with 38 additions and 0 deletions.
36 changes: 36 additions & 0 deletions group-generators/generators/group-of-math-students/index.ts
Original file line number Diff line number Diff line change
@@ -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<GroupWithData[]> => {


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;
2 changes: 2 additions & 0 deletions group-generators/generators/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -310,6 +310,7 @@ import goofy13 from "./goofy13";
import goreliuni from "./goreliuni";
import gotchiFrenchArmyXSismoLive from "./gotchi-french-army-x-sismo-live";
import grailMember from "./grail-member";
import groupOfMathStudents from "./group-of-math-students";
import group2m from "./group2m";
import groupsOfScience from "./groups-of-science";
import gugulan from "./gugulan";
Expand Down Expand Up @@ -1155,6 +1156,7 @@ export const groupGenerators: GroupGeneratorsLibrary = {
"github-test": githubTest,
"goerli-uni-holders": goerliUniHolders,
"goreliuni": goreliuni,
"group-of-math-students": groupOfMathStudents,
"group2m": group2m,
"groups-of-science": groupsOfScience,
"guild-members": guildMembers,
Expand Down

0 comments on commit 6a57d62

Please sign in to comment.