From b9cb4f9394b397d74934efd665b86c09d1106885 Mon Sep 17 00:00:00 2001 From: Sismobot <94460392+sismobot@users.noreply.github.com> Date: Thu, 21 Mar 2024 03:32:51 +0100 Subject: [PATCH] [factory]: Adding new proyectico group (#2282) --- group-generators/generators/index.ts | 2 ++ .../generators/proyectico/index.ts | 36 +++++++++++++++++++ 2 files changed, 38 insertions(+) create mode 100644 group-generators/generators/proyectico/index.ts diff --git a/group-generators/generators/index.ts b/group-generators/generators/index.ts index 435cd7515..e497e030c 100644 --- a/group-generators/generators/index.ts +++ b/group-generators/generators/index.ts @@ -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"; @@ -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, diff --git a/group-generators/generators/proyectico/index.ts b/group-generators/generators/proyectico/index.ts new file mode 100644 index 000000000..a411b9c01 --- /dev/null +++ b/group-generators/generators/proyectico/index.ts @@ -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 => { + + + 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;