From d586f5727dab938375babf8be7118ffef9953fc0 Mon Sep 17 00:00:00 2001 From: Kyu Date: Fri, 5 Aug 2022 17:53:55 +0900 Subject: [PATCH] Rename Balancer pool cache files (#536) --- .../{balancer_utils.ts => balancer_pools_cache.ts} | 0 .../{balancer_v2_utils.ts => balancer_v2_pools_cache.ts} | 0 ...ancer_v2_utils_new.ts => balancer_v2_swap_info_cache.ts} | 0 .../pools_cache/{cream_utils.ts => cream_pools_cache.ts} | 0 .../src/utils/market_operation_utils/pools_cache/index.ts | 6 +++--- .../src/utils/market_operation_utils/sampler_operations.ts | 2 +- 6 files changed, 4 insertions(+), 4 deletions(-) rename packages/asset-swapper/src/utils/market_operation_utils/pools_cache/{balancer_utils.ts => balancer_pools_cache.ts} (100%) rename packages/asset-swapper/src/utils/market_operation_utils/pools_cache/{balancer_v2_utils.ts => balancer_v2_pools_cache.ts} (100%) rename packages/asset-swapper/src/utils/market_operation_utils/pools_cache/{balancer_v2_utils_new.ts => balancer_v2_swap_info_cache.ts} (100%) rename packages/asset-swapper/src/utils/market_operation_utils/pools_cache/{cream_utils.ts => cream_pools_cache.ts} (100%) diff --git a/packages/asset-swapper/src/utils/market_operation_utils/pools_cache/balancer_utils.ts b/packages/asset-swapper/src/utils/market_operation_utils/pools_cache/balancer_pools_cache.ts similarity index 100% rename from packages/asset-swapper/src/utils/market_operation_utils/pools_cache/balancer_utils.ts rename to packages/asset-swapper/src/utils/market_operation_utils/pools_cache/balancer_pools_cache.ts diff --git a/packages/asset-swapper/src/utils/market_operation_utils/pools_cache/balancer_v2_utils.ts b/packages/asset-swapper/src/utils/market_operation_utils/pools_cache/balancer_v2_pools_cache.ts similarity index 100% rename from packages/asset-swapper/src/utils/market_operation_utils/pools_cache/balancer_v2_utils.ts rename to packages/asset-swapper/src/utils/market_operation_utils/pools_cache/balancer_v2_pools_cache.ts diff --git a/packages/asset-swapper/src/utils/market_operation_utils/pools_cache/balancer_v2_utils_new.ts b/packages/asset-swapper/src/utils/market_operation_utils/pools_cache/balancer_v2_swap_info_cache.ts similarity index 100% rename from packages/asset-swapper/src/utils/market_operation_utils/pools_cache/balancer_v2_utils_new.ts rename to packages/asset-swapper/src/utils/market_operation_utils/pools_cache/balancer_v2_swap_info_cache.ts diff --git a/packages/asset-swapper/src/utils/market_operation_utils/pools_cache/cream_utils.ts b/packages/asset-swapper/src/utils/market_operation_utils/pools_cache/cream_pools_cache.ts similarity index 100% rename from packages/asset-swapper/src/utils/market_operation_utils/pools_cache/cream_utils.ts rename to packages/asset-swapper/src/utils/market_operation_utils/pools_cache/cream_pools_cache.ts diff --git a/packages/asset-swapper/src/utils/market_operation_utils/pools_cache/index.ts b/packages/asset-swapper/src/utils/market_operation_utils/pools_cache/index.ts index 5e6f699b17..0ed00eb9c9 100644 --- a/packages/asset-swapper/src/utils/market_operation_utils/pools_cache/index.ts +++ b/packages/asset-swapper/src/utils/market_operation_utils/pools_cache/index.ts @@ -1,4 +1,4 @@ -export { BalancerPoolsCache } from './balancer_utils'; -export { BalancerV2PoolsCache } from './balancer_v2_utils'; -export { CreamPoolsCache } from './cream_utils'; +export { BalancerPoolsCache } from './balancer_pools_cache'; +export { BalancerV2PoolsCache } from './balancer_v2_pools_cache'; +export { CreamPoolsCache } from './cream_pools_cache'; export { AbstractPoolsCache, PoolsCache } from './pools_cache'; diff --git a/packages/asset-swapper/src/utils/market_operation_utils/sampler_operations.ts b/packages/asset-swapper/src/utils/market_operation_utils/sampler_operations.ts index fe5bbbc84b..36e64d2efd 100644 --- a/packages/asset-swapper/src/utils/market_operation_utils/sampler_operations.ts +++ b/packages/asset-swapper/src/utils/market_operation_utils/sampler_operations.ts @@ -58,7 +58,7 @@ import { import { getGeistInfoForPair } from './geist_utils'; import { getLiquidityProvidersForPair } from './liquidity_provider_utils'; import { BalancerPoolsCache, BalancerV2PoolsCache, CreamPoolsCache, PoolsCache } from './pools_cache'; -import { BalancerV2SwapInfoCache } from './pools_cache/balancer_v2_utils_new'; +import { BalancerV2SwapInfoCache } from './pools_cache/balancer_v2_swap_info_cache'; import { SamplerContractOperation } from './sampler_contract_operation'; import { SamplerNoOperation } from './sampler_no_operation'; import { SourceFilters } from './source_filters';