UNPKG

lending-apy-fetcher-ts

Version:

TypeScript library for fetching APYs from DeFi lending protocols

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