-
Notifications
You must be signed in to change notification settings - Fork 34
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(tokens): add support for sSTRK token and pools #197
base: dev
Are you sure you want to change the base?
Conversation
@0xdevcollins there error could be bcz of improper env variables. |
@0xdevcollins Second, sSTRK pool on Vesu and Nostra (Lending/borrow) is not added. |
src/store/ekobu.store.ts
Outdated
@@ -175,6 +175,9 @@ export class Ekubo extends IDapp<EkuboBaseAprDoc> { | |||
'USDT', | |||
'ETH', | |||
'STRK', | |||
'sSTRK/USDC', |
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.
This should be SSTRK
not sSTRK
src/store/ekobu.store.ts
Outdated
@@ -175,6 +175,9 @@ export class Ekubo extends IDapp<EkuboBaseAprDoc> { | |||
'USDT', | |||
'ETH', | |||
'STRK', | |||
'sSTRK/USDC', | |||
'sSTRK/ETH', |
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.
Same as above
src/store/ekobu.store.ts
Outdated
@@ -175,6 +175,9 @@ export class Ekubo extends IDapp<EkuboBaseAprDoc> { | |||
'USDT', | |||
'ETH', | |||
'STRK', | |||
'sSTRK/USDC', | |||
'sSTRK/ETH', | |||
'sSTRK', |
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.
Same as above
src/constants.ts
Outdated
@@ -77,6 +85,19 @@ const CONSTANTS = { | |||
}; | |||
|
|||
export const TOKENS: TokenInfo[] = [ | |||
{ | |||
token: standariseAddress( | |||
'0x0260c02fd6942c788b8905d2c1b98b5a98fffd2ec0dfb013aa4b148781e269b6', |
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.
The token contract address should be 0x0356f304b154d29d2a8fe22f1cb9107a9b564a733cf6b4cc47fd121ac1af90c9
Please deploy your app on Vercel and provide the link in the description |
@0xdevcollins any progress? |
I update the Pr today |
Alright |
@0xdevcollins please deploy your app on Vercel and provide the link in the description |
@0xdevcollins any progress with this? |
https://starkfarm-client-dun.vercel.app
|
@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? |
@@ -9,6 +9,7 @@ const LOGOS = { | |||
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', |
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.
Invalid sSTRK logo url. Also, its sSTRK, not SSTRK (The first s is small)
token: standariseAddress( | ||
'0x0356f304b154d29d2a8fe22f1cb9107a9b564a733cf6b4cc47fd121ac1af90c9', | ||
), | ||
name: 'SSTRK', |
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.
its sSTRK, not SSTRK
@@ -18,7 +18,14 @@ export class NostraDex extends Jediswap { | |||
if (!myData) return []; | |||
const pools: PoolInfo[] = []; | |||
|
|||
const supportedPools = ['ETH-USDC', 'STRK-ETH', 'STRK-USDC', 'USDC-USDT']; | |||
const supportedPools = [ |
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.
This change has no impact on logic. sSTRK pool on nostra is shown even without this change.
@@ -0,0 +1 @@ | |||
095b1ce0-c1b8-4464-9692-ad6ed63effed |
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.
Unnecessary file. Please add to .codegpt
to gitignore and refresh gitignore.
PR Fixes:
Resolves #190
Vercel website link
Checklist before requesting a review