Description
Add Agoric chain and Inter Protocol’s IST token on DeFi Llama
Context
DeFi Llama has a listing page for IST at: https://defillama.com/stablecoin/inter-stable-token Currently, it is not complete nor linked to the other DeFi Llama pages.
This project entails integrating the Agoric chain and IST to DeFi Llama, to ensure its accuracy and functionality on a regular basis.
Generic instructions: https://docs.llama.fi/list-your-project/submit-a-project
Write an adapter https://docs.llama.fi/list-your-project/how-to-write-an-sdk-adapter
Existing code: https://github.com/DefiLlama/peggedassets-server/tree/master/src/adapters/peggedAssets/inter-stable-token
Requirements
- Create a “Chain” for Agoric
- We should see a page at https://defillama.com/chain/Agoric
- Example: https://defillama.com/chain/Osmosis
- IST must be listed on Defi Llama under Stables – Chains
- Create an Adapter for Agoric chain total TVL
- Currently, this is just Inter Vaults and Inter PSM
- In the future, other dapps will be capable of utilizing this adapter to incorporate their TVL/metrics.
- Add a protocol page for Inter
- We should see a page at https://defillama.com/protocol/inter
- Existing example: https://defillama.com/protocol/usk
- We expect to see TVL, Tokens Breakdown, Inflows, and Outflows like USK
A pull request (PR) will be necessarily to https://github.com/DefiLlama/DefiLlama-Adapters
- Helpful Reference Snippets:
Given DefiLlama requires time series data and multiple data paths, it seems best to pull data from an indexer versus RPC nodes directly. Agoric is working on an indexer that can be used for this purpose and will need to be integrated into the solution by awardee.
Acceptance criteria
- Agoric shows up as a chain
- Agoric shows up as a stablecoin chain
- IST shows up as a stablecoin
- The IST details page is updated to show the same information as other stablecoins, such as: DAI https://defillama.com/stablecoin/dai It is expected to see TVL, Tokens Breakdown, Inflows, and Outflows. Similar to how USK is shown.
Time Estimation
20-30 hours estimated
Reward
10000 BLD
Status: Open for Submissions