-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #11 from gnosis/updates
Account for Uni V3, Balancer & sGNO
- Loading branch information
Showing
88 changed files
with
66,937 additions
and
9,801 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,7 @@ | ||
**/node_modules | ||
**/build | ||
**/generated | ||
node_modules | ||
build | ||
build-gc | ||
generated | ||
generated-gc | ||
**/.DS_Store | ||
**/artifacts/ | ||
**/env/ | ||
**/.env | ||
**/.history | ||
**/coverage* | ||
**/deployments | ||
.devcontainer | ||
**/.bin/ | ||
tests/.bin |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
{ | ||
"tabWidth": 2, | ||
"singleQuote": false, | ||
"trailingComma": "es5" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,23 @@ | ||
# GNO Voting Power | ||
This repo is a collection of subgraphs which aggregate the balance of GNO held in multiple multiple contracts on several networks. | ||
|
||
This repo is a collection of subgraphs which aggregate the balance of GNO held in multiple contracts on several networks. | ||
|
||
Currently, it tracks GNO balances in: | ||
* Ethereum Mainnet: | ||
- [ ] GNO | ||
- [ ] lGNO | ||
- [ ] Uniswap v3 | ||
- [ ] Balancer | ||
* Gnosis Chain: | ||
|
||
- Ethereum Mainnet: | ||
- [x] GNO | ||
- [x] LGNO | ||
- [x] Uniswap v3 | ||
- [x] Balancer | ||
- Gnosis Chain: | ||
- [x] GNO | ||
- [x] mgno | ||
- [x] lgno | ||
- [x] staking deposits | ||
- [x] mGNO | ||
- [x] sGNO | ||
- [x] LGNO | ||
- [x] Beacon Chain validator deposits | ||
- [x] 1Hive | ||
- [x] swapper | ||
- [x] sushiswap | ||
- [x] elk | ||
- [x] baoswap | ||
- [ ] symetric | ||
- [ ] agave | ||
- [x] Swapper | ||
- [x] SushiSwap | ||
- [x] Elk | ||
- [x] Baoswap | ||
- [x] Symmetric |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,194 @@ | ||
[ | ||
{ | ||
"type": "constructor", | ||
"stateMutability": "nonpayable", | ||
"inputs": [ | ||
{ "type": "address", "name": "_token", "internalType": "address" } | ||
] | ||
}, | ||
{ | ||
"type": "event", | ||
"name": "DepositEvent", | ||
"inputs": [ | ||
{ | ||
"type": "bytes", | ||
"name": "pubkey", | ||
"internalType": "bytes", | ||
"indexed": false | ||
}, | ||
{ | ||
"type": "bytes", | ||
"name": "withdrawal_credentials", | ||
"internalType": "bytes", | ||
"indexed": false | ||
}, | ||
{ | ||
"type": "bytes", | ||
"name": "amount", | ||
"internalType": "bytes", | ||
"indexed": false | ||
}, | ||
{ | ||
"type": "bytes", | ||
"name": "signature", | ||
"internalType": "bytes", | ||
"indexed": false | ||
}, | ||
{ | ||
"type": "bytes", | ||
"name": "index", | ||
"internalType": "bytes", | ||
"indexed": false | ||
} | ||
], | ||
"anonymous": false | ||
}, | ||
{ | ||
"type": "event", | ||
"name": "Paused", | ||
"inputs": [ | ||
{ | ||
"type": "address", | ||
"name": "account", | ||
"internalType": "address", | ||
"indexed": false | ||
} | ||
], | ||
"anonymous": false | ||
}, | ||
{ | ||
"type": "event", | ||
"name": "Unpaused", | ||
"inputs": [ | ||
{ | ||
"type": "address", | ||
"name": "account", | ||
"internalType": "address", | ||
"indexed": false | ||
} | ||
], | ||
"anonymous": false | ||
}, | ||
{ | ||
"type": "function", | ||
"stateMutability": "nonpayable", | ||
"outputs": [], | ||
"name": "batchDeposit", | ||
"inputs": [ | ||
{ "type": "bytes", "name": "pubkeys", "internalType": "bytes" }, | ||
{ | ||
"type": "bytes", | ||
"name": "withdrawal_credentials", | ||
"internalType": "bytes" | ||
}, | ||
{ "type": "bytes", "name": "signatures", "internalType": "bytes" }, | ||
{ | ||
"type": "bytes32[]", | ||
"name": "deposit_data_roots", | ||
"internalType": "bytes32[]" | ||
} | ||
] | ||
}, | ||
{ | ||
"type": "function", | ||
"stateMutability": "nonpayable", | ||
"outputs": [], | ||
"name": "claimTokens", | ||
"inputs": [ | ||
{ "type": "address", "name": "_token", "internalType": "address" }, | ||
{ "type": "address", "name": "_to", "internalType": "address" } | ||
] | ||
}, | ||
{ | ||
"type": "function", | ||
"stateMutability": "nonpayable", | ||
"outputs": [], | ||
"name": "deposit", | ||
"inputs": [ | ||
{ "type": "bytes", "name": "pubkey", "internalType": "bytes" }, | ||
{ | ||
"type": "bytes", | ||
"name": "withdrawal_credentials", | ||
"internalType": "bytes" | ||
}, | ||
{ "type": "bytes", "name": "signature", "internalType": "bytes" }, | ||
{ | ||
"type": "bytes32", | ||
"name": "deposit_data_root", | ||
"internalType": "bytes32" | ||
}, | ||
{ "type": "uint256", "name": "stake_amount", "internalType": "uint256" } | ||
] | ||
}, | ||
{ | ||
"type": "function", | ||
"stateMutability": "view", | ||
"outputs": [{ "type": "bytes", "name": "", "internalType": "bytes" }], | ||
"name": "get_deposit_count", | ||
"inputs": [] | ||
}, | ||
{ | ||
"type": "function", | ||
"stateMutability": "view", | ||
"outputs": [{ "type": "bytes32", "name": "", "internalType": "bytes32" }], | ||
"name": "get_deposit_root", | ||
"inputs": [] | ||
}, | ||
{ | ||
"type": "function", | ||
"stateMutability": "nonpayable", | ||
"outputs": [{ "type": "bool", "name": "", "internalType": "bool" }], | ||
"name": "onTokenTransfer", | ||
"inputs": [ | ||
{ "type": "address", "name": "", "internalType": "address" }, | ||
{ "type": "uint256", "name": "stake_amount", "internalType": "uint256" }, | ||
{ "type": "bytes", "name": "data", "internalType": "bytes" } | ||
] | ||
}, | ||
{ | ||
"type": "function", | ||
"stateMutability": "nonpayable", | ||
"outputs": [], | ||
"name": "pause", | ||
"inputs": [] | ||
}, | ||
{ | ||
"type": "function", | ||
"stateMutability": "view", | ||
"outputs": [{ "type": "bool", "name": "", "internalType": "bool" }], | ||
"name": "paused", | ||
"inputs": [] | ||
}, | ||
{ | ||
"type": "function", | ||
"stateMutability": "view", | ||
"outputs": [ | ||
{ "type": "address", "name": "", "internalType": "contract IERC20" } | ||
], | ||
"name": "stake_token", | ||
"inputs": [] | ||
}, | ||
{ | ||
"type": "function", | ||
"stateMutability": "pure", | ||
"outputs": [{ "type": "bool", "name": "", "internalType": "bool" }], | ||
"name": "supportsInterface", | ||
"inputs": [ | ||
{ "type": "bytes4", "name": "interfaceId", "internalType": "bytes4" } | ||
] | ||
}, | ||
{ | ||
"type": "function", | ||
"stateMutability": "nonpayable", | ||
"outputs": [], | ||
"name": "unpause", | ||
"inputs": [] | ||
}, | ||
{ | ||
"type": "function", | ||
"stateMutability": "view", | ||
"outputs": [{ "type": "bytes32", "name": "", "internalType": "bytes32" }], | ||
"name": "validator_withdrawal_credentials", | ||
"inputs": [{ "type": "bytes", "name": "", "internalType": "bytes" }] | ||
} | ||
] |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,115 @@ | ||
{ | ||
"contractName": "BFactory", | ||
"abi": [{ | ||
"inputs": [], | ||
"payable": false, | ||
"stateMutability": "nonpayable", | ||
"type": "constructor" | ||
}, { | ||
"anonymous": false, | ||
"inputs": [{ | ||
"indexed": true, | ||
"internalType": "address", | ||
"name": "caller", | ||
"type": "address" | ||
}, { | ||
"indexed": true, | ||
"internalType": "address", | ||
"name": "blabs", | ||
"type": "address" | ||
}], | ||
"name": "LOG_BLABS", | ||
"type": "event" | ||
}, { | ||
"anonymous": false, | ||
"inputs": [{ | ||
"indexed": true, | ||
"internalType": "address", | ||
"name": "caller", | ||
"type": "address" | ||
}, { | ||
"indexed": true, | ||
"internalType": "address", | ||
"name": "pool", | ||
"type": "address" | ||
}], | ||
"name": "LOG_NEW_POOL", | ||
"type": "event" | ||
}, { | ||
"constant": false, | ||
"inputs": [{ | ||
"internalType": "contract BPool", | ||
"name": "pool", | ||
"type": "address" | ||
}], | ||
"name": "collect", | ||
"outputs": [], | ||
"payable": false, | ||
"stateMutability": "nonpayable", | ||
"type": "function" | ||
}, { | ||
"constant": true, | ||
"inputs": [], | ||
"name": "getBLabs", | ||
"outputs": [{ | ||
"internalType": "address", | ||
"name": "", | ||
"type": "address" | ||
}], | ||
"payable": false, | ||
"stateMutability": "view", | ||
"type": "function" | ||
}, { | ||
"constant": true, | ||
"inputs": [], | ||
"name": "getColor", | ||
"outputs": [{ | ||
"internalType": "bytes32", | ||
"name": "", | ||
"type": "bytes32" | ||
}], | ||
"payable": false, | ||
"stateMutability": "view", | ||
"type": "function" | ||
}, { | ||
"constant": true, | ||
"inputs": [{ | ||
"internalType": "address", | ||
"name": "b", | ||
"type": "address" | ||
}], | ||
"name": "isBPool", | ||
"outputs": [{ | ||
"internalType": "bool", | ||
"name": "", | ||
"type": "bool" | ||
}], | ||
"payable": false, | ||
"stateMutability": "view", | ||
"type": "function" | ||
}, { | ||
"constant": false, | ||
"inputs": [], | ||
"name": "newBPool", | ||
"outputs": [{ | ||
"internalType": "contract BPool", | ||
"name": "", | ||
"type": "address" | ||
}], | ||
"payable": false, | ||
"stateMutability": "nonpayable", | ||
"type": "function" | ||
}, { | ||
"constant": false, | ||
"inputs": [{ | ||
"internalType": "address", | ||
"name": "b", | ||
"type": "address" | ||
}], | ||
"name": "setBLabs", | ||
"outputs": [], | ||
"payable": false, | ||
"stateMutability": "nonpayable", | ||
"type": "function" | ||
}] | ||
} |
Oops, something went wrong.