Skip to content

Commit

Permalink
refactor: use governance contracts
Browse files Browse the repository at this point in the history
  • Loading branch information
coreyar committed Sep 4, 2023
1 parent b4c30ac commit acf874a
Show file tree
Hide file tree
Showing 3 changed files with 2,497 additions and 1,262 deletions.
5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,8 @@
"postinstall": "patch-package && ./copy_contracts.sh"
},
"devDependencies": {
"@graphprotocol/client-cli": "^2.2.16",
"@graphprotocol/graph-cli": "0.33.0",
"@graphprotocol/client-cli": "^3.0.0",
"@graphprotocol/graph-cli": "0.55.0",
"@graphprotocol/graph-ts": "0.27.0",
"@nomicfoundation/hardhat-chai-matchers": "^1.0.3",
"@nomicfoundation/hardhat-network-helpers": "^1.0.4",
Expand All @@ -48,6 +48,7 @@
"@types/mustache": "^4.2.1",
"@typescript-eslint/eslint-plugin": "^5.40.1",
"@typescript-eslint/parser": "^5.40.1",
"@venusprotocol/governance-contracts": "^1.0.0",
"@venusprotocol/isolated-pools": "1.0.0",
"@venusprotocol/oracle": "^1.4.1",
"@venusprotocol/venus-protocol": "^0.6.0",
Expand Down
2 changes: 1 addition & 1 deletion subgraphs/venus-governance/template.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -228,7 +228,7 @@ dataSources:
- Permission
abis:
- name: AccessControlManger
file: ../../node_modules/@venusprotocol/isolated-pools/artifacts/@venusprotocol/governance-contracts/contracts/Governance/AccessControlManager.sol/AccessControlManager.json
file: ../../node_modules/@venusprotocol/governance-contracts/artifacts/contracts/Governance/AccessControlManager.sol/AccessControlManager.json
eventHandlers:
- event: PermissionGranted(address,address,string)
handler: handlePermissionGranted
Expand Down
Loading

0 comments on commit acf874a

Please sign in to comment.