compound-finance / palisade

Compound Web3 Front-end
https://v2-app.compound.finance
GNU General Public License v3.0
111 stars 83 forks source link

Migrate web3 calls to use sleuth #68

Closed torreyatcitty closed 1 year ago

torreyatcitty commented 1 year ago

Migrate most of the main calls being made to CompoundLens in favor of SluethLens. This changes cuts down all of the individual calls we were making before in favor a single Slueth request for all required data (and one for getTransactionCount).

Makes the app load tons faster as well as supremely cuts down the number of calls being made to infura.