Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

@noah/ci test #2

Closed
wants to merge 131 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
131 commits
Select commit Hold shift + click to select a range
2e11d72
Merge pull request #4583 from balancer/release/1.132.0
garethfuller Nov 13, 2023
9751ebd
chore: Add STARV2-MAI/Arbitrage/StarSeeds_Protocol pool to polygon al…
github-actions[bot] Nov 14, 2023
539d887
1.132.1
gh-action-bump-version Nov 14, 2023
e0badc0
chore: Add STARV2-Tetu/Arbitrage/StarSeeds_Protocol pool to polygon a…
github-actions[bot] Nov 14, 2023
751fd57
1.132.2
gh-action-bump-version Nov 14, 2023
320b391
chore: Add 33wstETH-33tetuBAL-BALWETH-33STARV2 pool to polygon allowl…
github-actions[bot] Nov 14, 2023
1219787
1.132.3
gh-action-bump-version Nov 14, 2023
24d2356
chore: Add JARVIS-ETH 8020 pool to polygon allowlist (#4587)
github-actions[bot] Nov 14, 2023
36086b0
1.132.4
gh-action-bump-version Nov 14, 2023
5c124f2
chore: Add 80OETH/20WETH pool to ethereum allowlist (#4592)
github-actions[bot] Nov 14, 2023
7d01ab0
1.132.5
gh-action-bump-version Nov 14, 2023
7190cd5
chore: Add STARV3/FeeV2/StarSeeds_Protocol pool to polygon allowlist …
github-actions[bot] Nov 15, 2023
a6c2333
1.132.6
gh-action-bump-version Nov 15, 2023
31b9be9
chore: Add STARV3-TETUQI/17-83/StarSeeds_Protocol pool to polygon all…
github-actions[bot] Nov 15, 2023
1d8bf84
1.132.7
gh-action-bump-version Nov 15, 2023
5f328c8
chore: Add STARV3-MAI/50-50/StarSeeds_Protocol pool to polygon allowl…
github-actions[bot] Nov 15, 2023
28bb890
1.132.8
gh-action-bump-version Nov 15, 2023
d9522c1
chore: Add STARV3-TETU/50-50/StarSeeds_Protocol pool to polygon allow…
github-actions[bot] Nov 15, 2023
fdf101d
1.132.9
gh-action-bump-version Nov 15, 2023
631a880
chore: Add 1WMATIC-99waWMATIC pool to polygon allowlist (#4597)
github-actions[bot] Nov 15, 2023
efd921e
1.132.10
gh-action-bump-version Nov 15, 2023
0176d54
Allowlist STARV3-LINK/65-35/StarSeeds_Protocol pool (#4599)
github-actions[bot] Nov 15, 2023
a209597
1.132.11
gh-action-bump-version Nov 15, 2023
bcc7f36
chore: Add STARV3-STARV2/9-91/StarSeeds_Protocol pool to polygon allo…
github-actions[bot] Nov 15, 2023
a8a6e34
1.132.12
gh-action-bump-version Nov 15, 2023
e431d3b
chore: Add STARV3-XTETUBAL-BALWETH-USDC/Arbitrage/StarSeeds_Protocol …
github-actions[bot] Nov 15, 2023
ba94efa
1.132.13
gh-action-bump-version Nov 15, 2023
932fa01
chore: Add STARV3-TETUBAL-TETUBAL-BALWETH-XTETUBAL-MIMATIC-WMATIC poo…
github-actions[bot] Nov 15, 2023
ac776a7
1.132.14
gh-action-bump-version Nov 15, 2023
f91f3e9
chore: Add STARV3-STARV2/3-97/StarSeeds_Protocol pool to polygon allo…
github-actions[bot] Nov 15, 2023
7383cd2
1.132.15
gh-action-bump-version Nov 15, 2023
560302c
chore: Add STARV3-WETH/65-35/StarSeeds_Protocol pool to polygon allow…
github-actions[bot] Nov 15, 2023
2a184e1
1.132.16
gh-action-bump-version Nov 15, 2023
5c5a32b
chore: Add 2CLP-TVaDAIv2-DAI pool to polygon allowlist (#4586)
github-actions[bot] Nov 15, 2023
cef2643
1.132.17
gh-action-bump-version Nov 15, 2023
0454936
chore: Add STARV3-WETH/65-35/StarSeeds_Protocol pool to polygon allow…
github-actions[bot] Nov 15, 2023
119e53b
1.132.18
gh-action-bump-version Nov 15, 2023
fd39a4c
chore: Add STARV3-WBTC/65-35/StarSeeds_Protocol pool to polygon allo…
github-actions[bot] Nov 15, 2023
b7f395a
1.132.19
gh-action-bump-version Nov 15, 2023
242ac35
chore: Add STARV3-WMATIC/80-20/StarSeeds_Protocol pool to polygon all…
github-actions[bot] Nov 15, 2023
e0ed32a
1.132.20
gh-action-bump-version Nov 15, 2023
dabe459
chore: Add STARV3-XTETUBAL-BALWETH/Arbitrage/StarSeeds_Protocol pool …
github-actions[bot] Nov 16, 2023
439bd1e
1.132.21
gh-action-bump-version Nov 16, 2023
2b3ea62
chore: Add 50fireEP-50ICHI_Vault_LP pool to polygon allowlist (#4609)
github-actions[bot] Nov 16, 2023
694e5cf
1.132.22
gh-action-bump-version Nov 16, 2023
0a10aa0
hotfix: Add warning to FX pools (#4611)
garethfuller Nov 16, 2023
a67fc7b
1.132.23
gh-action-bump-version Nov 16, 2023
31a47b0
chore: Add 50DAI-50USDC pool to base allowlist (#4610)
github-actions[bot] Nov 16, 2023
6d2b878
1.132.24
gh-action-bump-version Nov 16, 2023
d9efff0
chore: Add 50DAI-50USDbC pool to base allowlist (#4615)
github-actions[bot] Nov 17, 2023
b2a67ce
1.132.25
gh-action-bump-version Nov 17, 2023
38a9500
chore: Add 95DE-5DAI pool to polygon allowlist (#4617)
github-actions[bot] Nov 17, 2023
6e35b75
1.132.26
gh-action-bump-version Nov 17, 2023
cc2a7c4
chore: Add EPOCH-LP pool to ethereum allowlist (#4613)
github-actions[bot] Nov 17, 2023
eb5fd19
1.132.27
gh-action-bump-version Nov 17, 2023
c919c72
chore: Add USDbC/tUSDbC pool to base allowlist (#4607)
github-actions[bot] Nov 17, 2023
a1d693b
1.132.28
gh-action-bump-version Nov 17, 2023
bce217e
Add to arb stakable (#4620)
zekraken-bot Nov 17, 2023
8908d0c
1.132.29
gh-action-bump-version Nov 17, 2023
e7c8cd5
chore: Add weETH-WETH-BPT pool to ethereum allowlist (#4638)
github-actions[bot] Nov 19, 2023
6aa6ffb
1.132.30
gh-action-bump-version Nov 19, 2023
5a9c4fa
chore: Add 50GRT-50wPPC pool to polygon allowlist (#4619)
github-actions[bot] Nov 19, 2023
784c1f2
1.132.31
gh-action-bump-version Nov 19, 2023
e967c7d
chore: Add SWEEP-USDC-BPT pool to base allowlist (#4621)
github-actions[bot] Nov 19, 2023
fc44034
1.132.32
gh-action-bump-version Nov 19, 2023
fb5d596
chore: Add 25BAL-25AURA-25wstETH-25ARB pool to arbitrum allowlist (#4…
github-actions[bot] Nov 19, 2023
0968f54
1.132.33
gh-action-bump-version Nov 19, 2023
a7e2566
chore: Add SWEEP-USDC-BPT pool to ethereum allowlist (#4624)
github-actions[bot] Nov 19, 2023
ce2d377
1.132.34
gh-action-bump-version Nov 19, 2023
832be4c
chore: Add 40WBTC-40WETH-204POOL-BPT pool to arbitrum allowlist (#4633)
github-actions[bot] Nov 19, 2023
458566a
1.132.35
gh-action-bump-version Nov 19, 2023
f94626b
chore: Add 50GRT-50wPPC pool to polygon allowlist (#4636)
github-actions[bot] Nov 19, 2023
0c85914
1.132.36
gh-action-bump-version Nov 19, 2023
8821170
chore: Add 33BAL-33WETH-33USDC pool to base allowlist (#4637)
github-actions[bot] Nov 19, 2023
f0e8da5
1.132.37
gh-action-bump-version Nov 19, 2023
0a2775c
chore: Add pStorage pool to polygon allowlist (#4634)
github-actions[bot] Nov 19, 2023
99a22b2
1.132.38
gh-action-bump-version Nov 19, 2023
eb7dc16
chore: Add 50wstETH-50USDC pool to arbitrum allowlist (#4647)
github-actions[bot] Nov 19, 2023
9067f72
1.132.39
gh-action-bump-version Nov 19, 2023
b21e9da
chore: Add 50USDC-50wPPC pool to polygon allowlist (#4648)
github-actions[bot] Nov 19, 2023
a27a71e
1.132.40
gh-action-bump-version Nov 19, 2023
a27c107
Update pools.ts (#4643)
maxcoto Nov 19, 2023
4a96c1a
1.132.41
gh-action-bump-version Nov 19, 2023
6791303
Update pools.ts (#4645)
maxcoto Nov 19, 2023
56cf702
Update pools.ts (#4646)
maxcoto Nov 19, 2023
528cd26
1.132.42
gh-action-bump-version Nov 19, 2023
189efe2
Update pools.ts (#4644)
maxcoto Nov 19, 2023
1f4851f
1.132.43
gh-action-bump-version Nov 19, 2023
0b75fce
chore: Add STARV3-STARV2/30-70/StarSeeds_Protocol pool to polygon all…
github-actions[bot] Nov 19, 2023
5dbbf4a
1.132.44
gh-action-bump-version Nov 19, 2023
fd3a7a3
chore: Add STARV3-wstETH/50-50/StarSeeds_Protocol pool to polygon all…
github-actions[bot] Nov 19, 2023
44115c3
1.132.45
gh-action-bump-version Nov 19, 2023
9e2f082
chore: Add STARV3-fireEP/50-50/StarSeeds_Protocol pool to polygon all…
github-actions[bot] Nov 19, 2023
63ba319
1.132.46
gh-action-bump-version Nov 19, 2023
884e461
chore: Add STARV3-ICHI_Vault_LP/50-50/StarSeeds_Protocol pool to poly…
github-actions[bot] Nov 19, 2023
ed94b54
1.132.47
gh-action-bump-version Nov 19, 2023
d865478
chore: Add STARV3-FBX/50-50/StarSeeds_Protocol pool to polygon allowl…
github-actions[bot] Nov 19, 2023
641fe38
1.132.48
gh-action-bump-version Nov 19, 2023
81694b2
chore: Add STARV3-tetuBAL-BALWETH/50-50/StarSeeds_Protocol pool to po…
github-actions[bot] Nov 19, 2023
24fdc98
1.132.49
gh-action-bump-version Nov 19, 2023
fd1f354
chore: Add STARV3-xtetuBAL-BALWETH/50-50/StarSeeds_Protocol pool to p…
github-actions[bot] Nov 19, 2023
175378d
1.132.50
gh-action-bump-version Nov 19, 2023
be3edfa
chore: Add 50WMATIC-50wPPC pool to polygon allowlist (#4656)
github-actions[bot] Nov 20, 2023
a0f38bd
1.132.51
gh-action-bump-version Nov 20, 2023
7ed1d77
Bump SDK version to beta 4
agualis Nov 20, 2023
4165d79
1.132.52
gh-action-bump-version Nov 20, 2023
ab76aae
Revert "1.132.52"
agualis Nov 20, 2023
9a15a48
Revert "Bump SDK version to beta 4"
agualis Nov 20, 2023
37226b8
1.132.52
gh-action-bump-version Nov 20, 2023
fcad791
Bump vitest coverage (#4657)
agualis Nov 20, 2023
f75d4f5
1.132.53
gh-action-bump-version Nov 20, 2023
1012be3
Fix unit tests (#4658)
agualis Nov 20, 2023
0e25e2f
1.132.54
gh-action-bump-version Nov 20, 2023
2e51a16
Allowlist STARV3-oRETRO/40-60/StarSeeds_Protocol pool (#4654)
github-actions[bot] Nov 20, 2023
a9c7197
1.132.55
gh-action-bump-version Nov 20, 2023
3d1d9c5
chore: Add BAL-20WETH-80VCX pool to ethereum allowlist (#4618)
github-actions[bot] Nov 20, 2023
67f802e
1.132.56
gh-action-bump-version Nov 20, 2023
4a182e7
chore: Add STARV3-liveRetro/40-60/StarSeeds_Protocol pool to polygon …
github-actions[bot] Nov 20, 2023
3e3ee78
1.132.57
gh-action-bump-version Nov 20, 2023
40025c2
chore: Add STARV3-MAI/88-12/StarSeeds_Protocol pool to polygon allowl…
github-actions[bot] Nov 20, 2023
e7126b0
1.132.58
gh-action-bump-version Nov 20, 2023
2664981
chore: Add liveRetro-WMATIC/50-50/StarSeeds_Protocol pool to polygon …
github-actions[bot] Nov 20, 2023
ec8ce24
1.132.59
gh-action-bump-version Nov 20, 2023
8591903
chore: Add oRETRO-WMATIC/50-50/StarSeeds_Protocol pool to polygon all…
github-actions[bot] Nov 20, 2023
0ba22db
1.132.60
gh-action-bump-version Nov 20, 2023
45c0a1e
Merge branch 'master' into release/1.133.0
garethfuller Nov 20, 2023
0b0b731
1.133.0
garethfuller Nov 20, 2023
08d12b7
Merge pull request #4660 from balancer/release/1.133.0
garethfuller Nov 20, 2023
77eaf0a
chore: bump sdk (dm) (#4664)
garethfuller Nov 20, 2023
81007bf
fix: veBAL balance loading state (dm) (#4671)
garethfuller Nov 21, 2023
737c8da
chore : package lock + social icon update
Nashmod Nov 27, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
49,477 changes: 174 additions & 49,303 deletions package-lock.json

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@balancer/frontend-v2",
"version": "1.132.22",
"version": "1.133.4",
"engines": {
"node": "=16",
"npm": ">=8"
Expand Down Expand Up @@ -42,7 +42,7 @@
"devDependencies": {
"@aave/protocol-js": "^4.3.0",
"@balancer-labs/assets": "github:balancer-labs/assets#master",
"@balancer-labs/sdk": "^1.1.6-beta.3",
"@balancer-labs/sdk": "^1.1.6-beta.4",
"@balancer-labs/typechain": "^1.0.0",
"@balancer-labs/v2-deployments": "^3.2.0",
"@cowprotocol/contracts": "^1.3.1",
Expand Down Expand Up @@ -88,7 +88,7 @@
"@typescript-eslint/eslint-plugin": "^5.48.1",
"@typescript-eslint/parser": "^5.48.1",
"@vitejs/plugin-vue": "^4.1.0",
"@vitest/coverage-c8": "^0.30.1",
"@vitest/coverage-v8": "^0.34.6",
"@vue/test-utils": "^2.4.1",
"@vueuse/core": "^4.3.4",
"@walletconnect/ethereum-provider": "^2.10.2",
Expand Down
6 changes: 2 additions & 4 deletions src/assets/css/global/social-icons.css
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
.social-icon .logo {
fill: #fff;

@apply transition-all;
@apply transition-all fill-primary-refi;
}

.dark .social-icon .logo {
Expand All @@ -15,7 +13,7 @@
}

.social-icon .bg {
fill: #0f172a; /* gray-900 */
fill: #fff;

@apply transition-all;
}
Expand Down
7 changes: 4 additions & 3 deletions src/components/contextual/pages/vebal/MyVebalInfo.vue
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ const { isLoadingLockPool, isLoadingLockInfo, lock } = useLock();
const { fNum } = useNumbers();
const router = useRouter();

const { veBalBalance } = useVeBal();
const { veBalBalance, isLoading: isLoadingVebalBalance } = useVeBal();
const { t } = useI18n();
const { isLoading, data: userHistoricalLocks } =
useHistoricalLocksQuery(account);
Expand All @@ -58,7 +58,8 @@ const isLoadingData = computed(() => {
isLoadingLockBoard.value ||
isLoading.value ||
isLoadingLockInfo.value ||
isLoadingLockPool.value
isLoadingLockPool.value ||
isLoadingVebalBalance.value
);
});

Expand Down Expand Up @@ -408,4 +409,4 @@ function navigateToGetVeBAL() {
@apply flex flex-col md:flex-row md:items-center max-w-screen-2xl mx-auto md:gap-4 lg:gap-8 py-4 md:py-8
xl:pl-4 w-full z-10;
}
</style>
</style>
3 changes: 3 additions & 0 deletions src/composables/queries/useUserPoolSharesQuery.spec.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
import useUserPoolSharesQuery from '@/composables/queries/useUserPoolSharesQuery';
import { initDependenciesWithDefaultMocks } from '@/dependencies/default-mocks';
import { mountComposable, waitForQueryData } from '@tests/mount-helpers';
import { defaultPoolBalance } from '@tests/msw/graphql-handlers';

initDependenciesWithDefaultMocks();

test('Returns pool shares for the current user', async () => {
const { result } = mountComposable(() => useUserPoolSharesQuery());

Expand Down
6 changes: 4 additions & 2 deletions src/composables/useSlippage.spec.ts
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
import useSlippage from './useSlippage';
import { mountComposable } from '@tests/mount-helpers';

vi.mock('@/providers/user-settings.provider');
// TODO: This line is causing flaky tests:
// TypeError: Cannot read properties of undefined (reading 'asyncTaskManager')
// vi.mock('@/providers/user-settings.provider');

describe('useSlippage', () => {
describe.skip('useSlippage', () => {
const { result } = mountComposable(() => useSlippage());

it('Should load', () => {
Expand Down
3 changes: 2 additions & 1 deletion src/composables/useVeBAL.ts
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ export default function useVeBal() {
/**
* COMPOSABLES
*/
const { balanceFor, getToken } = useTokens();
const { balanceFor, getToken, balanceQueryLoading } = useTokens();
const { networkConfig } = useConfig();

/**
Expand Down Expand Up @@ -111,6 +111,7 @@ export default function useVeBal() {
noVeBalBalance,
lockablePoolId,
showRedirectModal,
isLoading: balanceQueryLoading,
// methods
setShowRedirectModal,
};
Expand Down
6 changes: 6 additions & 0 deletions src/lib/config/arbitrum/pools.ts
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@ const pools: Pools = {
'0x3f09c77b19ad8bb527355ec32d5ce98421fec2e30000000000000000000004b2', // axlBAL/BAL
'0xe6d48f62a7d87e6bd13c283ca55068f0a73e6a5f0000000000000000000004cc', // USDV/FRAX
'0xe6fcb0ac7e05196b0870ae2aeb80dc9079ee1a250000000000000000000004cb', // USDV/USDC
'0xef093ccfdd4d5a590b028463e0528049939889c90000000000000000000004cf', // SWEEP/USDC
],
},
Investment: {
Expand Down Expand Up @@ -134,6 +135,9 @@ const pools: Pools = {
'0x32b1d14c6c31dff0407058586a01614da686dfcc0001000000000000000004ce', // 10BAL-20CRV-20SUSHI-25UNI-25GMX
'0xb52bd7459cb4754ec30e5b0691574159fb0812170002000000000000000004cd', // 50USDC-50USDT
'0x965353ce4d898e5367d0cdfefb5df1f0dca726690001000000000000000004ca', // 67BAL-29WBTC-4wstETH
'0x0755c402ef855046a43459827771147c964a798f0002000000000000000004d2', // 50wstETH-50USDC
'0x21841e071de6da9cc0c2927ffbd91469b390add10001000000000000000004d1', // 40WBTC-40WETH-204POOL-BPT
'0x9d8dc132625a131dc80ccf49ed9e9998f041a5870001000000000000000004d0', // 25BAL-25AURA-25wstETH-25ARB
],
},
Factories: {
Expand Down Expand Up @@ -227,6 +231,7 @@ const pools: Pools = {
],
AllowList: [
'0x88e2c969e2a1c69c16d1dcd9f8acde4c6ab3838a0002000000000000000004c1',
'0xa1a8bf131571a2139feb79401aa4a2e9482df6270002000000000000000004b4',
],
},
Metadata: {},
Expand All @@ -250,6 +255,7 @@ const pools: Pools = {
'0x00fcd3d55085e998e291a0005cedecf58ac14c4000020000000000000000047f', // 50STG-50bbaUSD
'0xa1ea76c42b2938cfa9abea12357881006c52851300000000000000000000048f', // DUSD/bbausd
'0x3cdf30e36154a66a4478e15ed41659b5bb0738f100000000000000000000049b', // DUSD-4POOL-BPT
'0xa1a8bf131571a2139feb79401aa4a2e9482df6270002000000000000000004b4',
],
Deprecated: {
'0x567ecfcb22205d279bb8eed3e066989902bf03d5000000000000000000000452': {
Expand Down
5 changes: 5 additions & 0 deletions src/lib/config/base/pools.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,8 @@ const pools: Pools = {
'0x0c659734f1eef9c63b7ebdf78a164cdd745586db000000000000000000000046', // USDC/USDbC/axlUSDC
'0x58f2110b61f97fd6b9200b038d92f17c722a5a3300000000000000000000004f', // axlBAL/BAL
'0x30722f57d56037caa2c38abd1f5e2955814875e9000000000000000000000087', // axlETH/ETH
'0x0c316e55f987ef2d467f18852301492bca7e8a690000000000000000000000bc', // USDbC/tUSDbC
'0x15d9d108437b17d1fa70392f9ed086306229ec910000000000000000000000bf', // SWEEP-USDC-BPT
],
},
Investment: {
Expand Down Expand Up @@ -133,6 +135,9 @@ const pools: Pools = {
'0xee94d8df3ecf9158d1cd3d752c7b61fc4fd46b120002000000000000000000b8', // 50WETH-50USDbC
'0xa1d5264a2d3e2652756993c29729e092ca91d0d40001000000000000000000b9', // 40cbETH-40WETH-20rETH
'0x06eaace423af9a6bf6268d0421ac0e0b94c879460002000000000000000000ba', // 20WETH-80TAG
'0x87646430235a2b1ab9366f424750e778991047a10002000000000000000000bd', // 50DAI-50USDC
'0x64fcbd882d7de9d4dd1fa670c3f1ea15f324baf40002000000000000000000be', // 50DAI-50USDbC
'0x9d884e09e0ddf816a1b3f31ccd94a0319793b11b0001000000000000000000c1', // 33BAL-33WETH-33USDC
],
},
Factories: {
Expand Down
5 changes: 5 additions & 0 deletions src/lib/config/mainnet/pools.ts
Original file line number Diff line number Diff line change
Expand Up @@ -141,6 +141,8 @@ const pools: Pools = {
'0xdd36fda7329291db8666540186cb36fcf0e36eac000000000000000000000612', // sDAI/DOLA
'0x3de1b8854ec4f1a6e45fc56b8008abb14eb103fb00000000000000000000061f', // USDV/sDAI
'0x9ca0ffcbae87a66a8f4604bfec724da04e2474ae000000000000000000000621', // USDV/USDC
'0xa468570db143321bc034bbd74a6cc2694d15b252000000000000000000000629', // SWEEP-USDC-BPT
'0xb9debddf1d894c79d2b2d09f819ff9b856fca55200000000000000000000062a', // weETH-WETH-BPT
],
},
Investment: {
Expand Down Expand Up @@ -231,6 +233,9 @@ const pools: Pools = {
'0x5b3b589b45531a2f0ae203d5044782ba46aefc4c00010000000000000000061a', // 17DNT-17CVC-17OCEAN-17POLY-17USDC-17ENJ
'0x58b645fa247b60f2cb896991fd8956146c9fcb4a00020000000000000000061d', // 80mevETH/20FOLD
'0x7056c8dfa8182859ed0d4fb0ef0886fdf3d2edcf000200000000000000000623', // 80OETH/20WETH
'0xce8d4ad8cce1240ecbc49385baf4c399a7f353f9000200000000000000000628', // BAL-20WETH-80VCX
'0x82b8c7c6fb62d09cfd004309c1f353fb1a926edc000200000000000000000626', // EPOCH-LP
'0x1cce5169bde03f3d5ad0206f6bd057953539dae600020000000000000000062b', // ECLP-GYD-sDAI
],
},
Factories: {
Expand Down
1 change: 1 addition & 0 deletions src/lib/config/optimism/pools.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ const pools: Pools = {
'0xacfe9b4782910a853b68abba60f3fd8049ffe6380000000000000000000000ff', // USDC/DOLA
'0x004700ba0a4f5f22e1e78a277fca55e36f47e09c000000000000000000000104', // rEth/ankrEth
'0x9da11ff60bfc5af527f58fd61679c3ac98d040d9000000000000000000000100', // usdc/usdcE/usdt/dai
'0xc4ee406970047a70aed14621d97b3b460a7dea0b00000000000000000000010b', // SWEEP/USDC
],
},
Investment: {
Expand Down
20 changes: 20 additions & 0 deletions src/lib/config/polygon/pools.ts
Original file line number Diff line number Diff line change
Expand Up @@ -227,6 +227,26 @@ const pools: Pools = {
'0x0d8573d0b4542797be945f741cb8e6b7117dc751000100000000000000000c8b', // STARV3-XTETUBAL-BALWETH-USDC/Arbitrage/StarSeeds_Protocol
'0x2d753d4ebf91b137b161b69bdb8638cf4b80c4a5000200000000000000000c8d', // 50fireEP-50ICHI_Vault_LP
'0x0abc5370a1bced0e78222dba60ca69189aad7ed9000200000000000000000c8c', // STARV3-XTETUBAL-BALWETH/Arbitrage/StarSeeds_Protocol
'0xdcd3fc34d581ee474520b0f6bce9412df7d2e32f000200000000000000000c90', // 95DE-5DAI
'0x4d1249c87e451de44b5bd7d4f17b2d333b3c3723000200000000000000000c92', // STARV3-xtetuBAL-BALWETH/50-50/StarSeeds_Protocol
'0xeba5452e53293d195bf436dc53750c594504b34e000200000000000000000c93', // STARV3-tetuBAL-BALWETH/50-50/StarSeeds_Protocol
'0x8d95d14a46b2c535494e725e532b3756e9026c72000200000000000000000c95', // STARV3-FBX/50-50/StarSeeds_Protocol
'0x88b657ce391a034939e86d0698574c6b3a3e6365000200000000000000000c96', // STARV3-ICHI_Vault_LP/50-50/StarSeeds_Protocol
'0x9c57dc0639523e7cc1dba4846d17d3f31d12f45a000200000000000000000c97', // STARV3-fireEP/50-50/StarSeeds_Protocol
'0x91c22f98d8ca24a86a443c122c484ff91e38835b000200000000000000000c98', // STARV3-wstETH/50-50/StarSeeds_Protocol
'0x1ae0ae6917f52a40748142f0373859e9635d3396000200000000000000000c99', // STARV3-STARV2/30-70/StarSeeds_Protocol
'0xda53afe8ca5f935e19d1af46d7524460cea09862000200000000000000000c9a', // pStorage
'0xd2ad70856dab2b68a9c43f63e2211053c2232c31000200000000000000000c9b', // 50GRT-50wPPC
'0xdc7623c2c091c8f1f180a20de6443cfe4a8e7da7000200000000000000000c91', // 50GRT-50wPPC
'0xaea9eac8fc07ed24502270d59fa41c03575758bb000200000000000000000c9c', // 50USDC-50wPPC
'0x51a7c7be986f890faa9de665a8fd7f4d9398d9a1000200000000000000000c9e', // liveRetro-WMATIC/50-50/StarSeeds_Protocol
'0x8ea81c2c0dcd0baf5ecbbc2dec334ebd56dec545000200000000000000000c9d', // STARV3-MAI/88-12/StarSeeds_Protocol
'0x0156e921739ac090c3717e84d78b64bd08ea94ca000200000000000000000ca0', // STARV3-liveRetro/40-60/StarSeeds_Protocol
'0xe2b1b8ae0a5440ee91ebd586506fbb4c0a8500bd000200000000000000000ca1', // oRETRO-WMATIC/50-50/StarSeeds_Protocol
'0x17a00f034836c7a9c666cd46086713af3b58a9a5000200000000000000000ca2', // STARV3-oRETRO/40-60/StarSeeds_Protocol
'0xda2e07ae9111821dea416ea1fbdaf4d2bd407fbc000200000000000000000ca3', // 50WMATIC-50wPPC
'0x46ff08b620b2586fc068ae26b12db4422c405a95000100000000000000000ca4', // bStorage
'0x1f93622a4e04c819258d87fc822e4cd20ea1b981000100000000000000000ca5', // 25WBTC-25mooCompoundPolygonUSDC-25ICHI_Vault_LP-25ICHI_Vault_LP
],
},
Factories: {
Expand Down
3 changes: 3 additions & 0 deletions tests/mount-helpers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,12 @@ import { registerTestPlugins } from './registerTestPlugins';
import { DeepPartial } from './unit/types';
import { Router } from 'vue-router';
import { provideUserData } from '@/providers/user-data.provider';
import { initOldMulticallerWithDefaultMocks } from '@/dependencies/OldMulticaller.mocks';

export const defaultStakedShares = '5';

initOldMulticallerWithDefaultMocks();

export function provideFakePoolStaking(stackedShares = defaultStakedShares) {
provide(PoolStakingProviderSymbol, {
stakedShares: computed(() => stackedShares),
Expand Down
Loading