How to calculate TVL for Defillama adapter? #198
-
|
I've been working on adding Sonic to the Defillama adapter and discovered that the current approach for calculating TVL may have been broken after the recent upgrade. The adapter depends on the following query to pull data: {
contracts { id address category }
assets { id chainId symbol }
}As pointed out by @gavriliumircea on Slack, the Since the I would like to get some help here on how to best approach this. cc @PaulRBerg. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 4 replies
-
|
Huh. I thought that that entity was only used for the contract initialization thingy. I didn't know it was used externally. We will take the path of least resistance and bring back the |
Beta Was this translation helpful? Give feedback.
-
|
We brought back the I don't remember how it looked like when it didn't work.
|
Beta Was this translation helpful? Give feedback.

Huh. I thought that that entity was only used for the contract initialization thingy. I didn't know it was used externally.
We will take the path of least resistance and bring back the
Contractentity: #202