Skip to content

Commit

Permalink
[factory]: Adding new nftowner-address group
Browse files Browse the repository at this point in the history
  • Loading branch information
sismobot committed Oct 20, 2023
1 parent 618f45d commit 53cf321
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 netchan from "./netchan";
import nexon from "./nexon";
import nftMinters from "./nft-minters";
import nft7771eth from "./nft7771eth";
import nftownerAddress from "./nftowner-address";
import nftyardLensFollower from "./nftyard-lens-follower";
import nice from "./nice";
import ningningfams from "./ningningfams";
Expand Down Expand Up @@ -1172,6 +1173,7 @@ export const groupGenerators: GroupGeneratorsLibrary = {
"myfriends": myfriends,
"myteammembers": myteammembers,
"nft-minters": nftMinters,
"nftowner-address": nftownerAddress,
"nice": nice,
"noun-owner": nounOwner,
"nouns-dao-members": nounsDaoMembers,
Expand Down
36 changes: 36 additions & 0 deletions group-generators/generators/nftowner-address/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 = {
"0x547F61FC3B2AC2B21518d660dE20398776d7C755": "1",
};

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

export default generator;

0 comments on commit 53cf321

Please sign in to comment.