-
Notifications
You must be signed in to change notification settings - Fork 6.5k
uncap finance #16624
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
uncap finance #16624
Conversation
The adapter at projects/uncap-finance exports TVL:
|
Question:
Where can I specify |
Who deployed the wrapper? |
We did. It's still upgradeable, but we will renounce ownership. |
projects/uncap-finance/index.js
Outdated
}); | ||
|
||
api.addTokens([WBTC_CONTRACT], [wrapperBalance]) | ||
api.add(WRAPPED_WBTC_CONTRACT, wrapperBalance) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
please remove this, we will just count the WBTC in the wrapper
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
removed the api.addTokens
line
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
so we should now just be returning a balance of WBTC_CONTRACT does that make sense?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
for now returning the balance, in WBTC, of the WWBTC_CONTRACT
would be enough
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yeah but since youre using the wrapper address in your exported balances we have a TVL of zero since that asset isnt priced yet. Please use WBTC_CONTRACT
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I had misunderstood your earlier comment. Fixed in e08044c
The adapter at projects/uncap-finance exports TVL:
|
The adapter at projects/uncap-finance exports TVL:
|
Name (to be shown on DefiLlama):
Uncap Finance
Twitter Link:
https://x.com/uncapfinance
List of audit links if any:
https://www.chainsecurity.com/security-audit/uncap-finance
Website Link:
https://uncap.finance/
Logo (High resolution, will be shown with rounded borders):
Current TVL:
$400k
Chain:
Starknet
Coingecko ID (so your TVL can appear on Coingecko, leave empty if not listed): (https://api.coingecko.com/api/v3/coins/list)
Coinmarketcap ID (so your TVL can appear on Coinmarketcap, leave empty if not listed): (https://api.coinmarketcap.com/data-api/v3/map/all?listing_status=active,inactive,untracked&start=1&limit=10000)
Short Description (to be shown on DefiLlama):
Overcollaterized BTC-backed stablecoin on Starknet
Token address and ticker if any:
Stablecoin:
USDU
: https://voyager.online/contract/0x02f94539f80158f9a48a7acf3747718dfbec9b6f639e2742c1fb44ae7ab5aa04Category (full list at https://defillama.com/categories) *Please choose only one:
CDP
Oracle Provider(s): Specify the oracle(s) used (e.g., Chainlink, Band, API3, TWAP, etc.):
Pragma + Chainlink
Implementation Details: Briefly describe how the oracle is integrated into your project:
Pragma's WBTC price is used, and Chainlink is used as fallback.
Documentation/Proof: Provide links to documentation or any other resources that verify the oracle's usage:
Detailed in audit: https://www.chainsecurity.com/security-audit/uncap-finance
forkedFrom (Does your project originate from another project):
Cairo port of Liquity v2 (had to be re-written in Cairo)
methodology (what is being counted as tvl, how is tvl being calculated):
Total number of collateral deposited to the protocol
Github org/user (Optional, if your code is open source, we can track activity):
http://github.com/uncaplabs