Skip to content
This repository has been archived by the owner on Jun 3, 2022. It is now read-only.

feat(module-indexer, module-api, whale-api-client): Future swap indexer and list API #940

Open
wants to merge 11 commits into
base: main
Choose a base branch
from

Conversation

canonbrother
Copy link
Contributor

@canonbrother canonbrother commented May 6, 2022

What this PR does / why we need it:

Index future swap and list future swap API

Which issue(s) does this PR fixes?:

Fixes BirthdayResearch/jellyfishsdk#1484

Additional comments?:

@codeclimate
Copy link

codeclimate bot commented May 6, 2022

Code Climate has analyzed commit b9ec957 and detected 3 issues on this pull request.

Here's the issue category breakdown:

Category Count
Duplication 3

View more on Code Climate.

@canonbrother canonbrother changed the title feat(module-indexer, module-api, whale-api-client): Future swap indexer and API feat(module-indexer, module-api, whale-api-client): Future swap indexer and list API May 6, 2022
@codecov
Copy link

codecov bot commented May 6, 2022

Codecov Report

Merging #940 (f25bcc0) into main (4868add) will decrease coverage by 0.06%.
The diff coverage is 90.90%.

❗ Current head f25bcc0 differs from pull request most recent head b9ec957. Consider uploading reports for the commit b9ec957 to get more accurate results

@@            Coverage Diff             @@
##             main     #940      +/-   ##
==========================================
- Coverage   92.68%   92.62%   -0.07%     
==========================================
  Files         128      131       +3     
  Lines        3844     3877      +33     
  Branches      499      489      -10     
==========================================
+ Hits         3563     3591      +28     
- Misses        271      276       +5     
  Partials       10       10              
Impacted Files Coverage Δ
src/module.indexer/model/dftx/set.future.swap.ts 84.21% <84.21%> (ø)
src/module.model/future.swap.ts 84.61% <84.61%> (ø)
packages/whale-api-client/src/api/address.ts 100.00% <100.00%> (ø)
src/module.api/address.controller.ts 98.31% <100.00%> (+0.26%) ⬆️
src/module.indexer/model/dftx.indexer.ts 96.66% <100.00%> (+0.05%) ⬆️
src/module.indexer/model/dftx/_module.ts 100.00% <100.00%> (ø)
src/module.model/_module.ts 100.00% <100.00%> (ø)
src/module.model/_model.probes.ts 83.33% <0.00%> (-2.88%) ⬇️
src/module.api/poolpair.controller.ts 97.70% <0.00%> (-0.28%) ⬇️
src/module.api/stats.controller.ts 96.55% <0.00%> (-0.15%) ⬇️
... and 3 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 4868add...b9ec957. Read the comment docs.

@canonbrother canonbrother marked this pull request as ready for review May 6, 2022 00:30
nichellekoh
nichellekoh previously approved these changes May 6, 2022
@jingyi2811
Copy link
Contributor

Title should include module.model

@jingyi2811
Copy link
Contributor

Quite good. Some minor stuff

jingyi2811
jingyi2811 previously approved these changes May 6, 2022
@jingyi2811 jingyi2811 requested a review from nichellekoh May 6, 2022 07:51
nichellekoh
nichellekoh previously approved these changes May 6, 2022
cwkang1998
cwkang1998 previously approved these changes May 6, 2022
src/module.api/address.controller.ts Outdated Show resolved Hide resolved
packages/whale-api-client/src/api/address.ts Outdated Show resolved Hide resolved
src/module.indexer/model/dftx/set.future.swap.ts Outdated Show resolved Hide resolved
@canonbrother canonbrother dismissed stale reviews from cwkang1998, nichellekoh, and jingyi2811 via ef8f5d7 May 9, 2022 08:13
jingyi2811
jingyi2811 previously approved these changes May 10, 2022
cwkang1998
cwkang1998 previously approved these changes May 10, 2022
@fuxingloh
Copy link
Contributor

Targetting this for 0.35.x

@canonbrother canonbrother dismissed stale reviews from cwkang1998 and jingyi2811 via f53b8b9 May 18, 2022 03:09
@fuxingloh
Copy link
Contributor

We're finishing up BirthdayResearch/jellyfishsdk#580

This PR needs to be migrated to https://github.com/JellyfishSDK/jellyfish/tree/main/apps/whale-api

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Indexing FutureSwap on Whale Indexer
6 participants