- this repo is a package extracted from our Monorepo. In order to make this package work, I exported some dependencies into the
src/external
. Those files should just be used, but changes here (except for logging or debugging) should not be necessary - the actual package is split into 3 parts:
src/infrastructure
are functions that are generally doing I/O to outbound services (in this case to the OSMOSIS API)src/model
are domain functions that are undependant from APIs, but implement the core logic (using the concept of a DEX and calculating TVL & Prices). This is the logic that could be reused for other dexessrc/service
are the function that are exported from the package and be called by other packages. They orchestrate the functionality of the other two parts. Using the infrastructure to load data, then the models to apply logic and return the final result.
-
Notifications
You must be signed in to change notification settings - Fork 0
numiadata/osmosis-pools
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
No description, website, or topics provided.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published