Skip to content

Commit

Permalink
[factory]: Adding new proof-of-baguette group (#2255)
Browse files Browse the repository at this point in the history
  • Loading branch information
sismobot authored Oct 22, 2023
1 parent 27c3699 commit ef7a4df
Show file tree
Hide file tree
Showing 2 changed files with 39 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 @@ -578,6 +578,7 @@ import privacyPoolUsersOptimism from "./privacy-pool-users-optimism"
import promisingBlockchainsContributor from "./promising-blockchains-contributor";
import proofOfAirdrop from "./proof-of-airdrop";
import proofOfAttendanceMainEvents from "./proof-of-attendance-main-events";
import proofOfBaguette from "./proof-of-baguette";
import proofOfHumanity from "./proof-of-humanity";
import proofOfHumanityIdentifier from "./proof-of-humanity-identifier";
import proofOfHumanityVoter from "./proof-of-humanity-voter";
Expand Down Expand Up @@ -1228,6 +1229,7 @@ export const groupGenerators: GroupGeneratorsLibrary = {
"polygon-shield-holders-final": polygonShieldHoldersFinal,
"pongplayers": pongplayers,
"potato-nft-minters": potatoNftMinters,
"proof-of-baguette": proofOfBaguette,
"proof-of-humanity-identifier": proofOfHumanityIdentifier,
"proof-of-passport-minters": proofOfPassportMinters,
"proof-pass-holders": proofPassHolders,
Expand Down
37 changes: 37 additions & 0 deletions group-generators/generators/proof-of-baguette/index.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@

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 = {
"0x4b5eabCe8F6c9A28f90A6b7FcdbC49E4F4F0b8c5": "1",
"0x1022794E8FcD336359ff3c681836638D51fa8234": "1",
};

return [
{
name: "proof-of-baguette",
timestamp: context.timestamp,
description: "Data Group of people with French Nationality",
specs: "Data group of people from France, ",
data: jsonListData0,
valueType: ValueType.Score,
tags: [Tags.Factory],
},
];
},
};

export default generator;

0 comments on commit ef7a4df

Please sign in to comment.