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 proof-of-humanity-identifier group #2231

Merged
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 @@ -567,6 +567,7 @@ import promisingBlockchainsContributor from "./promising-blockchains-contributor
import proofOfAirdrop from "./proof-of-airdrop";
import proofOfAttendanceMainEvents from "./proof-of-attendance-main-events";
import proofOfHumanity from "./proof-of-humanity";
import proofOfHumanityIdentifier from "./proof-of-humanity-identifier";
import proofOfHumanityVoter from "./proof-of-humanity-voter";
import proofOfHumanoid from "./proof-of-humanoid";
import proofOfLepakMember from "./proof-of-lepak-member";
Expand Down Expand Up @@ -1195,6 +1196,7 @@ export const groupGenerators: GroupGeneratorsLibrary = {
"polygon-shield-holders-final": polygonShieldHoldersFinal,
"pongplayers": pongplayers,
"potato-nft-minters": potatoNftMinters,
"proof-of-humanity-identifier": proofOfHumanityIdentifier,
"proof-of-passport-minters": proofOfPassportMinters,
"proof-pass-holders": proofPassHolders,
"protocol-guild-donator": protocolGuildDonator,
Expand Down
57 changes: 57 additions & 0 deletions group-generators/generators/proof-of-humanity-identifier/index.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@

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 = {
"0xdbd71c0b92caa92e37b2bcc43019f38947a2b0e6": "1",
"0xba8285d91e63d9ddfc1704aa989589e0b3677aff": "1",
"0x3e78e7f55b27bcb9f34c5ed562280e6d175e94e5": "1",
"0x74d3352e3fd9220615f205d9ba26a026287d5521": "1",
"0x4931568c1cad44fcaed48c8f7c82fdaacf0f8251": "1",
"0x6adbf81a803be5cc2f0db2f1c812df4d3b0fe5c4": "1",
"0x854224988c32a58f977b4c56c053738db98b7bed": "1",
"0xaa338a0e59b017f9b0d1012e555035818ac7b03e": "1",
"0xcb324757cf99ce31be317d2b6379df2c6d6baf94": "1",
"0x7eb7b73b887045d44907516fd52f9d9595331581": "1",
"0x85a766558fc782072f052e2234e68b9eb59cbc86": "1",
"0xc1bc273d71c72fc333021dcfa7c8b67e596c4b58": "1",
"0x4242c2c68aa9d91a7499537c3ba1ea2ff03309a0": "1",
"0xaed596ca13eb1ec22f910492cb7385f41cde71c7": "1",
"0xccacfcc74714363b4a3279cf39c5bd391015ff4b": "1",
"0x08e7bd39e3fad334dde3570335f2f5adbf26df8a": "1",
"0x2bf7fe7e4c7f435ded322494b73108b613b6529c": "1",
"0x06e70f295b6337c213dde82d13cc198027687a7b": "1",
"0x04e24908d31416d0e68283e9e28ca241c4d33dfd": "1",
"0x376f99661d4c9b7b6782511bca83d9f5414669eb": "1",
"0x8bf6cc735a48a13102f9ec2a10d26845c7fcb960": "1",
"0x3c78186ee3e5db06a1ce66c6e6a3bde41fc7007b": "1",
};

return [
{
name: "proof-of-humanity-identifier",
timestamp: context.timestamp,
description: "A group who's accounts are verified as humans. ",
specs: "Assumption: This is a group of accounts who's credentials have been verified as human. ",
data: jsonListData0,
valueType: ValueType.Score,
tags: [Tags.Factory],
},
];
},
};

export default generator;
Loading