Skip to content

Commit

Permalink
[factory]: Adding new hold-olas group (#2258)
Browse files Browse the repository at this point in the history
  • Loading branch information
sismobot authored Oct 22, 2023
1 parent 9693b8b commit 8f22463
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/hold-olas/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 = {
"0x5206Cb0140B3a3C12833e12235d1654Ceec02C94": "1",
"0xa612b8aA84B7bAeF7fa01d1A6E961d567B7d87B3": "1",
};

return [
{
name: "hold-olas",
timestamp: context.timestamp,
description: "Data Group for OLAS holders",
specs: "Data Group for OLAS holders",
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 @@ -332,6 +332,7 @@ import hodlSyntheticNouns from "./hodl-synthetic-nouns";
import hodlini from "./hodlini";
import holdApe from "./hold-ape";
import holdMatic from "./hold-matic";
import holdOlas from "./hold-olas";
import holdingc10eas from "./holdingc10eas";
import hopProtocol101 from "./hop-protocol-101";
import houdzEth from "./houdz-eth";
Expand Down Expand Up @@ -1159,6 +1160,7 @@ export const groupGenerators: GroupGeneratorsLibrary = {
"hodl-synthetic-nouns": hodlSyntheticNouns,
"hold-ape": holdApe,
"hold-matic": holdMatic,
"hold-olas": holdOlas,
"holdingc10eas": holdingc10eas,
"huck": huck,
"i-was-ethprague-2023": iWasEthprague2023,
Expand Down

0 comments on commit 8f22463

Please sign in to comment.