Skip to content
This repository has been archived by the owner on Jan 24, 2024. It is now read-only.

feat(raft): add app #2720

Merged
merged 3 commits into from
Jun 2, 2023
Merged

feat(raft): add app #2720

merged 3 commits into from
Jun 2, 2023

Conversation

tonzgao
Copy link
Contributor

@tonzgao tonzgao commented Jun 1, 2023

Description

https://discord.com/channels/647279669388771329/964569348243075082/1113848212923617291

Pujeet | Raft — Today at 2:42 AM
Thanks @tonz 

https://tempusfinance.notion.site/Integrate-Raft-with-Zapper-529705c597134fc2ac1e42a112e29c84

We want users to be able to check their collateral, borrowed R, current collateralization ratio, liquidation price and the current price. 

here's the link to all the contracts!

https://docs.raft.fi/contracts

Let us know if u need anything else 
Pujeet | Raft — Today at 10:15 AM
Let us know when you start @tonz 🙂
tonz — Today at 2:41 PM
starting
tonz — Today at 2:57 PM
is there a beta page for the ui or is it currently only contracts?
tonz — Today at 3:05 PM
also, i noticed that there is already a coingecko page for R at https://www.coingecko.com/en/coins/r. should the price returned by zapper for R be pulled from coingecko or be derived from the contracts somehow (such as the price feed)? nvm, assuming it will be basetoken 
tonz — Today at 3:26 PM
another question, is there a way to get all the currently available collaterals? I mean right now i know its just wsteth, but in the future i assume there will be others?
this can be through contract or through some api endpoint
tonz — Today at 4:56 PM
one more question, do you plan to do other stuff with the debt or collateral tokens, or are they only used to represent the loans?
Đorđe | Raft — Today at 5:15 PM
probably only via events, or by using SDK
Đorđe | Raft — Today at 5:15 PM
these tokens cannot be transferred, so answer is no

Checklist

How to test?

http://localhost:5001/apps/raft/balances?network=ethereum&addresses%5B%5D=0x6bddefb9f04b01c326b43b218059ee6938ea1ca8

@wpoulin wpoulin merged commit 2c4e78e into Zapper-fi:main Jun 2, 2023
@tonzgao tonzgao mentioned this pull request Jun 5, 2023
2 tasks
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants