DefiLlama / DefiLlama-Adapters

844 stars 4.79k forks source link

Blasterswap Vault tvl #10943

Closed lsblk07 closed 2 weeks ago

lsblk07 commented 2 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):
Twitter Link: https://x.com/BlasterSwap
List of audit links if any:
Website Link: https://blasterswap.com/
Logo (High resolution, will be shown with rounded borders): https://blasterswap.com/_next/static/media/blaster-logo.bcf14bda.svg
Current TVL: 7.4 mil
Treasury Addresses (if the protocol has treasury)
Chain: Blast
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): Blasterswap Vaults
Token address and ticker if any:
Category (full list at https://defillama.com/categories) *Please choose only one: DEFI
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
Github org/user (Optional, if your code is open source, we can track activity):
llamatester commented 2 weeks ago

Error while running adapter at projects/blasterswap-vaults:

TypeError: params.calls.map is not a function
Truncated error stack:
    at multiCall (/home/runner/work/DefiLlama-Adapters/DefiLlama-Adapters/node_modules/@defillama/sdk/build/abi/abi2.js:37:33)
    at tvl (/home/runner/work/DefiLlama-Adapters/DefiLlama-Adapters/projects/blasterswap-vaults/index.js:15:15)
    at getTvl (/home/runner/work/DefiLlama-Adapters/DefiLlama-Adapters/test.js:52:29)
    at /home/runner/work/DefiLlama-Adapters/DefiLlama-Adapters/test.js:143:15
    at Array.map (<anonymous>)
    at /home/runner/work/DefiLlama-Adapters/DefiLlama-Adapters/test.js:131:29
    at Array.map (<anonymous>)
    at /home/runner/work/DefiLlama-Adapters/DefiLlama-Adapters/test.js:126:44
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'
    at Object.openSync (node:fs:596:3)
    at Object.writeFileSync (node:fs:2322:35)
    at process.saveCache (/home/runner/work/DefiLlama-Adapters/DefiLlama-Adapters/node_modules/@defillama/sdk/build/util/cache.js:152:17)
    at process.emit (node:events:529:35)
    at process.exit (node:internal/process/per_thread:191:15)
    at process.handleError (/home/runner/work/DefiLlama-Adapters/DefiLlama-Adapters/utils/handleError.js:18:11)
    at process.emit (node:events:529:35)
    at emit (node:internal/process/promises:149:20)
    at processPromiseRejections (node:internal/process/promises:283:27)
    at process.processTicksAndRejections (node:internal/process/task_queues:96:32) {
  errno: -2,
  syscall: 'open',
  code: 'ENOENT',
  path: '/home/runner/work/DefiLlama-Adapters/DefiLlama-Adapters/node_modules/@defillama/sdk/build/util/local_cache/zlib-1.0/BlockCache.json'
}
llamatester commented 2 weeks ago

The adapter at projects/wasabi exports TVL:

blast                     119.46 M
ethereum                  1.89 M

total                    121.35 M 
llamatester commented 2 weeks ago

Error while running adapter at projects/blasterswap-vaults:

Error: Multicall failed! 
 [chain: blast] [fail count: 1] [abi: address:asset]  
    target: 0x0464a36beCf9967111D2dCAb57CAf4a2376f6E3F 
llamatester commented 2 weeks ago

Error while running adapter at projects/blasterswap-vaults:

Error: Protocol doesn't have total tvl, make sure to export a tvl key either on the main object or in one of the chains
Truncated error stack:

    at /home/runner/work/DefiLlama-Adapters/DefiLlama-Adapters/test.js:198:11
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'
    at Object.openSync (node:fs:596:3)
    at Object.writeFileSync (node:fs:2322:35)
    at process.saveCache (/home/runner/work/DefiLlama-Adapters/DefiLlama-Adapters/node_modules/@defillama/sdk/build/util/cache.js:152:17)
    at process.emit (node:events:529:35)
    at process.exit (node:internal/process/per_thread:191:15)
    at process.handleError (/home/runner/work/DefiLlama-Adapters/DefiLlama-Adapters/utils/handleError.js:18:11)
    at process.emit (node:events:529:35)
    at emit (node:internal/process/promises:149:20)
    at processPromiseRejections (node:internal/process/promises:283:27)
    at process.processTicksAndRejections (node:internal/process/task_queues:96:32) {
  errno: -2,
  syscall: 'open',
  code: 'ENOENT',
  path: '/home/runner/work/DefiLlama-Adapters/DefiLlama-Adapters/node_modules/@defillama/sdk/build/util/local_cache/zlib-1.0/BlockCache.json'
}
llamatester commented 2 weeks ago

Error while running adapter at projects/blasterswap-vaults:

Error: Multicall failed! 
 [chain: ethereum] [fail count: 1] [abi: function balanceOf(address account) view returns (uint256)]  
    target: 0x0464a36becf9967111d2dcab57caf4a2376f6e3f params: 0x0464a36becf9967111d2dcab57caf4a2376f6e3f]
llamatester commented 2 weeks ago

Error while running adapter at projects/blasterswap-vaults:

Error: Multicall failed! 
 [chain: ethereum] [fail count: 1] [abi: function balanceOf(address account) view returns (uint256)]  
    target: 0xb1a5700fa2358173fe465e6ea4ff52e36e88e2ad params: 0x0464a36becf9967111d2dcab57caf4a2376f6e3f]
llamatester commented 2 weeks ago

The adapter at projects/blasterswap-vaults exports TVL:

blast-staking             2.34 M
staking                   2.34 M
blast                     0

total                    0