diff --git a/core/creditFilter.ts b/core/creditFilter.ts deleted file mode 100644 index ca27992f..00000000 --- a/core/creditFilter.ts +++ /dev/null @@ -1,11 +0,0 @@ -import { SupportedToken } from "@gearbox-protocol/sdk"; - -export interface AllowedToken { - address: string; - liquidationThreshold: number; -} - -export interface CollateralTokenSymbol { - symbol: SupportedToken; - liquidationThreshold: number; -} diff --git a/core/pool.ts b/core/pool.ts deleted file mode 100644 index 6878e34f..00000000 --- a/core/pool.ts +++ /dev/null @@ -1,42 +0,0 @@ -import { - NormalToken, - SupportedContract, - SupportedToken, -} from "@gearbox-protocol/sdk"; -import { BigNumberish } from "ethers"; - -import { CollateralTokenSymbol } from "./creditFilter"; - -export interface CreditConfigLive { - minAmount: BigNumberish; - maxAmount: BigNumberish; - collateralTokens: Array; - adapters: Array; -} - -export interface CMConfig extends CreditConfigLive { - symbol: NormalToken; -} - -export interface QuotedTokenParams { - symbol: SupportedToken; - minRate: BigNumberish; - maxRate: BigNumberish; - totalLimit: BigNumberish; -} - -export interface InterestRateModelParams { - U_optimal: BigNumberish; - U_reserve: BigNumberish; - R_base: BigNumberish; - R_slope1: BigNumberish; - R_slope2: BigNumberish; - R_slope3: BigNumberish; -} - -export interface PoolConfig extends InterestRateModelParams { - symbol: NormalToken; - expectedLiquidityLimit: BigNumberish; - supportsQuotas: boolean; - quotedTokens: Array; -}