Skip to content
This repository has been archived by the owner on Apr 11, 2023. It is now read-only.

Commit

Permalink
chore: remove dead code
Browse files Browse the repository at this point in the history
  • Loading branch information
0xApotheosis committed Jul 2, 2022
1 parent 946954a commit fe3496a
Show file tree
Hide file tree
Showing 7 changed files with 0 additions and 344 deletions.
265 changes: 0 additions & 265 deletions packages/asset-service/src/service/AssetServiceTestData.ts

This file was deleted.

12 changes: 0 additions & 12 deletions packages/investor-foxy/src/api/foxy-types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -46,11 +46,6 @@ export type TxInput = {

export type TxInputWithoutAmount = Pick<TxInput, Exclude<keyof TxInput, 'amountDesired'>>

export type TxInputWithoutAmountUnsigned = Pick<
TxInputWithoutAmount,
Exclude<keyof TxInputWithoutAmount, 'wallet' | 'dryRun'>
>

export type TxInputWithoutAmountAndWallet = Pick<
TxInputWithoutAmount,
Exclude<keyof TxInputWithoutAmount, 'wallet'>
Expand Down Expand Up @@ -141,13 +136,6 @@ export type Recipient = {
amount: string
}

export type EstimateClaimFromTokemak = TxInputWithoutAmountAndWallet & {
recipient: Recipient
v: number
r: string
s: string
}

export type RebaseEvent = {
epoch: string
blockNumber: number
Expand Down
4 changes: 0 additions & 4 deletions packages/investor-foxy/src/constants/enums.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
export enum DefiProvider {
Foxy = 'foxy'
}

export enum DefiType {
TokenStaking = 'token-staking'
}
2 changes: 0 additions & 2 deletions packages/market-service/src/coingecko/coingecko-types.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
export type CoinGeckoMarketCapNoId = Omit<CoinGeckoMarketCap, 'id'>

export type CoinGeckoMarketData = {
current_price: Record<string, number>
market_cap: Record<string, number>
Expand Down
55 changes: 0 additions & 55 deletions packages/market-service/src/yearn/yearn-types.ts
Original file line number Diff line number Diff line change
@@ -1,58 +1,3 @@
type Strategy = {
address: string
name: string
}
export type YearnMarketCap = {
inception: number
address: string
symbol: string
name: string
display_name: string
icon: string
token: {
name: string
symbol: string
address: string
decimals: number
display_name: string
icon: string
}
tvl: {
total_assets: number
price: number
tvl: number
}
apy: {
type: string
gross_apr: number
net_apy: number
fees: {
performance: number | null
withdrawal: number | null
management: number | null
keep_crv: number | null
cvx_keep_crv: number | null
}
points: null | {
week_ago: number | null
month_ago: number | null
inception: number | null
}
composite: null
}
strategies: Strategy[]
endorsed: boolean
version: string
decimals: number
type: string
emergency_shutdown: boolean
updated: number
migration: null | {
available: boolean
address: string
}
}

type VaultDayDatum = {
pricePerShare: string
timestamp: string
Expand Down
5 changes: 0 additions & 5 deletions packages/swapper/src/api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -141,11 +141,6 @@ export interface MinMaxOutput {
maximum: string
}

export type GetMinMaxInput = {
sellAsset: Asset
buyAsset: Asset
}

export type ApprovalNeededOutput = {
approvalNeeded: boolean
}
Expand Down
1 change: 0 additions & 1 deletion packages/types/src/market.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@ export type MarketDataArgs = {
}

export type FindAllMarketType = (args: FindAllMarketArgs) => Promise<MarketCapResult>
export type FindByCaip19MarketType = (args: MarketDataArgs) => Promise<MarketData | null>

export type PriceHistoryType = (args: PriceHistoryArgs) => Promise<HistoryData[]>

Expand Down

0 comments on commit fe3496a

Please sign in to comment.