Skip to content

Commit

Permalink
lint fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
DanielSchiavini committed Oct 21, 2024
1 parent 8ac5e04 commit fcb29a3
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ import {
async function init (
providerType: 'JsonRpc' | 'Web3' | 'Infura' | 'Alchemy',
providerSettings: { url?: string, privateKey?: string, batchMaxCount? : number } | { externalProvider: ethers.Eip1193Provider } | { network?: Networkish, apiKey?: string },
options: { gasPrice?: number, maxFeePerGas?: number, maxPriorityFeePerGas?: number, chainId?: number } = {},
options: { gasPrice?: number, maxFeePerGas?: number, maxPriorityFeePerGas?: number, chainId?: number } = {}
): Promise<void> {
await _lending.init(providerType, providerSettings, options);
// @ts-ignore
Expand Down
10 changes: 5 additions & 5 deletions src/interfaces.ts
Original file line number Diff line number Diff line change
Expand Up @@ -151,11 +151,6 @@ interface Rates {
lendApyPcent: number;
}

interface Assets {
borrowed: AssetDetail;
collateral: AssetDetail;
}

interface AssetDetail {
symbol: string;
decimals: number;
Expand All @@ -164,6 +159,11 @@ interface AssetDetail {
usdPrice: number;
}

interface Assets {
borrowed: AssetDetail;
collateral: AssetDetail;
}

interface VaultShares {
pricePerShare: number;
totalShares: number;
Expand Down

0 comments on commit fcb29a3

Please sign in to comment.