From d6c70ad098f272804ffdc1ce9d4524be8d6f1461 Mon Sep 17 00:00:00 2001 From: marshall <99344331+marshall2112@users.noreply.github.com> Date: Tue, 20 Aug 2024 08:27:49 -0400 Subject: [PATCH] wip --- apps/dapp/package.json | 2 +- apps/dapp/src/constants/env/local.tsx | 2 +- apps/dapp/src/constants/env/preview.tsx | 2 +- apps/dapp/src/constants/env/production.tsx | 2 +- apps/dapp/yarn.lock | 15 ++++++++------- 5 files changed, 12 insertions(+), 11 deletions(-) diff --git a/apps/dapp/package.json b/apps/dapp/package.json index 4799d98df..c416e5d83 100644 --- a/apps/dapp/package.json +++ b/apps/dapp/package.json @@ -20,7 +20,7 @@ "codegen:safe-api-v1": "yarn safe-api-v1-host && openapi --input ./src/safe/open-api/apiV1.json --output ./src/safe/open-api/client" }, "dependencies": { - "@balancer-labs/sdk": "^1.0.4", + "@balancer-labs/sdk": "^1.1.6", "@safe-global/safe-apps-provider": "^0.18.0", "@safe-global/safe-apps-sdk": "^8.1.0", "@safe-global/safe-core-sdk-types": "2.3.0", diff --git a/apps/dapp/src/constants/env/local.tsx b/apps/dapp/src/constants/env/local.tsx index bd6806d01..977245bd5 100644 --- a/apps/dapp/src/constants/env/local.tsx +++ b/apps/dapp/src/constants/env/local.tsx @@ -5,7 +5,7 @@ const ENV = import.meta.env; const env: Environment = { alchemyId: '-nNWThz_YpX1cGffGiz-lbSMu7dmp4GK', - rpcUrl: 'https://eth.llamarpc.com', + rpcUrl: 'https://rpc.ankr.com/eth', backendUrl: 'http://localhost:3001', contracts: { balancerVault: '', diff --git a/apps/dapp/src/constants/env/preview.tsx b/apps/dapp/src/constants/env/preview.tsx index 745692817..0579f1c05 100644 --- a/apps/dapp/src/constants/env/preview.tsx +++ b/apps/dapp/src/constants/env/preview.tsx @@ -3,7 +3,7 @@ import { Environment } from './types'; const env: Environment = { alchemyId: 'AorwfDdHDsEjIX4HPwS70zkVjWqjv5vZ', - rpcUrl: 'https://eth.llamarpc.com', + rpcUrl: 'https://rpc.ankr.com/eth', backendUrl: 'https://backend-stage.templedao.link', contracts: { balancerVault: '', diff --git a/apps/dapp/src/constants/env/production.tsx b/apps/dapp/src/constants/env/production.tsx index 2971eb6b6..6a0fd2bf1 100644 --- a/apps/dapp/src/constants/env/production.tsx +++ b/apps/dapp/src/constants/env/production.tsx @@ -3,7 +3,7 @@ import { Environment } from './types'; const env: Environment = { alchemyId: 'XiIZxWykHU5AOFBwxKgxseXWN984Mp8F', - rpcUrl: 'https://eth.llamarpc.com', + rpcUrl: 'https://rpc.ankr.com/eth', backendUrl: 'https://backend.templedao.link', contracts: { balancerVault: '0xBA12222222228d8Ba445958a75a0704d566BF2C8', diff --git a/apps/dapp/yarn.lock b/apps/dapp/yarn.lock index 44f77cf2d..a374f09d8 100644 --- a/apps/dapp/yarn.lock +++ b/apps/dapp/yarn.lock @@ -1071,12 +1071,12 @@ "@babel/helper-validator-identifier" "^7.24.7" to-fast-properties "^2.0.0" -"@balancer-labs/sdk@^1.0.4": - version "1.1.5" - resolved "https://registry.yarnpkg.com/@balancer-labs/sdk/-/sdk-1.1.5.tgz#29e70d15d7e98899831b18d8b909b6569e062758" - integrity sha512-Hxmo1u8qJureQxdbVAMAkN9qceeZxcKx4QjoevTDMrSGY5H9jc1hX18p9TTZXwlGAkw8n4rdErydUgsdWjWuLA== +"@balancer-labs/sdk@^1.1.6": + version "1.1.6" + resolved "https://registry.yarnpkg.com/@balancer-labs/sdk/-/sdk-1.1.6.tgz#a54f37e237388eb7c9189b66814cf41471825e62" + integrity sha512-NSIjSk1TbHmmVCo2FO2zAYJFbNBdUaILP6rHUjzyMUDNQFNkXJs1IxX404HR89QV1zdvgGw/p8M6uz7sVujALg== dependencies: - "@balancer-labs/sor" "^4.1.1-beta.16" + "@balancer-labs/sor" "^4.1.1-beta.17" "@ethersproject/abi" "^5.4.0" "@ethersproject/abstract-signer" "^5.4.0" "@ethersproject/address" "^5.4.0" @@ -1087,12 +1087,13 @@ "@ethersproject/contracts" "^5.4.0" "@ethersproject/providers" "^5.4.5" axios "^0.24.0" + ethers "^5" graphql "^15.6.1" graphql-request "^3.5.0" json-to-graphql-query "^2.2.4" lodash "^4.17.21" -"@balancer-labs/sor@^4.1.1-beta.16": +"@balancer-labs/sor@^4.1.1-beta.17": version "4.1.1-beta.18" resolved "https://registry.yarnpkg.com/@balancer-labs/sor/-/sor-4.1.1-beta.18.tgz#25b37a2b77b3509172b408e6daf17624bc633ab9" integrity sha512-y/JfWXHAE76Ry/bptqzltTYmx8zvX1fHjCxKR28ZmAhhvG2ctWwBh8alabjMlQhstoaN1ResyHNLh9ChLsIDTA== @@ -9833,7 +9834,7 @@ ethers@^4.0.32, ethers@^4.0.45: uuid "2.0.1" xmlhttprequest "1.8.0" -ethers@^5.0.13: +ethers@^5, ethers@^5.0.13: version "5.7.2" resolved "https://registry.yarnpkg.com/ethers/-/ethers-5.7.2.tgz#3a7deeabbb8c030d4126b24f84e525466145872e" integrity sha512-wswUsmWo1aOK8rR7DIKiWSw9DbLWe6x98Jrn8wcTflTVvaXhAMaB5zGAXy0GYQEQp9iO1iSHWVyARQm11zUtyg==