Skip to content

Add Gro protocol adapter#502

Open
flabble-gro wants to merge 2 commits intoConcourseOpen:stagingfrom
flabble-gro:gro-protocol
Open

Add Gro protocol adapter#502
flabble-gro wants to merge 2 commits intoConcourseOpen:stagingfrom
flabble-gro:gro-protocol

Conversation

@flabble-gro
Copy link

Initial version of adapter for gro-protocol. Using the previous projects approach, discussing in Discord channel with Garrett

@flabble-gro flabble-gro changed the title Gro protocol Add Gro protocol adapter Dec 16, 2021
Copy link
Contributor

@arman37 arman37 left a comment

Choose a reason for hiding this comment

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

It should count only locked tokens as TVL.

also the adapter throws error:

npm run test-tvl -- --project=gro                                                                                                                                         3250ms  Wed Dec 29 22:00:53 2021

> defipulse-adapters@1.0.0 test-tvl /Users/arman/Documents/Concourse/DeFi-Pulse-Adapters
> mocha v2/testing/test/*.js "--project=gro"



  Gro Protocol project adapter running & output format
    runs for a variety of points at different times
TypeError: sdk.util.sumSingleBalance is not a function
    at Object.tvl (/Users/arman/Documents/Concourse/DeFi-Pulse-Adapters/projects/gro/index.js:20:14)
    at process._tickCallback (internal/process/next_tick.js:68:7)
      1) returns valid tvl data at hour 0. Please go to the Leaderboard at https://test.defipulse.com and search for project: Gro Protocol-test-1640793807907 to validate the tvl!
      2) "after each" hook: save project adapter output for "returns valid tvl data at hour 0. Please go to the Leaderboard at https://test.defipulse.com and search for project: Gro Protocol-test-1640793807907 to validate the tvl!"


  0 passing (2s)
  2 failing

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants