Skip to content

Commit

Permalink
feat: add support for omnichain proposals
Browse files Browse the repository at this point in the history
  • Loading branch information
therealemjy committed Dec 4, 2024
1 parent 88a3ac6 commit 62b7997
Show file tree
Hide file tree
Showing 166 changed files with 9,398 additions and 2,705 deletions.
5 changes: 5 additions & 0 deletions .changeset/brown-birds-arrive.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@venusprotocol/evm": patch
---

fix small responsive issues with Governance feature
5 changes: 5 additions & 0 deletions .changeset/good-terms-fail.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@venusprotocol/evm": patch
---

fix governance subgraph URLs on Ethereum and Arbitrum One
5 changes: 5 additions & 0 deletions .changeset/honest-items-lick.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@venusprotocol/evm": minor
---

wire up execute button of remote proposals
5 changes: 5 additions & 0 deletions .changeset/hungry-vans-exist.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@venusprotocol/evm": minor
---

add links to transactions in Commands section of Proposal page
5 changes: 5 additions & 0 deletions .changeset/perfect-spoons-sin.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@venusprotocol/evm": minor
---

fetch Proposal page data from subgraph
5 changes: 5 additions & 0 deletions .changeset/rare-camels-switch.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@venusprotocol/evm": minor
---

list omnichain proposals on Proposal page
5 changes: 5 additions & 0 deletions .changeset/thin-hairs-vanish.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@venusprotocol/evm": minor
---

display executed payloads counts on proposal list
5 changes: 5 additions & 0 deletions .changeset/unlucky-planets-swim.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@venusprotocol/evm": minor
---

split governance subgraphs + remove proposal previews
2 changes: 1 addition & 1 deletion apps/evm/.env.template
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ VITE_RPC_HTTP_URL_OPBNB_TESTNET=
VITE_SUBGRAPH_MARKETS_URL_OPBNB_TESTNET=
VITE_SUBGRAPH_GOVERNANCE_URL_OPBNB_TESTNET=

## Arbitrum
# Arbitrum One
VITE_RPC_HTTP_URL_ARBITRUM_ONE=
VITE_SUBGRAPH_MARKETS_URL_ARBITRUM_ONE=
VITE_SUBGRAPH_GOVERNANCE_URL_ARBITRUM_ONE=
Expand Down
Empty file added apps/evm/.graphclientrc.yml
Empty file.
4 changes: 2 additions & 2 deletions apps/evm/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -427,14 +427,14 @@

### Minor Changes

- ea7b207: hide operations when multichainGovernance feature is enabled
- ea7b207: hide operations when omnichainGovernance feature is enabled
- ff6eae0: add median user averages for Prime estimations in Ethereum
- 8f39ec2: Add Commands component under Proposal page

### Patch Changes

- 8126a05: Add support for the ezETH token
- 7d39f90: Add multichainGovernance feature flag
- 7d39f90: Add omnichainGovernance feature flag

## 2.131.1

Expand Down
14 changes: 8 additions & 6 deletions apps/evm/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,9 @@
"tsc": "tsc --noEmit",
"extract-translations": "yarn i18next",
"generate-subgraph-types:isolated-pools": "yarn graphql-codegen --config src/config/codegen.ts --project isolatedPools",
"generate-subgraph-types:governance": "yarn graphql-codegen --config src/config/codegen.ts --project governance",
"generate-subgraph-types": "npm-run-all --parallel generate-subgraph-types:isolated-pools generate-subgraph-types:governance",
"generate-subgraph-types:governance-bsc": "yarn graphql-codegen --config src/config/codegen.ts --project governanceBsc",
"generate-subgraph-types:governance-non-bsc": "yarn graphql-codegen --config src/config/codegen.ts --project governanceNonBsc",
"generate-subgraph-types": "yarn generate-subgraph-types:isolated-pools && yarn generate-subgraph-types:governance-bsc && yarn generate-subgraph-types:governance-non-bsc",
"generate-contracts": "rimraf src/libs/contracts/generated/getters && rimraf src/libs/contracts/generated/infos && src/libs/contracts/scripts/generateContractRecords/index.ts && yarn biome format --vcs-use-ignore-file=false --write src/libs/contracts/generated",
"generate-pancake-swap-tokens": "src/libs/tokens/scripts/generatePancakeSwapTokenRecords/index.ts && yarn biome format --vcs-use-ignore-file=false --write src/libs/tokens/generated/pancakeSwapTokens/bscMainnet.ts",
"generate-token-accent-colors": "src/libs/tokens/scripts/generateTokenAccentColors/index.ts && yarn biome format --vcs-use-ignore-file=false --write src/libs/tokens/generated/tokenAccentColors.ts",
Expand Down Expand Up @@ -87,10 +88,11 @@
"@changesets/cli": "^2.27.1",
"@ethersproject/abi": "^5.7.0",
"@ethersproject/abstract-provider": "^5.7.0",
"@graphql-codegen/add": "^5.0.0",
"@graphprotocol/client-cli": "^3.0.7",
"@graphql-codegen/add": "^5.0.3",
"@graphql-codegen/cli": "^5.0.0",
"@graphql-codegen/client-preset": "^4.1.0",
"@graphql-codegen/typed-document-node": "^5.0.1",
"@graphql-codegen/client-preset": "^4.5.1",
"@graphql-codegen/typed-document-node": "^5.0.12",
"@graphql-codegen/typescript-operations": "^4.0.1",
"@rollup/plugin-inject": "^5.0.3",
"@storybook/addon-essentials": "^8.4.2",
Expand All @@ -115,7 +117,7 @@
"@types/recharts": "^1.8.23",
"@types/redux-actions": "^2.6.2",
"@types/styled-components": "^5.1.26",
"@venusprotocol/governance-contracts": "2.4.0",
"@venusprotocol/governance-contracts": "^2.5.0",
"@venusprotocol/isolated-pools": "3.6.0",
"@venusprotocol/oracle": "2.6.0",
"@venusprotocol/protocol-reserve": "2.4.0",
Expand Down
265 changes: 0 additions & 265 deletions apps/evm/src/__mocks__/api/proposals.json

This file was deleted.

17 changes: 0 additions & 17 deletions apps/evm/src/__mocks__/models/proposalPreviews.ts

This file was deleted.

Loading

0 comments on commit 62b7997

Please sign in to comment.