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

Implement new token loading #498

Merged
merged 8 commits into from
Apr 1, 2022
Merged

Implement new token loading #498

merged 8 commits into from
Apr 1, 2022

Conversation

abefernan
Copy link
Collaborator

@abefernan abefernan commented Mar 17, 2022

Closes #472.

Known issues:

  • Liquidity tokens have reverted to the old uLP naming, a separate issue will address this when we come up with a new approach.
  • Sometimes when creating a token it gets added to the global list but does not get automatically pinned.

* Add TokensProvider

* Use TokensProvider

* Complete TokensProvider
* Remove console.log

* Tweak pinnedTokens usage

* Pin token on creation

* Use reloadPinned instead of refreshBalances on Send

* Use pinnedTokens from tokensState in wallet modal

* Unpin token if token_info failed
* Fix setToken in reducer

* Reload only sent token on the list

* Avoid loadToken throw

* Add loadToken to Provide

* Add loadToken to Exchange

* Add loadToken to Withdraw

* Add loadToken to Approve
* Add helpers and tweak pin/unpin

* Use new pin and token list

* Refresh only one token on creation

* Remove refreshTokens on load

* Use tokenFilter and new token list

* Tweak ListTokens and add pagination

* Add AllTokens view

* Add PinnedTokens view

* Add wip TokenDetail view

* Add tabs and views to SelectTokenModal
* Give more chance to pinToken

* Implement TokenDetail

* Add styles for TokenDetail
@abefernan abefernan marked this pull request as ready for review April 1, 2022 09:26
@abefernan abefernan self-assigned this Apr 1, 2022
@abefernan abefernan merged commit 26cc0c2 into main Apr 1, 2022
@abefernan abefernan deleted the new-token-loading branch April 1, 2022 14:46
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.

New approach for managing tokens
1 participant