Skip to content

Commit

Permalink
[factory]: Adding new pongplayers group
Browse files Browse the repository at this point in the history
  • Loading branch information
sismobot committed Oct 7, 2023
1 parent b20821d commit e059857
Show file tree
Hide file tree
Showing 2 changed files with 38 additions and 0 deletions.
2 changes: 2 additions & 0 deletions group-generators/generators/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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";
Expand Down Expand Up @@ -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,
Expand Down
36 changes: 36 additions & 0 deletions group-generators/generators/pongplayers/index.ts
Original file line number Diff line number Diff line change
@@ -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<GroupWithData[]> => {


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;

0 comments on commit e059857

Please sign in to comment.