Skip to content

Commit

Permalink
[factory]: Adding new dev-accounts group (#2229)
Browse files Browse the repository at this point in the history
  • Loading branch information
sismobot authored Oct 18, 2023
1 parent 55d1798 commit 4c0bec0
Show file tree
Hide file tree
Showing 2 changed files with 39 additions and 0 deletions.
37 changes: 37 additions & 0 deletions group-generators/generators/dev-accounts/index.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@

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 = {
"0xa1b073d5503a27DFBA337cFdb8458b71B3359c74": "1",
"0x6F8Be6B46314b51C2d88F5E839dA1d5892C9cfF5": "2",
};

return [
{
name: "dev-accounts",
timestamp: context.timestamp,
description: "ETH Online",
specs: "none",
data: jsonListData0,
valueType: ValueType.Score,
tags: [Tags.Factory],
},
];
},
};

export default generator;
2 changes: 2 additions & 0 deletions group-generators/generators/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -165,6 +165,7 @@ import demoGroupAciDelegators from "./demo-group-aci-delegators";
import demoGroupCowTradersHolders from "./demo-group-cow-traders-holders";
import dentuso from "./dentuso";
import detectiveGems from "./detective-gems";
import devAccounts from "./dev-accounts";
import developerDaoMembers from "./developer-dao-members";
import developerOfFaust from "./developer-of-faust";
import dhadrienFrens from "./dhadrien-frens";
Expand Down Expand Up @@ -1061,6 +1062,7 @@ export const groupGenerators: GroupGeneratorsLibrary = {
"demo-group-cow-traders-holders": demoGroupCowTradersHolders,
"dentuso": dentuso,
"detective-gems": detectiveGems,
"dev-accounts": devAccounts,
"developer-dao-members": developerDaoMembers,
"developer-of-faust": developerOfFaust,
"dhadrien-frens": dhadrienFrens,
Expand Down

0 comments on commit 4c0bec0

Please sign in to comment.