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

Fix balancer sdk #1076

Merged
merged 1 commit into from
Aug 26, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
2 changes: 1 addition & 1 deletion apps/dapp/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
2 changes: 2 additions & 0 deletions apps/dapp/src/components/Pages/Core/NewUI/HomeInput.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -221,6 +221,7 @@ const InputTokenWrapper = styled.div`
p {
font-size: 1.25rem;
margin-top: 0.55rem;
margin-bottom: -0.11rem;
}
`;

Expand All @@ -234,6 +235,7 @@ export const InputHint = styled.small<InputHintProps>`
text-align: center;
text-transform: uppercase;
width: max-content;
margin-top: 0.15rem;

${(props) =>
props.hasAction &&
Expand Down
2 changes: 1 addition & 1 deletion apps/dapp/src/constants/env/local.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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: '',
Expand Down
2 changes: 1 addition & 1 deletion apps/dapp/src/constants/env/preview.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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: '',
Expand Down
2 changes: 1 addition & 1 deletion apps/dapp/src/constants/env/production.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { Environment } from './types';

const env: Environment = {
alchemyId: 'XiIZxWykHU5AOFBwxKgxseXWN984Mp8F',
rpcUrl: 'https://eth.llamarpc.com',
rpcUrl: 'https://rpc.ankr.com/eth',
marshall2112 marked this conversation as resolved.
Show resolved Hide resolved
backendUrl: 'https://backend.templedao.link',
contracts: {
balancerVault: '0xBA12222222228d8Ba445958a75a0704d566BF2C8',
Expand Down
15 changes: 8 additions & 7 deletions apps/dapp/yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand All @@ -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==
Expand Down Expand Up @@ -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==
Expand Down
Loading