diff --git a/group-generators/generators/exchange-smart-contract/index.ts b/group-generators/generators/exchange-smart-contract/index.ts new file mode 100644 index 000000000..aa07b1071 --- /dev/null +++ b/group-generators/generators/exchange-smart-contract/index.ts @@ -0,0 +1,38 @@ + +import { dataProviders } from "@group-generators/helpers/data-providers"; +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 => { + + const githubProvider = new dataProviders.GithubProvider(); + + const githubProviderData0 = await githubProvider.getRepositoriesContributors({ + repositories: [ "virajpatva/ExchangeSmartContract" ] + }); + + return [ + { + name: "exchange-smart-contract", + timestamp: context.timestamp, + description: "This will allow to mint NFT", + specs: "NFT", + data: githubProviderData0, + valueType: ValueType.Score, + tags: [Tags.Factory], + }, + ]; + }, +}; + +export default generator; diff --git a/group-generators/generators/index.ts b/group-generators/generators/index.ts index aa4bad284..6c4e072ad 100644 --- a/group-generators/generators/index.ts +++ b/group-generators/generators/index.ts @@ -241,6 +241,7 @@ import exampleMirrorXyz from "./example-mirrorxyz" import exampleRep3 from "./example-rep3" import exampleSnapshot from "./example-snapshot" import exampleUnlock from "./example-unlock"; +import exchangeSmartContract from "./exchange-smart-contract"; import fantomAlphaRoundDonaters from "./fantom-alpha-round-donaters"; import farcasterV3NftHolders from "./farcaster-v3-nft-holders"; import farmer from "./farmer"; @@ -1107,6 +1108,7 @@ export const groupGenerators: GroupGeneratorsLibrary = { "ethmedbridge-recordtype-1": ethmedbridgeRecordtype1, "ethrome-2023": ethrome2023, "events-in-common-with-dydymoon": eventsInCommonWithDydymoon, + "exchange-smart-contract": exchangeSmartContract, "farcaster-v3-nft-holders": farcasterV3NftHolders, "fei-snapshot-passer": feiSnapshotPasser, "finbob-ethdam": finbobEthdam,