MCPcopy Create free account

hub / github.com/dfinity/orbit / functions

Functions3,207 in github.com/dfinity/orbit

↓ 8 callersFunctionsetup_new_env_with_config
(config: SetupConfig)
tests/integration/src/setup.rs:97
↓ 8 callersMethodsort
(&self, ids: &mut [Self::IdType])
core/control-panel/impl/src/repositories/registry.rs:259
↓ 8 callersMethodsum
(&mut self, current: &User, previous: Option<&User>)
core/station/impl/src/core/metrics.rs:194
↓ 8 callersFunctiontransformData
( input: unknown, opts: { removeUndefinedOrNull?: boolean; removeEmptyLists?: boolean; removeF
apps/wallet/src/utils/helper.utils.ts:517
↓ 8 callersMethodupgrade_canister
Updates the canister with the given settings. Must only be called within a canister post_upgrade call.
core/station/impl/src/services/system.rs:605
↓ 8 callersFunctionuseAutocomplete
(fetchCall: (search: string) => Promise<T[]>)
apps/wallet/src/composables/autocomplete.composable.ts:7
↓ 7 callersFunctionbump_time_to_avoid_ratelimit
(env: &PocketIc)
tests/integration/src/utils.rs:988
↓ 7 callersMethodclear_when
Clears all the entries in the repository that match the given criteria.
core/station/impl/src/repositories/indexes/unique_index.rs:77
↓ 7 callersFunctioncompactArray
( array: (T | null | undefined)[], opts: { /** If true, also removes empty strings from the array. */
apps/wallet/src/utils/helper.utils.ts:334
↓ 7 callersFunctiondfx_orbit_test
( env: &mut PocketIc, config: DfxOrbitTestConfig, test_func: F, )
tests/integration/src/dfx_orbit/setup.rs:51
↓ 7 callersMethodevaluate
(&self)
core/station/impl/src/core/request.rs:41
↓ 7 callersFunctionexternalCallValidationEqualsExecution
( policies: RequestPolicy[], permissions: Permission[], )
cli/src/audit/checks/external-call-validation-equals-execution.ts:16
↓ 7 callersMethodfind_by_identity
Returns the user associated with the given identity if it exists.
core/station/impl/src/repositories/user.rs:229
↓ 7 callersMethodfind_where
Returns the users that match the given filters.
core/station/impl/src/repositories/user.rs:254
↓ 7 callersFunctionformatCycles
(cycles: bigint)
apps/wallet/src/mappers/cycles.mapper.ts:97
↓ 7 callersFunctionfromResourceToDisplayText
(resource: Resource, separator = '_')
apps/wallet/src/mappers/permissions.mapper.ts:94
↓ 7 callersMethodget_upgrader_canister_id
(&self)
core/station/impl/src/services/system.rs:136
↓ 7 callersMethodget_user
Returns the user associated with the given user id.
core/station/impl/src/services/user.rs:56
↓ 7 callersFunctionhexStringToArrayBuffer
(hexString: string)
apps/wallet/src/utils/crypto.utils.ts:16
↓ 7 callersFunctionid
()
libs/orbit-essentials/src/cdk.rs:84
↓ 7 callersMethodinsert
(&self, key: ArtifactId, value: Artifact)
core/control-panel/impl/src/repositories/artifact.rs:62
↓ 7 callersMethodinto_vec_dto
(self)
core/station/impl/src/models/metadata.rs:81
↓ 7 callersMethodis_healthy
(&self)
core/station/impl/src/services/system.rs:132
↓ 7 callersFunctionlist_assets
( env: &PocketIc, station_canister_id: Principal, requester: Principal, )
tests/integration/src/station_test_data/asset.rs:96
↓ 7 callersFunctionnext_unique_uuid
()
tests/integration/src/upgrader_test_data.rs:38
↓ 7 callersFunctionparseDate
(raw: string)
apps/wallet/src/utils/date.utils.ts:51
↓ 7 callersFunctionparseToBigIntOrUndefined
( value: string | number | bigint | null | undefined, )
apps/wallet/src/utils/helper.utils.ts:390
↓ 7 callersMethodremove
(&self, input: RemoveNamedRuleOperationInput)
core/station/impl/src/services/named_rule.rs:143
↓ 7 callersMethodremove
Removes a record from the repository and returns it if it exists.
libs/orbit-essentials/src/repository.rs:104
↓ 7 callersMethodremove_by_id
Removes an artifact by its id. The artifact is only removed if all references to it are removed.
core/control-panel/impl/src/services/artifact.rs:77
↓ 7 callersMethodremove_permission
Removes a permission for a given resource, if it exists.
core/station/impl/src/services/permission.rs:68
↓ 7 callersMethodremove_request_policy
(&self, id: &UUID)
core/station/impl/src/services/request_policy.rs:162
↓ 7 callersMethodreview_id
(&self, args: GetRequestInput)
tools/dfx-orbit/src/station/agent.rs:70
↓ 7 callersMethodset
(&mut self, service_name: &str, value: f64)
libs/orbit-essentials/src/metrics.rs:355
↓ 7 callersFunctionset_caller
(principal: Principal)
libs/orbit-essentials/src/cdk.rs:33
↓ 7 callersMethodset_committee
(&self, committee: DisasterRecoveryCommittee)
core/upgrader/impl/src/services/disaster_recovery.rs:117
↓ 7 callersFunctionset_timer
(_duration: Duration, callback: impl FnOnce() + Send + 'static)
libs/orbit-essentials/src/timers.rs:19
↓ 7 callersFunctionsetup_dfx_orbit
Setup the station agent for the test
tests/integration/src/dfx_orbit/setup.rs:181
↓ 7 callersFunctionsha256_hash
Hashes the given data using the SHA256 algorithm.
libs/orbit-essentials/src/utils/hash.rs:5
↓ 7 callersMethodto_bytes
(&self)
core/control-panel/impl/src/core/config.rs:80
↓ 7 callersMethodto_dto
(self, account: Option<Account>)
core/station/impl/src/mappers/request_operation.rs:74
↓ 7 callersFunctionuseStorage
({ key, storage, initial, serialize, deserialize, deepWatch = true, }: { key: string; storage:
apps/wallet/src/utils/storage.utils.ts:7
↓ 7 callersFunctionvalidate_deduplication_key
( deduplication_key: &Option<String>, status: &RequestStatus, )
core/station/impl/src/models/request.rs:223
↓ 7 callersFunctionwrite_canister_config
A helper function to write the canister configuration.
core/control-panel/impl/src/core/memory.rs:59
↓ 6 callersMethodadd_stations
Adds the provided stations to the user. If a station with the same ID already exists, it is updated.
core/control-panel/impl/src/services/user_station.rs:71
↓ 6 callersFunctionadvance_time_to_burn_cycles
( env: &PocketIc, sender: Principal, canister_id: Principal, target_cycles: u128, )
tests/integration/src/utils.rs:442
↓ 6 callersFunctionarrayBufferToHex
(buffer: ArrayBuffer)
apps/wallet/src/utils/crypto.utils.ts:1
↓ 6 callersMethodas_btreemap
(&self)
core/station/impl/src/models/metadata.rs:59
↓ 6 callersFunctionassetEditPolicyWeakerThanTransfer
( policies: RequestPolicy[], users: User[], namedRules: NamedRule[], )
cli/src/audit/checks/asset-edit-policy-weaker-than-transfer.ts:20
↓ 6 callersMethodcancel_request
Cancels a request if the request is in the created status and the caller is the requester.
core/station/impl/src/services/request.rs:421
↓ 6 callersFunctioncanister_config
A helper function to access the canister configuration.
core/control-panel/impl/src/core/memory.rs:46
↓ 6 callersMethodchange
(&mut self, change_metadata: ChangeMetadata)
core/station/impl/src/models/metadata.rs:63
↓ 6 callersMethodclear
()
apps/wallet/src/utils/helper.utils.ts:159
↓ 6 callersMethodcounter_vec_mut
Returns a counter vec metric with the given name and set of label names.
libs/orbit-essentials/src/metrics.rs:59
↓ 6 callersMethodcreate
(asset: Asset, addresses: AccountAddress[])
apps/wallet/src/services/chains/index.ts:8
↓ 6 callersFunctioncreateCompatibilityLayer
(agent: HttpAgent = icAgent.get())
apps/wallet/src/core/compatibility.core.ts:129
↓ 6 callersMethoddefault_station_name
Gets the name of the default Orbit station from the local dfx configuration.
tools/dfx-orbit/src/local_config.rs:223
↓ 6 callersFunctionexecAsync
(command: string)
cli/src/utils.ts:49
↓ 6 callersMethodexists
(&self, index: &ArtifactIndex)
core/control-panel/impl/src/repositories/indexes/artifact_index.rs:34
↓ 6 callersFunctionfiveActive
()
cli/src/audit/resolver.spec.ts:157
↓ 6 callersMethodgauge_vec_mut
Returns a gauge vec metric with the given name, helper message, and set of label names. The label names are used to partition the gauge metric into m
libs/orbit-essentials/src/metrics.rs:121
↓ 6 callersFunctiongenerate_uuid_v4
()
core/station/impl/src/core/mod.rs:36
↓ 6 callersMethodget_account
Returns the account associated with the given account id.
core/station/impl/src/services/account.rs:101
↓ 6 callersMethodget_external_canister_request_policies
Returns all request policies of the external canister by its canister id. The policies are grouped by the type of request they are for: - `calls`: P
core/station/impl/src/services/external_canister.rs:139
↓ 6 callersFunctionget_icp_balance
(env: &PocketIc, user_id: Principal)
tests/integration/src/interfaces.rs:10
↓ 6 callersMethodget_logs
Returns logs from the storage starting from the end of the log.
core/upgrader/impl/src/services/logger.rs:59
↓ 6 callersMethodget_permission
Returns a permission for a given resource. If it does not exist, a default permission is returned.
core/station/impl/src/services/permission.rs:61
↓ 6 callersMethodgoto
()
tests/e2e/page-objects/accounts.ts:7
↓ 6 callersMethodinsert
(&self, key: UUID, value: RequestPolicy)
core/station/impl/src/repositories/request_policy.rs:70
↓ 6 callersMethodinsert
( &self, key: ExternalCanisterKey, value: ExternalCanister, )
core/station/impl/src/repositories/external_canister.rs:82
↓ 6 callersMethodisSupportedLocale
(locale: string)
apps/wallet/src/services/locales.service.ts:39
↓ 6 callersMethodlabels
Returns the labels that are used to partition the gauge metric into multiple dimensions.
libs/orbit-essentials/src/metrics.rs:256
↓ 6 callersMethodlist
(&self)
core/station/impl/src/repositories/indexes/request_policy_resource_index.rs:48
↓ 6 callersMethodmax
()
core/station/impl/src/models/resource.rs:292
↓ 6 callersFunctionpaginated
( method: string, call: (pageArg: { offset: bigint; limit: bigint }) => Promise<unknown>, extract: (page
cli/src/audit/station.core.ts:29
↓ 6 callersMethodreset
(timeoutMs: number)
apps/wallet/src/utils/helper.utils.ts:146
↓ 6 callersFunctionresetCounter
()
cli/src/audit/checks/fixtures.ts:16
↓ 6 callersMethodsearch
Returns all registry entries by the given name, if the name is not namespaced, the default namespace is used.
core/control-panel/impl/src/services/registry.rs:66
↓ 6 callersMethodset_upgrader_canister_id
(&mut self, canister_id: Principal)
core/station/impl/src/models/system.rs:178
↓ 6 callersFunctionsetup
()
core/station/impl/src/services/transfer.rs:127
↓ 6 callersFunctionsetup_dfx_user
Create the dfx user's identities and add them to the station
tests/integration/src/dfx_orbit/setup.rs:207
↓ 6 callersMethodstation
Gets the local stored dfx configuration for a given station.
tools/dfx-orbit/src/local_config.rs:137
↓ 6 callersFunctionto_coarse_time
(at_ns: u64, step_ns: u64)
core/station/impl/src/jobs/mod.rs:164
↓ 6 callersMethodto_resources
(&self)
core/station/impl/src/mappers/authorization.rs:415
↓ 6 callersMethodupdate_orbit_typed
Makes an update call to the station. This version integrates candid encoding / decoding
tools/dfx-orbit/src/station/agent.rs:96
↓ 6 callersMethodvalidate
(&self)
core/station/impl/src/models/address_book.rs:109
↓ 6 callersFunctionvalidate_tags
(tags: &[String])
core/station/impl/src/models/request.rs:135
↓ 5 callersFunctionadd_asset_with_input
( env: &PocketIc, station_canister_id: Principal, requester: Principal, input: station_api::Ad
tests/integration/src/station_test_data/asset.rs:8
↓ 5 callersFunctionadd_group
(name: &str)
core/station/impl/src/models/user_group.rs:185
↓ 5 callersMethodadd_registry_entry
( &self, input: AddRegistryEntryInput, )
core/control-panel/impl/src/controllers/registry.rs:121
↓ 5 callersMethodadd_transfer
(&self, transfer: Transfer)
core/station/impl/src/services/transfer.rs:25
↓ 5 callersFunctionadd_user
( env: &PocketIc, station_canister_id: Principal, requester: Principal, group_ids: Vec<String>
tests/integration/src/station_test_data/user.rs:8
↓ 5 callersMethodand_version
(mut self, version: &str)
core/control-panel/impl/src/repositories/registry.rs:389
↓ 5 callersFunctionblobToHumanReadable
(blob: Uint8Array | number[])
apps/wallet/src/utils/disaster-recovery.utils.ts:166
↓ 5 callersMethodbuild_cache
Builds the cache from the stable memory repository. This method should only be called during init or upgrade hooks to ensure that the cache is up-to-
core/station/impl/src/repositories/user.rs:208
↓ 5 callersMethodclear
Clears all entries in the index repository.
core/control-panel/impl/src/repositories/indexes/artifact_index.rs:26
↓ 5 callersMethodclient
(args: { reset?: boolean } = { reset: false })
apps/wallet/src/services/auth.service.ts:12
↓ 5 callersFunctioncreate_canister_with_cycles
( env: &PocketIc, controller: Principal, cycles: u128, )
tests/integration/src/setup.rs:163
↓ 5 callersFunctioncyclesUnitFromNumber
(cycles: bigint)
apps/wallet/src/mappers/cycles.mapper.ts:84
↓ 5 callersMethodedit_request_policy
( &self, input: EditRequestPolicyOperationInput, )
core/station/impl/src/services/request_policy.rs:140
← previousnext →201–300 of 3,207, ranked by callers