Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/DeFiCh/defiscan.live
/ functions
Functions
591 in github.com/DeFiCh/defiscan.live
⨍
Functions
591
◇
Types & classes
179
↓ 51 callers
Function
useNetwork
()
src/layouts/contexts/NetworkContext.tsx:18
↓ 32 callers
Function
getAssetIcon
( symbol: string, )
src/components/icons/assets/tokens/index.ts:75
↓ 22 callers
Function
useWhaleApiClient
()
src/layouts/contexts/WhaleContext.tsx:65
↓ 20 callers
Function
getWhaleApiClient
( context: GetServerSidePropsContext, )
src/layouts/contexts/WhaleContext.tsx:31
↓ 10 callers
Function
getEnvironment
()
src/layouts/contexts/Environment.ts:35
↓ 9 callers
Function
isValidOCGGithubUrl
(input: string)
src/utils/commons/LinkValidator.ts:1
↓ 9 callers
Function
isValidOCGRedditUrl
(input: string)
src/utils/commons/LinkValidator.ts:7
↓ 8 callers
Function
isAlphanumeric
(input: string, ignore?: string)
src/utils/commons/StringValidator.ts:1
↓ 7 callers
Function
getTokenIcon
( symbol: string, )
src/components/icons/assets/tokens/index.ts:90
↓ 6 callers
Function
CalculatePercentage
( value1: number | undefined, value2: number | undefined, )
src/utils/index/CalculatePercentage.ts:1
↓ 6 callers
Function
useTokenPrice
(denominationTokenSymbol = "USDT")
src/pages/vaults/hooks/TokenPrice.ts:19
↓ 5 callers
Function
isActive
(block: { time: number; medianTime: number })
src/pages/oracles/_components/OracleFeed.tsx:99
↓ 5 callers
Function
useTheme
()
src/layouts/contexts/ThemeContext.tsx:65
↓ 4 callers
Function
calculateLiquidationValues
( vault: LoanVaultActive | LoanVaultLiquidated )
src/pages/vaults/utils/LiquidatedVaultDerivedValues.tsx:17
↓ 4 callers
Function
changeSort
(key: SortKeys)
src/pages/dex/_components/PoolPairsTable.tsx:42
↓ 4 callers
Function
fetchTimeFramePriceFeedInterval
( api: WhaleApiClient, token: string, currency: string, timeRange: number, interval: number )
src/pages/oracles/_components/OracleGraph.tsx:350
↓ 4 callers
Function
getLocalStorageItem
( key: string, connection?: EnvironmentNetwork )
src/pages/governance/shared/localStorageHelper.ts:12
↓ 4 callers
Function
getSecondsPerBlock
(network: EnvironmentNetwork)
src/pages/governance/shared/getSecondsPerBlock.ts:3
↓ 4 callers
Method
isDefaultConnection
* @param {EnvironmentNetwork} network to check if it's the default network, aka the first network
src/layouts/contexts/Environment.ts:27
↓ 4 callers
Function
newOceanOptions
( connection: EnvironmentNetwork = EnvironmentNetwork.MainNet, url?: string, )
src/layouts/contexts/WhaleContext.tsx:103
↓ 4 callers
Function
useAge
(medianTime: number)
src/hooks/useAge.tsx:4
↓ 3 callers
Function
canClearForm
()
src/pages/governance/create/index.page.tsx:122
↓ 3 callers
Function
canReviewProposal
()
src/pages/governance/create/index.page.tsx:106
↓ 3 callers
Function
closeStates
()
src/pages/governance/_components/ConfirmVoteDialog.tsx:62
↓ 3 callers
Function
formatMedianTime
( medianTime: number, dateFormat: string = "MMM dd, yyyy, HH:mm:ss aa", approximation: boolean = false )
src/pages/governance/shared/dateHelper.ts:14
↓ 3 callers
Function
getActivePrice
( symbol: string, activePrice?: ActivePrice, priceFactor: string = "1", priceType: ActivePriceType = "
src/pages/vaults/utils/ActivePrice.ts:8
↓ 3 callers
Function
getAdjacentNodes
( startNode: string, graph: GraphProps[] )
src/pages/vaults/utils/path-finding.tsx:16
↓ 3 callers
Function
getPriceCopy
(id: string)
content/prices/index.ts:511
↓ 3 callers
Function
getTokenName
(token: TokenData)
src/utils/commons/token/getTokenName.ts:3
↓ 3 callers
Function
getVotePercentage
( numYes: number, numNo: number, numNeutral: number )
src/pages/governance/shared/getTotalVotes.ts:3
↓ 3 callers
Function
isNumeric
(input: string)
src/utils/commons/StringValidator.ts:19
↓ 3 callers
Function
setLocalStorage
(key: string, item: any)
src/pages/governance/shared/localStorageHelper.ts:36
↓ 3 callers
Function
useCycleEndDate
( cycleEndHeight: number, currentBlockHeight: number, currentBlockMedianTime: number, secondsPerBlock:
src/pages/governance/shared/useCycleEndTime.tsx:9
↓ 3 callers
Function
useWindowDimensions
()
src/hooks/useWindowDimensions.tsx:11
↓ 2 callers
Function
NavigateButton
( props: PropsWithChildren<{ queryParam?: QueryParameter; path: string; cursors: string[] | unde
src/components/commons/CursorPagination.tsx:122
↓ 2 callers
Function
SortData
({ poolPairsPrices, sortKey, reverse, }: { poolPairsPrices: Array<{ poolPair: PoolPairData; tokenPrice
src/pages/dex/_components/PoolPairsTable.tsx:117
↓ 2 callers
Function
_Default
( symbol: string )
src/components/icons/assets/tokens/_Default.tsx:4
↓ 2 callers
Function
calculateUsdValues
( loan: LoanVaultTokenAmount, interest: LoanVaultTokenAmount )
src/pages/vaults/[vaultid]/_components/VaultIdLoansDetails.tsx:110
↓ 2 callers
Function
getAllTokens
(api: WhaleApiClient)
src/pages/tokens/shared/getAllTokens.ts:4
↓ 2 callers
Function
getCursorsFromContext
(context: GetServerSidePropsContext)
src/components/commons/CursorPagination.tsx:169
↓ 2 callers
Function
getNativeIcon
( symbol: string, )
src/components/icons/assets/tokens/index.ts:100
↓ 2 callers
Function
getNetworkParams
(network: EnvironmentNetwork)
src/utils/commons/getNetworkParams.ts:3
↓ 2 callers
Function
getPoolPairsByParam
( param: string, poolpairs: PoolPairData[] )
src/pages/dex/[poolpairId]/index.page.tsx:168
↓ 2 callers
Function
getQueryFromCursors
(cursors: string[])
src/components/commons/CursorPagination.tsx:159
↓ 2 callers
Function
getTotalVinsValue
(vins: TransactionVin[])
src/pages/transactions/[txid].page.tsx:154
↓ 2 callers
Function
getVoteCount
(votes: ProposalVotesResult[])
src/pages/governance/shared/getVoteCount.ts:9
↓ 2 callers
Function
getVotesStyle
(vote)
src/pages/governance/_components/VotesTable.tsx:23
↓ 2 callers
Function
getWhaleRpcClient
( context: GetServerSidePropsContext, )
src/layouts/contexts/WhaleContext.tsx:44
↓ 2 callers
Function
getWindowDimensions
()
src/hooks/useWindowDimensions.tsx:3
↓ 2 callers
Function
initializeStore
(preloadedState?: any)
src/store/index.ts:18
↓ 2 callers
Function
isValidAddress
()
src/pages/governance/create/index.page.tsx:95
↓ 2 callers
Function
isValidAmount
()
src/pages/governance/create/index.page.tsx:74
↓ 2 callers
Function
isValidContextUrl
()
src/pages/governance/create/index.page.tsx:81
↓ 2 callers
Function
isValidCycle
()
src/pages/governance/create/index.page.tsx:88
↓ 2 callers
Function
isValidName
()
src/pages/governance/create/index.page.tsx:67
↓ 2 callers
Function
newRpcClient
(options: WhaleApiClientOptions)
src/layouts/contexts/WhaleContext.tsx:114
↓ 2 callers
Function
newWhaleClient
(options: WhaleApiClientOptions)
src/layouts/contexts/WhaleContext.tsx:110
↓ 2 callers
Function
useCalculateAuctionsValue
( batches: LoanVaultTokenAmount[] )
src/pages/vaults/hooks/CalculateAuctionsValue.tsx:9
↓ 2 callers
Function
usePoolPairPrices
(poolPairs)
src/pages/dex/hooks/CalculatePoolPairPrices.ts:4
↓ 2 callers
Function
useSwapToAmount
()
src/hooks/useSwapToAmount.tsx:3
↓ 1 callers
Function
_TokenDefault
( symbol: string )
src/components/icons/assets/tokens/_TokenDefault.tsx:3
↓ 1 callers
Function
bfs
({ start, target, }: { start: { value: string; edges: string[]; currentDistance: number }; t
src/pages/vaults/utils/path-finding.tsx:56
↓ 1 callers
Function
changeSort
(sortType: { sortKey: SortKeys; sortOrder: string; value: string; })
src/pages/dex/_components/PoolPairsCards.tsx:76
↓ 1 callers
Function
checkIfEvmTx
(props: { transaction: Transaction; vins: TransactionVin[]; vouts: TransactionVout[]; dftxType?: numbe
src/utils/commons/evmtx/checkIfEvmTx.ts:8
↓ 1 callers
Function
clearForm
()
src/pages/governance/create/index.page.tsx:135
↓ 1 callers
Function
expandRow
(event)
src/pages/address/_components/AddressTransactionTableRow.tsx:21
↓ 1 callers
Function
fetchDailySwaps
( api: WhaleApiClient, poolpairId: string )
src/pages/dex/[poolpairId]/_components/PoolPairGraph.tsx:145
↓ 1 callers
Function
fetchData
()
src/pages/index.page.tsx:47
↓ 1 callers
Function
fetchData
()
src/store/stats.tsx:131
↓ 1 callers
Function
fetchData
()
src/store/poolpairs.tsx:34
↓ 1 callers
Function
fetchData
()
src/store/dexPrices.tsx:61
↓ 1 callers
Function
fetchData
()
src/store/supply.tsx:43
↓ 1 callers
Function
get24hSum
()
src/pages/dex/index.page.tsx:138
↓ 1 callers
Function
getAggregation
()
src/pages/address/_components/AddressSummaryTable.tsx:29
↓ 1 callers
Function
getAllCycleVotes
( allCycleProposalVotes: ApiPagedResponse<ProposalVotesResult> )
src/pages/governance/[proposalId]/index.page.tsx:292
↓ 1 callers
Function
getAverageStableCoinPrice
(poolpairs: PoolPairData[])
src/pages/dex/[poolpairId]/index.page.tsx:190
↓ 1 callers
Function
getBalances
()
src/pages/address/_components/AddressBalances.tsx:20
↓ 1 callers
Function
getBaseUrl
(network: EnvironmentNetwork)
src/store/metachain.tsx:24
↓ 1 callers
Function
getCollateralTokens
()
src/pages/oracles/index.page.tsx:197
↓ 1 callers
Function
getDfTx
(vouts: TransactionVout[])
src/pages/transactions/[txid].page.tsx:164
↓ 1 callers
Function
getDfTx
(vouts: Vout[])
src/pages/transactions/_components/RawTransaction.tsx:71
↓ 1 callers
Function
getDfTx
(vouts: TransactionVout[])
src/pages/address/_components/AddressVinVout.tsx:227
↓ 1 callers
Function
getEVMBalance
()
src/pages/address/_components/AddressSummaryTable.tsx:46
↓ 1 callers
Function
getEventFromPrismic
()
src/pages/blocks/countdown/[query]/index.page.tsx:144
↓ 1 callers
Function
getEvmTxDetails
()
src/pages/blocks/[blockId]/index.page.tsx:117
↓ 1 callers
Function
getEvmTxDetails
()
src/pages/transactions/[txid].page.tsx:227
↓ 1 callers
Function
getFutureCycleEndMedianTime
( timeDifferenceInBlocks: BigNumber, secondsPerBlock: number, currentBlockMedianTime: number )
src/pages/governance/shared/useCycleEndTime.tsx:42
↓ 1 callers
Function
getInitialTheme
()
src/layouts/contexts/ThemeContext.tsx:16
↓ 1 callers
Function
getLoanTokens
()
src/pages/oracles/index.page.tsx:212
↓ 1 callers
Function
getMaxRatio
(atRiskThreshold: BigNumber)
src/pages/vaults/_components/commons/VaultHealthBar.tsx:170
↓ 1 callers
Function
getMetaScanBlockUrl
( network: EnvironmentNetwork, id?: string | null, )
src/utils/commons/getNetworkParams.ts:25
↓ 1 callers
Function
getMetaScanTxUrl
( network: EnvironmentNetwork, id?: string | null, )
src/utils/commons/getNetworkParams.ts:33
↓ 1 callers
Function
getMinVotes
(proposal: GovernanceProposal)
src/pages/governance/_components/VotingResult.tsx:677
↓ 1 callers
Function
getOCGData
( allProposals: GovernanceProposal[], queryProposals: GovernanceProposal[], proposalsVotes: ProposalsVot
src/pages/governance/index.page.tsx:432
↓ 1 callers
Function
getOpenProposalsLength
()
src/layouts/components/Header.tsx:47
↓ 1 callers
Function
getPastCycleEndHeightMedianTime
()
src/pages/governance/shared/useCycleEndTime.tsx:22
↓ 1 callers
Function
getPoolPairs
(api: WhaleApiClient)
src/pages/dex/[poolpairId]/index.page.tsx:152
↓ 1 callers
Function
getPrices
()
src/pages/oracles/index.page.tsx:185
↓ 1 callers
Function
getProposalsVotes
(queryProposals)
src/pages/governance/index.page.tsx:388
↓ 1 callers
Function
getSearchResults
( api: WhaleApiClient, network: NetworkName, query: string, )
src/components/commons/searchbar/SearchBar.tsx:183
next →
1–100 of 591, ranked by callers