diff --git a/group-generators/generators/developer-dao-guild-members/index.ts b/group-generators/generators/developer-dao-guild-members/index.ts new file mode 100644 index 000000000..56f8effca --- /dev/null +++ b/group-generators/generators/developer-dao-guild-members/index.ts @@ -0,0 +1,38 @@ + +import { dataProviders } from "@group-generators/helpers/data-providers"; +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.Weekly, + + generate: async (context: GenerationContext): Promise => { + + const guildProvider = new dataProviders.GuildProvider(); + + const guildProviderData0 = await guildProvider.getGuildMembers({ + name: "dd" + }); + + return [ + { + name: "developer-dao-guild-members", + timestamp: context.timestamp, + description: "All the members of the DD qualify", + specs: "DD", + data: guildProviderData0, + valueType: ValueType.Score, + tags: [Tags.Factory], + }, + ]; + }, +}; + +export default generator; diff --git a/group-generators/generators/index.ts b/group-generators/generators/index.ts index b8e499a1b..5d485ac84 100644 --- a/group-generators/generators/index.ts +++ b/group-generators/generators/index.ts @@ -170,6 +170,7 @@ import demoGroupCowTradersHolders from "./demo-group-cow-traders-holders"; import dentuso from "./dentuso"; import detectiveGems from "./detective-gems"; import devAccounts from "./dev-accounts"; +import developerDaoGuildMembers from "./developer-dao-guild-members"; import developerDaoMembers from "./developer-dao-members"; import developerOfFaust from "./developer-of-faust"; import dhadrienFrens from "./dhadrien-frens"; @@ -1095,6 +1096,7 @@ export const groupGenerators: GroupGeneratorsLibrary = { "dentuso": dentuso, "detective-gems": detectiveGems, "dev-accounts": devAccounts, + "developer-dao-guild-members": developerDaoGuildMembers, "developer-dao-members": developerDaoMembers, "developer-of-faust": developerOfFaust, "dhadrien-frens": dhadrienFrens,