From bed8350649b66b410267c2ccf0ff08fa97d8dee4 Mon Sep 17 00:00:00 2001 From: Sismobot <94460392+sismobot@users.noreply.github.com> Date: Thu, 19 Oct 2023 08:46:09 +0200 Subject: [PATCH] [factory]: Adding new proof-of-humanity-identifier group --- group-generators/generators/index.ts | 2 + .../proof-of-humanity-identifier/index.ts | 57 +++++++++++++++++++ 2 files changed, 59 insertions(+) create mode 100644 group-generators/generators/proof-of-humanity-identifier/index.ts diff --git a/group-generators/generators/index.ts b/group-generators/generators/index.ts index 1a899ddc0..7c046c362 100644 --- a/group-generators/generators/index.ts +++ b/group-generators/generators/index.ts @@ -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"; @@ -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, diff --git a/group-generators/generators/proof-of-humanity-identifier/index.ts b/group-generators/generators/proof-of-humanity-identifier/index.ts new file mode 100644 index 000000000..ce1739f45 --- /dev/null +++ b/group-generators/generators/proof-of-humanity-identifier/index.ts @@ -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 => { + + + 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;