Options
All
  • Public
  • Public/Protected
  • All
Menu

Index

Variables

accountProviderø: Observable<ethers.providers.Web3Provider | ethers.providers.JsonRpcProvider> = ...
accountø: Observable<string | undefined> = ...
appConfigø: Observable<IYieldConfig> = ...

ONLY ON FIRST LOAD >> This app config is not actually exposed, it closes after gathering env. Ie. it is simply used to handle setting up the environment. Any appConfig changes AFTER init are handled exclussively by the appConfig$ subject - not via this observable.

assetPairsø: Observable<Map<string, IAssetPair>> = ...
assetsø: Observable<Map<string, IAsset>> = ...

Unsubscribed Assetmap observable exposed for distribution

internalMessagesø: Observable<any> = ...

Internal messages filters out undefined and doesn't set a timelimit on the messages

messagesø: Observable<Map<string, IMessage>> = ...
protocolø: Observable<IYieldProtocol> = ...
providerø: Observable<BaseProvider> = ...
selectedø: Observable<ISelected> = ...
seriesø: Observable<Map<string, ISeries>> = ...

SeriesMap observable and update function.

strategiesø: Observable<Map<string, IStrategy>> = ...
transactionsø: Observable<Map<string, IYieldProcess>> = ...
userSettingsø: Observable<IUserSettings> = ...
vaultsø: Observable<Map<string, IVault>> = ...

Functions

  • resetProcess(processCode: string): void
  • selectBase(asset?: string | IAsset): Promise<void>
  • selectIlk(asset?: string | IAsset): Promise<void>
  • selectSeries(series: string | ISeries, futureSeries?: boolean): Promise<void>
  • selectStrategy(strategy?: string | IStrategy): Promise<void>
  • selectVault(vault?: string | IVault): Promise<void>
  • updateAccount(newAccount: string): void
  • updateAccountProvider(newProvider: Web3Provider): void
  • updateAssets(assetList?: IAsset[], account?: string): Promise<void>
  • updateChainId(chainId: number): void
  • updatePair(baseId: string, ilkId: string, chainId: number): Promise<null | IAssetPair>
  • updateProvider(newProvider: BaseProvider): void
  • updateSeries(seriesList?: ISeries[], account?: string, accountDataOnly?: boolean): Promise<void>
  • updateStrategies(strategyList?: IStrategy[], account?: string, accountDataOnly?: boolean): Promise<void>
  • updateVaults(vaultList?: IVault[] | IVaultRoot[], suppressEventLogQueries?: boolean): Promise<void>

Generated using TypeDoc