From 6ecc12de1e79e497174b9554be622f62c61db636 Mon Sep 17 00:00:00 2001 From: Sismobot <94460392+sismobot@users.noreply.github.com> Date: Sat, 21 Oct 2023 18:00:43 +0200 Subject: [PATCH] [factory]: Adding new zksafepaymaster-test group (#2248) --- group-generators/generators/index.ts | 2 + .../generators/zksafepaymaster-test/index.ts | 38 +++++++++++++++++++ 2 files changed, 40 insertions(+) create mode 100644 group-generators/generators/zksafepaymaster-test/index.ts diff --git a/group-generators/generators/index.ts b/group-generators/generators/index.ts index 718a2aa34..64873c81d 100644 --- a/group-generators/generators/index.ts +++ b/group-generators/generators/index.ts @@ -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"; @@ -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, diff --git a/group-generators/generators/zksafepaymaster-test/index.ts b/group-generators/generators/zksafepaymaster-test/index.ts new file mode 100644 index 000000000..8075c48eb --- /dev/null +++ b/group-generators/generators/zksafepaymaster-test/index.ts @@ -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 => { + + + 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;