Closed Martin-ryunseok closed 2 weeks ago
Error while running adapter at projects/free-protocol:
TypeError: addresses.forEach is not a function
Truncated error stack:
at getUniqueAddresses (/home/runner/work/DefiLlama-Adapters/DefiLlama-Adapters/projects/helper/tokenMapping.js:56:13)
at sumTokens2 (/home/runner/work/DefiLlama-Adapters/DefiLlama-Adapters/projects/helper/unwrapLPs.js:864:12)
at /home/runner/work/DefiLlama-Adapters/DefiLlama-Adapters/projects/helper/unwrapLPs.js:984:25
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
at Object.<anonymous> (/home/runner/work/DefiLlama-Adapters/DefiLlama-Adapters/test.js:224: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'
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'
}
The adapter at projects/free-protocol exports TVL:
merlin 578.34 M
bsc 222.57 M
ethereum 10.27 M
arbitrum 245.20 k
manta 89.77 k
kroma 0
polygon 0
total 811.52 M
The adapter at projects/free-protocol exports TVL:
merlin 578.34 M
bsc 222.57 M
ethereum 10.27 M
arbitrum 245.20 k
manta 89.77 k
kroma 0
polygon 0
total 811.52 M
The adapter at projects/free-protocol exports TVL:
merlin 573.04 M
bsc 221.21 M
ethereum 10.33 M
arbitrum 245.13 k
manta 90.37 k
kroma 0
polygon 0
total 804.91 M
The adapter at projects/free-protocol exports TVL:
merlin 573.04 M bsc 221.21 M ethereum 10.33 M arbitrum 245.13 k manta 90.37 k kroma 0 polygon 0 total 804.91 M
@g1nt0ki
52 M-BTC is already minted on Kroma(https://kromascan.com/token/0x0F921c39eFd98809FE6D20a88A4357454578987a), but the llamatester's exported TVL and the actual data on your service(https://defillama.com/protocol/free-protocol#tvl-charts) does not show any TVL of Kroma.
Could you let us know what should be changed so that DefiLlama can track the TVL of M-BTC on Kroma?
NOTE
Please enable "Allow edits by maintainers" while putting up the PR.
package-lock.json
file as part of your changes, we use lockfileVersion 2, and most use v1 and using that messes up our CIName (to be shown on DefiLlama):
Free Protocol
Twitter Link:
https://twitter.com/FreeLayer2
List of audit links if any:
https://docs.meson.fi/references/audit-reports
Website Link:
https://app.free.tech/
Logo (High resolution, will be shown with rounded borders):
Current TVL:
$117,794.8
Treasury Addresses (if the protocol has treasury)
Chain:
Kroma
Coingecko ID (so your TVL can appear on Coingecko, leave empty if not listed): (https://api.coingecko.com/api/v3/coins/list)
merlin-s-seal-btc
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):
Free your assets early with http://free.tech. Instantly liquify your staked assets and unlock extra yield potential
Token address and ticker if any:
0x0F921c39eFd98809FE6D20a88A4357454578987a
Category (full list at https://defillama.com/categories) *Please choose only one:
Bridge
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):
Total Supply of M-BTC
Github org/user (Optional, if your code is open source, we can track activity):
https://github.com/CodeToFree