Closed RedVeil closed 1 year ago
We should fetch all assets that yearn supports. In order to do so we need to quite a few things: On the vaultRegistry:
numTokens
tokens
On the vaultFactory:
allDeployedVaults
token
Now we have the complete list of all supported tokens that we can return.
VaultRegistry: https://etherscan.io/address/0x50c1a2eA0a861A967D9d0FFE2AE4012c2E053804#readContract VaultFactory: https://etherscan.io/address/0x21b1fc8a52f179757bf555346130bf27c0c2a17a#readContract
We should fetch all assets that yearn supports. In order to do so we need to quite a few things: On the vaultRegistry:
numTokens
to receive ntokens
with the current index.On the vaultFactory:
allDeployedVaults
token
Now we have the complete list of all supported tokens that we can return.