-
Notifications
You must be signed in to change notification settings - Fork 5
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
feat: add local dynamodb + pricing tests #68
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
really nice work |
okjintao
changed the title
feat: add local dynamodb
feat: add local dynamodb + pricing tests
Mar 29, 2021
ethkaneki
approved these changes
Mar 29, 2021
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think we should look into encapsulating some of the DynamoDB utilities in the future under a service. It'd be pretty straightforward to mock that in Jest, and might save us in some setup steps.
Otherwise looks good to me 👍
okjintao
added a commit
that referenced
this pull request
Mar 30, 2021
* chore: respond not found on load failure (#66) * Update MerkleDistribution.ts (#69) * feat: add price db offline tests (#68) * feat(badger-api): Create DynamoDB table for Sett snapshots (#70) * feat(badger-api): Create DynamoDB table for Sett snapshots * Fix yml * feat: add badger shop eligibility api (#72) * feat: add badger shop eligibility api * chore: update response * chore: update s3 response Co-authored-by: Darruma <30578602+Darruma@users.noreply.github.com> Co-authored-by: Kaneki <79668923+ethkaneki@users.noreply.github.com>
okjintao
added a commit
that referenced
this pull request
Apr 10, 2021
* feat: initial v2 working implementation (#52) * initial tsed implementation (#14) initial api v2 - introduce tsed router * Add CLAW endpoints (#15) * bump v2, add dynamodb tables, iam managed policies (#16) * bump v2, add dynamodb tables, iam managed policies * fix merge conflicts Co-authored-by: jintao <hellojintao@protonmail.com> * initial utility service implementations (#19) * graph progress * remove v1 indexers * implement underlying token tracking, liquidity fees * include token emission v1 holdover * comments, clean up Co-authored-by: jintao <hellojintao@protonmail.com> * v1 mandatory fix * feat: add additional emp fields * fix: do math * change sbtc price source (#22) Co-authored-by: jintao <hellojintao@protonmail.com> * remove swagger docgen (#24) Co-authored-by: jintao <hellojintao@protonmail.com> * linting run, migrate dependencies, add aws deployment dependencies (#25) * initial linter run * hybrid deployment operational Co-authored-by: jintao <hellojintao@protonmail.com> * add generic merkle claim api (#26) * initial airdrop api * minor updates, add cors support * remove lowercase from reward tree check * use merkle bucket Co-authored-by: jintao <hellojintao@protonmail.com> * add staging claim bucket (#27) * add airdrop service * segregate on staging bucket * refactor paths * remove compression middleware, update json path * update 404 text * use bucket root Co-authored-by: jintao <hellojintao@protonmail.com> * feat: add fields to claws * feat(badger-api): Add format and fix lint command (#6) * feat(badger-api): Update lint rules and add tsconfig files * Add missing newline * fix(badger-api): Remove `incremental` from `tsconfig.json` * feat(badger-api): Add graphql-codegen and generate protocol schemas * Update Badger and SushiSwap subgraph URLs * use two badger graphs * feat: add caching price service * refactor(badger-api): Clean up generated code * fix serverless build * add price endpoint * add sett fields * feat(badger-api): Update GH actions to build and lint * chore: format claw data * fix: spellcheck * chore: fix lint * Fix lint * feat(badger-api): Generate query wrapper for fetching harvests (#17) * enhancement: query file on update * chore: update syntax, remove logs * feat(badger-api): Add controller and services to query harvests * Add service tests and reorganize files * Add test for controller * Update lockfile * feat(badger-api): Add running tests to GH workflow * chore: relocate setts service * enchancement: reorganize services, lower tsed logging * chore: move remaining services * enhancement: initial multichain support * intial chain implementations * chore: rename util folder * chore: lint formatting * feat: add token currency field to claws endpoint * chore: fix lint * enhancement: split out protocol service * address nits * chore: update package json for dependencies * enhancement: enable multichain queries * chore: fix controller call * feat(badger-api): Fetch MasterChefs data via GraphQL SDK * chore: update tsed, update serverless yml * feat(badger-api): Generate types for Sett query from codegen * chore: add pancakeswap graphql (#36) * enhancement: add price service test (#35) * enhancement: add price service test * chore: update test method * chore: update prettier rc (#37) * chore(badger-api): Regenerate codegen types (#38) * chore(badger-api): Regenerate codegen types * Fix lint * feat(badger-api): Replace queries for Sushiswap pairs with generated SDK methods (#39) * WIP * Replace calls * feat(badger-api): Replace queries for Uniswap pairs with generated SDK methods (#40) * feat(badger-api): Refactor fetching user data to GraphQL SDK (#41) * feat(badger-api): Pull in Geysers and Setts via GraphQL SDK (#42) * chort: update curve fi api url (#43) * enhancement: curve api change * chore: update curve fi api url * chore: fix contract casing (#44) * feature: binance smart chain sett support (#33) * feature: add pancakeswap protocols service * chore: move toLowerCase * bugfix: remedy single token calculation (#45) * feat: add currency selection (#46) * feat: add currency selection * chore: fix test string * chore: cleanup test flow * feat: update token config (#48) * feat: add pricing db utils * chore: intial token definitions * feat: finalize db pricing * chore: use new token lookup * refactor(badger-api): Abstract fetching pricing data with strategies (#49) * WIP * Move chain addresses under strategy * chore: intial bsc price cleanup (#50) * feat: add bsc chain price implementation * chore: fix strategy inputs, fix bsc blocks per year * feat: live sett data (#51) * feat: live sett data * chore: enable currency for value endpoint * chore: address pr comments Co-authored-by: default <bokwandu@gmail.com> Co-authored-by: Bo Du <bo@chronosphere.io> Co-authored-by: default <harlem.shakeshack@gmail.com> Co-authored-by: Kaneki <79668923+ethkaneki@users.noreply.github.com> Co-authored-by: Kaneki <ethkaneki@protonmail.com> * chore: update main (#65) * initial tsed implementation (#14) initial api v2 - introduce tsed router * Add CLAW endpoints (#15) * bump v2, add dynamodb tables, iam managed policies (#16) * bump v2, add dynamodb tables, iam managed policies * fix merge conflicts Co-authored-by: jintao <hellojintao@protonmail.com> * initial utility service implementations (#19) * graph progress * remove v1 indexers * implement underlying token tracking, liquidity fees * include token emission v1 holdover * comments, clean up Co-authored-by: jintao <hellojintao@protonmail.com> * v1 mandatory fix * feat: add additional emp fields * fix: do math * change sbtc price source (#22) Co-authored-by: jintao <hellojintao@protonmail.com> * remove swagger docgen (#24) Co-authored-by: jintao <hellojintao@protonmail.com> * linting run, migrate dependencies, add aws deployment dependencies (#25) * initial linter run * hybrid deployment operational Co-authored-by: jintao <hellojintao@protonmail.com> * add generic merkle claim api (#26) * initial airdrop api * minor updates, add cors support * remove lowercase from reward tree check * use merkle bucket Co-authored-by: jintao <hellojintao@protonmail.com> * add staging claim bucket (#27) * add airdrop service * segregate on staging bucket * refactor paths * remove compression middleware, update json path * update 404 text * use bucket root Co-authored-by: jintao <hellojintao@protonmail.com> * feat: add fields to claws * feat(badger-api): Add format and fix lint command (#6) * feat(badger-api): Update lint rules and add tsconfig files * Add missing newline * fix(badger-api): Remove `incremental` from `tsconfig.json` * feat(badger-api): Add graphql-codegen and generate protocol schemas * Update Badger and SushiSwap subgraph URLs * use two badger graphs * feat: add caching price service * refactor(badger-api): Clean up generated code * fix serverless build * add price endpoint * add sett fields * feat(badger-api): Update GH actions to build and lint * chore: format claw data * fix: spellcheck * chore: fix lint * Fix lint * feat(badger-api): Generate query wrapper for fetching harvests (#17) * enhancement: query file on update * chore: update syntax, remove logs * feat(badger-api): Add controller and services to query harvests * Add service tests and reorganize files * Add test for controller * Update lockfile * feat(badger-api): Add running tests to GH workflow * chore: relocate setts service * enchancement: reorganize services, lower tsed logging * chore: move remaining services * enhancement: initial multichain support * intial chain implementations * chore: rename util folder * chore: lint formatting * feat: add token currency field to claws endpoint * chore: fix lint * enhancement: split out protocol service * address nits * chore: update package json for dependencies * enhancement: enable multichain queries * chore: fix controller call * feat(badger-api): Fetch MasterChefs data via GraphQL SDK * chore: update tsed, update serverless yml * feat(badger-api): Generate types for Sett query from codegen * chore: add pancakeswap graphql (#36) * enhancement: add price service test (#35) * enhancement: add price service test * chore: update test method * chore: update prettier rc (#37) * chore(badger-api): Regenerate codegen types (#38) * chore(badger-api): Regenerate codegen types * Fix lint * feat(badger-api): Replace queries for Sushiswap pairs with generated SDK methods (#39) * WIP * Replace calls * feat(badger-api): Replace queries for Uniswap pairs with generated SDK methods (#40) * feat(badger-api): Refactor fetching user data to GraphQL SDK (#41) * feat(badger-api): Pull in Geysers and Setts via GraphQL SDK (#42) * chort: update curve fi api url (#43) * enhancement: curve api change * chore: update curve fi api url * chore: fix contract casing (#44) * feature: binance smart chain sett support (#33) * feature: add pancakeswap protocols service * chore: move toLowerCase * bugfix: remedy single token calculation (#45) * feat: add currency selection (#46) * feat: add currency selection * chore: fix test string * chore: cleanup test flow * feat: update token config (#48) * feat: add pricing db utils * chore: intial token definitions * feat: finalize db pricing * chore: use new token lookup * refactor(badger-api): Abstract fetching pricing data with strategies (#49) * WIP * Move chain addresses under strategy * chore: intial bsc price cleanup (#50) * feat: add bsc chain price implementation * chore: fix strategy inputs, fix bsc blocks per year * feat: live sett data (#51) * feat: live sett data * chore: enable currency for value endpoint * chore: address pr comments * chore: add chain registration (#53) * chore: add chain registration * chore: fix tests, move bootstrap to beforeInit * chore: add token definitions for vault tokens * feat: add vault lp apy (#54) * feat: add vault lp apy * chore: update enum name * chore: add eth btoken pricing (#55) * feat(badger-api): Filter out harvestable performances (#56) * feat(badger-api): Filter out harvestable performances * Remove extra APY calculation * revert: Mistake deletion * Remove cast * Add return type * chore: update apy names, update filtering, add btoken for bsc (#57) * chore: update apy names, update filtering, add btoken for bsc * chore: fix formatting * fix: remove transfer position field and fix pending withdrawal (#58) * fix: remove transfer position field and fix pending withdrawal * lint: format * chore: remove type * chore: bsc launch unhappy path hell patches (#60) * chore: fix unhappy pathing for bsc launch * chore: update pool id * refactor(badger-api): Clean up files under `harvests/` (#62) * chore: handle special digg pffs case (#61) * chore: handle special digg pffs case * chore: fix pricing * initial tsed implementation (#14) initial api v2 - introduce tsed router * Add CLAW endpoints (#15) * bump v2, add dynamodb tables, iam managed policies (#16) * bump v2, add dynamodb tables, iam managed policies * fix merge conflicts Co-authored-by: jintao <hellojintao@protonmail.com> * initial utility service implementations (#19) * graph progress * remove v1 indexers * implement underlying token tracking, liquidity fees * include token emission v1 holdover * comments, clean up Co-authored-by: jintao <hellojintao@protonmail.com> * v1 mandatory fix * change sbtc price source (#22) Co-authored-by: jintao <hellojintao@protonmail.com> * remove swagger docgen (#24) Co-authored-by: jintao <hellojintao@protonmail.com> * linting run, migrate dependencies, add aws deployment dependencies (#25) * initial linter run * hybrid deployment operational Co-authored-by: jintao <hellojintao@protonmail.com> * add generic merkle claim api (#26) * initial airdrop api * minor updates, add cors support * remove lowercase from reward tree check * use merkle bucket Co-authored-by: jintao <hellojintao@protonmail.com> * add staging claim bucket (#27) * add airdrop service * segregate on staging bucket * refactor paths * remove compression middleware, update json path * update 404 text * use bucket root Co-authored-by: jintao <hellojintao@protonmail.com> * feat(badger-api): Update lint rules and add tsconfig files * feat(badger-api): Add graphql-codegen and generate protocol schemas * Update Badger and SushiSwap subgraph URLs * use two badger graphs * feat: add caching price service * refactor(badger-api): Clean up generated code * add price endpoint * add sett fields * feat(badger-api): Generate query wrapper for fetching harvests (#17) * enhancement: query file on update * chore: update syntax, remove logs * feat(badger-api): Add controller and services to query harvests * Add service tests and reorganize files * chore: relocate setts service * enchancement: reorganize services, lower tsed logging * chore: move remaining services * enhancement: initial multichain support * intial chain implementations * chore: rename util folder * chore: lint formatting * enhancement: split out protocol service * address nits * chore: update package json for dependencies * enhancement: enable multichain queries * feat(badger-api): Fetch MasterChefs data via GraphQL SDK * chore: update tsed, update serverless yml * feat(badger-api): Generate types for Sett query from codegen * chore: add pancakeswap graphql (#36) * enhancement: add price service test (#35) * enhancement: add price service test * chore: update test method * chore: update prettier rc (#37) * chore(badger-api): Regenerate codegen types (#38) * chore(badger-api): Regenerate codegen types * Fix lint * feat(badger-api): Replace queries for Sushiswap pairs with generated SDK methods (#39) * WIP * Replace calls * feat(badger-api): Replace queries for Uniswap pairs with generated SDK methods (#40) * feat(badger-api): Refactor fetching user data to GraphQL SDK (#41) * feature: binance smart chain sett support (#33) * feature: add pancakeswap protocols service * chore: move toLowerCase * feat: add currency selection (#46) * feat: add currency selection * chore: fix test string * chore: cleanup test flow * feat: update token config (#48) * feat: add pricing db utils * chore: intial token definitions * feat: finalize db pricing * chore: use new token lookup * refactor(badger-api): Abstract fetching pricing data with strategies (#49) * WIP * Move chain addresses under strategy * chore: intial bsc price cleanup (#50) * feat: add bsc chain price implementation * chore: fix strategy inputs, fix bsc blocks per year * feat: live sett data (#51) * feat: live sett data * chore: enable currency for value endpoint * chore: address pr comments * chore: add chain registration (#53) * chore: add chain registration * chore: fix tests, move bootstrap to beforeInit * chore: add token definitions for vault tokens * feat: add vault lp apy (#54) * feat: add vault lp apy * chore: update enum name * chore: add eth btoken pricing (#55) * feat(badger-api): Filter out harvestable performances (#56) * feat(badger-api): Filter out harvestable performances * Remove extra APY calculation * revert: Mistake deletion * Remove cast * Add return type * chore: update apy names, update filtering, add btoken for bsc (#57) * chore: update apy names, update filtering, add btoken for bsc * chore: fix formatting * fix: remove transfer position field and fix pending withdrawal (#58) * fix: remove transfer position field and fix pending withdrawal * lint: format * chore: remove type * chore: bsc launch unhappy path hell patches (#60) * chore: fix unhappy pathing for bsc launch * chore: update pool id * refactor(badger-api): Clean up files under `harvests/` (#62) * chore: handle special digg pffs case (#61) * chore: handle special digg pffs case * chore: fix pricing * chore: remove codegen file * chore: respond not found on load failure (#66) Co-authored-by: default <bokwandu@gmail.com> Co-authored-by: Bo Du <bo@chronosphere.io> Co-authored-by: default <harlem.shakeshack@gmail.com> Co-authored-by: Kaneki <79668923+ethkaneki@users.noreply.github.com> Co-authored-by: Kaneki <ethkaneki@protonmail.com> * chore: cut feature sett shop (#73) * chore: respond not found on load failure (#66) * Update MerkleDistribution.ts (#69) * feat: add price db offline tests (#68) * feat(badger-api): Create DynamoDB table for Sett snapshots (#70) * feat(badger-api): Create DynamoDB table for Sett snapshots * Fix yml * feat: add badger shop eligibility api (#72) * feat: add badger shop eligibility api * chore: update response * chore: update s3 response Co-authored-by: Darruma <30578602+Darruma@users.noreply.github.com> Co-authored-by: Kaneki <79668923+ethkaneki@users.noreply.github.com> * feat: affiliate release (#87) * chore: revert serverless Co-authored-by: default <bokwandu@gmail.com> Co-authored-by: Bo Du <bo@chronosphere.io> Co-authored-by: default <harlem.shakeshack@gmail.com> Co-authored-by: Kaneki <79668923+ethkaneki@users.noreply.github.com> Co-authored-by: Kaneki <ethkaneki@protonmail.com> Co-authored-by: Darruma <30578602+Darruma@users.noreply.github.com>
okjintao
added a commit
that referenced
this pull request
Apr 10, 2021
* feat: initial v2 working implementation (#52) * initial tsed implementation (#14) initial api v2 - introduce tsed router * Add CLAW endpoints (#15) * bump v2, add dynamodb tables, iam managed policies (#16) * bump v2, add dynamodb tables, iam managed policies * fix merge conflicts Co-authored-by: jintao <hellojintao@protonmail.com> * initial utility service implementations (#19) * graph progress * remove v1 indexers * implement underlying token tracking, liquidity fees * include token emission v1 holdover * comments, clean up Co-authored-by: jintao <hellojintao@protonmail.com> * v1 mandatory fix * feat: add additional emp fields * fix: do math * change sbtc price source (#22) Co-authored-by: jintao <hellojintao@protonmail.com> * remove swagger docgen (#24) Co-authored-by: jintao <hellojintao@protonmail.com> * linting run, migrate dependencies, add aws deployment dependencies (#25) * initial linter run * hybrid deployment operational Co-authored-by: jintao <hellojintao@protonmail.com> * add generic merkle claim api (#26) * initial airdrop api * minor updates, add cors support * remove lowercase from reward tree check * use merkle bucket Co-authored-by: jintao <hellojintao@protonmail.com> * add staging claim bucket (#27) * add airdrop service * segregate on staging bucket * refactor paths * remove compression middleware, update json path * update 404 text * use bucket root Co-authored-by: jintao <hellojintao@protonmail.com> * feat: add fields to claws * feat(badger-api): Add format and fix lint command (#6) * feat(badger-api): Update lint rules and add tsconfig files * Add missing newline * fix(badger-api): Remove `incremental` from `tsconfig.json` * feat(badger-api): Add graphql-codegen and generate protocol schemas * Update Badger and SushiSwap subgraph URLs * use two badger graphs * feat: add caching price service * refactor(badger-api): Clean up generated code * fix serverless build * add price endpoint * add sett fields * feat(badger-api): Update GH actions to build and lint * chore: format claw data * fix: spellcheck * chore: fix lint * Fix lint * feat(badger-api): Generate query wrapper for fetching harvests (#17) * enhancement: query file on update * chore: update syntax, remove logs * feat(badger-api): Add controller and services to query harvests * Add service tests and reorganize files * Add test for controller * Update lockfile * feat(badger-api): Add running tests to GH workflow * chore: relocate setts service * enchancement: reorganize services, lower tsed logging * chore: move remaining services * enhancement: initial multichain support * intial chain implementations * chore: rename util folder * chore: lint formatting * feat: add token currency field to claws endpoint * chore: fix lint * enhancement: split out protocol service * address nits * chore: update package json for dependencies * enhancement: enable multichain queries * chore: fix controller call * feat(badger-api): Fetch MasterChefs data via GraphQL SDK * chore: update tsed, update serverless yml * feat(badger-api): Generate types for Sett query from codegen * chore: add pancakeswap graphql (#36) * enhancement: add price service test (#35) * enhancement: add price service test * chore: update test method * chore: update prettier rc (#37) * chore(badger-api): Regenerate codegen types (#38) * chore(badger-api): Regenerate codegen types * Fix lint * feat(badger-api): Replace queries for Sushiswap pairs with generated SDK methods (#39) * WIP * Replace calls * feat(badger-api): Replace queries for Uniswap pairs with generated SDK methods (#40) * feat(badger-api): Refactor fetching user data to GraphQL SDK (#41) * feat(badger-api): Pull in Geysers and Setts via GraphQL SDK (#42) * chort: update curve fi api url (#43) * enhancement: curve api change * chore: update curve fi api url * chore: fix contract casing (#44) * feature: binance smart chain sett support (#33) * feature: add pancakeswap protocols service * chore: move toLowerCase * bugfix: remedy single token calculation (#45) * feat: add currency selection (#46) * feat: add currency selection * chore: fix test string * chore: cleanup test flow * feat: update token config (#48) * feat: add pricing db utils * chore: intial token definitions * feat: finalize db pricing * chore: use new token lookup * refactor(badger-api): Abstract fetching pricing data with strategies (#49) * WIP * Move chain addresses under strategy * chore: intial bsc price cleanup (#50) * feat: add bsc chain price implementation * chore: fix strategy inputs, fix bsc blocks per year * feat: live sett data (#51) * feat: live sett data * chore: enable currency for value endpoint * chore: address pr comments Co-authored-by: default <bokwandu@gmail.com> Co-authored-by: Bo Du <bo@chronosphere.io> Co-authored-by: default <harlem.shakeshack@gmail.com> Co-authored-by: Kaneki <79668923+ethkaneki@users.noreply.github.com> Co-authored-by: Kaneki <ethkaneki@protonmail.com> * chore: update main (#65) * initial tsed implementation (#14) initial api v2 - introduce tsed router * Add CLAW endpoints (#15) * bump v2, add dynamodb tables, iam managed policies (#16) * bump v2, add dynamodb tables, iam managed policies * fix merge conflicts Co-authored-by: jintao <hellojintao@protonmail.com> * initial utility service implementations (#19) * graph progress * remove v1 indexers * implement underlying token tracking, liquidity fees * include token emission v1 holdover * comments, clean up Co-authored-by: jintao <hellojintao@protonmail.com> * v1 mandatory fix * feat: add additional emp fields * fix: do math * change sbtc price source (#22) Co-authored-by: jintao <hellojintao@protonmail.com> * remove swagger docgen (#24) Co-authored-by: jintao <hellojintao@protonmail.com> * linting run, migrate dependencies, add aws deployment dependencies (#25) * initial linter run * hybrid deployment operational Co-authored-by: jintao <hellojintao@protonmail.com> * add generic merkle claim api (#26) * initial airdrop api * minor updates, add cors support * remove lowercase from reward tree check * use merkle bucket Co-authored-by: jintao <hellojintao@protonmail.com> * add staging claim bucket (#27) * add airdrop service * segregate on staging bucket * refactor paths * remove compression middleware, update json path * update 404 text * use bucket root Co-authored-by: jintao <hellojintao@protonmail.com> * feat: add fields to claws * feat(badger-api): Add format and fix lint command (#6) * feat(badger-api): Update lint rules and add tsconfig files * Add missing newline * fix(badger-api): Remove `incremental` from `tsconfig.json` * feat(badger-api): Add graphql-codegen and generate protocol schemas * Update Badger and SushiSwap subgraph URLs * use two badger graphs * feat: add caching price service * refactor(badger-api): Clean up generated code * fix serverless build * add price endpoint * add sett fields * feat(badger-api): Update GH actions to build and lint * chore: format claw data * fix: spellcheck * chore: fix lint * Fix lint * feat(badger-api): Generate query wrapper for fetching harvests (#17) * enhancement: query file on update * chore: update syntax, remove logs * feat(badger-api): Add controller and services to query harvests * Add service tests and reorganize files * Add test for controller * Update lockfile * feat(badger-api): Add running tests to GH workflow * chore: relocate setts service * enchancement: reorganize services, lower tsed logging * chore: move remaining services * enhancement: initial multichain support * intial chain implementations * chore: rename util folder * chore: lint formatting * feat: add token currency field to claws endpoint * chore: fix lint * enhancement: split out protocol service * address nits * chore: update package json for dependencies * enhancement: enable multichain queries * chore: fix controller call * feat(badger-api): Fetch MasterChefs data via GraphQL SDK * chore: update tsed, update serverless yml * feat(badger-api): Generate types for Sett query from codegen * chore: add pancakeswap graphql (#36) * enhancement: add price service test (#35) * enhancement: add price service test * chore: update test method * chore: update prettier rc (#37) * chore(badger-api): Regenerate codegen types (#38) * chore(badger-api): Regenerate codegen types * Fix lint * feat(badger-api): Replace queries for Sushiswap pairs with generated SDK methods (#39) * WIP * Replace calls * feat(badger-api): Replace queries for Uniswap pairs with generated SDK methods (#40) * feat(badger-api): Refactor fetching user data to GraphQL SDK (#41) * feat(badger-api): Pull in Geysers and Setts via GraphQL SDK (#42) * chort: update curve fi api url (#43) * enhancement: curve api change * chore: update curve fi api url * chore: fix contract casing (#44) * feature: binance smart chain sett support (#33) * feature: add pancakeswap protocols service * chore: move toLowerCase * bugfix: remedy single token calculation (#45) * feat: add currency selection (#46) * feat: add currency selection * chore: fix test string * chore: cleanup test flow * feat: update token config (#48) * feat: add pricing db utils * chore: intial token definitions * feat: finalize db pricing * chore: use new token lookup * refactor(badger-api): Abstract fetching pricing data with strategies (#49) * WIP * Move chain addresses under strategy * chore: intial bsc price cleanup (#50) * feat: add bsc chain price implementation * chore: fix strategy inputs, fix bsc blocks per year * feat: live sett data (#51) * feat: live sett data * chore: enable currency for value endpoint * chore: address pr comments * chore: add chain registration (#53) * chore: add chain registration * chore: fix tests, move bootstrap to beforeInit * chore: add token definitions for vault tokens * feat: add vault lp apy (#54) * feat: add vault lp apy * chore: update enum name * chore: add eth btoken pricing (#55) * feat(badger-api): Filter out harvestable performances (#56) * feat(badger-api): Filter out harvestable performances * Remove extra APY calculation * revert: Mistake deletion * Remove cast * Add return type * chore: update apy names, update filtering, add btoken for bsc (#57) * chore: update apy names, update filtering, add btoken for bsc * chore: fix formatting * fix: remove transfer position field and fix pending withdrawal (#58) * fix: remove transfer position field and fix pending withdrawal * lint: format * chore: remove type * chore: bsc launch unhappy path hell patches (#60) * chore: fix unhappy pathing for bsc launch * chore: update pool id * refactor(badger-api): Clean up files under `harvests/` (#62) * chore: handle special digg pffs case (#61) * chore: handle special digg pffs case * chore: fix pricing * initial tsed implementation (#14) initial api v2 - introduce tsed router * Add CLAW endpoints (#15) * bump v2, add dynamodb tables, iam managed policies (#16) * bump v2, add dynamodb tables, iam managed policies * fix merge conflicts Co-authored-by: jintao <hellojintao@protonmail.com> * initial utility service implementations (#19) * graph progress * remove v1 indexers * implement underlying token tracking, liquidity fees * include token emission v1 holdover * comments, clean up Co-authored-by: jintao <hellojintao@protonmail.com> * v1 mandatory fix * change sbtc price source (#22) Co-authored-by: jintao <hellojintao@protonmail.com> * remove swagger docgen (#24) Co-authored-by: jintao <hellojintao@protonmail.com> * linting run, migrate dependencies, add aws deployment dependencies (#25) * initial linter run * hybrid deployment operational Co-authored-by: jintao <hellojintao@protonmail.com> * add generic merkle claim api (#26) * initial airdrop api * minor updates, add cors support * remove lowercase from reward tree check * use merkle bucket Co-authored-by: jintao <hellojintao@protonmail.com> * add staging claim bucket (#27) * add airdrop service * segregate on staging bucket * refactor paths * remove compression middleware, update json path * update 404 text * use bucket root Co-authored-by: jintao <hellojintao@protonmail.com> * feat(badger-api): Update lint rules and add tsconfig files * feat(badger-api): Add graphql-codegen and generate protocol schemas * Update Badger and SushiSwap subgraph URLs * use two badger graphs * feat: add caching price service * refactor(badger-api): Clean up generated code * add price endpoint * add sett fields * feat(badger-api): Generate query wrapper for fetching harvests (#17) * enhancement: query file on update * chore: update syntax, remove logs * feat(badger-api): Add controller and services to query harvests * Add service tests and reorganize files * chore: relocate setts service * enchancement: reorganize services, lower tsed logging * chore: move remaining services * enhancement: initial multichain support * intial chain implementations * chore: rename util folder * chore: lint formatting * enhancement: split out protocol service * address nits * chore: update package json for dependencies * enhancement: enable multichain queries * feat(badger-api): Fetch MasterChefs data via GraphQL SDK * chore: update tsed, update serverless yml * feat(badger-api): Generate types for Sett query from codegen * chore: add pancakeswap graphql (#36) * enhancement: add price service test (#35) * enhancement: add price service test * chore: update test method * chore: update prettier rc (#37) * chore(badger-api): Regenerate codegen types (#38) * chore(badger-api): Regenerate codegen types * Fix lint * feat(badger-api): Replace queries for Sushiswap pairs with generated SDK methods (#39) * WIP * Replace calls * feat(badger-api): Replace queries for Uniswap pairs with generated SDK methods (#40) * feat(badger-api): Refactor fetching user data to GraphQL SDK (#41) * feature: binance smart chain sett support (#33) * feature: add pancakeswap protocols service * chore: move toLowerCase * feat: add currency selection (#46) * feat: add currency selection * chore: fix test string * chore: cleanup test flow * feat: update token config (#48) * feat: add pricing db utils * chore: intial token definitions * feat: finalize db pricing * chore: use new token lookup * refactor(badger-api): Abstract fetching pricing data with strategies (#49) * WIP * Move chain addresses under strategy * chore: intial bsc price cleanup (#50) * feat: add bsc chain price implementation * chore: fix strategy inputs, fix bsc blocks per year * feat: live sett data (#51) * feat: live sett data * chore: enable currency for value endpoint * chore: address pr comments * chore: add chain registration (#53) * chore: add chain registration * chore: fix tests, move bootstrap to beforeInit * chore: add token definitions for vault tokens * feat: add vault lp apy (#54) * feat: add vault lp apy * chore: update enum name * chore: add eth btoken pricing (#55) * feat(badger-api): Filter out harvestable performances (#56) * feat(badger-api): Filter out harvestable performances * Remove extra APY calculation * revert: Mistake deletion * Remove cast * Add return type * chore: update apy names, update filtering, add btoken for bsc (#57) * chore: update apy names, update filtering, add btoken for bsc * chore: fix formatting * fix: remove transfer position field and fix pending withdrawal (#58) * fix: remove transfer position field and fix pending withdrawal * lint: format * chore: remove type * chore: bsc launch unhappy path hell patches (#60) * chore: fix unhappy pathing for bsc launch * chore: update pool id * refactor(badger-api): Clean up files under `harvests/` (#62) * chore: handle special digg pffs case (#61) * chore: handle special digg pffs case * chore: fix pricing * chore: remove codegen file * chore: respond not found on load failure (#66) Co-authored-by: default <bokwandu@gmail.com> Co-authored-by: Bo Du <bo@chronosphere.io> Co-authored-by: default <harlem.shakeshack@gmail.com> Co-authored-by: Kaneki <79668923+ethkaneki@users.noreply.github.com> Co-authored-by: Kaneki <ethkaneki@protonmail.com> * chore: cut feature sett shop (#73) * chore: respond not found on load failure (#66) * Update MerkleDistribution.ts (#69) * feat: add price db offline tests (#68) * feat(badger-api): Create DynamoDB table for Sett snapshots (#70) * feat(badger-api): Create DynamoDB table for Sett snapshots * Fix yml * feat: add badger shop eligibility api (#72) * feat: add badger shop eligibility api * chore: update response * chore: update s3 response Co-authored-by: Darruma <30578602+Darruma@users.noreply.github.com> Co-authored-by: Kaneki <79668923+ethkaneki@users.noreply.github.com> * feat: affiliate release (#87) * chore: revert serverless Co-authored-by: default <bokwandu@gmail.com> Co-authored-by: Bo Du <bo@chronosphere.io> Co-authored-by: default <harlem.shakeshack@gmail.com> Co-authored-by: Kaneki <79668923+ethkaneki@users.noreply.github.com> Co-authored-by: Kaneki <ethkaneki@protonmail.com> Co-authored-by: Darruma <30578602+Darruma@users.noreply.github.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
No description provided.