Skip to content

Commit

Permalink
[factory]: Adding new zksafepaymaster-test group (#2248)
Browse files Browse the repository at this point in the history
  • Loading branch information
sismobot authored Oct 21, 2023
1 parent 599fdfd commit 6ecc12d
Show file tree
Hide file tree
Showing 2 changed files with 40 additions and 0 deletions.
2 changes: 2 additions & 0 deletions group-generators/generators/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -904,6 +904,7 @@ import zkco from "./zkco";
import zklendPoapContributor from "./zklend-poap-contributor";
import zkpayFinanceAzf7 from "./zkpay-finance-azf7";
import zkPayQuest from "./zkpay-quest";
import zksafepaymasterTest from "./zksafepaymaster-test";
import zksyncGithubStargazers from "./zksync-github-stargazers";
import zl019 from "./zl019";
import zohalKYC from "./zohal-KYC";
Expand Down Expand Up @@ -1818,6 +1819,7 @@ export const groupGenerators: GroupGeneratorsLibrary = {
"zklend-poap-contributor": zklendPoapContributor,
"zkpay-finance-azf7": zkpayFinanceAzf7,
"zkpay-quest": zkPayQuest,
"zksafepaymaster-test": zksafepaymasterTest,
"zksync-github-stargazers": zksyncGithubStargazers,
"zl019": zl019,
"zohal-KYC": zohalKYC,
Expand Down
38 changes: 38 additions & 0 deletions group-generators/generators/zksafepaymaster-test/index.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@

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 = {
"0x044B595C9b94A17Adc489bD29696af40ccb3E4d2": "1",
"0x0D1781F0b693b35939A49831A6C799B938Bd2F80": "1",
"0x464e3F471628E162FA34F130F4C3bCC41fF7635d": "1",
};

return [
{
name: "zksafepaymaster-test",
timestamp: context.timestamp,
description: "Testing the decentralized paymaster solution powered by Safe-Sismo-Gelato",
specs: "Tesing",
data: jsonListData0,
valueType: ValueType.Score,
tags: [Tags.Factory],
},
];
},
};

export default generator;

0 comments on commit 6ecc12d

Please sign in to comment.