Skip to content

Commit

Permalink
refactor: use governance contracts package
Browse files Browse the repository at this point in the history
  • Loading branch information
coreyar committed Sep 4, 2023
1 parent 7322689 commit 428b6d8
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 1 deletion.
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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
8 changes: 8 additions & 0 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -4560,6 +4560,13 @@ __metadata:
languageName: node
linkType: hard

"@venusprotocol/governance-contracts@npm:^1.0.0":
version: 1.0.0
resolution: "@venusprotocol/governance-contracts@npm:1.0.0"
checksum: 8df88f2e702da976861f6e409ab109dec24f8ac4e4e049da505ee36d36af6c2478bb4b6a2f3401f360578bd167512cb016227526bf81ebfdf3ca91ef473e7f87
languageName: node
linkType: hard

"@venusprotocol/isolated-pools@npm:1.0.0":
version: 1.0.0
resolution: "@venusprotocol/isolated-pools@npm:1.0.0"
Expand Down Expand Up @@ -14907,6 +14914,7 @@ __metadata:
"@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

0 comments on commit 428b6d8

Please sign in to comment.