UNPKG

lending-apy-fetcher-ts

Version:

TypeScript library for fetching APYs from DeFi lending protocols

10 lines 370 B
import { Protocol, ApyData } from '../types'; import { ethers } from 'ethers'; export declare class AaveEthProtocol implements Protocol { readonly name = "Aave"; readonly network = "ETHEREUM"; readonly provider: ethers.providers.JsonRpcProvider; constructor(rpc_url?: string); fetchApys(): Promise<ApyData[]>; } //# sourceMappingURL=aave-eth.d.ts.map