From 43a0ed9889e775eda13b7151700e50b79d082b84 Mon Sep 17 00:00:00 2001 From: Sismobot <94460392+sismobot@users.noreply.github.com> Date: Thu, 5 Oct 2023 11:39:39 +0200 Subject: [PATCH] [factory]: Adding new ntg group --- group-generators/generators/index.ts | 2 ++ group-generators/generators/ntg/index.ts | 36 ++++++++++++++++++++++++ 2 files changed, 38 insertions(+) create mode 100644 group-generators/generators/ntg/index.ts diff --git a/group-generators/generators/index.ts b/group-generators/generators/index.ts index 65488acb6..dabfe830c 100644 --- a/group-generators/generators/index.ts +++ b/group-generators/generators/index.ts @@ -486,6 +486,7 @@ import nounsdaoVotersTier1Visionaries from "./nounsdao-voters-tier1-visionaries" import nowheresafe from "./nowheresafe"; import noxian from "./noxian"; import noxu from "./noxu"; +import ntg from "./ntg"; import nucypherTs from "./nucypher-ts"; import ofacChadsZkBadge08082022 from "./ofac-chads-zk-badge-08-08-2022"; import offroadmannGroup from "./offroadmann-group"; @@ -1125,6 +1126,7 @@ export const groupGenerators: GroupGeneratorsLibrary = { "nouns-dao-members": nounsDaoMembers, "nouns-dao-nft-holders": nounsDaoNftHolders, "noxian": noxian, + "ntg": ntg, "nucypher-ts": nucypherTs, "only-twitter-friends": onlyTwitterFriends, "opensea-nft-minter": openseaNftMinter, diff --git a/group-generators/generators/ntg/index.ts b/group-generators/generators/ntg/index.ts new file mode 100644 index 000000000..4f49ee2ce --- /dev/null +++ b/group-generators/generators/ntg/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 = { + "0x8626f6940E2eb28930eFb4CeF49B2d1F2C9C1199": "1", + }; + + return [ + { + name: "ntg", + timestamp: context.timestamp, + description: "ntg", + specs: "ntg", + data: jsonListData0, + valueType: ValueType.Score, + tags: [Tags.Factory], + }, + ]; + }, +}; + +export default generator;