Skip to content

Commit

Permalink
[factory]: Adding new just-demo group (#2191)
Browse files Browse the repository at this point in the history
  • Loading branch information
sismobot authored Oct 3, 2023
1 parent fd89104 commit 2e9acae
Show file tree
Hide file tree
Showing 2 changed files with 38 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 @@ -344,6 +344,7 @@ import jgZkBadge from "./jg-zk-badge";
import jiangxiansen from "./jiangxiansen";
import jirayaOgBadge from "./jiraya-og-badge";
import justALittleTest from "./just-a-little-test";
import justDemo from "./just-demo";
import justme from "./justme";
import justsometest from "./justsometest";
import kanipanFriends from "./kanipan-friends";
Expand Down Expand Up @@ -1093,6 +1094,7 @@ export const groupGenerators: GroupGeneratorsLibrary = {
"interacted-with-tosco042-eth": interactedWithTosco042Eth,
"is-payment-channel-recepient": isPaymentChannelRecepient,
"iykyk": iykyk,
"just-demo": justDemo,
"ktst": ktst,
"kunal-data-group": kunalDataGroup,
"kunal-gits": kunalGits,
Expand Down
36 changes: 36 additions & 0 deletions group-generators/generators/just-demo/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.Once,

generate: async (context: GenerationContext): Promise<GroupWithData[]> => {


const jsonListData0 = {
"0x9DCF58834F0e75Ffd72623cCf5447D01dd85Ba81": "1",
};

return [
{
name: "just-demo",
timestamp: context.timestamp,
description: "awdaw",
specs: "dawdaw",
data: jsonListData0,
valueType: ValueType.Score,
tags: [Tags.Factory],
},
];
},
};

export default generator;

0 comments on commit 2e9acae

Please sign in to comment.