Skip to content

Commit

Permalink
Use balancer.SOR.fetchPools (instead of fetchFilteredPairPools) (#10)
Browse files Browse the repository at this point in the history
  • Loading branch information
cgewecke authored Nov 2, 2021
1 parent dd1d89c commit fda22b7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion index-rebalances/utils/paramDetermination/balancerV1.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ export async function getBalancerV1Quote(provider: BaseProvider, tokenAddress: A
1, // ChainId = mainnet (1)
"https://storageapi.fleek.co/balancer-bucket/balancer-exchange/pools"
);
await sor.fetchFilteredPairPools(ETH_ADDRESS, tokenAddress);
await sor.fetchPools();
await sor.setCostOutputToken(tokenAddress); // Set cost to limit small trades

const inputAmount = toBigNumberJS(ether(2));
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@setprotocol/index-rebalance-utils",
"version": "0.0.5",
"version": "0.0.6",
"description": "Utilities for param and allocation determination for Set Protocol indices.",
"main": "dist",
"types": "dist/types",
Expand Down

0 comments on commit fda22b7

Please sign in to comment.