Skip to content

Commit

Permalink
chore: bump to sdk 1.4.0 and update SDK config for base and arbitrum
Browse files Browse the repository at this point in the history
  • Loading branch information
agualis committed Jan 22, 2025
1 parent 02bb1eb commit d515804
Show file tree
Hide file tree
Showing 5 changed files with 27 additions and 19 deletions.
2 changes: 1 addition & 1 deletion apps/beets-frontend-v3/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
},
"dependencies": {
"@apollo/client": "^3.11.8",
"@balancer/sdk": "1.3.0",
"@balancer/sdk": "1.4.0",
"@chakra-ui/hooks": "2.4.2",
"@chakra-ui/react": "2.10.4",
"@chakra-ui/theme-tools": "2.2.6",
Expand Down
4 changes: 4 additions & 0 deletions packages/lib/config/networks/arbitrum.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ import { NetworkConfig } from '../config.types'
import { convertHexToLowerCase } from '@repo/lib/shared/utils/objects'
import { PoolIssue } from '@repo/lib/modules/pool/alerts/pool-issues/PoolIssue.type'
import { CSP_ISSUE_POOL_IDS } from '@repo/lib/shared/data/csp-issue'
import { PERMIT2, VAULT_V3 } from '@balancer/sdk'
import { arbitrum } from 'viem/chains'

const networkConfig: NetworkConfig = {
chainId: 42161,
Expand Down Expand Up @@ -50,11 +52,13 @@ const networkConfig: NetworkConfig = {
multicall2: '0x80c7dd17b01855a6d2347444a0fcc36136a314de',
balancer: {
vaultV2: '0xBA12222222228d8Ba445958a75a0704d566BF2C8',
vaultV3: VAULT_V3[arbitrum.id],
relayerV6: '0x9B892E515D2Ab8869F17488d64B3b918731cc70d',
minter: '0xc3ccacE87f6d3A81724075ADcb5ddd85a8A1bB68',
WeightedPool2TokensFactory: '0xCF0a32Bbef8F064969F21f7e02328FB577382018',
},
veDelegationProxy: '0x81cFAE226343B24BA12EC6521Db2C79E7aeeb310',
permit2: PERMIT2[arbitrum.id],
},
pools: convertHexToLowerCase({
issues: {
Expand Down
4 changes: 4 additions & 0 deletions packages/lib/config/networks/base.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
import { GqlChain } from '@repo/lib/shared/services/api/generated/graphql'
import { NetworkConfig } from '../config.types'
import { convertHexToLowerCase } from '@repo/lib/shared/utils/objects'
import { PERMIT2, VAULT_V3 } from '@balancer/sdk'
import { base } from 'viem/chains'

const networkConfig: NetworkConfig = {
chainId: 8453,
Expand Down Expand Up @@ -43,10 +45,12 @@ const networkConfig: NetworkConfig = {
multicall2: '0xca11bde05977b3631167028862be2a173976ca11',
balancer: {
vaultV2: '0xBA12222222228d8Ba445958a75a0704d566BF2C8',
vaultV3: VAULT_V3[base.id],
relayerV6: '0x7C3C773C878d2238a9b64d8CEE02377BF07ED06a',
minter: '0x0c5538098EBe88175078972F514C9e101D325D4F',
},
veDelegationProxy: '0xD87F44Df0159DC78029AB9CA7D7e57E7249F5ACD',
permit2: PERMIT2[base.id],
},
pools: convertHexToLowerCase({ issues: {} }),
layerZeroChainId: 184,
Expand Down
2 changes: 1 addition & 1 deletion packages/lib/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
},
"dependencies": {
"@apollo/client": "^3.11.8",
"@balancer/sdk": "1.3.0",
"@balancer/sdk": "1.4.0",
"@chakra-ui/anatomy": "^2.2.2",
"@chakra-ui/clickable": "^2.1.0",
"@chakra-ui/hooks": "2.4.2",
Expand Down
34 changes: 17 additions & 17 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit d515804

Please sign in to comment.