MCPcopy Create free account

hub / github.com/dfinity/nns-dapp / functions

Functions5,266 in github.com/dfinity/nns-dapp

↓ 31 callersMethodgetStake
()
frontend/src/tests/page-objects/SnsNeuronDetail.page-object.ts:43
↓ 31 callersMethodlen
(&self)
rs/sns_aggregator/src/assets.rs:104
↓ 31 callersFunctiontoastsShow
(msg: ToastMsg)
frontend/src/lib/stores/toasts.store.ts:25
↓ 30 callersFunctionconvertOptionalNumToBigInt
( num: number | undefined | null )
frontend/src/lib/utils/sns-aggregator-converters.utils.ts:50
↓ 30 callersFunctiongenerateMockProposals
( count: number, fields?: Partial<ProposalInfo> )
frontend/src/tests/mocks/proposal.mock.ts:16
↓ 30 callersMethodoverride
(summary: Partial<SnsSummary>)
frontend/src/lib/types/sns-summary-wrapper.ts:125
↓ 30 callersFunctionrenderWallet
(props: { accountIdentifier?: string; })
frontend/src/tests/lib/pages/IcrcWallet.spec.ts:106
↓ 29 callersMethodgetRowByName
(projectName: string)
frontend/src/tests/page-objects/TokensTable.page-object.ts:53
↓ 29 callersMethodgetValue
()
frontend/src/tests/types/page-object.types.ts:37
↓ 29 callersFunctiongovernanceCanister
({ identity, }: { identity: Identity; })
frontend/src/lib/api/governance.api.ts:597
↓ 29 callersFunctioninvalidAddress
({ address, network, rootCanisterId, }: { address: string | undefined; network: TransactionNetwork |
frontend/src/lib/utils/accounts.utils.ts:68
↓ 29 callersFunctionisHash
(bytes: number[])
frontend/src/lib/utils/utils.ts:97
↓ 29 callersFunctionnumberToE8s
(amount: number, token: Token = ICPToken)
frontend/src/lib/utils/token.utils.ts:247
↓ 29 callersFunctionrenderComponent
({ onClose }: { onClose?: () => void })
frontend/src/tests/lib/modals/neurons/NnsStakeNeuronModal.spec.ts:93
↓ 28 callersFunctiondaysToDuration
(days: number)
frontend/src/lib/utils/date.utils.ts:32
↓ 28 callersMethodgetFullText
()
frontend/src/tests/page-objects/Hash.page-object.ts:30
↓ 28 callersFunctionsubaccountToHexString
( subaccount: Uint8Array | number[] )
frontend/src/lib/utils/sns-neuron.utils.ts:169
↓ 28 callersFunctiontestFormatHeightDecimals
(amount: string)
frontend/src/tests/lib/utils/token.utils.spec.ts:311
↓ 27 callersMethodblur
()
frontend/src/tests/types/page-object.types.ts:39
↓ 27 callersMethodgetCells
()
frontend/src/tests/page-objects/ResponsiveTableRow.page-object.ts:19
↓ 27 callersMethodgetTotalAssetsCardPo
()
frontend/src/tests/page-objects/PortfolioPage.page-object.ts:41
↓ 27 callersMethodhasSpinner
()
frontend/src/tests/page-objects/SnsWallet.page-object.ts:58
↓ 27 callersFunctionqueryAndUpdate
({ request, onLoad, onError, strategy, logMessage, identityType = "authorized", }: { request: (o
frontend/src/lib/services/utils.services.ts:36
↓ 27 callersFunctionrenderTable
({ userTokensData, firstColumnHeader, onAction, orderStore, order, displayTableSetting
frontend/src/tests/lib/components/tokens/TokensTable.svelte.spec.ts:31
↓ 27 callersFunctionsetTickers
(prices: Record<string, number>)
frontend/src/tests/utils/tickers.test-utils.ts:13
↓ 27 callersFunctiontest
({ container, selector, }: { selector: "p" | "span"; container: HTMLElement; })
frontend/src/tests/lib/components/ui/DateSeconds.spec.ts:8
↓ 27 callersFunctionticketFromStore
(rootCanisterId = testRootCanisterId)
frontend/src/tests/lib/services/sns-sale.services.spec.ts:125
↓ 27 callersFunctiontoToastError
({ err, fallbackErrorLabelKey, }: { err: unknown | undefined; fallbackErrorLabelKey: string; })
frontend/src/lib/utils/error.utils.ts:131
↓ 27 callersMethodtoggle
()
frontend/src/tests/page-objects/Toggle.page-object.ts:9
↓ 26 callersFunctionbytes
(length: number, specialValue: unknown = undefined)
frontend/src/tests/lib/utils/utils.spec.ts:138
↓ 26 callersMethodgetAmountInputFiatValuePo
()
frontend/src/tests/page-objects/AmountInput.page-object.ts:32
↓ 26 callersMethodgetSkeletonCardPo
()
frontend/src/tests/page-objects/Canisters.page-object.ts:16
↓ 26 callersMethodgetSubmitButtonPo
()
frontend/src/tests/page-objects/ImportTokenForm.page-object.ts:49
↓ 26 callersMethodgetTokensTablePo
()
frontend/src/tests/page-objects/NnsAccounts.page-object.ts:18
↓ 26 callersMethodisContentLoaded
()
frontend/src/tests/page-objects/Neurons.page-object.ts:39
↓ 26 callersMethodwaitForClosed
()
frontend/src/tests/page-objects/Modal.page-object.ts:14
↓ 25 callersFunctionclickByTestId
( queryByTestId: (matcher: string) => HTMLElement | null, testId: string )
frontend/src/tests/utils/utils.test-utils.ts:10
↓ 25 callersFunctioncreateAscendingComparator
( getter: (rowData: DataType) => Comparable )
frontend/src/lib/utils/sort.utils.ts:42
↓ 25 callersFunctiondisableCssAnimations
(page: Page)
frontend/src/tests/utils/e2e.test-utils.ts:147
↓ 25 callersMethodfromPage
(page: Page)
frontend/src/tests/page-objects/playwright.page-object.ts:13
↓ 25 callersMethodgetLedgerCanisterInputPo
()
frontend/src/tests/page-objects/ImportTokenForm.page-object.ts:17
↓ 25 callersMethodgetNeuronsPo
()
frontend/src/tests/page-objects/App.page-object.ts:63
↓ 25 callersMethodgetNeuronsTablePo
()
frontend/src/tests/page-objects/NnsNeurons.page-object.ts:18
↓ 25 callersMethodgetPrimaryAmount
()
frontend/src/tests/page-objects/UsdValueBanner.page-object.ts:21
↓ 25 callersMethodgetSettingsButtonPo
()
frontend/src/tests/page-objects/TokensPage.page-object.ts:54
↓ 25 callersMethodgetTopicSelectionByName
(topicName: string)
frontend/src/tests/page-objects/FollowNnsNeuronsByTopicStepTopics.page-object.ts:38
↓ 25 callersMethodgetTransactionCardPos
()
frontend/src/tests/page-objects/UiTransactionsList.page-object.ts:17
↓ 25 callersFunctionrenderComponent
(props?: { deadlineTimestampSeconds?: bigint; immediateMajorityPercent?: number; standardMajorityP
frontend/src/tests/lib/components/proposal-detail/VotesResults.spec.ts:26
↓ 25 callersFunctionrenderComponent
(props)
frontend/src/tests/lib/components/universe/SelectUniverseCard.spec.ts:34
↓ 25 callersFunctionrenderTransactionModal
({ destinationAddress, sourceAccount, transactionFee = TokenAmount.fromE8s({ amount: BigInt(
frontend/src/tests/lib/modals/transaction/TransactionModal.svelte.spec.ts:41
↓ 24 callersFunctiongetCurrentStep
(props)
frontend/src/tests/lib/modals/transaction/QrWizardModal.svelte.spec.ts:22
↓ 24 callersMethodgetItem
(key)
frontend/src/tests/mocks/local-storage.mock.ts:15
↓ 24 callersMethodgetNnsNeuronDetailPo
()
frontend/src/tests/page-objects/NeuronDetail.page-object.ts:13
↓ 24 callersFunctionmapProposalInfo
( proposalInfo: ProposalInfo )
frontend/src/lib/utils/proposals.utils.ts:316
↓ 24 callersMethodopenMenu
()
frontend/src/tests/page-objects/App.page-object.ts:138
↓ 24 callersFunctionpoll
({ fn, shouldExit, maxAttempts = DEFAULT_MAX_POLLING_ATTEMPTS, millisecondsToWait = DEFAULT_WAIT_TIME_
frontend/src/lib/utils/utils.ts:208
↓ 24 callersFunctionshortenWithMiddleEllipsis
( text: string, splitLength = 7 )
frontend/src/lib/utils/format.utils.ts:93
↓ 24 callersFunctiontestFormatDetailed
(amount: string)
frontend/src/tests/lib/utils/token.utils.spec.ts:302
↓ 24 callersFunctiontopicInfoDtoMock
({ topic, name, description, isCritical = false, nativeFunctions = [], customFunctions = [], }: {
frontend/src/tests/mocks/sns-topics.mock.ts:36
↓ 24 callersMethodtransferToAddress
({ destinationAddress, amount, }: { destinationAddress: string; amount: number; })
frontend/src/tests/page-objects/NnsWallet.page-object.ts:122
↓ 23 callersFunctionclearCacheAfter
(promise: Promise<R>)
frontend/src/lib/api-services/governance.api-service.ts:107
↓ 23 callersMethodclickColumnHeader
(title: string)
frontend/src/tests/page-objects/ResponsiveTable.page-object.ts:87
↓ 23 callersFunctionconvertEmtpyStringToUndefined
( str: string | undefined )
frontend/src/lib/utils/env-vars.utils.ts:63
↓ 23 callersMethodgetBackdropPo
()
frontend/src/tests/page-objects/App.page-object.ts:118
↓ 23 callersMethodgetFiatValue
()
frontend/src/tests/page-objects/AmountInputFiatValue.page-object.ts:15
↓ 23 callersFunctiongetIdentityOfControllerByNeuronId
( neuronId: NeuronId )
frontend/src/lib/services/neurons.services.ts:143
↓ 23 callersMethodgetTokenNames
()
frontend/src/tests/page-objects/TokensPage.page-object.ts:82
↓ 23 callersFunctionulpsToNumber
({ ulps, token: { decimals }, }: { ulps: bigint; token: Token; })
frontend/src/lib/utils/token.utils.ts:274
↓ 22 callersFunctionformatDissolveDelay
(seconds: bigint)
frontend/src/lib/utils/date.utils.ts:127
↓ 22 callersFunctionformatNumber
( value: number, options?: { minFraction: number; maxFraction: number; maximumSignificantDigit
frontend/src/lib/utils/format.utils.ts:6
↓ 22 callersFunctionformatParticipation
(ulps: bigint)
frontend/src/lib/utils/portfolio.utils.ts:108
↓ 22 callersMethodgetProjectStatusSectionPo
()
frontend/src/tests/page-objects/ProjectDetail.page-object.ts:26
↓ 22 callersMethodgetSetDissolveDelayPo
()
frontend/src/tests/page-objects/NnsStakeNeuronModal.page-object.ts:27
↓ 22 callersMethodgetTooltipIconPo
()
frontend/src/tests/page-objects/IcpExchangeRate.page-object.ts:12
↓ 22 callersFunctiongetTopicTitle
({ topic, i18n, }: { topic: Topic; i18n: I18n; })
frontend/src/lib/utils/neuron.utils.ts:1319
↓ 22 callersMethodgetValueText
()
frontend/src/tests/page-objects/KeyValuePair.page-object.ts:19
↓ 22 callersMethodhasErrorOutline
()
frontend/src/tests/page-objects/InputWithError.page-object.ts:48
↓ 22 callersFunctionloadAccounts
({ handleError, ledgerCanisterId, strategy = FORCE_CALL_STRATEGY, }: { handleError?: () => void; led
frontend/src/lib/services/icrc-accounts.services.ts:167
↓ 22 callersFunctionmockSnsSwapCommitment
( rootCanisterId: Principal )
frontend/src/tests/mocks/sns-projects.mock.ts:61
↓ 22 callersFunctionrenderComponent
({ rootCanisterId, unmountWhen, }: { rootCanisterId: string; unmountWhen?: Promise<void>;
frontend/src/tests/lib/pages/ProjectDetail.spec.ts:154
↓ 22 callersFunctionshouldInvalidateCache
({ apiFunc, apiServiceFunc, params, }: { apiFunc: (params: P) => Promise<R>; apiServiceFunc: (params
frontend/src/tests/lib/api-services/governance.api-service.spec.ts:55
↓ 22 callersFunctionshouldInvalidateCacheOnFailure
({ apiFunc, apiServiceFunc, params, }: { apiFunc: (params: P) => Promise<R>; apiServiceFunc: (params
frontend/src/tests/lib/api-services/governance.api-service.spec.ts:100
↓ 21 callersMethodclickNextButton
()
frontend/src/tests/page-objects/DisburseMaturityModal.page-object.ts:24
↓ 21 callersFunctionenumValues
( obj: T )
frontend/src/lib/utils/enum.utils.ts:6
↓ 21 callersMethodgetActionableProposalsSegmentPo
()
frontend/src/tests/page-objects/NnsProposalFilters.page-object.ts:31
↓ 21 callersMethodgetActiveCardIndex
()
frontend/src/tests/page-objects/StackedCards.page-object.ts:105
↓ 21 callersMethodgetName
()
frontend/src/tests/page-objects/Followee.page-object.ts:29
↓ 21 callersMethodgetNeuronDetailPo
()
frontend/src/tests/page-objects/App.page-object.ts:67
↓ 21 callersMethodgetStakeButtonPo
()
frontend/src/tests/page-objects/ProjectsTableRow.page-object.ts:43
↓ 21 callersFunctionnumberToNullableBigInt
(num?: number | null)
frontend/src/lib/utils/sns-aggregator-converters.utils.ts:118
↓ 21 callersFunctionparticipateInSnsSale
({ rootCanisterId, swapCanisterId, postprocess, userCommitment, updateProgress, ticket, }: Partici
frontend/src/lib/services/sns-sale.services.ts:680
↓ 21 callersFunctionrenderComponent
()
frontend/src/tests/lib/components/accounts/ImportTokenModal.spec.ts:44
↓ 21 callersFunctionrenderComponent
({ onNnsAction = null, ...props }: RenderComponentProps & { onNnsAction?: ({ detail }: { detail:
frontend/src/tests/lib/components/ui/ResponsiveTable.spec.ts:103
↓ 21 callersFunctionrenderComponent
(props: { accountIdentifier?: string })
frontend/src/tests/lib/pages/SnsWallet.spec.ts:65
↓ 21 callersFunctionrenderModalToPo
(params?: { selectedAccount?: Account; nnsClose?: () => void; nnsTransfer?: () => void; })
frontend/src/tests/lib/modals/accounts/CkBTCTransactionModal.spec.ts:64
↓ 21 callersFunctionsignInWithNewUser
({ page, context, }: { page: Page; context: BrowserContext; })
frontend/src/tests/utils/e2e.test-utils.ts:49
↓ 21 callersFunctiontransformUrlForAnalytics
( url: URL, projectsToSlugMap: Map<string, string> )
frontend/src/lib/utils/analytics.utils.ts:31
↓ 21 callersMethodwaitForContentLoaded
()
frontend/src/tests/page-objects/Neurons.page-object.ts:47
↓ 21 callersFunctionwith_state_mut
A mutable accessor for the state. # Panics Panics when the function is called before the `init_state` or `restore_state` is called.
rs/backend/src/state.rs:102
↓ 20 callersMethodclickConfirmButton
()
frontend/src/tests/page-objects/FilterModal.page-object.ts:35
← previousnext →101–200 of 5,266, ranked by callers