DefiLlama / DefiLlama-Adapters

844 stars 4.79k forks source link

Add Landshare SDK adapter #10931

Closed Hedge001 closed 2 weeks ago

Hedge001 commented 3 weeks ago

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): Landshare
Twitter Link: https://x.com/Landshareio
List of audit links if any:
Website Link: https://www.landshare.io/
Logo (High resolution, will be shown with rounded borders):
Current TVL:
Treasury Addresses (if the protocol has treasury)
Chain: BNB smart chain (BEP20)
Coingecko ID (so your TVL can appear on Coingecko, leave empty if not listed): landshare
Coinmarketcap ID (so your TVL can appear on Coinmarketcap, leave empty if not listed): 11245
Short Description (to be shown on DefiLlama): Landshare is a tokenized real estate ecosystem that leverages the power of blockchain technology to provide a new way to invest in real estate. With minimum investments of just over $1, Landshare strives to make real estate investment accessible to everyone.

The Landshare ecosystem features two tokens - the Landshare Token (LAND) is native utility token, powering the entire ecoystem. LAND serves as a means of payment, fees, and governance for the Landshare platform. The Landshare RWA Token (LSRWA) is a real estate-backed security token used to facilitate investment in RWAs. Holder benefit from rental income and property appreciation from all assets on the platform.

Token address and ticker if any: (0xA73164DB271931CF952cBaEfF9E8F5817b42fA5C)
Category: RWA
Oracle Provider(s): Specify the oracle(s) used : Chainlink
Implementation Details: (This integration empowers our smart contracts to consistently store the latest prices of the properties, ensuring real-time accuracy and further closing the gap between #RWA’s and the blockchain.)
Documentation/Proof: (https://www.chainlinkecosystem.com/ecosystem/landshare)
forkedFrom (Does your project originate from another project):
methodology (what is being counted as tvl, how is tvl being calculated): ( Counts the number of LANDSHARE tokens in the staking contract and LANDSHARE LP tokens in the LP staking contract.)
Github org/user (Optional, if your code is open source, we can track activity): (https://github.com/ls-jordan)
llamatester commented 3 weeks ago

The adapter at projects/landshare exports TVL:

bsc                       5.10 M

total                    5.10 M 
llamatester commented 2 weeks ago

The adapter at projects/landshare exports TVL:

bsc-staking               5.16 M
staking                   5.16 M
bsc-pool2                 1.33 M
pool2                     1.33 M
bsc                       0

total                    0 
g1nt0ki commented 2 weeks ago

@Hedge001 thanks for the PR, I refactored it a bit based on this: https://docs.llama.fi/list-your-project/what-to-include-as-tvl