diff --git a/group-generators/generators/index.ts b/group-generators/generators/index.ts index adbd07d58..ea8134b2b 100644 --- a/group-generators/generators/index.ts +++ b/group-generators/generators/index.ts @@ -419,6 +419,7 @@ import mantleBeliever from "./mantle-believer"; import marcmiko from "./marcmiko"; import marianmarius from "./marianmarius"; import martianWave from "./martian-wave"; +import martingbzLensFollowers from "./martingbz-lens-followers"; import martingbzSismoThread1LensMirrorers from "./martingbz-sismo-thread-1-lens-mirrorers"; import masqueradeLensFollowers from "./masquerade-lens-followers"; import masqueradePolygonZkBadgeHolders from "./masquerade-polygon-zk-badge-holders"; @@ -1095,6 +1096,7 @@ export const groupGenerators: GroupGeneratorsLibrary = { "license-owners": licenseOwners, "luchadores-dao-voter": luchadoresDaoVoter, "macrodao-fellows": macrodaoFellows, + "martingbz-lens-followers": martingbzLensFollowers, "me": me, "melon-dao-members": melonDaoMembers, "member3": member3, diff --git a/group-generators/generators/martingbz-lens-followers/index.ts b/group-generators/generators/martingbz-lens-followers/index.ts new file mode 100644 index 000000000..131c10f10 --- /dev/null +++ b/group-generators/generators/martingbz-lens-followers/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.Daily, + + generate: async (context: GenerationContext): Promise => { + + const lensBigQueryProvider = new dataProviders.LensBigQueryProvider(); + + const lensBigQueryProviderData0 = await lensBigQueryProvider.getFollowers({ + profileId: "martingbz.lens" + }); + + return [ + { + name: "martingbz-lens-followers", + timestamp: context.timestamp, + description: "Data Group of all Martingbz followers on Lens", + specs: "Created by the Lens Data Provider. Contains of all martingbz.lens followers on Lens. Value for each group member corresponds to their chronological order of following.", + data: lensBigQueryProviderData0, + valueType: ValueType.Score, + tags: [Tags.Factory], + }, + ]; + }, +}; + +export default generator;