MCPcopy Create free account

hub / github.com/DefiLlama/DefiLlama-Adapters / functions

Functions6,623 in github.com/DefiLlama/DefiLlama-Adapters

↓ 1,212 callersFunctionsumTokens2
({ api, balances, tokensAndOwners = [], tokens = [], owners = [], owner, tokenAccounts = [], s
projects/helper/solana.js:250
↓ 673 callersMethodtoString
()
projects/colony/clyVesting.js:27
↓ 498 callersFunctionsumTokensExport
({ tokenAccounts, owner, owners, tokens, solOwners, blacklistedTokens, allowError, tokensAndOwners, onlyTruste
projects/helper/solana.js:228
↓ 321 callersFunctiongetLogs
({ target, topic, keys = [], fromBlock, toBlock, topics, api, eventAbi, onlyArgs = false, extraKey, skipCa
projects/helper/cache/getLogs.js:11
↓ 308 callersFunctiongetConfig
(chainId)
projects/izumi/api.js:4
↓ 304 callersFunctionget
(endpoint, options = {})
projects/helper/http.js:27
↓ 230 callersFunctiongetUniTVL
({ coreAssets, blacklist = [], factory, blacklistedTokens, useDefaultCoreAssets = false, fetchBalances = f
projects/helper/cache/uniswap.js:12
↓ 202 callersFunctionpublicKey
(property = "publicKey")
projects/helper/utils/solana/layouts/layout-base.js:7
↓ 192 callersMethodget
(api, queryParams = {})
projects/helper/chain/secret.js:54
↓ 180 callersFunctiongetLogs2
({ factory, target, topic, keys = [], fromBlock, toBlock, topics, api, eventAbi, onlyArgs = true, extraKey, sk
projects/helper/cache/getLogs.js:206
↓ 147 callersFunctioncall
()
projects/helper/unwrapLPs.js:721
↓ 128 callersFunctionqueryContract
({ contract, data, } = {})
projects/helper/chain/secret.js:13
↓ 127 callersFunctionsumTokens
({ tokens = [], owners = [], balances = {} })
projects/allbridge/index.js:15
↓ 112 callersFunctiongetConnection
(chain = 'solana')
projects/helper/solana.js:81
↓ 103 callersFunctiongetProvider
(chain = 'solana')
projects/helper/solana.js:86
↓ 98 callersFunctionfunction_view
({ functionStr, type_arguments = [], args = [], ledgerVersion = undefined, chain = 'aptos' })
projects/helper/chain/aptos.js:170
↓ 85 callersFunctioncachedGraphQuery
(project, endpoint, query, { api, useBlock = false, variables = {}, fetchById, safeBlockLimit, headers, } = {}
projects/helper/cache.js:126
↓ 82 callersFunctionsumUnknownTokens
({ api, tokensAndOwners = [], balances, coreAssets = [], owner, tokens, chain = 'ethereum', block, restrictT
projects/helper/cache/sumUnknownTokens.js:365
↓ 79 callersFunctionaaveExports
(_chain, addressesProviderRegistry, transform = undefined, dataHelpers = undefined, { oracle, abis, v3 = false
projects/helper/aave.js:152
↓ 79 callersFunctionmergeExports
(...exportsArray)
projects/helper/utils.js:114
↓ 74 callersFunctiontreasuryExports
(config)
projects/helper/treasury.js:11
↓ 73 callersFunctionpost
(endpoint, body, options)
projects/helper/http.js:46
↓ 65 callersFunctionmultiCall
(calls)
projects/helper/chain/sui.js:277
↓ 63 callersFunctiongetEnv
(key)
projects/helper/env.js:94
↓ 59 callersMethodencode
(src, b, offset = 0)
projects/helper/utils/solana/layouts/stakePool.js:20
↓ 58 callersFunctiongetUniqueAddresses
(addresses, isCaseSensitive = false)
projects/helper/utils.js:161
↓ 57 callersFunctionohmTvl
(treasury, treasuryTokens, chain = 'ethereum', stakingAddress, stakingToken)
projects/helper/ohm.js:4
↓ 53 callersFunctioncompoundExports2
({ comptroller, cether, cetheEquivalent = nullAddress, blacklistedTokens = [], abis = {}, blacklistedMarkets =
projects/helper/compound.js:56
↓ 53 callersFunctiongetExports
(config, exportsObj)
projects/fringe/utils.js:2
↓ 53 callersFunctiontransformDexBalances
({ api, chain, data, balances, restrictTokenRatio = 5, withMetadata = false, blacklistedTokens = [], coreToken
projects/helper/portedTokens.js:140
↓ 49 callersFunctiondecodeAccount
(layout, accountInfo)
projects/helper/utils/solana/layout.js:85
↓ 48 callersFunctiontoUSDTBalances
(value, times = 1e6)
projects/helper/balances.js:8
↓ 46 callersFunctionrequest
(method, params)
projects/helper/chain/massa.js:7
↓ 45 callersFunctiongetUniqueAddresses
(addresses)
projects/izumi/utils.js:142
↓ 43 callersFunctiongetCache
(endpoint)
projects/helper/http.js:8
↓ 42 callersFunctionuint64
(property = "uint64")
projects/helper/utils/solana/layouts/layout-base.js:27
↓ 39 callersFunctionfetchURL
(url)
projects/helper/utils.js:9
↓ 39 callersFunctionpool2s
(stakingContracts, lpTokens)
projects/helper/pool2.js:12
↓ 38 callersFunctionstaking
(api)
projects/tomb/index.js:21
↓ 37 callersFunctionsetCache
(project, chain, cache, { skipCompression } = {})
projects/helper/cache.js:28
↓ 37 callersFunctionsignedShiftRight
(n0, shiftBy, bitWidth)
projects/helper/utils/tick.js:19
↓ 36 callersFunctionget_account_tvl
(accounts, tokens, chain = "eos")
projects/helper/chain/eos.js:73
↓ 36 callersFunctionsliceIntoChunks
(arr, chunkSize = 100)
projects/helper/utils.js:170
↓ 34 callersMethodparse
(source)
projects/helper/utils/ton.js:126
↓ 32 callersFunctionstakingPriceLP
(stakingContract, stakingToken, options)
projects/helper/staking.js:9
↓ 31 callersFunctiongetConfig
(project, endpoint, { fetcher } = {})
projects/helper/cache.js:60
↓ 31 callersFunctiontransformAddress
(addr)
projects/helper/chain/near.js:6
↓ 30 callersFunctionfn
()
projects/thalaswap-v2/index.js:8
↓ 30 callersFunctionqueryV1Beta1
({ chain, paginationKey, block, url, api } = {})
projects/helper/chain/cosmos.js:117
↓ 30 callersFunctionsleep
projects/helper/custom-scripts/metadao/index.js:54
↓ 29 callersFunctionuniTvlExport
(chain, factory, options = {})
projects/helper/unknownTokens.js:267
↓ 29 callersFunctionuniTvlExports
(config, commonOptions = {})
projects/helper/unknownTokens.js:13
↓ 28 callersFunctiondefaultParseLayout
projects/helper/utils/solana/layout.js:42
↓ 28 callersFunctionfetchBaseAABalances
* @param {number} timestamp - unix timestamp in seconds from epoch of the moment in time for which the balances are requested * @param {string} addre
projects/helper/chain/obyte.js:12
↓ 27 callersFunctioncallSoroban
* Simulate a read-only Soroban contract call via RPC. * @param {string} contractId - Stellar contract address * @param {string} fnName - Contr
projects/helper/chain/stellar.js:233
↓ 27 callersMethoddecode
(b, offset = 0)
projects/helper/utils/solana/layouts/stakePool.js:28
↓ 27 callersFunctionsleep
(ms)
projects/evaa/index.js:6
↓ 27 callersFunctiontransformBalances
({ tokenBalances, balances = {}, chain = 'solana' })
projects/helper/solana.js:659
↓ 24 callersFunctiongetResources
(account, chain = 'aptos')
projects/helper/chain/aptos.js:24
↓ 24 callersFunctiongetTokenSupplies
(tokens, { api } = {})
projects/helper/solana.js:107
↓ 24 callersFunctiongmxExports
({ vault, blacklistedTokens = [], abis = {}, permitFailure = false, })
projects/helper/gmx.js:4
↓ 24 callersFunctionstaking
(api)
projects/dev.js:4
↓ 24 callersFunctionyieldHelper
({ project, chain, masterchef, blacklistedTokens = [], nativeToken, nativeTokens = [], abis = {}
projects/helper/yieldHelper.js:11
↓ 23 callersFunctionuint128
(property = "uint128")
projects/helper/utils/solana/layouts/layout-base.js:60
↓ 22 callersMethodabs
(v)
projects/nemo/math.js:63
↓ 22 callersFunctiondexExport
({ account, poolStr, token0Reserve = i => i.fields.coin_x_reserve, token1Reserve = i => i.fields.coin_
projects/helper/chain/sui.js:282
↓ 22 callersFunctiongetAPI
(chain)
projects/helper/acala/api.js:45
↓ 22 callersFunctionsumSingleBalance
(balances, token, balance)
projects/helper/chain/near.js:152
↓ 21 callersFunctiongetCoreAssets
(chain = 'ethereum')
projects/helper/tokenMapping.js:88
↓ 20 callersFunctiongetResource
(account, key, chain = 'aptos')
projects/helper/chain/aptos.js:52
↓ 20 callersFunctionloadTvl
(chainKey)
projects/crosscurve/index.js:61
↓ 20 callersFunctionstaking
(api)
projects/belt/index.js:17
↓ 20 callersFunctionupdateBalances
(balances)
projects/helper/acala/api.js:157
↓ 19 callersFunctioncompoundExports
(comptroller, cether, cetheEquivalent = nullAddress, { blacklistedTokens = [], abis = {}, blacklistedMarkets =
projects/helper/compound.js:49
↓ 19 callersFunctionfetch
(key, query)
projects/mmo/index.js:14
↓ 19 callersFunctiongetCuratorExport
(configs)
projects/helper/curators/index.js:602
↓ 19 callersFunctionstaking
(api)
projects/dna/index.js:6
↓ 18 callersFunctionaddUniV3LikePosition
({ api, token0, token1, liquidity, tickLower, tickUpper, tick })
projects/helper/unwrapLPs.js:1308
↓ 18 callersFunctionfixBalances
(balances, mapping, { chain, } = {})
projects/helper/portedTokens.js:25
↓ 18 callersFunctionstaking
(api)
projects/stout/index.js:69
↓ 18 callersFunctionstaking
(api)
projects/api3/index.js:19
↓ 18 callersFunctionunwrapLPsAuto
({ api, balances, block, chain = "ethereum", transformAddress, excludePool2 = false, onlyPool2 = false, pool2T
projects/helper/unwrapLPs.js:825
↓ 17 callersFunctionfetchallchain
(chainId)
projects/acryptos/index.js:6
↓ 17 callersFunctiongetAppGlobalState
(marketId)
projects/helper/chain/algorand.js:184
↓ 17 callersFunctionmasterchefExports
({ chain, masterchef, coreAssets = [], nativeTokens = [], lps = [], nativeToken, poolInfoABI = masterchefAbi.p
projects/helper/unknownTokens.js:146
↓ 17 callersFunctionstaking
(api)
projects/maple/index.js:91
↓ 17 callersFunctionstaking
(api)
projects/velo/index.js:30
↓ 17 callersFunctionuniV3Export
(config)
projects/helper/uniswapV3.js:15
↓ 16 callersFunctionbuildProtocolExports
(configs, exportFn)
registries/utils.js:21
↓ 16 callersFunctionchainTvl
(chain)
projects/c3/index.js:32
↓ 16 callersFunctiongetStorage
(account)
projects/helper/chain/tezos.js:48
↓ 16 callersFunctionnormalizeAddress
(address, chain, extractChain = false)
projects/helper/tokenMapping.js:99
↓ 16 callersFunctionparseAddress
(buffer, offset)
projects/helper/chain/ton.js:225
↓ 16 callersFunctionstaking
(api)
projects/insuredao/index.js:15
↓ 15 callersFunctioncreateIncrementArray
(length)
projects/helper/utils.js:17
↓ 15 callersFunctiongetFixBalances
(chain)
projects/helper/portedTokens.js:54
↓ 15 callersFunctiongetLiquityTvl
(troveManagers, config = {})
projects/helper/liquity.js:5
↓ 15 callersFunctiongetObject
(objectId)
projects/helper/chain/sui.js:15
↓ 15 callersFunctionoption
(layout, property)
projects/helper/utils/solana/layouts/stakePool.js:49
↓ 15 callersFunctionstaking
(api)
projects/fMoney/index.js:17
next →1–100 of 6,623, ranked by callers