You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Rather than storing a manually maintained list of reserve assets and LPs and then repeating the same lines of code for each one, we should have logic that loops over an array of non-carbon reserve assets (e.g. USDC, KLIMA), carbon reserve assets (e.g. BCT, UBO) and LP assets
This will significantly reduce repetition and reduce the manual burden of maintaining the protocol metrics
Eventually we can load the lists of assets dynamically by reading from the treasury smart contract itself, but for now let's just make them an array of constants in the code
The text was updated successfully, but these errors were encountered:
Rather than storing a manually maintained list of reserve assets and LPs and then repeating the same lines of code for each one, we should have logic that loops over an array of non-carbon reserve assets (e.g. USDC, KLIMA), carbon reserve assets (e.g. BCT, UBO) and LP assets
This will significantly reduce repetition and reduce the manual burden of maintaining the protocol metrics
Eventually we can load the lists of assets dynamically by reading from the treasury smart contract itself, but for now let's just make them an array of constants in the code
The text was updated successfully, but these errors were encountered: