Skip to content

Commit

Permalink
feat: binance stamp
Browse files Browse the repository at this point in the history
  • Loading branch information
tim-schultz committed Jul 5, 2024
1 parent 2211a8e commit c275edc
Show file tree
Hide file tree
Showing 3 changed files with 113 additions and 76 deletions.
1 change: 1 addition & 0 deletions api/scorer/settings/gitcoin_passport_weights.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@
"zkSyncScore#20": "1.67",
"zkSyncScore#50": "1.67",
"zkSyncScore#5": "1.67",
"BinanceBABT": "16.021",
}


Expand Down
153 changes: 77 additions & 76 deletions examples/onchain-stamps-app/src/app/stamp-weights.ts
Original file line number Diff line number Diff line change
@@ -1,78 +1,79 @@
export const GITCOIN_PASSPORT_WEIGHTS: Object = {
'Brightid': '0.689',
'CivicCaptchaPass': '1',
'CivicLivenessPass': '2.25',
'CivicUniquenessPass': '2.25',
'Coinbase': '1.35',
'CommunityStakingBronze': '1.27',
'CommunityStakingGold': '1.27',
'CommunityStakingSilver': '1.27',
'Discord': '0.689',
'Ens': '2.2',
'EthGasProvider': '2.4',
'EthGTEOneTxnProvider': '1.27',
'ethPossessionsGte#1': '1.79',
'ethPossessionsGte#10': '1.27',
'ethPossessionsGte#32': '1.27',
'Facebook': '0.689',
'FacebookProfilePicture': '0.689',
'FirstEthTxnProvider': '1.16',
'GitcoinContributorStatistics#numGr14ContributionsGte#1': '1.41',
'GitcoinContributorStatistics#numGrantsContributeToGte#1': '1.57',
'GitcoinContributorStatistics#numGrantsContributeToGte#10': '2.30',
'GitcoinContributorStatistics#numGrantsContributeToGte#100': '0.52',
'GitcoinContributorStatistics#numGrantsContributeToGte#25': '1.48',
'GitcoinContributorStatistics#numRoundsContributedToGte#1': '1.57',
'GitcoinContributorStatistics#totalContributionAmountGte#10': '1.53',
'GitcoinContributorStatistics#totalContributionAmountGte#100': '1.37',
'GitcoinContributorStatistics#totalContributionAmountGte#1000': '1.18',
'GitcoinGranteeStatistics#numGrantContributors#10': '0.71',
'GitcoinGranteeStatistics#numGrantContributors#100': '0.73',
'GitcoinGranteeStatistics#numGrantContributors#25': '0.61',
'GitcoinGranteeStatistics#numGrantsInEcoAndCauseRound#1': '1.18',
'GitcoinGranteeStatistics#numOwnedGrants#1': '1.10',
'GitcoinGranteeStatistics#totalContributionAmount#100': '0.689',
'GitcoinGranteeStatistics#totalContributionAmount#1000': '0.689',
'GitcoinGranteeStatistics#totalContributionAmount#10000': '0.689',
'githubAccountCreationGte#180': '1.21',
'githubAccountCreationGte#365': '1.21',
'githubAccountCreationGte#90': '1.21',
'githubContributionActivityGte#120': '1.21',
'githubContributionActivityGte#30': '1.21',
'githubContributionActivityGte#60': '1.21',
'GitPOAP': '1.54',
'GnosisSafe': '2.65',
'Google': '2.25',
'GuildAdmin': '0.689',
'GuildMember': '0.689',
'GuildPassportMember': '0.689',
'HolonymGovIdProvider': '4',
'Hypercerts': '0.689',
'IdenaAge#10': '1.48',
'IdenaAge#5': '1.48',
'IdenaStake#100k': '1.41',
'IdenaStake#10k': '1.16',
'IdenaStake#1k': '0.9',
'IdenaState#Human': '1.61',
'IdenaState#Newbie': '0.51',
'IdenaState#Verified': '1.35',
'Lens': '2.45',
'Linkedin': '2.45',
'NFT': '0.69',
'PHIActivityGold': '1.16',
'PHIActivitySilver': '1.67',
'Poh': '1.21',
'SelfStakingBronze': '1.21',
'SelfStakingGold': '1.21',
'SelfStakingSilver': '1.21',
'SnapshotProposalsProvider': '2.82',
'SnapshotVotesProvider': '1.41',
'twitterAccountAgeGte#180': '1.21',
'twitterAccountAgeGte#365': '1.21',
'twitterAccountAgeGte#730': '1.21',
'twitterTweetDaysGte#30': '1.21',
'twitterTweetDaysGte#60': '1.21',
'twitterTweetDaysGte#120': '1.21',
'ZkSync': '0.400',
'ZkSyncEra': '0.400',
'Brightid': '0.689',
'CivicCaptchaPass': '1',
'CivicLivenessPass': '2.25',
'CivicUniquenessPass': '2.25',
'Coinbase': '1.35',
'CommunityStakingBronze': '1.27',
'CommunityStakingGold': '1.27',
'CommunityStakingSilver': '1.27',
'Discord': '0.689',
'Ens': '2.2',
'EthGasProvider': '2.4',
'EthGTEOneTxnProvider': '1.27',
'ethPossessionsGte#1': '1.79',
'ethPossessionsGte#10': '1.27',
'ethPossessionsGte#32': '1.27',
'Facebook': '0.689',
'FacebookProfilePicture': '0.689',
'FirstEthTxnProvider': '1.16',
'GitcoinContributorStatistics#numGr14ContributionsGte#1': '1.41',
'GitcoinContributorStatistics#numGrantsContributeToGte#1': '1.57',
'GitcoinContributorStatistics#numGrantsContributeToGte#10': '2.30',
'GitcoinContributorStatistics#numGrantsContributeToGte#100': '0.52',
'GitcoinContributorStatistics#numGrantsContributeToGte#25': '1.48',
'GitcoinContributorStatistics#numRoundsContributedToGte#1': '1.57',
'GitcoinContributorStatistics#totalContributionAmountGte#10': '1.53',
'GitcoinContributorStatistics#totalContributionAmountGte#100': '1.37',
'GitcoinContributorStatistics#totalContributionAmountGte#1000': '1.18',
'GitcoinGranteeStatistics#numGrantContributors#10': '0.71',
'GitcoinGranteeStatistics#numGrantContributors#100': '0.73',
'GitcoinGranteeStatistics#numGrantContributors#25': '0.61',
'GitcoinGranteeStatistics#numGrantsInEcoAndCauseRound#1': '1.18',
'GitcoinGranteeStatistics#numOwnedGrants#1': '1.10',
'GitcoinGranteeStatistics#totalContributionAmount#100': '0.689',
'GitcoinGranteeStatistics#totalContributionAmount#1000': '0.689',
'GitcoinGranteeStatistics#totalContributionAmount#10000': '0.689',
'githubAccountCreationGte#180': '1.21',
'githubAccountCreationGte#365': '1.21',
'githubAccountCreationGte#90': '1.21',
'githubContributionActivityGte#120': '1.21',
'githubContributionActivityGte#30': '1.21',
'githubContributionActivityGte#60': '1.21',
'GitPOAP': '1.54',
'GnosisSafe': '2.65',
'Google': '2.25',
'GuildAdmin': '0.689',
'GuildMember': '0.689',
'GuildPassportMember': '0.689',
'HolonymGovIdProvider': '4',
'Hypercerts': '0.689',
'IdenaAge#10': '1.48',
'IdenaAge#5': '1.48',
'IdenaStake#100k': '1.41',
'IdenaStake#10k': '1.16',
'IdenaStake#1k': '0.9',
'IdenaState#Human': '1.61',
'IdenaState#Newbie': '0.51',
'IdenaState#Verified': '1.35',
'Lens': '2.45',
'Linkedin': '2.45',
'NFT': '0.69',
'PHIActivityGold': '1.16',
'PHIActivitySilver': '1.67',
'Poh': '1.21',
'SelfStakingBronze': '1.21',
'SelfStakingGold': '1.21',
'SelfStakingSilver': '1.21',
'SnapshotProposalsProvider': '2.82',
'SnapshotVotesProvider': '1.41',
'twitterAccountAgeGte#180': '1.21',
'twitterAccountAgeGte#365': '1.21',
'twitterAccountAgeGte#730': '1.21',
'twitterTweetDaysGte#30': '1.21',
'twitterTweetDaysGte#60': '1.21',
'twitterTweetDaysGte#120': '1.21',
'ZkSync': '0.400',
'ZkSyncEra': '0.400',
'BinanceBABT': '16.021'
}
35 changes: 35 additions & 0 deletions lefthook.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
# EXAMPLE USAGE:
#
# Refer for explanation to following link:
# https://github.com/evilmartians/lefthook/blob/master/docs/configuration.md
#
# pre-push:
# commands:
# packages-audit:
# tags: frontend security
# run: yarn audit
# gems-audit:
# tags: backend security
# run: bundle audit
#
# pre-commit:
# parallel: true
# commands:
# eslint:
# glob: "*.{js,ts,jsx,tsx}"
# run: yarn eslint {staged_files}
# rubocop:
# tags: backend style
# glob: "*.rb"
# exclude: '(^|/)(application|routes)\.rb$'
# run: bundle exec rubocop --force-exclusion {all_files}
# govet:
# tags: backend style
# files: git ls-files -m
# glob: "*.go"
# run: go vet {files}
# scripts:
# "hello.js":
# runner: node
# "any.go":
# runner: go run

0 comments on commit c275edc

Please sign in to comment.