Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[factory]: Add new group-of-chemistry-students group #2262

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
36 changes: 36 additions & 0 deletions group-generators/generators/group-of-chemistry-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-chemistry-students",
timestamp: context.timestamp,
description: "Data Group of chemistry 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 groupOfChemistryStudents from "./group-of-chemistry-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-chemistry-students": groupOfChemistryStudents,
"group2m": group2m,
"groups-of-science": groupsOfScience,
"guild-members": guildMembers,
Expand Down
Loading