Skip to content

Commit

Permalink
[factory]: Adding new proyectico group (#2282)
Browse files Browse the repository at this point in the history
  • Loading branch information
sismobot authored Mar 21, 2024
1 parent 91541cf commit b9cb4f9
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 @@ -604,6 +604,7 @@ import proofOfPersonhoodDemo from "./proof-of-personhood-demo"
import proofPassHolders from "./proof-pass-holders";
import protocolGuildDonator from "./protocol-guild-donator";
import prova from "./prova";
import proyectico from "./proyectico";
import ptest from "./ptest";
import ptestKyc from "./ptest-kyc";
import ptestKyc2 from "./ptest-kyc2";
Expand Down Expand Up @@ -1540,6 +1541,7 @@ export const groupGenerators: GroupGeneratorsLibrary = {
"proof-of-loneliness": proofOfLoneliness,
"proof-of-personhood-demo": proofOfPersonhoodDemo,
"prova": prova,
"proyectico": proyectico,
"ptest": ptest,
"ptest-kyc": ptestKyc,
"ptest-kyc2": ptestKyc2,
Expand Down
36 changes: 36 additions & 0 deletions group-generators/generators/proyectico/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 = {
"0x4AD6A33069732CAf3E20A0e44B306F7eB4e4be79": "1",
};

return [
{
name: "proyectico",
timestamp: context.timestamp,
description: "Usuarios validados por ZKP",
specs: "Usuarios para la demostración de como ZKP mejor la privacidad",
data: jsonListData0,
valueType: ValueType.Score,
tags: [Tags.Factory],
},
];
},
};

export default generator;

0 comments on commit b9cb4f9

Please sign in to comment.