@yield-protocol/ui-core
v1.0.9
Published
The core package provides all the core [observables](https://rxjs.dev/guide/observable) and user functions:
Downloads
8
Maintainers
Keywords
Readme
Yield Protocol UI-CORE
The core package provides all the core observables and user functions:
Core Observables
Streams of mission critical protocol data.
Note: Every dApp implemetation should subscribe to these observables.
View Observables
View observables are support observables (data streams). They provide informational insight into the protocol. For example, they are used for estimations of potential transactions, user input validation and any potential protocol limitations/errors. They are mostly used for display and purposes, and user input validations.
Note: View Observables are not critical to protocol functioning and can be subscribed/unsubscribed to at any point within a dApp.
User Actions
Actions are the callable protocol functions available to the end user (eg. Borrow, lend, addLiquidity etc)
Types
All the yield Protocol types are also exposed for easier implementation/reference.