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

add ibtc and xsat chain #12406

Merged
merged 4 commits into from
Nov 22, 2024
Merged

add ibtc and xsat chain #12406

merged 4 commits into from
Nov 22, 2024

Conversation

seancheen
Copy link
Contributor

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):

iBTC

Twitter Link:

https://x.com/KiKi_Finance

List of audit links if any:

https://github.com/KikiFinance/contract_audit/blob/main/blocksec_kiki_ibtc_v1.0-signed.pdf

Website Link:

https://ibtc.kiki.finance

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

logo

Current TVL:

$800

Treasury Addresses (if the protocol has treasury)
Chain:

exsat

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):

iBTC is an LST protocol that provides 1:1 pegging for staked BTC, offering users unrestricted liquidity without a 28-day lock-up while ensuring the same yield as directly staking BTC on the exSat network. The protocol seamlessly combines high liquidity with stable staking rewards, making it an ideal solution for optimizing BTC staking returns.

Token address and ticker if any:

address: 0x8154Aaf094c2f03Ad550B6890E1d4264B5DdaD9A
ticker: iBTC

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

1 Liquid Staking

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):

TVL includes BTC (exSat) bridged into the exSat network and staked in the iBTC protocol, with iBTC issued at a 1:1 peg. This TVL is equivalent to the value of the corresponding BTC.

Github org/user (Optional, if your code is open source, we can track activity):

https://github.com/KikiFinance

@llamatester
Copy link

Error while running adapter at projects/ibtc:

Error: Failed to call: uint256:totalSupply target: 0x8154Aaf094c2f03Ad550B6890E1d4264B5DdaD9A on chain: [undefined] rpc: https://eth.llamarpc.com, https://rpc.ankr.com/eth, https://cloudflare-eth.com, https://ethereum-rpc.publicnode.com, https://1rpc.io/eth, https://rpc.mevblocker.io, https://rpc.flashbots.net, https://virginia.rpc.blxrbdn.com, https://uk.rpc.blxrbdn.com, https://singapore.rpc.blxrbdn.com, https://eth.rpc.blxrbdn.com, https://eth-mainnet.public.blastapi.io, https://api.securerpc.com/v1, https://eth-pokt.nodies.app, https://eth-mainnet-public.unifra.io, https://ethereum.blockpi.network/v1/rpc/public, https://rpc.payload.de, https://core.gashawk.io/rpc, https://rpc.eth.gateway.fm, https://eth.meowrpc.com, https://eth.drpc.org, https://mainnet.gateway.tenderly.co, https://virtual.mainnet.rpc.tenderly.co/7355b215-ef17-4e3e-8f64-d494284ef18a, https://gateway.tenderly.co/public/mainnet, https://api.zan.top/eth-mainnet, https://eth.merkle.io, https://eth.nodeconnect.org, https://ethereum.rpc.subquery.network/public, https://rpc.graffiti.farm, https://rpc.public.curie.radiumblock.co/http/ethereum, https://rpc.public.curie.radiumblock.co/ws/ethereum, https://eth.blockrazor.xyz, https://endpoints.omniatech.io/v1/eth/mainnet/public, https://eth1.lava.build, https://rpc.flashbots.net/fast, https://rpc.mevblocker.io/fast, https://rpc.mevblocker.io/noreverts, https://rpc.mevblocker.io/fullprivacy  call reverted, reason: fragment.format is not a function   

@llamatester
Copy link

Error while running adapter at projects/ibtc:

TypeError: Cannot read properties of undefined (reading 'call')
Truncated error stack:

    at tvl (/home/runner/work/DefiLlama-Adapters/DefiLlama-Adapters/projects/ibtc/index.js:7:43)
    at getTvl (/home/runner/work/DefiLlama-Adapters/DefiLlama-Adapters/test.js:52:29)
    at /home/runner/work/DefiLlama-Adapters/DefiLlama-Adapters/test.js:173:15
    at Array.map (<anonymous>)
    at /home/runner/work/DefiLlama-Adapters/DefiLlama-Adapters/test.js:161:29
    at Array.map (<anonymous>)
    at /home/runner/work/DefiLlama-Adapters/DefiLlama-Adapters/test.js:156:44
    at Object.<anonymous> (/home/runner/work/DefiLlama-Adapters/DefiLlama-Adapters/test.js:259:3)
Error saving cache: Error: ENOENT: no such file or directory, open '/home/runner/work/DefiLlama-Adapters/DefiLlama-Adapters/node_modules/@defillama/sdk/build/util/local_cache/zlib-1.0/BlockCache.json'

@llamatester
Copy link

The adapter at projects/ibtc exports TVL:

xsat                      811627800000.00 B

total                    811627800000.00 B 

@g1nt0ki g1nt0ki merged commit ae2a580 into DefiLlama:main Nov 22, 2024
1 check passed
@llamatester
Copy link

The adapter at projects/ibtc exports TVL:

xsat                      814

total                    813.6286000000001 

tlatkdgus1 pushed a commit to bifrost-platform/DefiLlama-Adapters that referenced this pull request Nov 25, 2024
Co-authored-by: Sean <[email protected]>
Co-authored-by: 0xngmi <[email protected]>
Co-authored-by: g1nt0ki <[email protected]>
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.

4 participants