MCPcopy Create free account

hub / github.com/dfinity/examples / functions

Functions2,537 in github.com/dfinity/examples

↓ 1 callersFunctionbisect
(low,high,func)
hosting/godot-html5-template/frontend/assets/ICPluginDemo.js:9
↓ 1 callersFunctionbuildExprTree
(tokens)
hosting/unity-webgl-template/frontend/assets/unity-webgl-build.framework.js:3
↓ 1 callersFunctionbuild_brc20_reveal_script
Builds the BRC-20 reveal script that contains the JSON token deployment data. The reveal script follows the same Ordinals protocol format as text ins
rust/basic_bitcoin/src/brc20.rs:28
↓ 1 callersFunctionbuild_etching_script
Builds a runestone script for etching a new rune token. The runestone is encoded as an OP_RETURN output with the format: OP_RETURN OP_13 [LEB128 enco
rust/basic_bitcoin/src/runes.rs:141
↓ 1 callersFunctionbuild_ordinal_reveal_script
Builds the Ordinals reveal script that contains the inscription data. The reveal script follows the Ordinals protocol format: - Starts with key verif
rust/basic_bitcoin/src/ordinals.rs:133
↓ 1 callersFunctionbuild_reveal_transaction_with_fee
Constructs a reveal transaction with a specific fee amount. The reveal transaction has a simple structure: - Input: Spends the commit output from the
rust/basic_bitcoin/src/ordinals.rs:75
↓ 1 callersFunctioncallMain
(args)
hosting/godot-html5-template/frontend/assets/ICPluginDemo.js:9
↓ 1 callersFunctioncallMain
(args)
hosting/unity-webgl-template/frontend/assets/unity-webgl-build.framework.js:3
↓ 1 callersFunctioncallee_wasm
()
rust/parallel_calls/multi_subnet/src/main.rs:81
↓ 1 callersFunctioncallee_wasm
()
motoko/parallel_calls/multi_subnet/src/main.rs:78
↓ 1 callersFunctioncaller_wasm
()
rust/parallel_calls/multi_subnet/src/main.rs:76
↓ 1 callersFunctioncaller_wasm
()
motoko/parallel_calls/multi_subnet/src/main.rs:73
↓ 1 callersFunctionccall
(ident,returnType,argTypes,args,opts)
hosting/godot-html5-template/frontend/assets/ICPluginDemo.js:9
↓ 1 callersFunctionccall
(ident,returnType,argTypes,args,opts)
hosting/unity-webgl-template/frontend/assets/unity-webgl-build.framework.js:3
↓ 1 callersMethodchain_id
(&self)
rust/basic_ethereum/backend/lib.rs:273
↓ 1 callersFunctioncheckHighScore
()
rust/flying_ninja/frontend/src/Game.jsx:168
↓ 1 callersFunctioncheckHighScore
()
motoko/flying_ninja/frontend/src/Game.jsx:168
↓ 1 callersFunctioncleanTypes
({ dest = `./src/declarations` })
svelte/sveltekit-starter/update.types.mjs:10
↓ 1 callersFunctionclose_lot
(lot_id: LotId, bid_counters: Vec<BidCounter>, decrypted_bids: Vec<DecryptedBid>)
rust/vetkeys/basic_timelock_ibe/backend/src/lib.rs:351
↓ 1 callersFunctionclose_one_lot_if_any_is_open_and_expired
()
rust/vetkeys/basic_timelock_ibe/backend/src/lib.rs:219
↓ 1 callersFunctioncn
(...classes)
hosting/oisy-signer-demo/frontend/src/libs/utils.js:1
↓ 1 callersFunctioncomputeUnpackAlignedImageSize
(width,height,sizePerPixel,alignment)
hosting/unity-webgl-template/frontend/assets/unity-webgl-build.framework.js:3
↓ 1 callersFunctioncompute_neuron_staking_subaccount
Compute the subaccount for neuron staking
rust/stake_neuron_from_cli/src/lib.rs:183
↓ 1 callersMethodcompute_recovery_id
(&self, message_hash: &[u8], signature: &[u8])
rust/basic_ethereum/backend/ethereum_wallet.rs:66
↓ 1 callersFunctionconvertReturnValue
(ret)
hosting/godot-html5-template/frontend/assets/ICPluginDemo.js:9
↓ 1 callersFunctionconvertReturnValue
(ret)
hosting/unity-webgl-template/frontend/assets/unity-webgl-build.framework.js:3
↓ 1 callersFunctionconvertToBigInt
(num: number)
motoko/ic-pos/src/icpos_frontend/utils/convertToBigInt.ts:1
↓ 1 callersFunctionconvertToDataUrl
(blob)
rust/qrcode/frontend/src/main.js:61
↓ 1 callersFunctionconvertU32PairToI53
(lo,hi)
hosting/unity-webgl-template/frontend/assets/unity-webgl-build.framework.js:3
↓ 1 callersFunctionconvert_decrypted_values_to_decrypted_bids
( lot_id: LotId, encrypted_bids: Vec<EncryptedBid>, decrypted_values: Vec<Result<Vec<u8>, String>>
rust/vetkeys/basic_timelock_ibe/backend/src/lib.rs:299
↓ 1 callersFunctioncopyPrincipal
(principal: string | Principal | undefined)
motoko/ic-pos/src/icpos_frontend/components/PrincipalPill.tsx:7
↓ 1 callersFunctioncreateActor
(canisterId, options = {})
motoko/ic-pos/src/declarations/icrc1_index/index.js:15
↓ 1 callersFunctioncreateActor
(canisterId, options = {})
motoko/ic-pos/src/declarations/icrc1_ledger/index.js:15
↓ 1 callersFunctioncreateActor
(canisterId, options = {})
motoko/ic-pos/src/declarations/internet_identity/index.js:15
↓ 1 callersFunctioncreateActor
(options)
svelte/svelte-motoko-starter/src/frontend/src/store/auth.js:11
↓ 1 callersFunctioncreateActor
(canisterId, options = {})
svelte/svelte-motoko-starter/src/declarations/frontend/index.js:16
↓ 1 callersFunctioncreateActor
(canisterId, options = {})
svelte/svelte-motoko-starter/src/declarations/backend/index.js:16
↓ 1 callersFunctioncreateActor
(canisterId, options = {})
svelte/svelte-motoko-starter/src/declarations/internet-identity/index.js:16
↓ 1 callersFunctioncreateBackendActor
(identity)
rust/who_am_i/src/frontend/src/actor.js:35
↓ 1 callersFunctioncreateBackendActor
(identity)
motoko/filevault/frontend/src/actor.js:31
↓ 1 callersFunctioncreateBackendActor
(identity)
motoko/who_am_i/src/frontend/src/actor.js:35
↓ 1 callersFunctioncreateEncryptedMaps
(agent: HttpAgent)
rust/vetkeys/password_manager_with_metadata/frontend/src/lib/encrypted_maps.ts:12
↓ 1 callersFunctioncreateEncryptedMaps
( agentOptions?: HttpAgentOptions, )
rust/vetkeys/password_manager/frontend/src/lib/encrypted_maps.ts:13
↓ 1 callersFunctioncreateLot
( name: string, description: string, durationSeconds: number, )
rust/vetkeys/basic_timelock_ibe/frontend/src/main.ts:201
↓ 1 callersFunctioncreateMessageElement
( sender: Principal, timestamp: bigint, plaintextString: string, index: number, )
rust/vetkeys/basic_ibe/frontend/src/main.ts:140
↓ 1 callersFunctioncreatePasswordManager
(agentOptions?: { identity?: HttpAgent["config"]["identity"]; })
rust/vetkeys/password_manager_with_metadata/frontend/src/lib/password_manager.ts:154
↓ 1 callersFunctioncreateRecursive
(dir)
hosting/godot-html5-template/frontend/assets/ICPluginDemo.js:9
↓ 1 callersFunctioncreateWasm
()
hosting/godot-html5-template/frontend/assets/ICPluginDemo.js:9
↓ 1 callersFunctioncreateWasm
()
hosting/unity-webgl-template/frontend/assets/unity-webgl-build.framework.js:3
↓ 1 callersFunctioncreate_image_reponse
(image: ImageData)
rust/photo_gallery/backend/lib.rs:99
↓ 1 callersFunctioncreate_not_found_response
()
rust/photo_gallery/backend/lib.rs:91
↓ 1 callersFunctioncreate_partition_canister
(cycle_share: u128)
rust/composite_query/backend/lib.rs:121
↓ 1 callersFunctioncreate_test_api
Helper to create a direct CanisterApi instance for testing (sync methods)
rust/unit_testable_rust_canister/backend/src/canister_api.rs:164
↓ 1 callersFunctiond
(e)
hosting/unity-webgl-template/frontend/assets/unity-webgl-build.loader.js:1
↓ 1 callersFunctiondecryptMessage
(encryptedMessage: Uint8Array)
rust/vetkeys/basic_ibe/frontend/src/main.ts:94
↓ 1 callersFunctiondecryptNotes
( notes: EncryptedNote[], cryptoService: CryptoService )
rust/vetkeys/encrypted_notes_app_vetkd/frontend/src/store/notes.ts:28
↓ 1 callersMethoddecryptWithNoteKey
(note_id: bigint, owner: string, data: string)
rust/vetkeys/encrypted_notes_app_vetkd/frontend/src/lib/crypto.ts:17
↓ 1 callersFunctiondecrypt_bids
(lot_id: LotId, encrypted_bids: Vec<EncryptedBid>)
rust/vetkeys/basic_timelock_ibe/backend/src/lib.rs:243
↓ 1 callersFunctiondecrypt_ciphertexts
In the canister, using the IBE key derived from the identity decrypt a vector of ciphertexts, which makes them public. Returns a vector, where each va
rust/vetkeys/basic_timelock_ibe/backend/src/lib.rs:258
↓ 1 callersFunctiondefault_governance_for_tests
Helper function that provides a pre-configured Governance instance This uses the same defaults that GovernanceCanisterInitPayloadBuilder::new().build(
rust/unit_testable_rust_canister/backend/tests/integration_tests.rs:417
↓ 1 callersFunctiondemangle
(func)
hosting/godot-html5-template/frontend/assets/ICPluginDemo.js:9
↓ 1 callersFunctiondemangle
(func)
hosting/unity-webgl-template/frontend/assets/unity-webgl-build.framework.js:3
↓ 1 callersFunctiondemangleAll
(text)
hosting/godot-html5-template/frontend/assets/ICPluginDemo.js:9
↓ 1 callersFunctiondemangleAll
(text)
hosting/unity-webgl-template/frontend/assets/unity-webgl-build.framework.js:3
↓ 1 callersMethodderive_new_public_key
( &self, derivation_path: &DerivationPath, )
rust/basic_ethereum/backend/ecdsa.rs:12
↓ 1 callersFunctionderive_public_key
(owner: &Principal, public_key: &EcdsaPublicKey)
rust/basic_ethereum/backend/ethereum_wallet.rs:91
↓ 1 callersFunctiondetailsFromFile
(file)
hosting/photo-storage/src/App.jsx:34
↓ 1 callersFunctiondetailsFromKey
(key)
hosting/photo-storage/src/App.jsx:26
↓ 1 callersFunctiondetect
Returns a bounding box around the face detected in the given image.
rust/face-recognition/src/backend/src/onnx.rs:93
↓ 1 callersFunctiondisplayMessages
(inbox: Inbox)
rust/vetkeys/basic_ibe/frontend/src/main.ts:187
↓ 1 callersFunctiondoInit
(promise)
hosting/godot-html5-template/frontend/assets/ICPluginDemo.js:609
↓ 1 callersFunctiondoRequestFullscreen
(target,strategy)
hosting/unity-webgl-template/frontend/assets/unity-webgl-build.framework.js:3
↓ 1 callersFunctiondoXHR
(from,to)
hosting/godot-html5-template/frontend/assets/ICPluginDemo.js:9
↓ 1 callersFunctiondoXHR
(from,to)
hosting/unity-webgl-template/frontend/assets/unity-webgl-build.framework.js:3
↓ 1 callersFunctiondownload_wasm_to
(url: String, wasm_path: &Path)
rust/unit_testable_rust_canister/backend/tests/integration_tests.rs:126
↓ 1 callersFunctiondynCallLegacy
(sig,ptr,args)
hosting/unity-webgl-template/frontend/assets/unity-webgl-build.framework.js:3
↓ 1 callersFunctionemscriptenWebGLGet
(name_,p,type)
hosting/unity-webgl-template/frontend/assets/unity-webgl-build.framework.js:3
↓ 1 callersFunctionemscriptenWebGLGetIndexed
(target,index,data,type)
hosting/unity-webgl-template/frontend/assets/unity-webgl-build.framework.js:3
↓ 1 callersFunctionemscriptenWebGLGetUniform
(program,location,params,type)
hosting/unity-webgl-template/frontend/assets/unity-webgl-build.framework.js:3
↓ 1 callersFunctionemscriptenWebGLGetVertexAttrib
(index,pname,params,type)
hosting/unity-webgl-template/frontend/assets/unity-webgl-build.framework.js:3
↓ 1 callersFunctionemscripten_realloc_buffer
(size)
hosting/godot-html5-template/frontend/assets/ICPluginDemo.js:9
↓ 1 callersFunctionemscripten_realloc_buffer
(size)
hosting/unity-webgl-template/frontend/assets/unity-webgl-build.framework.js:3
↓ 1 callersFunctionencode64
(data)
hosting/godot-html5-template/frontend/assets/ICPluginDemo.js:9
↓ 1 callersFunctionencode64
(data)
hosting/unity-webgl-template/frontend/assets/unity-webgl-build.framework.js:3
↓ 1 callersFunctionencode_rune_name
Encodes a rune name into its numeric representation. Runes use a modified base-26 encoding where A=0, B=1, ... Z=25. Names are encoded with A as the
rust/basic_bitcoin/src/runes.rs:79
↓ 1 callersFunctionencrypt
( cleartext: Uint8Array, receiver: Principal, )
rust/vetkeys/basic_ibe/frontend/src/main.ts:56
↓ 1 callersFunctionencrypt
( cleartext: Uint8Array, identity: Uint8Array, )
rust/vetkeys/basic_timelock_ibe/frontend/src/main.ts:187
↓ 1 callersMethodencryptWithNoteKey
(note_id: bigint, owner: string, data: string)
rust/vetkeys/encrypted_notes_app_vetkd/frontend/src/lib/crypto.ts:10
↓ 1 callersFunctionensure_none_in_processing
()
rust/guards/backend/lib.rs:124
↓ 1 callersFunctionensure_wasm_built
Ensures the WASM is built and up-to-date, returns path to the WASM file
rust/unit_testable_rust_canister/backend/tests/integration_tests.rs:32
↓ 1 callersFunctionenumerateMediaDeviceList
()
hosting/unity-webgl-template/frontend/assets/unity-webgl-build.framework.js:3
↓ 1 callersFunctionestimate_transaction_fees
()
rust/basic_ethereum/backend/lib.rs:244
↓ 1 callersFunctionevm_rpc
Resolve the EVM RPC canister ID at runtime. icp-cli sets the `PUBLIC_CANISTER_ID:evm_rpc` env var; fall back to the well-known mainnet ID.
rust/evm_block_explorer/backend/lib.rs:21
↓ 1 callersFunctionexception_addRef
(info)
hosting/unity-webgl-template/frontend/assets/unity-webgl-build.framework.js:3
↓ 1 callersFunctionexception_decRef
(info)
hosting/unity-webgl-template/frontend/assets/unity-webgl-build.framework.js:3
↓ 1 callersFunctionexitRuntime
()
hosting/godot-html5-template/frontend/assets/ICPluginDemo.js:9
↓ 1 callersFunctionexitRuntime
()
hosting/unity-webgl-template/frontend/assets/unity-webgl-build.framework.js:3
↓ 1 callersFunctionextractTitle
(html: string)
rust/vetkeys/encrypted_notes_app_vetkd/frontend/src/lib/note.ts:102
↓ 1 callersFunctionfast_forward
(ic: &PocketIc, ticks: u64)
rust/threshold-schnorr/backend/tests/integration_tests.rs:216
↓ 1 callersFunctionfetchBalances
()
hosting/oisy-signer-demo/frontend/src/hooks/useOisyWallet.js:66
← previousnext →501–600 of 2,537, ranked by callers