Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/dfinity/orbit
/ functions
Functions
3,207 in github.com/dfinity/orbit
⨍
Functions
3,207
◇
Types & classes
1,930
↓ 8 callers
Function
setup_new_env_with_config
(config: SetupConfig)
tests/integration/src/setup.rs:97
↓ 8 callers
Method
sort
(&self, ids: &mut [Self::IdType])
core/control-panel/impl/src/repositories/registry.rs:259
↓ 8 callers
Method
sum
(&mut self, current: &User, previous: Option<&User>)
core/station/impl/src/core/metrics.rs:194
↓ 8 callers
Function
transformData
( input: unknown, opts: { removeUndefinedOrNull?: boolean; removeEmptyLists?: boolean; removeF
apps/wallet/src/utils/helper.utils.ts:517
↓ 8 callers
Method
upgrade_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 callers
Function
useAutocomplete
(fetchCall: (search: string) => Promise<T[]>)
apps/wallet/src/composables/autocomplete.composable.ts:7
↓ 7 callers
Function
bump_time_to_avoid_ratelimit
(env: &PocketIc)
tests/integration/src/utils.rs:988
↓ 7 callers
Method
clear_when
Clears all the entries in the repository that match the given criteria.
core/station/impl/src/repositories/indexes/unique_index.rs:77
↓ 7 callers
Function
compactArray
( array: (T | null | undefined)[], opts: { /** If true, also removes empty strings from the array. */
apps/wallet/src/utils/helper.utils.ts:334
↓ 7 callers
Function
dfx_orbit_test
( env: &mut PocketIc, config: DfxOrbitTestConfig, test_func: F, )
tests/integration/src/dfx_orbit/setup.rs:51
↓ 7 callers
Method
evaluate
(&self)
core/station/impl/src/core/request.rs:41
↓ 7 callers
Function
externalCallValidationEqualsExecution
( policies: RequestPolicy[], permissions: Permission[], )
cli/src/audit/checks/external-call-validation-equals-execution.ts:16
↓ 7 callers
Method
find_by_identity
Returns the user associated with the given identity if it exists.
core/station/impl/src/repositories/user.rs:229
↓ 7 callers
Method
find_where
Returns the users that match the given filters.
core/station/impl/src/repositories/user.rs:254
↓ 7 callers
Function
formatCycles
(cycles: bigint)
apps/wallet/src/mappers/cycles.mapper.ts:97
↓ 7 callers
Function
fromResourceToDisplayText
(resource: Resource, separator = '_')
apps/wallet/src/mappers/permissions.mapper.ts:94
↓ 7 callers
Method
get_upgrader_canister_id
(&self)
core/station/impl/src/services/system.rs:136
↓ 7 callers
Method
get_user
Returns the user associated with the given user id.
core/station/impl/src/services/user.rs:56
↓ 7 callers
Function
hexStringToArrayBuffer
(hexString: string)
apps/wallet/src/utils/crypto.utils.ts:16
↓ 7 callers
Function
id
()
libs/orbit-essentials/src/cdk.rs:84
↓ 7 callers
Method
insert
(&self, key: ArtifactId, value: Artifact)
core/control-panel/impl/src/repositories/artifact.rs:62
↓ 7 callers
Method
into_vec_dto
(self)
core/station/impl/src/models/metadata.rs:81
↓ 7 callers
Method
is_healthy
(&self)
core/station/impl/src/services/system.rs:132
↓ 7 callers
Function
list_assets
( env: &PocketIc, station_canister_id: Principal, requester: Principal, )
tests/integration/src/station_test_data/asset.rs:96
↓ 7 callers
Function
next_unique_uuid
()
tests/integration/src/upgrader_test_data.rs:38
↓ 7 callers
Function
parseDate
(raw: string)
apps/wallet/src/utils/date.utils.ts:51
↓ 7 callers
Function
parseToBigIntOrUndefined
( value: string | number | bigint | null | undefined, )
apps/wallet/src/utils/helper.utils.ts:390
↓ 7 callers
Method
remove
(&self, input: RemoveNamedRuleOperationInput)
core/station/impl/src/services/named_rule.rs:143
↓ 7 callers
Method
remove
Removes a record from the repository and returns it if it exists.
libs/orbit-essentials/src/repository.rs:104
↓ 7 callers
Method
remove_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 callers
Method
remove_permission
Removes a permission for a given resource, if it exists.
core/station/impl/src/services/permission.rs:68
↓ 7 callers
Method
remove_request_policy
(&self, id: &UUID)
core/station/impl/src/services/request_policy.rs:162
↓ 7 callers
Method
review_id
(&self, args: GetRequestInput)
tools/dfx-orbit/src/station/agent.rs:70
↓ 7 callers
Method
set
(&mut self, service_name: &str, value: f64)
libs/orbit-essentials/src/metrics.rs:355
↓ 7 callers
Function
set_caller
(principal: Principal)
libs/orbit-essentials/src/cdk.rs:33
↓ 7 callers
Method
set_committee
(&self, committee: DisasterRecoveryCommittee)
core/upgrader/impl/src/services/disaster_recovery.rs:117
↓ 7 callers
Function
set_timer
(_duration: Duration, callback: impl FnOnce() + Send + 'static)
libs/orbit-essentials/src/timers.rs:19
↓ 7 callers
Function
setup_dfx_orbit
Setup the station agent for the test
tests/integration/src/dfx_orbit/setup.rs:181
↓ 7 callers
Function
sha256_hash
Hashes the given data using the SHA256 algorithm.
libs/orbit-essentials/src/utils/hash.rs:5
↓ 7 callers
Method
to_bytes
(&self)
core/control-panel/impl/src/core/config.rs:80
↓ 7 callers
Method
to_dto
(self, account: Option<Account>)
core/station/impl/src/mappers/request_operation.rs:74
↓ 7 callers
Function
useStorage
({ key, storage, initial, serialize, deserialize, deepWatch = true, }: { key: string; storage:
apps/wallet/src/utils/storage.utils.ts:7
↓ 7 callers
Function
validate_deduplication_key
( deduplication_key: &Option<String>, status: &RequestStatus, )
core/station/impl/src/models/request.rs:223
↓ 7 callers
Function
write_canister_config
A helper function to write the canister configuration.
core/control-panel/impl/src/core/memory.rs:59
↓ 6 callers
Method
add_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 callers
Function
advance_time_to_burn_cycles
( env: &PocketIc, sender: Principal, canister_id: Principal, target_cycles: u128, )
tests/integration/src/utils.rs:442
↓ 6 callers
Function
arrayBufferToHex
(buffer: ArrayBuffer)
apps/wallet/src/utils/crypto.utils.ts:1
↓ 6 callers
Method
as_btreemap
(&self)
core/station/impl/src/models/metadata.rs:59
↓ 6 callers
Function
assetEditPolicyWeakerThanTransfer
( policies: RequestPolicy[], users: User[], namedRules: NamedRule[], )
cli/src/audit/checks/asset-edit-policy-weaker-than-transfer.ts:20
↓ 6 callers
Method
cancel_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 callers
Function
canister_config
A helper function to access the canister configuration.
core/control-panel/impl/src/core/memory.rs:46
↓ 6 callers
Method
change
(&mut self, change_metadata: ChangeMetadata)
core/station/impl/src/models/metadata.rs:63
↓ 6 callers
Method
clear
()
apps/wallet/src/utils/helper.utils.ts:159
↓ 6 callers
Method
counter_vec_mut
Returns a counter vec metric with the given name and set of label names.
libs/orbit-essentials/src/metrics.rs:59
↓ 6 callers
Method
create
(asset: Asset, addresses: AccountAddress[])
apps/wallet/src/services/chains/index.ts:8
↓ 6 callers
Function
createCompatibilityLayer
(agent: HttpAgent = icAgent.get())
apps/wallet/src/core/compatibility.core.ts:129
↓ 6 callers
Method
default_station_name
Gets the name of the default Orbit station from the local dfx configuration.
tools/dfx-orbit/src/local_config.rs:223
↓ 6 callers
Function
execAsync
(command: string)
cli/src/utils.ts:49
↓ 6 callers
Method
exists
(&self, index: &ArtifactIndex)
core/control-panel/impl/src/repositories/indexes/artifact_index.rs:34
↓ 6 callers
Function
fiveActive
()
cli/src/audit/resolver.spec.ts:157
↓ 6 callers
Method
gauge_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 callers
Function
generate_uuid_v4
()
core/station/impl/src/core/mod.rs:36
↓ 6 callers
Method
get_account
Returns the account associated with the given account id.
core/station/impl/src/services/account.rs:101
↓ 6 callers
Method
get_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 callers
Function
get_icp_balance
(env: &PocketIc, user_id: Principal)
tests/integration/src/interfaces.rs:10
↓ 6 callers
Method
get_logs
Returns logs from the storage starting from the end of the log.
core/upgrader/impl/src/services/logger.rs:59
↓ 6 callers
Method
get_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 callers
Method
goto
()
tests/e2e/page-objects/accounts.ts:7
↓ 6 callers
Method
insert
(&self, key: UUID, value: RequestPolicy)
core/station/impl/src/repositories/request_policy.rs:70
↓ 6 callers
Method
insert
( &self, key: ExternalCanisterKey, value: ExternalCanister, )
core/station/impl/src/repositories/external_canister.rs:82
↓ 6 callers
Method
isSupportedLocale
(locale: string)
apps/wallet/src/services/locales.service.ts:39
↓ 6 callers
Method
labels
Returns the labels that are used to partition the gauge metric into multiple dimensions.
libs/orbit-essentials/src/metrics.rs:256
↓ 6 callers
Method
list
(&self)
core/station/impl/src/repositories/indexes/request_policy_resource_index.rs:48
↓ 6 callers
Method
max
()
core/station/impl/src/models/resource.rs:292
↓ 6 callers
Function
paginated
( method: string, call: (pageArg: { offset: bigint; limit: bigint }) => Promise<unknown>, extract: (page
cli/src/audit/station.core.ts:29
↓ 6 callers
Method
reset
(timeoutMs: number)
apps/wallet/src/utils/helper.utils.ts:146
↓ 6 callers
Function
resetCounter
()
cli/src/audit/checks/fixtures.ts:16
↓ 6 callers
Method
search
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 callers
Method
set_upgrader_canister_id
(&mut self, canister_id: Principal)
core/station/impl/src/models/system.rs:178
↓ 6 callers
Function
setup
()
core/station/impl/src/services/transfer.rs:127
↓ 6 callers
Function
setup_dfx_user
Create the dfx user's identities and add them to the station
tests/integration/src/dfx_orbit/setup.rs:207
↓ 6 callers
Method
station
Gets the local stored dfx configuration for a given station.
tools/dfx-orbit/src/local_config.rs:137
↓ 6 callers
Function
to_coarse_time
(at_ns: u64, step_ns: u64)
core/station/impl/src/jobs/mod.rs:164
↓ 6 callers
Method
to_resources
(&self)
core/station/impl/src/mappers/authorization.rs:415
↓ 6 callers
Method
update_orbit_typed
Makes an update call to the station. This version integrates candid encoding / decoding
tools/dfx-orbit/src/station/agent.rs:96
↓ 6 callers
Method
validate
(&self)
core/station/impl/src/models/address_book.rs:109
↓ 6 callers
Function
validate_tags
(tags: &[String])
core/station/impl/src/models/request.rs:135
↓ 5 callers
Function
add_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 callers
Function
add_group
(name: &str)
core/station/impl/src/models/user_group.rs:185
↓ 5 callers
Method
add_registry_entry
( &self, input: AddRegistryEntryInput, )
core/control-panel/impl/src/controllers/registry.rs:121
↓ 5 callers
Method
add_transfer
(&self, transfer: Transfer)
core/station/impl/src/services/transfer.rs:25
↓ 5 callers
Function
add_user
( env: &PocketIc, station_canister_id: Principal, requester: Principal, group_ids: Vec<String>
tests/integration/src/station_test_data/user.rs:8
↓ 5 callers
Method
and_version
(mut self, version: &str)
core/control-panel/impl/src/repositories/registry.rs:389
↓ 5 callers
Function
blobToHumanReadable
(blob: Uint8Array | number[])
apps/wallet/src/utils/disaster-recovery.utils.ts:166
↓ 5 callers
Method
build_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 callers
Method
clear
Clears all entries in the index repository.
core/control-panel/impl/src/repositories/indexes/artifact_index.rs:26
↓ 5 callers
Method
client
(args: { reset?: boolean } = { reset: false })
apps/wallet/src/services/auth.service.ts:12
↓ 5 callers
Function
create_canister_with_cycles
( env: &PocketIc, controller: Principal, cycles: u128, )
tests/integration/src/setup.rs:163
↓ 5 callers
Function
cyclesUnitFromNumber
(cycles: bigint)
apps/wallet/src/mappers/cycles.mapper.ts:84
↓ 5 callers
Method
edit_request_policy
( &self, input: EditRequestPolicyOperationInput, )
core/station/impl/src/services/request_policy.rs:140
← previous
next →
201–300 of 3,207, ranked by callers