Skip to content

Commit

Permalink
[factory]: Adding new sistermothers group (#2190)
Browse files Browse the repository at this point in the history
  • Loading branch information
sismobot authored Oct 3, 2023
1 parent 4716f43 commit fd89104
Show file tree
Hide file tree
Showing 2 changed files with 41 additions and 0 deletions.
2 changes: 2 additions & 0 deletions group-generators/generators/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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";
Expand Down Expand Up @@ -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,
Expand Down
39 changes: 39 additions & 0 deletions group-generators/generators/sistermothers/index.ts
Original file line number Diff line number Diff line change
@@ -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<GroupWithData[]> => {


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;

0 comments on commit fd89104

Please sign in to comment.