https://github.com/developerfred/gitcoin-grants-subgraph
Gitcoin Grants Subgraph
https://github.com/developerfred/gitcoin-grants-subgraph
codingsh gitcoin subgraph
Last synced: 8 months ago
JSON representation
Gitcoin Grants Subgraph
- Host: GitHub
- URL: https://github.com/developerfred/gitcoin-grants-subgraph
- Owner: developerfred
- Created: 2020-12-03T09:33:01.000Z (about 5 years ago)
- Default Branch: main
- Last Pushed: 2022-12-11T23:47:34.000Z (about 3 years ago)
- Last Synced: 2025-02-17T06:42:18.788Z (11 months ago)
- Topics: codingsh, gitcoin, subgraph
- Language: TypeScript
- Homepage:
- Size: 677 KB
- Stars: 3
- Watchers: 3
- Forks: 0
- Open Issues: 8
-
Metadata Files:
- Readme: Readme.md
- Security: SECURITY.md
Awesome Lists containing this project
README
# Gitcoin Grants SubGraph
A TheGraph's subgraph showcasing all donations executed in Gitcoin Grants.
### Querys GraphQl
Payout Claims
```graphql
{
payoutClaimeds(first: 100) {
id
recipient
amount
}
}
```
Donations Sents
```graphql
{
donationSents(first: 5) {
id
token
amount
dest
donor
}
depositMades(first: 5) {
id
token
amount
user
}
}
```
# Contracts
### Bulk Checkout
BulkCheckout.sol improves the checkout UX and reduces gas costs by enabling users to donate to multiple grants with one L1 transaction (ignoring the required ERC20 approval transactions). This contract has been deployed on both Mainnet and Rinkeby at 0x7d655c57f71464B6f83811C55D84009Cd9f5221C and was compiled with Solidity 0.6.7.
### Batch ZkSync Deposit
The deposit functions on the zkSync contract only allow users to deposit one currency per transaction. This means if a user wants to use zkSync to donate, for example, ETH, USDC, and DAI to different grants, three transactions would be required to deposit all three currencies into zkSync. BatchZkSyncDeposit.sol improves the UX of this process and reduces gas costs by batching these deposit calls, so all three deposits are executed with just one L1 transaction (ignoring the required ERC20 approval transactions).
This contract has been deployed on both Mainnet and Rinkeby at 0x9D37F793E5eD4EbD66d62D505684CD9f756504F6 and was compiled with Solidity 0.6.12.
### [Match Payouts](https://github.com/gitcoinco/matching_contracts/blob/main/contracts/MatchPayouts.sol)
This contract has been deployed on both Mainnet and Rinkeby at 0xf2354570bE2fB420832Fb7Ff6ff0AE0dF80CF2c6 and was compiled with Solidity 0.7.5.
[more info](https://github.com/gitcoinco/BulkTransactions)
---
[@codingsh Grants](https://gitcoin.co/grants/646/gitcoin-developer-grant-codignsh)