Options
All
  • Public
  • Public/Protected
  • All
Menu

Class LensService<T>

LensService provides access to all yearn's adapters for assets and user positions.

Type parameters

Hierarchy

  • Service
    • LensService

Index

Constructors

  • new LensService<T>(chainId: 1 | 10 | 250 | 1337 | 42161, ctx: Context, addressProvider: AddressProvider<T>): LensService<T>
  • Type parameters

    • T: 1 | 10 | 250 | 1337 | 42161

    Parameters

    • chainId: 1 | 10 | 250 | 1337 | 42161
    • ctx: Context
    • addressProvider: AddressProvider<T>

    Returns LensService<T>

Properties

addressProvider: AddressProvider<T>
chainId: 1 | 10 | 250 | 1337 | 42161
ctx: Context
events: Emittery<Record<string, unknown>, Record<string, unknown> & OmnipresentEventData, never>

Accessors

  • get adapters(): Adapters<T>

Generated using TypeDoc