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

Add dynamic tokens.json support #1

Open
akiraonstarknet opened this issue Aug 29, 2024 · 4 comments
Open

Add dynamic tokens.json support #1

akiraonstarknet opened this issue Aug 29, 2024 · 4 comments
Assignees

Comments

@akiraonstarknet
Copy link
Contributor

When zkLend adds new tokens, getPositions and price compute fails as pricer and certain operations run on static tokens.json data. We need to make this list update dynamically.

@ShantelPeters
Copy link

Hi @akiraonstarknet
Please can I be assigned to this issue

@akiraonstarknet
Copy link
Contributor Author

@ShantelPeters please share your understanding and approach to solve the issue. If you need to talk, reach out to me on tg @akiraonstarknet

@ShantelPeters
Copy link

ShantelPeters commented Sep 1, 2024

Hi @akiraonstarknet From my understanding , the current issue arises from the static nature of the tokens.json file which causes getPositions and price to fail when new tokens are added ..
I plan to solve this by updating the tokens.json file dynamically when new tokens are added so the pricer and operations can access the lastest token list.

@ShantelPeters
Copy link

Hello @akiraonstarknet
I tried reaching out to you on telegram and I didn’t get anymore response from you

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

No branches or pull requests

2 participants