This repository has been archived by the owner on Jan 24, 2024. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(rigoblock): optimize underlying token definitions (#2779)
* fix(rigoblock): remove token blacklist and optimize calls - we remove tokens that are not tracked by either coingecko or zapper (i.e. bridged tokens, tokens with 0 supply or volume, ...) - we query the token whitelist onchain just once with "definitions". - removed token blacklist filter from getUnderlyingTokenDefinitions * fix(rigoblock): return only positive token balances - filter token list for each pool by tokens where the pool holds a positive balance. * removed abstract blockedTokenAddresses definition * type fixes * fix types definitions * style: minor fix
- Loading branch information
Showing
5 changed files
with
39 additions
and
42 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters