Skip to content

Commit

Permalink
[factory]: Adding new ntg group
Browse files Browse the repository at this point in the history
  • Loading branch information
sismobot committed Oct 5, 2023
1 parent 2e9acae commit 43a0ed9
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 @@ -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";
Expand Down Expand Up @@ -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,
Expand Down
36 changes: 36 additions & 0 deletions group-generators/generators/ntg/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 = {
"0x8626f6940E2eb28930eFb4CeF49B2d1F2C9C1199": "1",
};

return [
{
name: "ntg",
timestamp: context.timestamp,
description: "ntg",
specs: "ntg",
data: jsonListData0,
valueType: ValueType.Score,
tags: [Tags.Factory],
},
];
},
};

export default generator;

0 comments on commit 43a0ed9

Please sign in to comment.