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

feat: add line-token-rewards #1396

Merged
merged 3 commits into from
Aug 12, 2024

Conversation

Taump
Copy link
Contributor

@Taump Taump commented Jun 25, 2024

No description provided.

@llamatester
Copy link

Error while running line-token-rewards adapter:

Test Suites: 1 failed, 1 total
Tests: 1 failed, 9 passed, 10 total
Snapshots: 0 total
Time: 0.271 s
Ran all test suites.

Nb of pools: 1
 

Sample pools:
┌─────────┬─────────┬──────────────────────┬──────────────┬───────────┬───────────────────┬───────────────────┬──────────────┬────────┐
│ (index) │  chain  │       project        │ rewardTokens │ apyReward │      apyBase      │      tvlUsd       │     pool     │ symbol │
├─────────┼─────────┼──────────────────────┼──────────────┼───────────┼───────────────────┼───────────────────┼──────────────┼────────┤
│    0    │ 'Obyte' │ 'line-token-rewards' │ [ 'GBYTE' ]  │   null    │ 57.68065970754308 │ 708856.7920929586 │ 'line-obyte' │ 'LINE' │
└─────────┴─────────┴──────────────────────┴──────────────┴───────────┴───────────────────┴───────────────────┴──────────────┴────────┘
}

@Taump Taump marked this pull request as ready for review July 8, 2024 08:05
@Taump
Copy link
Contributor Author

Taump commented Jul 8, 2024

@g1nt0ki The tests failed because there is no TVL adapter, and we can't create one as balances in wallets are not counted as TVL. Here, the rewards are based on balances in certain tokens held in wallets. Not sure if this yield adapter is still eligible.

@Taump
Copy link
Contributor Author

Taump commented Jul 29, 2024

@g1nt0ki
Copy link
Member

g1nt0ki commented Aug 5, 2024

@Taump what test are you talking about?

@Taump
Copy link
Contributor Author

Taump commented Aug 6, 2024

Error while running line-token-rewards adapter:

Test Suites: 1 failed, 1 total Tests: 1 failed, 9 passed, 10 total Snapshots: 0 total Time: 0.271 s Ran all test suites.

Nb of pools: 1
 

Sample pools:
┌─────────┬─────────┬──────────────────────┬──────────────┬───────────┬───────────────────┬───────────────────┬──────────────┬────────┐
│ (index) │  chain  │       project        │ rewardTokens │ apyReward │      apyBase      │      tvlUsd       │     pool     │ symbol │
├─────────┼─────────┼──────────────────────┼──────────────┼───────────┼───────────────────┼───────────────────┼──────────────┼────────┤
│    0    │ 'Obyte' │ 'line-token-rewards' │ [ 'GBYTE' ]  │   null    │ 57.68065970754308 │ 708856.7920929586 │ 'line-obyte' │ 'LINE' │
└─────────┴─────────┴──────────────────────┴──────────────┴───────────┴───────────────────┴───────────────────┴──────────────┴────────┘
}

@g1nt0ki This one

@Define101
Copy link
Member

id: "4953",
name: "LINE Token Rewards",

@llamatester
Copy link

The line-token-rewards adapter exports pools:

Test Suites: 1 passed, 1 total
Tests: 10 passed, 10 total
Snapshots: 0 total
Time: 0.279 s
Ran all test suites.

Nb of pools: 1
 

Sample pools:
┌─────────┬─────────┬──────────────────────┬──────────────┬───────────┬────────────────────┬───────────────────┬──────────────┬────────┐
│ (index) │  chain  │       project        │ rewardTokens │ apyReward │      apyBase       │      tvlUsd       │     pool     │ symbol │
├─────────┼─────────┼──────────────────────┼──────────────┼───────────┼────────────────────┼───────────────────┼──────────────┼────────┤
│    0    │ 'Obyte' │ 'line-token-rewards' │ [ 'GBYTE' ]  │   null    │ 43.744674267633975 │ 236856.8190137829 │ 'line-obyte' │ 'LINE' │
└─────────┴─────────┴──────────────────────┴──────────────┴───────────┴────────────────────┴───────────────────┴──────────────┴────────┘

@llamatester
Copy link

The line-token-rewards adapter exports pools:

Test Suites: 1 passed, 1 total
Tests: 10 passed, 10 total
Snapshots: 0 total
Time: 0.26 s
Ran all test suites.

Nb of pools: 1
 

Sample pools:
┌─────────┬─────────┬──────────────────────┬──────────────┬───────────┬────────────────────┬───────────────────┬──────────────┬────────┐
│ (index) │  chain  │       project        │ rewardTokens │ apyReward │      apyBase       │      tvlUsd       │     pool     │ symbol │
├─────────┼─────────┼──────────────────────┼──────────────┼───────────┼────────────────────┼───────────────────┼──────────────┼────────┤
│    0    │ 'Obyte' │ 'line-token-rewards' │ [ 'GBYTE' ]  │   null    │ 22.500714816853474 │ 236856.8190137829 │ 'line-obyte' │ 'LINE' │
└─────────┴─────────┴──────────────────────┴──────────────┴───────────┴────────────────────┴───────────────────┴──────────────┴────────┘

@Taump
Copy link
Contributor Author

Taump commented Aug 7, 2024

id: "4953",
name: "LINE Token Rewards",

Thank you ❤️ It works now

@Taump Taump marked this pull request as draft August 8, 2024 15:24
@Taump Taump marked this pull request as ready for review August 8, 2024 15:24
@slasher125 slasher125 merged commit 9c36dd8 into DefiLlama:master Aug 12, 2024
1 check passed
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.

5 participants