Skip to content
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

Empowa adapter #9707

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Empowa adapter #9707

wants to merge 1 commit into from

Conversation

phillewis
Copy link

NOTE

Please enable "Allow edits by maintainers" while putting up the PR.


  • If you would like to add a volume adapter please submit the PR here.
  • If you would like to add a liquidations adapter, please refer to this readme document for details.
  1. Once your adapter has been merged, it takes time to show on the UI. If more than 24 hours have passed, please let us know in Discord.
  2. Sorry, We no longer accept fetch adapter for new projects, we prefer the tvl to computed from blockchain data, if you have trouble with creating a the adapter, please hop onto our discord, we are happy to assist you.
  3. Please fill the form below only if the PR is for listing a new protocol else it can be ignored/replaced with reason/details about the PR
  4. For updating listing info It is a different repo, you can find your listing in this file: https://github.com/DefiLlama/defillama-server/blob/master/defi/src/protocols/data2.ts, you can edit it there and put up a PR
  5. Do not edit/push package-lock.json file as part of your changes, we use lockfileVersion 2, and most use v1 and using that messes up our CI
  6. No need to go to our discord and announce that you've created a PR, we monitor all PRs and will review it asap

Name (to be shown on DefiLlama):

Empowa

Twitter Link:

https://x.com/empowa_io

List of audit links if any:
Website Link:

https://empowa.io

Logo (High resolution, will be shown with rounded borders):

image

Current TVL:

335.92 k

Treasury Addresses (if the protocol has treasury)
Chain:

Cardano

Coingecko ID (so your TVL can appear on Coingecko, leave empty if not listed): (https://api.coingecko.com/api/v3/coins/list)

empowa

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)

19606

Short Description (to be shown on DefiLlama):

Empowa is the first RealFi property platform on Cardano that combines emerging technology, sustainable building and decentralised financial inclusion.

Token address and ticker if any:

6c8642400e8437f737eb86df0fc8a8437c760f48592b1ba8f5767e81
EMP

Category (full list at https://defillama.com/categories) *Please choose only one:

RWA Lending

Oracle Provider(s): Specify the oracle(s) used (e.g., Chainlink, Band, API3, TWAP, etc.):
Implementation Details: Briefly describe how the oracle is integrated into your project:
Documentation/Proof: Provide links to documentation or any other resources that verify the oracle's usage:
forkedFrom (Does your project originate from another project):
methodology (what is being counted as tvl, how is tvl being calculated):
Github org/user (Optional, if your code is open source, we can track activity):

@llamatester
Copy link

The adapter at projects/empowa exports TVL:

cardano-staking           1.07 M
cardano                   336.96 k
staking                   1.07 M

total                    336.96 k 

@g1nt0ki
Copy link
Member

g1nt0ki commented Apr 5, 2024

I am bit confused, what is counted as tvl here? we cant count your own token as tvl, also bit confused at to what the code considers borrowed. more info on what we classify as tvl: https://docs.llama.fi/list-your-project/what-to-include-as-tvl

@g1nt0ki g1nt0ki self-assigned this Apr 5, 2024
@phillewis
Copy link
Author

I am bit confused, what is counted as tvl here? we cant count your own token as tvl, also bit confused at to what the code considers borrowed. more info on what we classify as tvl: https://docs.llama.fi/list-your-project/what-to-include-as-tvl

Thanks for following up on this @g1nt0ki, I appreciate that the unique nature of our platform may make it difficult to understand how tvl is applied compared to other DeFi platforms.

Value is locked either directly in the houses our platform finances (i.e. value borrowed for the houses), or in collateral to secure the houses. In both cases, contributors hold NFTs that represent how much value they contributed and this is paid back over time to them using EMP tokens that are acquired using the house repayments in fiat.

If the use of the term "borrowed" in the code is misleading then we can change that. It is just how it is seen from the perspective of the housing developer, as they are "borrowing" value in EMP terms to either finance the house or provide collateral for the house.

Hopefully that makes sense, but I am happy to elaborate if necessary.

@g1nt0ki
Copy link
Member

g1nt0ki commented Apr 6, 2024

hi @phillewis in this flow, what is counted as tvl?
image

  • the local developer can rent EMP used as collateral, so, what do they use as collateral for that rent?

@phillewis
Copy link
Author

Hey @g1nt0ki
Arrows 1 (housing finance) and 2 (collateral) which both direct value into the platform.

@g1nt0ki
Copy link
Member

g1nt0ki commented Apr 7, 2024

isnt the accredited inverstors investing in USD? and to collateral is borrowed from the community?

@phillewis
Copy link
Author

isnt the accredited inverstors investing in USD? and to collateral is borrowed from the community?

We have only done one round of housing loan to date and that wasn't done using USD, although we do plan to support USD in the future. That loan is being repaid in EMP.

Regarding collateral, yes that will be borrowed from the community.

At this stage we haven't differentiated between value locked for housing loans and value locked for collateral.

@phillewis
Copy link
Author

@g1nt0ki please let me know if any additional information is required.

@g1nt0ki
Copy link
Member

g1nt0ki commented Apr 12, 2024

isnt the accredited inverstors investing in USD? and to collateral is borrowed from the community?

We have only done one round of housing loan to date and that wasn't done using USD, although we do plan to support USD in the future. That loan is being repaid in EMP.

Regarding collateral, yes that will be borrowed from the community.

At this stage we haven't differentiated between value locked for housing loans and value locked for collateral.

Sorry, this feels circular, everything is linked to EMP. We prefer things that we can track on chain, and count only non protocol tokens as tvl (so no EMP)

In your case, we can count any stablecoin in your pool not yet lent out as tvl, and stablecoins lent out as borrowed, this is what we do for other similar rwa projects.

@phillewis
Copy link
Author

Hi @g1nt0ki

Sorry, I don't understand what you mean? Are you saying that only stablecoins can be used to measure TVL on DefiLlama?

Given that our loans are quite long (e.g. 10 years), we chose to use EMP as an asset to lend and provide collateral with, as it allows the token to represent the value of the houses we finance. If we use an asset external to our system, then its value is influenced by other factors.

I realise that our model is very unique and not like anything else you have reported against, but this doesn't change the fact that there is value locked in both the houses and the collateral. Each of which are represented by NFTs held by the owners of the value.

@g1nt0ki
Copy link
Member

g1nt0ki commented Apr 12, 2024

"Sorry, I don't understand what you mean? Are you saying that only stablecoins can be used to measure TVL on DefiLlama?"

Yes, else it wont be apple to apple comparison with other RWA lending protocols.

@phillewis
Copy link
Author

"Sorry, I don't understand what you mean? Are you saying that only stablecoins can be used to measure TVL on DefiLlama?"

Yes, else it wont be apple to apple comparison with other RWA lending protocols.

Oh ok, sorry I didn't realise this constraint existed when selecting the category. I just assumed that you used a token price lookup in order to perform a dollar based comparison.

Are there any categories where non-USD assets can be counted towards TVL?

@g1nt0ki
Copy link
Member

g1nt0ki commented Apr 13, 2024

it is not an issue of pricing the token, rather using platforms own token as tvl.

@phillewis
Copy link
Author

I'm really sorry @g1nt0ki, but I am still confused.

I don't understand how which token is used makes a difference in whether the value is locked or not. Are you saying that there are no protocols (in any category) on DefiLlama that measure value locked in a token they issued?

@g1nt0ki
Copy link
Member

g1nt0ki commented Apr 16, 2024

yes. you can check this discussion: #438

@0xngmi
Copy link
Member

0xngmi commented Apr 16, 2024

is there a frontend where users like me can deposit funds into your system?

@phillewis
Copy link
Author

yes. you can check this discussion: #438

This appears to refer to staking. We have reported staking separately, as we recognise that this isn't contributing directly to the financing or collateralisation of housing.

@phillewis
Copy link
Author

is there a frontend where users like me can deposit funds into your system?

The funds we raise are done through the sale of NFTs. In the case of NFTs used to finance housing, returns are paid back to the NFT holder. In the case of raising collateral, the funds are redeemed when the NFT matures by burning it. We are doing our first collateral raise next month, so you will be able to participate when we open the sale. Please check our socials for more info.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants