In this PR I integrated data from chain into ILM table component on ILM page. Explanation for. each column:
ILM strategies - Added config and I am reading logo, name and description from new config file
Type - Added type property into new config and I am reading it from there
Available supply cap - Added hook for fetching supply cap from smart contract and converting it to USD
30d historical return - Integrated already existing hook for APY
Rewards APR - Integrated already existing hook for strategy incentives
TVL - Added hook around equity fetch function that we already have in statev3
Also I added negative APR indicator SVG and added colours for this table since they didn't match design. I changed short strategy tag background colour also. I centered table columns because I think it looks better when they are centered.
Updated fetching function called fetchUserProfit. Now function is not getting all strategies from config but from fetch function that is relying on ILMRegistry smart contract.
Added hook for fetching all strategies from ILMRegistry smart contract.
In this PR I integrated data from chain into ILM table component on ILM page. Explanation for. each column:
Also I added negative APR indicator SVG and added colours for this table since they didn't match design. I changed short strategy tag background colour also. I centered table columns because I think it looks better when they are centered.
Updated fetching function called fetchUserProfit. Now function is not getting all strategies from config but from fetch function that is relying on ILMRegistry smart contract. Added hook for fetching all strategies from ILMRegistry smart contract.