Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add DEX tasks and endpoints #125

Merged
merged 41 commits into from Dec 9, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
41 commits
Select commit Hold shift + click to select a range
a3142fb
Add DexMeanPrice entity and migration
davidmisiak Oct 21, 2022
a7f2e3c
Extract asset_from_pair util function
davidmisiak Oct 24, 2022
05ed817
Add MultieraWingRidersV1MeanPriceTask
davidmisiak Oct 24, 2022
023cb6f
Add dex_prices.toml execution plan
davidmisiak Oct 24, 2022
b60ac51
Add dex mean price endpoint
davidmisiak Oct 28, 2022
e06587d
Add DexSwap entity and migration
davidmisiak Oct 31, 2022
67685cf
Store used inputs to outputs map
davidmisiak Nov 1, 2022
0148593
Store era in output query result
davidmisiak Nov 3, 2022
b377868
Extract common dex utils
davidmisiak Nov 8, 2022
277fd4f
Add MultieraWingRidersV1SwapTask
davidmisiak Nov 8, 2022
6644237
Update dex_prices.toml execution plan
davidmisiak Nov 8, 2022
61c4f83
Fix output era parsing bug
davidmisiak Nov 9, 2022
523e241
Extract pool output and redeemers more carefully
davidmisiak Nov 10, 2022
798b24e
Merged MinSwap and SundaeSwap meanprice tasks
MichalVido Nov 8, 2022
2ecb405
extracting QueuedMeanPrice struct
MichalVido Nov 8, 2022
bf9db5b
implementing Dex trait
MichalVido Nov 9, 2022
5dd7f7d
resolving future conflicts with CARP-39
MichalVido Nov 9, 2022
9669ab3
moving constants to utils/dex.rs
MichalVido Nov 9, 2022
ecd8ec7
tiny clean up
MichalVido Nov 9, 2022
188b4f6
Extract get_pool_output_and_datum
davidmisiak Nov 11, 2022
ba7c20c
Extract dex-related code
davidmisiak Nov 11, 2022
3d1b798
Indent tasks consistently
davidmisiak Nov 14, 2022
384539d
Add minswap and sundaeswap swap tasks
davidmisiak Nov 14, 2022
c277ca6
Move dex constants to implementation files
davidmisiak Nov 14, 2022
6cd9c84
Implement minswap and sundaeswap swap tasks
davidmisiak Nov 15, 2022
220c30e
Use consistent helper function name
davidmisiak Nov 15, 2022
397b43f
Add all dex tasks to dex_prices.toml execution plan
davidmisiak Nov 15, 2022
afc16e7
Unwrap swap data carefully
davidmisiak Nov 16, 2022
5e3adfd
Add endpoint for swap
Nov 16, 2022
2f7b1f2
Add last price endpoint
Nov 16, 2022
de8cea6
Fix direction on grouping
Nov 16, 2022
fd940ce
Add dex to migration and output
Nov 16, 2022
bcad445
Replace address - dex and add enums
miksax Nov 17, 2022
7101eec
Repair trait for dexes
miksax Nov 17, 2022
d6ad298
Fix eslint
miksax Nov 17, 2022
e5e7e30
Replace address_id to dex in queries
miksax Nov 17, 2022
f197dfc
Cargo fmt
miksax Nov 17, 2022
113a608
Fix Clippy problems
miksax Nov 17, 2022
095f0ec
Replace dex tables with view
miksax Nov 29, 2022
62bdb7b
Fix null values from views
miksax Nov 30, 2022
2cb5ab2
Remove views and add documentation for mean swap values
miksax Dec 1, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 2 additions & 0 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.