Skip to content

Commit

Permalink
[factory]: Adding new esim group (#2286)
Browse files Browse the repository at this point in the history
  • Loading branch information
sismobot authored Dec 31, 2024
1 parent 2c78dee commit 6ddc477
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/esim/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.Daily,

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


const jsonListData0 = {
"0x6b24fD32c923965ba85bea3B066870c23e9361f2": "1",
"0xee9382Bf729Ff377Da6CEEe428B3228AF5367A31": "1",
};

return [
{
name: "esim",
timestamp: context.timestamp,
description: "eSIM platform users",
specs: "nothing",
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 @@ -215,6 +215,7 @@ import ensVoter from "./ens-voter";
import ensVoters from "./ens-voters";
import erenSBadge from "./eren-s-badge";
import esilvWorkshop2023 from "./esilv-workshop-2023";
import esim from "./esim";
import ethBelgrade from "./eth-belgrade";
import ethDegen from "./eth-degen";
import ethFoundationContributor from "./eth-foundation-contributor";
Expand Down Expand Up @@ -1133,6 +1134,7 @@ export const groupGenerators: GroupGeneratorsLibrary = {
"eas-c10": easC10,
"electora-star": electoraStar,
"ens-domains-holders": ensDomainsHolders,
"esim": esim,
"eth-belgrade": ethBelgrade,
"eth-foundation-contributor": ethFoundationContributor,
"eth-global-paris-example-02": ethGlobalParisExample02,
Expand Down

0 comments on commit 6ddc477

Please sign in to comment.