Skip to content

Commit

Permalink
feat: add rpc urls
Browse files Browse the repository at this point in the history
  • Loading branch information
alter-eggo committed Jun 6, 2024
1 parent 8c439ae commit 7582607
Show file tree
Hide file tree
Showing 7 changed files with 30 additions and 26 deletions.
32 changes: 17 additions & 15 deletions package-lock.json

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

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
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.14",
"@balancer-labs/sdk": "^1.1.6-beta.20",
"@balancer-labs/typechain": "^1.0.0",
"@balancer-labs/v2-deployments": "^3.2.0",
"@cowprotocol/contracts": "^1.3.1",
Expand Down
2 changes: 2 additions & 0 deletions src/constants/pool-lists/csp-issue.ts
Original file line number Diff line number Diff line change
Expand Up @@ -417,6 +417,8 @@ export const CSP_ISSUE_POOL_IDS: Record<Network, string[]> = {
'0x593acbfb1eaf3b6ec86fa60325d816996fdcbc0d000000000000000000000038',
'0xd1af4974fcc995cf36ba40b189caa92964a9126d0000000000000000000000f1',
],
[Network.FRAXTAL]: [],
[Network.MODE]: [],
};

export const HIGH_RISK_POOL_IDS: string[] = [
Expand Down
8 changes: 4 additions & 4 deletions src/lib/config/fraxtal/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,22 +19,22 @@ const config: Config = {
unknown: false,
visibleInUI: true,
testNetwork: false,
rpc: '',
rpc: 'https://rpc.frax.com/',
ws: '',
blockTime: 13,
explorer: 'https://fraxscan.com/',
explorerName: 'The Fraxtal Explorer',
subgraph:
'https://api.thegraph.com/subgraphs/name/balancer-labs/balancer-fraxtal-v2',
'https://api.goldsky.com/api/public/project_clwhu1vopoigi01wmbn514m1z/subgraphs/balancer-fraxtal-v2/1.0.0/gn',
balancerApi: 'https://api.balancer.fi',
poolsUrlV2: '',
subgraphs: {
main: [
'https://api.thegraph.com/subgraphs/name/balancer-labs/balancer-fraxtal-v2',
'https://api.goldsky.com/api/public/project_clwhu1vopoigi01wmbn514m1z/subgraphs/balancer-fraxtal-v2/1.0.0/gn',
],
aave: '',
gauge:
'https://api.thegraph.com/subgraphs/name/balancer-labs/balancer-gauges-fraxtal',
'https://api.goldsky.com/api/public/project_clwhu1vopoigi01wmbn514m1z/subgraphs/balancer-gauges-fraxtal/1.0.0/gn',
blocks: '',
},
bridgeUrl: '',
Expand Down
2 changes: 1 addition & 1 deletion src/lib/config/fraxtal/pools.ts
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ const pools: Pools = {
GyroE: 'gyro',
},
Issues: {
[PoolWarning.CspPoolVulnWarning]: CSP_ISSUE_POOL_IDS[Network.OPTIMISM],
[PoolWarning.CspPoolVulnWarning]: CSP_ISSUE_POOL_IDS[Network.MODE],
},
};

Expand Down
8 changes: 4 additions & 4 deletions src/lib/config/mode/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,22 +19,22 @@ const config: Config = {
unknown: false,
visibleInUI: true,
testNetwork: false,
rpc: '',
rpc: 'https://1rpc.io/mode',
ws: '',
blockTime: 13,
explorer: 'https://modescan.io/',
explorerName: 'The Mode Explorer',
subgraph:
'https://api.thegraph.com/subgraphs/name/balancer-labs/balancer-mode-v2',
'https://api.studio.thegraph.com/proxy/75376/balancer-mode-v2/version/latest',
balancerApi: 'https://api.balancer.fi',
poolsUrlV2: '',
subgraphs: {
main: [
'https://api.thegraph.com/subgraphs/name/balancer-labs/balancer-mode-v2',
'https://api.studio.thegraph.com/proxy/75376/balancer-mode-v2/version/latest',
],
aave: '',
gauge:
'https://api.thegraph.com/subgraphs/name/balancer-labs/balancer-gauges-mode',
'https://api.studio.thegraph.com/query/75376/balancer-gauges-mode/version/latest',
blocks: '',
},
bridgeUrl: '',
Expand Down
2 changes: 1 addition & 1 deletion src/lib/config/mode/pools.ts
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ const pools: Pools = {
GyroE: 'gyro',
},
Issues: {
[PoolWarning.CspPoolVulnWarning]: CSP_ISSUE_POOL_IDS[Network.OPTIMISM],
[PoolWarning.CspPoolVulnWarning]: CSP_ISSUE_POOL_IDS[Network.MODE],
},
};

Expand Down

0 comments on commit 7582607

Please sign in to comment.