-
Notifications
You must be signed in to change notification settings - Fork 301
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Add automatic workflow for allowlist * Change inputs * Updated risks page: Rate provider bridges (#3533) * Updated risks page: Rate provider bridges * chore: Refactor risks for risk keys * chore: Use RiskKey * chore: Fix risk tests * chore: Use risk keys as ids * chore: Add pool risk list component * chore: Cleanup risks section * chore: Fix tests * Fix Composable Stable risk link --------- Co-authored-by: Gareth Fuller <[email protected]> Co-authored-by: Alberto Gualis <[email protected]> * Add 80mooMvxMVLP-20wUSDR pool This pool is designed to make the mooMvxMVLP directly trade-able without having to withdraw from the compounding vault. It is intended for use in other balancer pools as a high yield managed portfolio token. * Move hardcoded config from voting gauge generator to config files * Add NodeJS version check * Add error if VITE_RPC_URL_1 is not set * additional gauge updates * add reth/weth pool to allowlist * Fixed broken veBAL learn more link * Added boosted pool icons to Polygon zkevm pools * Improve Allowlisting * Updated Polygon zkEVM promo message (#3576) * Update allow list (#3577) * Allowlist 50ETHx-50WETH and 80BIDS-20WETH in mainnet. * Allowlist uniETH-WETH in goerli. * Allowlist STARV2-SuperPoolV1 in polygon (#3579) * 1.109.0 --------- Co-authored-by: Tim Robinson <[email protected]> Co-authored-by: pkattera <[email protected]> Co-authored-by: Gareth Fuller <[email protected]> Co-authored-by: Anastasios <[email protected]> Co-authored-by: Tim Robinson <[email protected]> Co-authored-by: dakotajakiser <[email protected]> Co-authored-by: ZeKraken <[email protected]>
- Loading branch information
1 parent
e365750
commit 16c8db0
Showing
29 changed files
with
394 additions
and
198 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 |
---|---|---|
@@ -0,0 +1,38 @@ | ||
name: Allowlist pool | ||
|
||
on: | ||
workflow_dispatch: | ||
inputs: | ||
network: | ||
type: choice | ||
description: Network | ||
required: true | ||
options: | ||
- mainnet | ||
- polygon | ||
- arbitrum | ||
- gnosis-chain | ||
poolType: | ||
type: choice | ||
description: Pool Type | ||
required: true | ||
options: | ||
- Weighted | ||
- Stable | ||
poolId: | ||
type: string | ||
description: Pool ID | ||
required: true | ||
poolDescription: | ||
type: string | ||
description: Pool Description | ||
required: false | ||
|
||
jobs: | ||
allowlist-pool: | ||
uses: ./.github/workflows/allowlist.yml | ||
with: | ||
network: ${{ github.event.inputs.network }} | ||
poolType: ${{ github.event.inputs.poolType }} | ||
poolId: ${{ github.event.inputs.poolId }} | ||
poolDescription: ${{ github.event.inputs.poolDescription }} |
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,14 @@ | ||
name: Allowlist Pool Webhook | ||
|
||
on: | ||
repository_dispatch: | ||
types: ['allowlist_pool'] | ||
|
||
jobs: | ||
allowlist-pool: | ||
uses: ./.github/workflows/allowlist.yml | ||
with: | ||
network: ${{ github.event.client_payload.network }} | ||
poolType: ${{ github.event.client_payload.poolType }} | ||
poolId: ${{ github.event.client_payload.poolId }} | ||
poolDescription: ${{ github.event.client_payload.poolDescription }} |
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,37 +1,24 @@ | ||
name: Allowlist pool | ||
|
||
on: | ||
workflow_dispatch: | ||
workflow_call: | ||
inputs: | ||
network: | ||
type: choice | ||
description: Network | ||
type: string | ||
required: true | ||
options: | ||
- mainnet | ||
- polygon | ||
- arbitrum | ||
- gnosis-chain | ||
poolType: | ||
type: choice | ||
description: Pool Type | ||
type: string | ||
required: true | ||
options: | ||
- Weighted | ||
- Stable | ||
poolId: | ||
type: string | ||
description: Pool ID | ||
required: true | ||
poolDescription: | ||
type: string | ||
description: Pool Description | ||
required: false | ||
|
||
jobs: | ||
allowlist-pool: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: Checkout repo | ||
uses: actions/checkout@v3 | ||
|
@@ -44,21 +31,21 @@ jobs: | |
- name: Install deps | ||
run: npm install cac | ||
- name: Run allowlist script | ||
run: npx vite-node ./src/lib/scripts/automatic-prs/allowlist-pool.ts --network ${{github.event.inputs.network}} --poolType ${{github.event.inputs.poolType}} --poolId \"${{github.event.inputs.poolId}}\" --poolDescription "${{github.event.inputs.poolDescription}}" | ||
run: npx vite-node ./src/lib/scripts/automatic-prs/allowlist-pool.ts --network ${{inputs.network}} --poolType ${{inputs.poolType}} --poolId \"${{inputs.poolId}}\" --poolDescription "${{inputs.poolDescription}}" | ||
- name: Run eslint fix of updated config files | ||
run: npm run lint:fix:config | ||
- name: Create Pull Request | ||
uses: peter-evans/create-pull-request@v4 | ||
with: | ||
token: ${{ secrets.GITHUB_TOKEN }} | ||
commit-message: 'chore: Update allowlist' | ||
commit-message: 'chore: Add ${{inputs.poolDescription}} pool to ${{inputs.network}} allowlist' | ||
committer: GitHub <[email protected]> | ||
author: ${{ github.actor }} <${{ github.actor }}@users.noreply.github.com> | ||
signoff: false | ||
branch: update-allowlist | ||
branch: update-allowlist-${{inputs.network}}-${{inputs.poolId}} | ||
base: master | ||
delete-branch: true | ||
title: 'Update pool allowlist' | ||
title: 'Allowlist ${{inputs.poolDescription}} pool' | ||
body: | | ||
This PR was autogenerated by the allowlist manual Github action. | ||
draft: false | ||
|
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
17 changes: 17 additions & 0 deletions
17
src/components/contextual/pages/pool/risks/PoolRiskList.vue
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,17 @@ | ||
<script lang="ts" setup> | ||
import { Risk } from '@/composables/usePoolRisks'; | ||
interface Props { | ||
risks: Risk[]; | ||
} | ||
defineProps<Props>(); | ||
</script> | ||
|
||
<template> | ||
<ul class="px-8 lg:px-4 list-disc"> | ||
<li v-for="{ title, hash } in risks" :key="hash" class="mb-1 link"> | ||
<router-link :to="{ name: 'risks', hash }">{{ title }}</router-link> | ||
</li> | ||
</ul> | ||
</template> |
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
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
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
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
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
Oops, something went wrong.