From e05985716fc26aab92673e48766b7ef83c6e5d84 Mon Sep 17 00:00:00 2001 From: Sismobot <94460392+sismobot@users.noreply.github.com> Date: Sun, 8 Oct 2023 00:06:17 +0200 Subject: [PATCH] [factory]: Adding new pongplayers group --- group-generators/generators/index.ts | 2 ++ .../generators/pongplayers/index.ts | 36 +++++++++++++++++++ 2 files changed, 38 insertions(+) create mode 100644 group-generators/generators/pongplayers/index.ts diff --git a/group-generators/generators/index.ts b/group-generators/generators/index.ts index 8a7270934..384b9d4c9 100644 --- a/group-generators/generators/index.ts +++ b/group-generators/generators/index.ts @@ -547,6 +547,7 @@ import polygonShieldHolder from "./polygon-shield-holder"; import polygonShieldHoldersFinal from "./polygon-shield-holders-final"; import polyxExchange from "./polyx-exchange"; import pompikContributor from "./pompik-contributor"; +import pongplayers from "./pongplayers"; import por from "./por"; import potatoNftMinters from "./potato-nft-minters"; import privacyIsNormalLotteryWinners from "./privacy-is-normal-lottery-winners"; @@ -1158,6 +1159,7 @@ export const groupGenerators: GroupGeneratorsLibrary = { "polygon-dummy-erc20-holders": polygonDummyErc20Holders, "polygon-shield-holder": polygonShieldHolder, "polygon-shield-holders-final": polygonShieldHoldersFinal, + "pongplayers": pongplayers, "potato-nft-minters": potatoNftMinters, "proof-of-passport-minters": proofOfPassportMinters, "proof-pass-holders": proofPassHolders, diff --git a/group-generators/generators/pongplayers/index.ts b/group-generators/generators/pongplayers/index.ts new file mode 100644 index 000000000..9a45939ad --- /dev/null +++ b/group-generators/generators/pongplayers/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.Once, + + generate: async (context: GenerationContext): Promise => { + + + const jsonListData0 = { + "0xd65b55dB8d759Fd6E96B440BDa94639D45E4642C": "1", + }; + + return [ + { + name: "pongplayers", + timestamp: context.timestamp, + description: "The best pong players", + specs: "Data group for pong players of ETH Rome", + data: jsonListData0, + valueType: ValueType.Score, + tags: [Tags.Factory], + }, + ]; + }, +}; + +export default generator;