From f70e187569bdae024c73b5f0826980bbd0fb0ae7 Mon Sep 17 00:00:00 2001 From: zero-goliath Date: Sat, 8 Jul 2023 03:57:22 -0400 Subject: [PATCH] fix level finance file paths --- coins/src/adapters/index.ts | 1 + coins/src/adapters/yield/level-finance/index.ts | 6 ++++++ .../yield/{level/level.ts => level-finance/levelFinance.ts} | 0 coins/src/adapters/yield/level/index.ts | 6 ------ 4 files changed, 7 insertions(+), 6 deletions(-) create mode 100644 coins/src/adapters/yield/level-finance/index.ts rename coins/src/adapters/yield/{level/level.ts => level-finance/levelFinance.ts} (100%) delete mode 100644 coins/src/adapters/yield/level/index.ts diff --git a/coins/src/adapters/index.ts b/coins/src/adapters/index.ts index 1c5a0c4b5a..05f09bc105 100644 --- a/coins/src/adapters/index.ts +++ b/coins/src/adapters/index.ts @@ -33,6 +33,7 @@ export default { misc4626: require("./yield/misc4626"), vesper: require("./yield/vesper"), yieldProtocol: require("./yield/yield-protocol"), + levelFinance: require("./yield/level-finance"), timeless: require("./yield/timeless"), beefy: require("./yield/beefy"), spares: require("./markets/curve"), diff --git a/coins/src/adapters/yield/level-finance/index.ts b/coins/src/adapters/yield/level-finance/index.ts new file mode 100644 index 0000000000..6e646a351b --- /dev/null +++ b/coins/src/adapters/yield/level-finance/index.ts @@ -0,0 +1,6 @@ +import getTokenPrices from "./levelFinance"; + +export function levelFinance(timestamp: number = 0) { + console.log("starting level finance"); + return getTokenPrices(timestamp) +} diff --git a/coins/src/adapters/yield/level/level.ts b/coins/src/adapters/yield/level-finance/levelFinance.ts similarity index 100% rename from coins/src/adapters/yield/level/level.ts rename to coins/src/adapters/yield/level-finance/levelFinance.ts diff --git a/coins/src/adapters/yield/level/index.ts b/coins/src/adapters/yield/level/index.ts deleted file mode 100644 index d7a9169a1f..0000000000 --- a/coins/src/adapters/yield/level/index.ts +++ /dev/null @@ -1,6 +0,0 @@ -import getTokenPrices from "./level"; - -export function level(timestamp: number = 0) { - console.log("starting level finance"); - return getTokenPrices(timestamp) -}