Skip to content

Commit

Permalink
feat: Tally data provider addition (#2180)
Browse files Browse the repository at this point in the history
Co-authored-by: Hritwik Tripathi <[email protected]>
  • Loading branch information
yum0e and 3scava1i3r authored Sep 15, 2023
1 parent 66cdfdd commit e99900c
Show file tree
Hide file tree
Showing 36 changed files with 380 additions and 4 deletions.
3 changes: 2 additions & 1 deletion .example.env
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,5 @@ export JSON_RPC_URL=""
export DUNE_API_KEY=""
export ALCHEMY_API_KEY=""
export GITCOIN_API_KEY=""
export ANKR_API_KEY=""
export ANKR_API_KEY=""
export TALLY_API_KEY=""
4 changes: 4 additions & 0 deletions .github/actions/deploy/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,9 @@ inputs:
github-token:
required: true
description: "github token"
tally-api-key:
required: true
description: "tally api key"
twitter-api-key:
required: true
description: "api key for twitter resolver"
Expand Down Expand Up @@ -111,6 +114,7 @@ runs:
GITCOIN_API_KEY: ${{ inputs.gitcoin-api-key }}
ANKR_API_KEY: ${{ inputs.ankr-api-key }}
SH_GITHUB_TOKEN: ${{ inputs.github-token }}
TALLY_API_KEY: ${{ inputs.tally-api-key }}
TWITTER_API_KEY: ${{ inputs.twitter-api-key }}
TELEGRAM_API_HASH: ${{ inputs.telegram-api-hash }}
TELEGRAM_API_ID: ${{ inputs.telegram-api-id }}
Expand Down
4 changes: 4 additions & 0 deletions .github/actions/generate-group-send-on-chain/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,9 @@ inputs:
github-token:
required: true
description: "token for github provider"
tally-api-key:
required: true
description: "tally api key"
twitter-api-key:
required: true
description: "api key for twitter resolver"
Expand Down Expand Up @@ -145,6 +148,7 @@ runs:
DUNE_API_KEY: ${{inputs.dune-api-key}}
GITCOIN_API_KEY: ${{ inputs.gitcoin-api-key }}
ANKR_API_KEY: ${{ inputs.ankr-api-key }}
TALLY_API_KEY: ${{ inputs.tally-api-key }}
TELEGRAM_API_HASH: ${{ inputs.telegram-api-hash }}
TELEGRAM_API_ID: ${{ inputs.telegram-api-id }}
TELEGRAM_BOT_TOKEN: ${{ inputs.telegram-bot-token }}
Expand Down
8 changes: 6 additions & 2 deletions .github/actions/generate-groups/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,9 @@ inputs:
github-token:
required: true
description: "token for github provider"
tally-api-key:
required: true
description: "tally api key"
twitter-api-key:
required: true
description: "api key for twitter resolver"
Expand Down Expand Up @@ -152,14 +155,15 @@ runs:
DUNE_API_KEY: ${{inputs.dune-api-key}}
GITCOIN_API_KEY: ${{ inputs.gitcoin-api-key }}
ANKR_API_KEY: ${{ inputs.ankr-api-key }}
TALLY_API_KEY: ${{ inputs.tally-api-key }}
TELEGRAM_API_HASH: ${{ inputs.telegram-api-hash }}
TELEGRAM_API_ID: ${{ inputs.telegram-api-id }}
TELEGRAM_BOT_TOKEN: ${{ inputs.telegram-bot-token }}
TELEGRAM_BOT_SESSION: ${{ inputs.telegram-bot-session }}
ROCI_API_KEY: ${{ inputs.roci-api-key }}
run: |
if [[ -n "${{ inputs.sh-group-generator-name }}" ]]; then
yarn generate-group ${{ inputs.sh-group-generator-name }} --storage-type aws
yarn generate-group ${{ inputs.sh-group-generator-name }} --storage-type aws
else
yarn cli generate-all-groups --storage-type aws
yarn cli generate-all-groups --storage-type aws
fi
4 changes: 4 additions & 0 deletions .github/actions/update-groups-metadata/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,9 @@ inputs:
github-token:
required: true
description: "token for github provider"
tally-api-key:
required: true
description: "tally api key"
twitter-api-key:
required: true
description: "api key for twitter resolver"
Expand Down Expand Up @@ -115,6 +118,7 @@ runs:
DUNE_API_KEY: ${{inputs.dune-api-key}}
GITCOIN_API_KEY: ${{ inputs.gitcoin-api-key }}
ANKR_API_KEY: ${{ inputs.ankr-api-key }}
TALLY_API_KEY: ${{ inputs.tally-api-key }}
TELEGRAM_API_HASH: ${{ inputs.telegram-api-hash }}
TELEGRAM_API_ID: ${{ inputs.telegram-api-id }}
TELEGRAM_BOT_TOKEN: ${{ inputs.telegram-bot-token }}
Expand Down
4 changes: 4 additions & 0 deletions .github/actions/update-groups-send-on-chain/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,9 @@ inputs:
github-token:
required: true
description: "token for github provider"
tally-api-key:
required: true
description: "tally api key"
twitter-api-key:
required: true
description: "api key for twitter resolver"
Expand Down Expand Up @@ -150,6 +153,7 @@ runs:
DUNE_API_KEY: ${{inputs.dune-api-key}}
GITCOIN_API_KEY: ${{ inputs.gitcoin-api-key }}
ANKR_API_KEY: ${{ inputs.ankr-api-key }}
TALLY_API_KEY: ${{ inputs.tally-api-key }}
TELEGRAM_API_HASH: ${{ inputs.telegram-api-hash }}
TELEGRAM_API_ID: ${{ inputs.telegram-api-id }}
TELEGRAM_BOT_TOKEN: ${{ inputs.telegram-bot-token }}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ jobs:
FARCASTER_API_KEY: ${{ secrets.FARCASTER_API_KEY }}
ALCHEMY_API_KEY: ${{ secrets.ALCHEMY_API_KEY }}
SH_GITHUB_TOKEN: ${{ secrets.SH_GITHUB_TOKEN }}
TALLY_API_KEY: ${{ secrets.TALLY_API_KEY }}
TWITTER_API_KEY: ${{ secrets.TWITTER_API_KEY }}
TELEGRAM_API_HASH: ${{ secrets.TELEGRAM_API_HASH }}
TELEGRAM_API_ID: ${{ secrets.TELEGRAM_API_ID }}
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/check-new-groups-generation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ jobs:
GITCOIN_API_KEY: ${{ secrets.GITCOIN_API_KEY }}
ANKR_API_KEY: ${{ secrets.ANKR_API_KEY }}
SH_GITHUB_TOKEN: ${{ secrets.SH_GITHUB_TOKEN }}
TALLY_API_KEY: ${{ secrets.TALLY_API_KEY }}
TWITTER_API_KEY: ${{ secrets.TWITTER_API_KEY }}
TELEGRAM_API_HASH: ${{ secrets.TELEGRAM_API_HASH }}
TELEGRAM_API_ID: ${{ secrets.TELEGRAM_API_ID }}
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/deploy_dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ jobs:
gitcoin-api-key: ${{ secrets.GITCOIN_API_KEY }}
ANKR_API_KEY: ${{ secrets.ANKR_API_KEY }}
github-token: ${{ secrets.SH_GITHUB_TOKEN }}
tally-api-key: ${{ secrets.TALLY_API_KEY }}
twitter-api-key: ${{ secrets.TWITTER_API_KEY }}
telegram-api-hash: ${{ secrets.TELEGRAM_API_HASH }}
telegram-api-id: ${{ secrets.TELEGRAM_API_ID }}
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/deploy_prod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ jobs:
gitcoin-api-key: ${{ secrets.GITCOIN_API_KEY }}
ankr-api-key: ${{ secrets.ANKR_API_KEY }}
github-token: ${{ secrets.SH_GITHUB_TOKEN }}
tally-api-key: ${{ secrets.TALLY_API_KEY }}
twitter-api-key: ${{ secrets.TWITTER_API_KEY }}
telegram-api-hash: ${{ secrets.TELEGRAM_API_HASH }}
telegram-api-id: ${{ secrets.TELEGRAM_API_ID }}
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/deploy_staging.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ jobs:
gitcoin-api-key: ${{ secrets.GITCOIN_API_KEY }}
ankr-api-key: ${{ secrets.ANKR_API_KEY }}
github-token: ${{ secrets.SH_GITHUB_TOKEN }}
tally-api-key: ${{ secrets.TALLY_API_KEY }}
twitter-api-key: ${{ secrets.TWITTER_API_KEY }}
telegram-api-hash: ${{ secrets.TELEGRAM_API_HASH }}
telegram-api-id: ${{ secrets.TELEGRAM_API_ID }}
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/deploy_testnets.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ jobs:
gitcoin-api-key: ${{ secrets.GITCOIN_API_KEY }}
ankr-api-key: ${{ secrets.ANKR_API_KEY }}
github-token: ${{ secrets.SH_GITHUB_TOKEN }}
tally-api-key: ${{ secrets.TALLY_API_KEY }}
twitter-api-key: ${{ secrets.TWITTER_API_KEY }}
telegram-api-hash: ${{ secrets.TELEGRAM_API_HASH }}
telegram-api-id: ${{ secrets.TELEGRAM_API_ID }}
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/generate_group_prod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ jobs:
gitcoin-api-key: ${{ secrets.GITCOIN_API_KEY }}
ankr-api-key: ${{ secrets.ANKR_API_KEY }}
github-token: ${{ secrets.SH_GITHUB_TOKEN }}
tally-api-key: ${{ secrets.TALLY_API_KEY }}
twitter-api-key: ${{ secrets.TWITTER_API_KEY }}
telegram-api-hash: ${{ secrets.TELEGRAM_API_HASH }}
telegram-api-id: ${{ secrets.TELEGRAM_API_ID }}
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/generate_group_staging.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ jobs:
gitcoin-api-key: ${{ secrets.GITCOIN_API_KEY }}
ankr-api-key: ${{ secrets.ANKR_API_KEY }}
github-token: ${{ secrets.SH_GITHUB_TOKEN }}
tally-api-key: ${{ secrets.TALLY_API_KEY }}
twitter-api-key: ${{ secrets.TWITTER_API_KEY }}
telegram-api-hash: ${{ secrets.TELEGRAM_API_HASH }}
telegram-api-id: ${{ secrets.TELEGRAM_API_ID }}
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/generate_group_testnets.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ jobs:
gitcoin-api-key: ${{ secrets.GITCOIN_API_KEY }}
ankr-api-key: ${{ secrets.ANKR_API_KEY }}
github-token: ${{ secrets.SH_GITHUB_TOKEN }}
tally-api-key: ${{ secrets.TALLY_API_KEY }}
twitter-api-key: ${{ secrets.TWITTER_API_KEY }}
telegram-api-hash: ${{ secrets.TELEGRAM_API_HASH }}
telegram-api-id: ${{ secrets.TELEGRAM_API_ID }}
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/generate_groups_send_on_chain_prod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ jobs:
gitcoin-api-key: ${{ secrets.GITCOIN_API_KEY }}
ankr-api-key: ${{ secrets.ANKR_API_KEY }}
github-token: ${{ secrets.SH_GITHUB_TOKEN }}
tally-api-key: ${{ secrets.TALLY_API_KEY }}
twitter-api-key: ${{ secrets.TWITTER_API_KEY }}
telegram-api-hash: ${{ secrets.TELEGRAM_API_HASH }}
telegram-api-id: ${{ secrets.TELEGRAM_API_ID }}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ jobs:
gitcoin-api-key: ${{ secrets.GITCOIN_API_KEY }}
ankr-api-key: ${{ secrets.ANKR_API_KEY }}
github-token: ${{ secrets.SH_GITHUB_TOKEN }}
tally-api-key: ${{ secrets.TALLY_API_KEY }}
twitter-api-key: ${{ secrets.TWITTER_API_KEY }}
telegram-api-hash: ${{ secrets.TELEGRAM_API_HASH }}
telegram-api-id: ${{ secrets.TELEGRAM_API_ID }}
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -79,4 +79,5 @@ jobs:
GITCOIN_API_KEY: test
ANKR_API_KEY: test
ROCI_API_KEY: test
TALLY_API_KEY: test
run: npx serverless webpack
1 change: 1 addition & 0 deletions .github/workflows/update_groups_daily_prod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ jobs:
gitcoin-api-key: ${{ secrets.GITCOIN_API_KEY }}
ankr-api-key: ${{ secrets.ANKR_API_KEY }}
github-token: ${{ secrets.SH_GITHUB_TOKEN }}
tally-api-key: ${{ secrets.TALLY_API_KEY }}
twitter-api-key: ${{ secrets.TWITTER_API_KEY }}
telegram-api-hash: ${{ secrets.TELEGRAM_API_HASH }}
telegram-api-id: ${{ secrets.TELEGRAM_API_ID }}
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/update_groups_daily_staging.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ jobs:
gitcoin-api-key: ${{ secrets.GITCOIN_API_KEY }}
ankr-api-key: ${{ secrets.ANKR_API_KEY }}
github-token: ${{ secrets.SH_GITHUB_TOKEN }}
tally-api-key: ${{ secrets.TALLY_API_KEY }}
twitter-api-key: ${{ secrets.TWITTER_API_KEY }}
telegram-api-hash: ${{ secrets.TELEGRAM_API_HASH }}
telegram-api-id: ${{ secrets.TELEGRAM_API_ID }}
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/update_groups_daily_testnets.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ jobs:
gitcoin-api-key: ${{ secrets.GITCOIN_API_KEY }}
ankr-api-key: ${{ secrets.ANKR_API_KEY }}
github-token: ${{ secrets.SH_GITHUB_TOKEN }}
tally-api-key: ${{ secrets.TALLY_API_KEY }}
twitter-api-key: ${{ secrets.TWITTER_API_KEY }}
telegram-api-hash: ${{ secrets.TELEGRAM_API_HASH }}
telegram-api-id: ${{ secrets.TELEGRAM_API_ID }}
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/update_groups_metadata_prod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ jobs:
gitcoin-api-key: ${{ secrets.GITCOIN_API_KEY }}
ankr-api-key: ${{ secrets.ANKR_API_KEY }}
github-token: ${{ secrets.SH_GITHUB_TOKEN }}
tally-api-key: ${{ secrets.TALLY_API_KEY }}
twitter-api-key: ${{ secrets.TWITTER_API_KEY }}
telegram-api-hash: ${{ secrets.TELEGRAM_API_HASH }}
telegram-api-id: ${{ secrets.TELEGRAM_API_ID }}
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/update_groups_metadata_staging.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ jobs:
gitcoin-api-key: ${{ secrets.GITCOIN_API_KEY }}
ankr-api-key: ${{ secrets.ANKR_API_KEY }}
github-token: ${{ secrets.SH_GITHUB_TOKEN }}
tally-api-key: ${{ secrets.TALLY_API_KEY }}
twitter-api-key: ${{ secrets.TWITTER_API_KEY }}
telegram-api-hash: ${{ secrets.TELEGRAM_API_HASH }}
telegram-api-id: ${{ secrets.TELEGRAM_API_ID }}
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/update_groups_metadata_testnets.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ jobs:
gitcoin-api-key: ${{ secrets.GITCOIN_API_KEY }}
ankr-api-key: ${{ secrets.ANKR_API_KEY }}
github-token: ${{ secrets.SH_GITHUB_TOKEN }}
tally-api-key: ${{ secrets.TALLY_API_KEY }}
twitter-api-key: ${{ secrets.TWITTER_API_KEY }}
telegram-api-hash: ${{ secrets.TELEGRAM_API_HASH }}
telegram-api-id: ${{ secrets.TELEGRAM_API_ID }}
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/update_groups_weekly_prod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ jobs:
gitcoin-api-key: ${{ secrets.GITCOIN_API_KEY }}
ankr-api-key: ${{ secrets.ANKR_API_KEY }}
github-token: ${{ secrets.SH_GITHUB_TOKEN }}
tally-api-key: ${{ secrets.TALLY_API_KEY }}
twitter-api-key: ${{ secrets.TWITTER_API_KEY }}
telegram-api-hash: ${{ secrets.TELEGRAM_API_HASH }}
telegram-api-id: ${{ secrets.TELEGRAM_API_ID }}
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/update_groups_weekly_staging.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ jobs:
gitcoin-api-key: ${{ secrets.GITCOIN_API_KEY }}
ankr-api-key: ${{ secrets.ANKR_API_KEY }}
github-token: ${{ secrets.SH_GITHUB_TOKEN }}
tally-api-key: ${{ secrets.TALLY_API_KEY }}
twitter-api-key: ${{ secrets.TWITTER_API_KEY }}
telegram-api-hash: ${{ secrets.TELEGRAM_API_HASH }}
telegram-api-id: ${{ secrets.TELEGRAM_API_ID }}
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/update_groups_weekly_testnets.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ jobs:
gitcoin-api-key: ${{ secrets.GITCOIN_API_KEY }}
ankr-api-key: ${{ secrets.ANKR_API_KEY }}
github-token: ${{ secrets.SH_GITHUB_TOKEN }}
tally-api-key: ${{ secrets.TALLY_API_KEY }}
twitter-api-key: ${{ secrets.TWITTER_API_KEY }}
telegram-api-hash: ${{ secrets.TELEGRAM_API_HASH }}
telegram-api-id: ${{ secrets.TELEGRAM_API_ID }}
Expand Down
2 changes: 2 additions & 0 deletions group-generators/generators/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -708,6 +708,7 @@ import t0xci from "./t0xci";
import talentOfTheMonthSolidityMarch2023 from "./talent-of-the-month-solidity-march-2023";
import talentlayer from "./talentlayer";
import talentofthemonthDesignMarch from "./talentofthemonth-design-march";
import tally from './tally';
import tallyHoGithubStargazers from "./tally-ho-github-stargazers";
import tarozzy from "./tarozzy";
import tayaFans from "./taya-fans";
Expand Down Expand Up @@ -1564,6 +1565,7 @@ export const groupGenerators: GroupGeneratorsLibrary = {
"talent-of-the-month-solidity-march-2023": talentOfTheMonthSolidityMarch2023,
"talentlayer": talentlayer,
"talentofthemonth-design-march": talentofthemonthDesignMarch,
"tally": tally,
"tally-ho-github-stargazers": tallyHoGithubStargazers,
"tarozzy": tarozzy,
"taya-fans": tayaFans,
Expand Down
33 changes: 33 additions & 0 deletions group-generators/generators/tally/index.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
import { dataProviders } from "@group-generators/helpers/data-providers";
import { GroupWithData, Tags, ValueType } 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 TallyProvider = new dataProviders.TallyProvider();

const input = {
governance: "Aave",
// proposalId: 315,
};
const tallyGetGovernanceProposers = await TallyProvider.getGovernanceProposers(input);

return [
{
name: "example-tally",
timestamp: context.timestamp,
description: "Tally governance",
specs: "",
data: tallyGetGovernanceProposers,
valueType: ValueType.Score,
tags: [Tags.Vote],
},
];
},
};

export default generator;
11 changes: 10 additions & 1 deletion group-generators/helpers/data-providers/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,8 @@ import snapshotInterfaceSchema from "./snapshot/interface-schema.json";
import { SubgraphHostedServiceProvider, SubgraphDecentralizedServiceProvider } from "./subgraph";
import { TalentLayerProvider } from "./talentlayer";
import talentLayerProviderInterfaceSchema from "./talentlayer/interface-schema.json";
import { TallyProvider } from "./tally";
import tallyProviderInterfaceSchema from "./tally/interface-schema.json";
import { TokenProvider } from "./token-provider";
import tokenProviderInterfaceSchema from "./token-provider/interface-schema.json";
import { TransposeProvider } from "./transpose";
Expand All @@ -59,7 +61,6 @@ import {
DataProviders,
supportedArgTypesInterfaces,
} from "topics/data-provider";

export const dataProviders = {
AlchemyProvider,
AttestationStationProvider,
Expand Down Expand Up @@ -95,6 +96,7 @@ export const dataProviders = {
SubgraphDecentralizedServiceProvider,
SnapshotProvider,
TalentLayerProvider,
TallyProvider,
TokenProvider,
TransposeProvider,
UnlockSubgraphProvider,
Expand All @@ -119,6 +121,7 @@ export const dataProvidersInterfacesSchemas: DataProviderInterface[] = [
snapshotInterfaceSchema,
subgraph101InterfaceSchema,
talentLayerProviderInterfaceSchema,
tallyProviderInterfaceSchema,
tokenProviderInterfaceSchema,
unlockProviderInterfaceSchema,
wiwBadgeInterfaceSchema,
Expand Down Expand Up @@ -242,6 +245,12 @@ export const dataProvidersAPIEndpoints = {
getTalentOfTheMonthCount: async (_: any) =>
new TalentLayerProvider().getTalentOfTheMonthCount(_),
},
TallyProvider: {
getGovernanceProposersCount: async (_: any) =>
new TallyProvider().getGovernanceProposersCount(_),
getGovernanceVotersCount: async (_: any) => new TallyProvider().getGovernanceVotersCount(_),
getProposalVotersCount: async (_: any) => new TallyProvider().getProposalVotersCount(_),
},
TokenProvider: {
getERC20HoldersCount: async (_: any) => new TokenProvider().getERC20HoldersCount(_),
getERC721HoldersCount: async (_: any) => new TokenProvider().getERC721HoldersCount(_),
Expand Down
5 changes: 5 additions & 0 deletions group-generators/helpers/data-providers/tally/index.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
import TallyProvider from "./provider";

import { ITallyProvider } from "./types";

export { TallyProvider, ITallyProvider };
Loading

0 comments on commit e99900c

Please sign in to comment.