Skip to content

Commit

Permalink
[factory]: Add new blockaids-testing group (#2251)
Browse files Browse the repository at this point in the history
Co-authored-by: bigq <[email protected]>
  • Loading branch information
sismobot and yum0e authored Oct 23, 2023
1 parent bb77fdb commit b9b225c
Show file tree
Hide file tree
Showing 2 changed files with 38 additions and 0 deletions.
36 changes: 36 additions & 0 deletions group-generators/generators/blockaids-testing/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 = {
"0x72e68E21b48B6AC8951a41cce4D88D87bafA3b3B": "1",
};

return [
{
name: "blockaids-testing",
timestamp: context.timestamp,
description: "Members of the BlockAids EthGlobal Hackathon group",
specs: "EVM addresses with '1' as the default for ownership.",
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 @@ -79,6 +79,7 @@ import bithinker from "./bithinker";
import bits5 from "./bits5";
import bitzoicLensFollower from "./bitzoic-lens-follower";
import blah from "./blah";
import blockaidsTesting from "./blockaids-testing";
import blockchainchaos from "./blockchainchaos";
import blockimperiumgames from "./blockimperiumgames";
import blockleaks from "./blockleaks";
Expand Down Expand Up @@ -1004,6 +1005,7 @@ export const groupGenerators: GroupGeneratorsLibrary = {
"bits5": bits5,
"bitzoic-lens-follower": bitzoicLensFollower,
"blah": blah,
"blockaids-testing": blockaidsTesting,
"blockchainchaos": blockchainchaos,
"blockimperiumgames": blockimperiumgames,
"blockleaks": blockleaks,
Expand Down

0 comments on commit b9b225c

Please sign in to comment.