MCPcopy Create free account
hub / github.com/dfinity/orbit / default_account

Function default_account

tests/integration/src/interfaces.rs:44–46  ·  view source on GitHub ↗
(user_id: Principal)

Source from the content-addressed store, hash-verified

42pub const ICP_FEE: u64 = 10_000; // in e8s
43
44pub fn default_account(user_id: Principal) -> String {
45 AccountIdentifier::new(&user_id, &DEFAULT_SUBACCOUNT).to_hex()
46}
47
48pub fn send_icp_to_account(
49 env: &PocketIc,

Callers 2

make_transfer_successfulFunction · 0.85

Calls

no outgoing calls

Tested by 2

make_transfer_successfulFunction · 0.68