MCPcopy Create free account

hub / github.com/dfinity/orbit / functions

Functions3,207 in github.com/dfinity/orbit

↓ 632 callersMethodmap
(&self)
core/station/impl/src/models/metadata.rs:52
↓ 421 callersMethodinsert
Inserts a key-value pair into the cache.
core/station/impl/src/core/cache.rs:37
↓ 369 callersMethoditer
Returns an iterator over the cache's key-value pairs.
core/station/impl/src/core/cache.rs:78
↓ 316 callersFunctionvariantIs
( p: EnumType, key: KeysOfUnion<T>, )
apps/wallet/src/utils/helper.utils.ts:53
↓ 255 callersFunctionmount
( component: T, options: ComponentMountingOptions<T> = {}, overrides: { initialPiniaState?: StateTre
apps/wallet/src/test.utils.ts:34
↓ 235 callersMethodexists
Checks if an address book entry exists for the given blockchain and address.
core/station/impl/src/repositories/address_book.rs:140
↓ 178 callersMethodto_key
(&self)
core/station/impl/src/models/user.rs:70
↓ 95 callersMethodlen
Returns the number of elements in the cache.
core/station/impl/src/core/cache.rs:27
↓ 95 callersFunctionservices
()
apps/wallet/src/plugins/services.plugin.ts:48
↓ 90 callersMethodto_vec
(&self)
core/station/impl/src/models/resource.rs:278
↓ 83 callersMethodkey
(&self)
core/station/impl/src/models/user.rs:43
↓ 78 callersFunctionmock_request
()
core/station/impl/src/models/request.rs:821
↓ 75 callersMethodinsert
(&self, key: UserKey, value: User)
core/control-panel/impl/src/repositories/user.rs:62
↓ 75 callersFunctionsetup_new_env
()
tests/integration/src/setup.rs:66
↓ 74 callersFunctionprint
(s: S)
libs/orbit-essentials/src/cdk.rs:96
↓ 62 callersMethodcontains
(&self, item: &MetadataItem)
core/station/impl/src/models/metadata.rs:45
↓ 62 callersFunctionmock_user
()
core/station/impl/src/models/user.rs:297
↓ 53 callersMethodget
Returns a reference to the value at the key if it exists.
core/station/impl/src/core/cache.rs:53
↓ 52 callersFunctionnext_time
Returns the current time in nanoseconds since the epoch. This function increments the time by 1ns for each call in the same round.
libs/orbit-essentials/src/cdk.rs:9
↓ 49 callersFunctioncreate_registry_entry
()
core/control-panel/impl/src/models/registry_entry.rs:614
↓ 46 callersFunctionexecute_request
( env: &PocketIc, user_id: Principal, station_canister_id: CanisterId, request_operation_input
tests/integration/src/utils.rs:305
↓ 44 callersFunctionget_canister_wasm
(canister_name: &str)
tests/integration/src/setup.rs:266
↓ 42 callersMethodlen
(&self)
core/control-panel/impl/src/repositories/indexes/artifact_index.rs:66
↓ 42 callersMethodmock
()
core/station/impl/src/models/metadata.rs:89
↓ 41 callersMethodcreate_request
Creates a new request adding the caller user as the requester. By default, the request has an expiration date of 7 days from the creation date.
core/station/impl/src/services/request.rs:324
↓ 41 callersFunctionuser_test_id
(n: u64)
tests/integration/src/utils.rs:119
↓ 40 callersFunctionsubmit_request
( env: &PocketIc, user_id: Principal, station_canister_id: CanisterId, request_operation_input
tests/integration/src/utils.rs:237
↓ 39 callersMethodset
(&self, value: DisasterRecovery)
core/upgrader/impl/src/services/disaster_recovery.rs:83
↓ 38 callersMethodlog
Logs an entry to the storage. If it cannot log the entry, it prints to the canister's logs.
core/upgrader/impl/src/services/logger.rs:52
↓ 35 callersMethodget
(&self, key: &UserKey)
core/station/impl/src/repositories/user.rs:130
↓ 35 callersMethodto_key
(&self)
core/control-panel/impl/src/models/user.rs:89
↓ 35 callersFunctionupdate_raw
( env: &PocketIc, canister_id: CanisterId, sender: Principal, method: &str, payload: Vec<u
tests/integration/src/utils.rs:490
↓ 35 callersMethodvalidate
(&self)
core/station/impl/src/models/user.rs:128
↓ 34 callersMethodcreate
( &self, request_id: UUID, requested_by_user: UUID, input: station_api::Create
core/station/impl/src/factories/requests/add_user.rs:14
↓ 34 callersMethodget
(&self, asset_id: &AssetId)
core/station/impl/src/services/asset.rs:41
↓ 34 callersFunctiontimestamp_to_rfc3339
(nanoseconds_since_epoch: &Timestamp)
libs/orbit-essentials/src/utils/time.rs:5
↓ 34 callersFunctionunreachable
(input: never)
apps/wallet/src/utils/helper.utils.ts:47
↓ 34 callersMethodvalidate
(&self)
core/station/impl/src/models/request_specifier.rs:30
↓ 33 callersFunctionmock_asset
()
core/station/impl/src/models/asset.rs:155
↓ 33 callersFunctionwait_for_request
( env: &PocketIc, user_id: Principal, station_canister_id: CanisterId, request: RequestDTO, )
tests/integration/src/utils.rs:258
↓ 31 callersFunctioncall_context
Creates the call context of the current request
core/station/impl/src/core/middlewares.rs:11
↓ 31 callersFunctionget_system_info
( env: &PocketIc, user_id: Principal, station_canister_id: CanisterId, )
tests/integration/src/utils.rs:354
↓ 31 callersFunctionmock_user
()
core/control-panel/impl/src/models/user.rs:263
↓ 30 callersMethodget
(&self)
core/station/impl/src/models/system.rs:242
↓ 30 callersFunctiontime
()
libs/orbit-essentials/src/cdk.rs:80
↓ 29 callersMethodlist
( &self, input: ListAssetsInput, ctx: Option<&CallContext>, )
core/station/impl/src/services/asset.rs:153
↓ 29 callersMethodparse
(version: string)
apps/wallet/src/utils/helper.utils.ts:244
↓ 28 callersFunctionmock_account
()
core/station/impl/src/models/account.rs:373
↓ 28 callersMethodvalidate
(&self)
core/station/impl/src/models/request_operation.rs:831
↓ 27 callersMethodall
(&self)
core/station/impl/src/repositories/indexes/request_policy_resource_index.rs:109
↓ 26 callersFunctiondisable_mock_resource_validation
()
core/station/impl/src/core/validation.rs:34
↓ 25 callersFunctionmock_request_policy
()
core/station/impl/src/models/request_policy.rs:180
↓ 24 callersMethodinc
(&mut self, service_name: &str)
libs/orbit-essentials/src/metrics.rs:361
↓ 23 callersMethodedit_permission
Edits a permission for a given resource.
core/station/impl/src/services/permission.rs:73
↓ 23 callersMethodfind_ids_where
Finds the ids of the registry entries by the given where clause.
core/control-panel/impl/src/repositories/registry.rs:105
↓ 23 callersFunctionmakeUser
(overrides: Partial<User> = {})
cli/src/audit/checks/fixtures.ts:20
↓ 23 callersMethodreject
( &self, request_id: String, reason: Option<String>, )
tools/dfx-orbit/src/station/agent.rs:52
↓ 23 callersMethodtoString
()
apps/wallet/src/utils/helper.utils.ts:263
↓ 23 callersFunctionwith_metrics_registry
Executes the given closure with the metric store for the given service name.
libs/orbit-essentials/src/metrics.rs:17
↓ 22 callersFunctioncanister_status
( env: &PocketIc, sender: Option<Principal>, canister_id: Principal, )
tests/integration/src/utils.rs:413
↓ 22 callersMethodget
(&self)
core/control-panel/impl/src/core/config.rs:70
↓ 22 callersMethodinsert
(&self, key: RequestKey, value: Request)
core/station/impl/src/repositories/request.rs:133
↓ 22 callersFunctionrequest_disaster_recovery
( env: &PocketIc, upgrader_id: Principal, user: Principal, request: upgrader_api::RequestDisas
tests/integration/src/utils.rs:1283
↓ 22 callersMethodupdate
(methodName: string, arg: ArrayBuffer | string)
apps/wallet/src/utils/agent.utils.ts:16
↓ 21 callersMethodis_empty
Returns true if the cache is empty.
core/station/impl/src/core/cache.rs:32
↓ 21 callersFunctionmock_address_book_entry
()
core/station/impl/src/models/address_book.rs:267
↓ 21 callersFunctionspawn
(_future: F)
libs/orbit-essentials/src/cdk.rs:41
↓ 20 callersMethodcreate
( &self, input: AddAssetOperationInput, with_asset_id: Option<AssetId>, )
core/station/impl/src/services/asset.rs:52
↓ 20 callersMethodget
()
apps/wallet/src/core/ic-agent.core.ts:27
↓ 20 callersMethodinstall_canister
( &self, canister_id: Principal, mode: CanisterInstallMode, module: &[u8],
core/station/impl/src/services/change_canister.rs:160
↓ 20 callersMethodlen
(&self)
core/station/impl/src/repositories/indexes/request_policy_resource_index.rs:40
↓ 20 callersFunctionmakePolicy
( specifier: RequestSpecifier, rule: RequestPolicyRule, )
cli/src/audit/checks/fixtures.ts:33
↓ 20 callersFunctionmock_transfer
()
core/station/impl/src/models/transfer.rs:322
↓ 20 callersFunctiontrap
(message: &str)
libs/orbit-essentials/src/cdk.rs:92
↓ 20 callersFunctionwrite_system_info
A helper function to write the system information to stable memory.
core/station/impl/src/core/memory.rs:73
↓ 19 callersMethodfind_ids_where
Find request ids based on the provided condition. The request ids are sorted based on the provided sort strategy.
core/station/impl/src/repositories/request.rs:282
↓ 19 callersFunctionminVotesForRule
( rule: RequestPolicyRule, users: User[], namedRules: Map<UUID, NamedRule>, visited: Set<UUID> = new S
cli/src/audit/resolver.ts:105
↓ 19 callersFunctionupload_canister_chunks_to_asset_canister
( env: &PocketIc, canister_wasm: Vec<u8>, chunk_len: usize, )
tests/integration/src/utils.rs:1008
↓ 18 callersMethodclear
Clears the repository by removing all the entries.
core/station/impl/src/repositories/indexes/transfer_status_index.rs:22
↓ 18 callersMethodfrom
(snapshot: mgmt::Snapshot)
core/upgrader/api/src/lib.rs:222
↓ 18 callersMethodget
(&self)
core/upgrader/impl/src/services/disaster_recovery.rs:79
↓ 18 callersFunctiontoCyclesUnit
(cycles: bigint, unit: CyclesUnit)
apps/wallet/src/mappers/cycles.mapper.ts:15
↓ 17 callersMethodadd_external_canister
Adds a new external canister to the system. Can be used to create another canister to a subnet or add an existing canister.
core/station/impl/src/services/external_canister.rs:478
↓ 17 callersMethodadd_request_policy
( &self, input: AddRequestPolicyOperationInput, )
core/station/impl/src/services/request_policy.rs:56
↓ 17 callersFunctionfromCyclesUnit
(cycles: number, unit: CyclesUnit)
apps/wallet/src/mappers/cycles.mapper.ts:56
↓ 17 callersFunctionget_request
( env: &PocketIc, user_id: Principal, station_canister_id: CanisterId, request: RequestDTO, )
tests/integration/src/utils.rs:146
↓ 17 callersFunctionsetupComponent
( setupFunction: () => RawBindings, )
apps/wallet/src/test.utils.ts:68
↓ 17 callersMethodto_unique_indexes
Extracts all unique indexes for the address book entry.
core/station/impl/src/models/indexes/unique_index.rs:41
↓ 17 callersMethodvalidate
(&self)
core/control-panel/impl/src/models/user.rs:178
↓ 16 callersMethodto_bytes
(&self)
core/station/impl/src/models/system.rs:256
↓ 15 callersFunctioncaller
()
libs/orbit-essentials/src/cdk.rs:37
↓ 15 callersMethodcanister_id
Gets the ID of a given canister name. If the name is already an ID, it is returned as is.
tools/dfx-orbit/src/lib.rs:69
↓ 15 callersFunctioncreate_canister
(env: &PocketIc, controller: Principal)
tests/integration/src/setup.rs:159
↓ 15 callersMethodincrement_request_count
(&mut self)
tests/integration/src/station_test_data.rs:146
↓ 15 callersFunctionpaginated_items
Paginates a list of items based on limit and offset.
core/station/impl/src/core/utils.rs:34
↓ 15 callersMethodremove
Removes a key from the cache and returns the value at the key if it exists.
core/station/impl/src/core/cache.rs:58
↓ 15 callersFunctionrfc3339_to_timestamp
(rfc3339: &str)
libs/orbit-essentials/src/utils/time.rs:15
↓ 15 callersMethodvalues
Returns an iterator over the cache's values.
core/station/impl/src/core/cache.rs:73
↓ 14 callersMethodadd
Record an event at time `now`. It's expected that `now` is monotonically non-decreasing.
core/station/impl/src/core/limiter.rs:27
↓ 14 callersMethodand_fullname
(mut self, fullname: &str)
core/control-panel/impl/src/repositories/registry.rs:364
next →1–100 of 3,207, ranked by callers