Skip to content

feat(tokens): add support for sSTRK token and pools#197

Merged
akiraonstarknet merged 9 commits intotrovesfi:devfrom
0xdevcollins:feat/Add-sSTRK-DEX-pools
Mar 4, 2025
Merged

feat(tokens): add support for sSTRK token and pools#197
akiraonstarknet merged 9 commits intotrovesfi:devfrom
0xdevcollins:feat/Add-sSTRK-DEX-pools

Conversation

@0xdevcollins
Copy link
Contributor

@0xdevcollins 0xdevcollins commented Dec 21, 2024

PR Fixes:

  • 1 Added Dex pools for sSTRK listed on Ekubo and Nostra.
  • 2 Integrated DeFi Spring rewards for sSTRK into Ekubo and Nostra codebase.

Resolves #190

Vercel website link

Checklist before requesting a review

  • I have performed a self-review of my code
  • I assure there is no similar/duplicate pull request regarding same issue
  • My PR passes all checks (build, lint, formatting, etc)

@0xdevcollins
Copy link
Contributor Author

I get this error when I build
image

@akiraonstarknet
Copy link
Contributor

@0xdevcollins there error could be bcz of improper env variables.
@EjembiEmmanuel can help

@akiraonstarknet
Copy link
Contributor

@0xdevcollins
I dont think STRK Staking pool (sSTRK) by Nimbora is added. Even that needs to be added. Check endur protocol for reference.

Second, sSTRK pool on Vesu and Nostra (Lending/borrow) is not added.

@akiraonstarknet akiraonstarknet self-requested a review December 23, 2024 09:56
'USDT',
'ETH',
'STRK',
'sSTRK/USDC',
Copy link
Collaborator

Choose a reason for hiding this comment

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

This should be SSTRK not sSTRK

'ETH',
'STRK',
'sSTRK/USDC',
'sSTRK/ETH',
Copy link
Collaborator

Choose a reason for hiding this comment

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

Same as above

'STRK',
'sSTRK/USDC',
'sSTRK/ETH',
'sSTRK',
Copy link
Collaborator

Choose a reason for hiding this comment

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

Same as above

src/constants.ts Outdated
export const TOKENS: TokenInfo[] = [
{
token: standariseAddress(
'0x0260c02fd6942c788b8905d2c1b98b5a98fffd2ec0dfb013aa4b148781e269b6',
Copy link
Collaborator

Choose a reason for hiding this comment

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

The token contract address should be 0x0356f304b154d29d2a8fe22f1cb9107a9b564a733cf6b4cc47fd121ac1af90c9

@EjembiEmmanuel
Copy link
Collaborator

Please deploy your app on Vercel and provide the link in the description

@EjembiEmmanuel
Copy link
Collaborator

@0xdevcollins any progress?

@0xdevcollins
Copy link
Contributor Author

@0xdevcollins any progress?

I update the Pr today

@EjembiEmmanuel
Copy link
Collaborator

Alright

@EjembiEmmanuel
Copy link
Collaborator

@0xdevcollins please deploy your app on Vercel and provide the link in the description

@EjembiEmmanuel
Copy link
Collaborator

@0xdevcollins please deploy your app on Vercel and provide the link in the description

@0xdevcollins any progress with this?

@0xdevcollins
Copy link
Contributor Author

https://starkfarm-client-dun.vercel.app

@0xdevcollins please deploy your app on Vercel and provide the link in the description

@EjembiEmmanuel
Copy link
Collaborator

EjembiEmmanuel commented Jan 25, 2025

https://starkfarm-client-dun.vercel.app

@0xdevcollins please deploy your app on Vercel and provide the link in the description

@0xdevcollins it appears you deployed from your dev branch instead of your feature branch because I can't see your changes. Please redeploy from your feature branch.

@EjembiEmmanuel
Copy link
Collaborator

https://starkfarm-client-dun.vercel.app

@0xdevcollins please deploy your app on Vercel and provide the link in the description

@0xdevcollins it appears you deployed from your dev branch instead of your feature branch because I can't see your changes. Please redeploy from your feature branch.

@0xdevcollins any update?

src/constants.ts Outdated
WBTC: '/zklend/icons/tokens/wbtc.svg?w=20',
ETH: '/zklend/icons/tokens/eth.svg?w=20',
STRK: '/zklend/icons/tokens/strk.svg?w=20',
SSTRK: '/zklend/icons/tokens/strk.svg?w=20',
Copy link
Contributor

Choose a reason for hiding this comment

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

Invalid sSTRK logo url. Also, its sSTRK, not SSTRK (The first s is small)

src/constants.ts Outdated
token: standariseAddress(
'0x0356f304b154d29d2a8fe22f1cb9107a9b564a733cf6b4cc47fd121ac1af90c9',
),
name: 'SSTRK',
Copy link
Contributor

Choose a reason for hiding this comment

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

its sSTRK, not SSTRK

const pools: PoolInfo[] = [];

const supportedPools = ['ETH-USDC', 'STRK-ETH', 'STRK-USDC', 'USDC-USDT'];
const supportedPools = [
Copy link
Contributor

Choose a reason for hiding this comment

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

This change has no impact on logic. sSTRK pool on nostra is shown even without this change.

.codegpt/head Outdated
@@ -0,0 +1 @@
095b1ce0-c1b8-4464-9692-ad6ed63effed No newline at end of file
Copy link
Contributor

Choose a reason for hiding this comment

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

Unnecessary file. Please add to .codegpt to gitignore and refresh gitignore.

@web3Gurung
Copy link

@0xdevcollins you there?

@EjembiEmmanuel
Copy link
Collaborator

@0xdevcollins you there?

I don't think he's available. I will make the changes myself

@web3Gurung
Copy link

web3Gurung commented Feb 14, 2025 via email

@akiraonstarknet akiraonstarknet merged commit 056c473 into trovesfi:dev Mar 4, 2025
1 of 2 checks 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.

feat: Add sSTRK DEX pools

4 participants