Skip to content
This repository has been archived by the owner on Apr 11, 2023. It is now read-only.

feat: implement yearn market service #273

Merged
merged 34 commits into from
Dec 17, 2021
Merged

Conversation

DaoDev44
Copy link
Contributor

@DaoDev44 DaoDev44 commented Dec 8, 2021

  • Implement Yearn market service

closes #271

@DaoDev44 DaoDev44 force-pushed the yearn-market-service branch 2 times, most recently from c73e6d2 to a608dd6 Compare December 8, 2021 20:24
@DaoDev44 DaoDev44 force-pushed the yearn-market-service branch from a608dd6 to 0c08062 Compare December 9, 2021 23:50
@theoboldfrazier theoboldfrazier changed the title initial yearn market service template feat: implement yearn market service Dec 14, 2021
@DaoDev44 DaoDev44 marked this pull request as ready for review December 16, 2021 18:44
@DaoDev44 DaoDev44 requested a review from a team as a code owner December 16, 2021 18:44
@0xean 0xean requested a review from natven December 17, 2021 17:15
Copy link
Collaborator

@0xdef1cafe 0xdef1cafe left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

bnOrZero in one more spot

@theoboldfrazier theoboldfrazier merged commit d999850 into main Dec 17, 2021
@theoboldfrazier theoboldfrazier deleted the yearn-market-service branch December 17, 2021 23:05
shapeshift-ci-bot pushed a commit that referenced this pull request Dec 17, 2021
# [@shapeshiftoss/types-v1.20.0](https://github.com/shapeshift/lib/compare/@shapeshiftoss/types-v1.19.1...@shapeshiftoss/types-v1.20.0) (2021-12-17)

### Features

* implement yearn market service ([#273](#273)) ([d999850](d999850))
@shapeshift-ci-bot
Copy link
Member

🎉 This PR is included in version @shapeshiftoss/types-v1.20.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

shapeshift-ci-bot pushed a commit that referenced this pull request Dec 17, 2021
# [@shapeshiftoss/asset-service-v1.10.0](https://github.com/shapeshift/lib/compare/@shapeshiftoss/asset-service-v1.9.0...@shapeshiftoss/asset-service-v1.10.0) (2021-12-17)

### Features

* implement yearn market service ([#273](#273)) ([d999850](d999850))
@shapeshift-ci-bot
Copy link
Member

🎉 This PR is included in version @shapeshiftoss/asset-service-v1.10.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

shapeshift-ci-bot pushed a commit that referenced this pull request Dec 17, 2021
# [@shapeshiftoss/market-service-v1.7.0](https://github.com/shapeshift/lib/compare/@shapeshiftoss/market-service-v1.6.0...@shapeshiftoss/market-service-v1.7.0) (2021-12-17)

### Features

* implement yearn market service ([#273](#273)) ([d999850](d999850))
@shapeshift-ci-bot
Copy link
Member

🎉 This PR is included in version @shapeshiftoss/market-service-v1.7.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

sdmg15 pushed a commit to sdmg15/lib that referenced this pull request Jan 6, 2022
* initial yearn market service template

* wip - add findAll to YearnMarketService

* wip - add yearn sdk

* implement findAll for Yearn market service

* got findByCaip19 working

* feat: got happy path for yearn market historical data.

* add error handling to market service manager

* fix: updated generated assets file

* added try catch around price history

* fixed imports

* fixed linting

* changed find all type from pages and per page to count

* typed gql vault response

* fixed up type

* removed commented code and changed splice to slice

* Fixed coingecko tests

* add mock yearn data

* Got yearn tests working

* fixed tests

* wrote tests for market service manager

* removed comments

* restructured market service index file

* fixed lint

* put in process.env

* fixed typo

* added null reference checks

* Extracted out 6 to USDC_PRECISION const

* add bn, bnOrZero to market service package

* fix linter

* using bnOrZero

* fixed tests

Co-authored-by: theoboldfrazier <[email protected]>
sdmg15 pushed a commit to sdmg15/lib that referenced this pull request Jan 6, 2022
sdmg15 pushed a commit to sdmg15/lib that referenced this pull request Jan 6, 2022
sdmg15 pushed a commit to sdmg15/lib that referenced this pull request Jan 6, 2022
@0xdef1cafe 0xdef1cafe linked an issue Jan 19, 2022 that may be closed by this pull request
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Implement Yearn market service Data: Add yearn vault erc-20 assets to market service
5 participants