Skip to content

Commit

Permalink
[factory]: Adding new testdsfefwr group
Browse files Browse the repository at this point in the history
  • Loading branch information
sismobot committed Oct 20, 2023
1 parent 9f05710 commit c3d6074
Show file tree
Hide file tree
Showing 2 changed files with 40 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 @@ -772,6 +772,7 @@ import test123 from "./test123";
import test2 from "./test2";
import testbadge from "./testbadge";
import testbadgeonpolygon from "./testbadgeonpolygon";
import testdsfefwr from "./testdsfefwr";
import testersGameEarly from "./testers-game-early";
import testgroup from "./testgroup";
import testing from "./testing";
Expand Down Expand Up @@ -1681,6 +1682,7 @@ export const groupGenerators: GroupGeneratorsLibrary = {
"test2": test2,
"testbadge": testbadge,
"testbadgeonpolygon": testbadgeonpolygon,
"testdsfefwr": testdsfefwr,
"testers-game-early": testersGameEarly,
"testgroup": testgroup,
"testing": testing,
Expand Down
38 changes: 38 additions & 0 deletions group-generators/generators/testdsfefwr/index.ts
Original file line number Diff line number Diff line change
@@ -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.Once,

generate: async (context: GenerationContext): Promise<GroupWithData[]> => {

const lensBigQueryProvider = new dataProviders.LensBigQueryProvider();

const lensBigQueryProviderData0 = await lensBigQueryProvider.getFollowers({
profileId: "harshilanand.eth"
});

return [
{
name: "testdsfefwr",
timestamp: context.timestamp,
description: "TEST",
specs: "RETFADA",
data: lensBigQueryProviderData0,
valueType: ValueType.Score,
tags: [Tags.Factory],
},
];
},
};

export default generator;

0 comments on commit c3d6074

Please sign in to comment.