MCPcopy Create free account

hub / github.com/DeFiCh/defiscan.live / functions

Functions591 in github.com/DeFiCh/defiscan.live

↓ 51 callersFunctionuseNetwork
()
src/layouts/contexts/NetworkContext.tsx:18
↓ 32 callersFunctiongetAssetIcon
( symbol: string, )
src/components/icons/assets/tokens/index.ts:75
↓ 22 callersFunctionuseWhaleApiClient
()
src/layouts/contexts/WhaleContext.tsx:65
↓ 20 callersFunctiongetWhaleApiClient
( context: GetServerSidePropsContext, )
src/layouts/contexts/WhaleContext.tsx:31
↓ 10 callersFunctiongetEnvironment
()
src/layouts/contexts/Environment.ts:35
↓ 9 callersFunctionisValidOCGGithubUrl
(input: string)
src/utils/commons/LinkValidator.ts:1
↓ 9 callersFunctionisValidOCGRedditUrl
(input: string)
src/utils/commons/LinkValidator.ts:7
↓ 8 callersFunctionisAlphanumeric
(input: string, ignore?: string)
src/utils/commons/StringValidator.ts:1
↓ 7 callersFunctiongetTokenIcon
( symbol: string, )
src/components/icons/assets/tokens/index.ts:90
↓ 6 callersFunctionCalculatePercentage
( value1: number | undefined, value2: number | undefined, )
src/utils/index/CalculatePercentage.ts:1
↓ 6 callersFunctionuseTokenPrice
(denominationTokenSymbol = "USDT")
src/pages/vaults/hooks/TokenPrice.ts:19
↓ 5 callersFunctionisActive
(block: { time: number; medianTime: number })
src/pages/oracles/_components/OracleFeed.tsx:99
↓ 5 callersFunctionuseTheme
()
src/layouts/contexts/ThemeContext.tsx:65
↓ 4 callersFunctioncalculateLiquidationValues
( vault: LoanVaultActive | LoanVaultLiquidated )
src/pages/vaults/utils/LiquidatedVaultDerivedValues.tsx:17
↓ 4 callersFunctionchangeSort
(key: SortKeys)
src/pages/dex/_components/PoolPairsTable.tsx:42
↓ 4 callersFunctionfetchTimeFramePriceFeedInterval
( api: WhaleApiClient, token: string, currency: string, timeRange: number, interval: number )
src/pages/oracles/_components/OracleGraph.tsx:350
↓ 4 callersFunctiongetLocalStorageItem
( key: string, connection?: EnvironmentNetwork )
src/pages/governance/shared/localStorageHelper.ts:12
↓ 4 callersFunctiongetSecondsPerBlock
(network: EnvironmentNetwork)
src/pages/governance/shared/getSecondsPerBlock.ts:3
↓ 4 callersMethodisDefaultConnection
* @param {EnvironmentNetwork} network to check if it's the default network, aka the first network
src/layouts/contexts/Environment.ts:27
↓ 4 callersFunctionnewOceanOptions
( connection: EnvironmentNetwork = EnvironmentNetwork.MainNet, url?: string, )
src/layouts/contexts/WhaleContext.tsx:103
↓ 4 callersFunctionuseAge
(medianTime: number)
src/hooks/useAge.tsx:4
↓ 3 callersFunctioncanClearForm
()
src/pages/governance/create/index.page.tsx:122
↓ 3 callersFunctioncanReviewProposal
()
src/pages/governance/create/index.page.tsx:106
↓ 3 callersFunctioncloseStates
()
src/pages/governance/_components/ConfirmVoteDialog.tsx:62
↓ 3 callersFunctionformatMedianTime
( medianTime: number, dateFormat: string = "MMM dd, yyyy, HH:mm:ss aa", approximation: boolean = false )
src/pages/governance/shared/dateHelper.ts:14
↓ 3 callersFunctiongetActivePrice
( symbol: string, activePrice?: ActivePrice, priceFactor: string = "1", priceType: ActivePriceType = "
src/pages/vaults/utils/ActivePrice.ts:8
↓ 3 callersFunctiongetAdjacentNodes
( startNode: string, graph: GraphProps[] )
src/pages/vaults/utils/path-finding.tsx:16
↓ 3 callersFunctiongetPriceCopy
(id: string)
content/prices/index.ts:511
↓ 3 callersFunctiongetTokenName
(token: TokenData)
src/utils/commons/token/getTokenName.ts:3
↓ 3 callersFunctiongetVotePercentage
( numYes: number, numNo: number, numNeutral: number )
src/pages/governance/shared/getTotalVotes.ts:3
↓ 3 callersFunctionisNumeric
(input: string)
src/utils/commons/StringValidator.ts:19
↓ 3 callersFunctionsetLocalStorage
(key: string, item: any)
src/pages/governance/shared/localStorageHelper.ts:36
↓ 3 callersFunctionuseCycleEndDate
( cycleEndHeight: number, currentBlockHeight: number, currentBlockMedianTime: number, secondsPerBlock:
src/pages/governance/shared/useCycleEndTime.tsx:9
↓ 3 callersFunctionuseWindowDimensions
()
src/hooks/useWindowDimensions.tsx:11
↓ 2 callersFunctionNavigateButton
( props: PropsWithChildren<{ queryParam?: QueryParameter; path: string; cursors: string[] | unde
src/components/commons/CursorPagination.tsx:122
↓ 2 callersFunctionSortData
({ poolPairsPrices, sortKey, reverse, }: { poolPairsPrices: Array<{ poolPair: PoolPairData; tokenPrice
src/pages/dex/_components/PoolPairsTable.tsx:117
↓ 2 callersFunction_Default
( symbol: string )
src/components/icons/assets/tokens/_Default.tsx:4
↓ 2 callersFunctioncalculateUsdValues
( loan: LoanVaultTokenAmount, interest: LoanVaultTokenAmount )
src/pages/vaults/[vaultid]/_components/VaultIdLoansDetails.tsx:110
↓ 2 callersFunctiongetAllTokens
(api: WhaleApiClient)
src/pages/tokens/shared/getAllTokens.ts:4
↓ 2 callersFunctiongetCursorsFromContext
(context: GetServerSidePropsContext)
src/components/commons/CursorPagination.tsx:169
↓ 2 callersFunctiongetNativeIcon
( symbol: string, )
src/components/icons/assets/tokens/index.ts:100
↓ 2 callersFunctiongetNetworkParams
(network: EnvironmentNetwork)
src/utils/commons/getNetworkParams.ts:3
↓ 2 callersFunctiongetPoolPairsByParam
( param: string, poolpairs: PoolPairData[] )
src/pages/dex/[poolpairId]/index.page.tsx:168
↓ 2 callersFunctiongetQueryFromCursors
(cursors: string[])
src/components/commons/CursorPagination.tsx:159
↓ 2 callersFunctiongetTotalVinsValue
(vins: TransactionVin[])
src/pages/transactions/[txid].page.tsx:154
↓ 2 callersFunctiongetVoteCount
(votes: ProposalVotesResult[])
src/pages/governance/shared/getVoteCount.ts:9
↓ 2 callersFunctiongetVotesStyle
(vote)
src/pages/governance/_components/VotesTable.tsx:23
↓ 2 callersFunctiongetWhaleRpcClient
( context: GetServerSidePropsContext, )
src/layouts/contexts/WhaleContext.tsx:44
↓ 2 callersFunctiongetWindowDimensions
()
src/hooks/useWindowDimensions.tsx:3
↓ 2 callersFunctioninitializeStore
(preloadedState?: any)
src/store/index.ts:18
↓ 2 callersFunctionisValidAddress
()
src/pages/governance/create/index.page.tsx:95
↓ 2 callersFunctionisValidAmount
()
src/pages/governance/create/index.page.tsx:74
↓ 2 callersFunctionisValidContextUrl
()
src/pages/governance/create/index.page.tsx:81
↓ 2 callersFunctionisValidCycle
()
src/pages/governance/create/index.page.tsx:88
↓ 2 callersFunctionisValidName
()
src/pages/governance/create/index.page.tsx:67
↓ 2 callersFunctionnewRpcClient
(options: WhaleApiClientOptions)
src/layouts/contexts/WhaleContext.tsx:114
↓ 2 callersFunctionnewWhaleClient
(options: WhaleApiClientOptions)
src/layouts/contexts/WhaleContext.tsx:110
↓ 2 callersFunctionuseCalculateAuctionsValue
( batches: LoanVaultTokenAmount[] )
src/pages/vaults/hooks/CalculateAuctionsValue.tsx:9
↓ 2 callersFunctionusePoolPairPrices
(poolPairs)
src/pages/dex/hooks/CalculatePoolPairPrices.ts:4
↓ 2 callersFunctionuseSwapToAmount
()
src/hooks/useSwapToAmount.tsx:3
↓ 1 callersFunction_TokenDefault
( symbol: string )
src/components/icons/assets/tokens/_TokenDefault.tsx:3
↓ 1 callersFunctionbfs
({ start, target, }: { start: { value: string; edges: string[]; currentDistance: number }; t
src/pages/vaults/utils/path-finding.tsx:56
↓ 1 callersFunctionchangeSort
(sortType: { sortKey: SortKeys; sortOrder: string; value: string; })
src/pages/dex/_components/PoolPairsCards.tsx:76
↓ 1 callersFunctioncheckIfEvmTx
(props: { transaction: Transaction; vins: TransactionVin[]; vouts: TransactionVout[]; dftxType?: numbe
src/utils/commons/evmtx/checkIfEvmTx.ts:8
↓ 1 callersFunctionclearForm
()
src/pages/governance/create/index.page.tsx:135
↓ 1 callersFunctionexpandRow
(event)
src/pages/address/_components/AddressTransactionTableRow.tsx:21
↓ 1 callersFunctionfetchDailySwaps
( api: WhaleApiClient, poolpairId: string )
src/pages/dex/[poolpairId]/_components/PoolPairGraph.tsx:145
↓ 1 callersFunctionfetchData
()
src/pages/index.page.tsx:47
↓ 1 callersFunctionfetchData
()
src/store/stats.tsx:131
↓ 1 callersFunctionfetchData
()
src/store/poolpairs.tsx:34
↓ 1 callersFunctionfetchData
()
src/store/dexPrices.tsx:61
↓ 1 callersFunctionfetchData
()
src/store/supply.tsx:43
↓ 1 callersFunctionget24hSum
()
src/pages/dex/index.page.tsx:138
↓ 1 callersFunctiongetAggregation
()
src/pages/address/_components/AddressSummaryTable.tsx:29
↓ 1 callersFunctiongetAllCycleVotes
( allCycleProposalVotes: ApiPagedResponse<ProposalVotesResult> )
src/pages/governance/[proposalId]/index.page.tsx:292
↓ 1 callersFunctiongetAverageStableCoinPrice
(poolpairs: PoolPairData[])
src/pages/dex/[poolpairId]/index.page.tsx:190
↓ 1 callersFunctiongetBalances
()
src/pages/address/_components/AddressBalances.tsx:20
↓ 1 callersFunctiongetBaseUrl
(network: EnvironmentNetwork)
src/store/metachain.tsx:24
↓ 1 callersFunctiongetCollateralTokens
()
src/pages/oracles/index.page.tsx:197
↓ 1 callersFunctiongetDfTx
(vouts: TransactionVout[])
src/pages/transactions/[txid].page.tsx:164
↓ 1 callersFunctiongetDfTx
(vouts: Vout[])
src/pages/transactions/_components/RawTransaction.tsx:71
↓ 1 callersFunctiongetDfTx
(vouts: TransactionVout[])
src/pages/address/_components/AddressVinVout.tsx:227
↓ 1 callersFunctiongetEVMBalance
()
src/pages/address/_components/AddressSummaryTable.tsx:46
↓ 1 callersFunctiongetEventFromPrismic
()
src/pages/blocks/countdown/[query]/index.page.tsx:144
↓ 1 callersFunctiongetEvmTxDetails
()
src/pages/blocks/[blockId]/index.page.tsx:117
↓ 1 callersFunctiongetEvmTxDetails
()
src/pages/transactions/[txid].page.tsx:227
↓ 1 callersFunctiongetFutureCycleEndMedianTime
( timeDifferenceInBlocks: BigNumber, secondsPerBlock: number, currentBlockMedianTime: number )
src/pages/governance/shared/useCycleEndTime.tsx:42
↓ 1 callersFunctiongetInitialTheme
()
src/layouts/contexts/ThemeContext.tsx:16
↓ 1 callersFunctiongetLoanTokens
()
src/pages/oracles/index.page.tsx:212
↓ 1 callersFunctiongetMaxRatio
(atRiskThreshold: BigNumber)
src/pages/vaults/_components/commons/VaultHealthBar.tsx:170
↓ 1 callersFunctiongetMetaScanBlockUrl
( network: EnvironmentNetwork, id?: string | null, )
src/utils/commons/getNetworkParams.ts:25
↓ 1 callersFunctiongetMetaScanTxUrl
( network: EnvironmentNetwork, id?: string | null, )
src/utils/commons/getNetworkParams.ts:33
↓ 1 callersFunctiongetMinVotes
(proposal: GovernanceProposal)
src/pages/governance/_components/VotingResult.tsx:677
↓ 1 callersFunctiongetOCGData
( allProposals: GovernanceProposal[], queryProposals: GovernanceProposal[], proposalsVotes: ProposalsVot
src/pages/governance/index.page.tsx:432
↓ 1 callersFunctiongetOpenProposalsLength
()
src/layouts/components/Header.tsx:47
↓ 1 callersFunctiongetPastCycleEndHeightMedianTime
()
src/pages/governance/shared/useCycleEndTime.tsx:22
↓ 1 callersFunctiongetPoolPairs
(api: WhaleApiClient)
src/pages/dex/[poolpairId]/index.page.tsx:152
↓ 1 callersFunctiongetPrices
()
src/pages/oracles/index.page.tsx:185
↓ 1 callersFunctiongetProposalsVotes
(queryProposals)
src/pages/governance/index.page.tsx:388
↓ 1 callersFunctiongetSearchResults
( api: WhaleApiClient, network: NetworkName, query: string, )
src/components/commons/searchbar/SearchBar.tsx:183
next →1–100 of 591, ranked by callers