Skip to content

Commit 6ddc477

Browse files
authored
[factory]: Adding new esim group (#2286)
1 parent 2c78dee commit 6ddc477

File tree

2 files changed

+39
-0
lines changed

2 files changed

+39
-0
lines changed
+37
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
2+
import { Tags, ValueType, GroupWithData } from "topics/group";
3+
import {
4+
GenerationContext,
5+
GenerationFrequency,
6+
GroupGenerator,
7+
} from "topics/group-generator";
8+
9+
// Generated from factory.sismo.io
10+
11+
const generator: GroupGenerator = {
12+
13+
generationFrequency: GenerationFrequency.Daily,
14+
15+
generate: async (context: GenerationContext): Promise<GroupWithData[]> => {
16+
17+
18+
const jsonListData0 = {
19+
"0x6b24fD32c923965ba85bea3B066870c23e9361f2": "1",
20+
"0xee9382Bf729Ff377Da6CEEe428B3228AF5367A31": "1",
21+
};
22+
23+
return [
24+
{
25+
name: "esim",
26+
timestamp: context.timestamp,
27+
description: "eSIM platform users",
28+
specs: "nothing",
29+
data: jsonListData0,
30+
valueType: ValueType.Score,
31+
tags: [Tags.Factory],
32+
},
33+
];
34+
},
35+
};
36+
37+
export default generator;

group-generators/generators/index.ts

+2
Original file line numberDiff line numberDiff line change
@@ -215,6 +215,7 @@ import ensVoter from "./ens-voter";
215215
import ensVoters from "./ens-voters";
216216
import erenSBadge from "./eren-s-badge";
217217
import esilvWorkshop2023 from "./esilv-workshop-2023";
218+
import esim from "./esim";
218219
import ethBelgrade from "./eth-belgrade";
219220
import ethDegen from "./eth-degen";
220221
import ethFoundationContributor from "./eth-foundation-contributor";
@@ -1133,6 +1134,7 @@ export const groupGenerators: GroupGeneratorsLibrary = {
11331134
"eas-c10": easC10,
11341135
"electora-star": electoraStar,
11351136
"ens-domains-holders": ensDomainsHolders,
1137+
"esim": esim,
11361138
"eth-belgrade": ethBelgrade,
11371139
"eth-foundation-contributor": ethFoundationContributor,
11381140
"eth-global-paris-example-02": ethGlobalParisExample02,

0 commit comments

Comments
 (0)