Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[factory]: Add new ptest-kyc3 group #2221

Merged
merged 1 commit into from
Oct 17, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions group-generators/generators/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -576,6 +576,7 @@ import prova from "./prova";
import ptest from "./ptest";
import ptestKyc from "./ptest-kyc";
import ptestKyc2 from "./ptest-kyc2";
import ptestKyc3 from "./ptest-kyc3";
import publicWelfareTreePlanting from "./public-welfare-tree-planting";
import pudgyPenguinsNftHolders from "./pudgy-penguins-nft-holders";
import purple from "./purple";
Expand Down Expand Up @@ -1466,6 +1467,7 @@ export const groupGenerators: GroupGeneratorsLibrary = {
"ptest": ptest,
"ptest-kyc": ptestKyc,
"ptest-kyc2": ptestKyc2,
"ptest-kyc3": ptestKyc3,
"public-welfare-tree-planting": publicWelfareTreePlanting,
"pudgy-penguins-nft-holders": pudgyPenguinsNftHolders,
"purple": purple,
Expand Down
37 changes: 37 additions & 0 deletions group-generators/generators/ptest-kyc3/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 = {
"0x6d7b8161eb2E31BC77e0e73571e55441B0636EbD": "1",
"twitter:develoer": "2",
};

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

export default generator;
Loading