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

Function mint_icp

tests/integration/src/interfaces.rs:88–95  ·  view source on GitHub ↗
(
    env: &PocketIc,
    minter_id: Principal,
    to: &AccountIdentifier,
    e8s: u64,
)

Source from the content-addressed store, hash-verified

86}
87
88pub fn mint_icp(
89 env: &PocketIc,
90 minter_id: Principal,
91 to: &AccountIdentifier,
92 e8s: u64,
93) -> Result<u64, TransferError> {
94 send_icp_to_account(env, minter_id, *to, e8s, 0, None, Some(0))
95}
96
97#[derive(CandidType)]
98pub struct Icrc1LedgerInitArgs {

Callers 3

make_icrc1_icp_transferFunction · 0.85
install_canistersFunction · 0.85
test_fetch_balancesFunction · 0.85

Calls 1

send_icp_to_accountFunction · 0.85

Tested by 2

make_icrc1_icp_transferFunction · 0.68
test_fetch_balancesFunction · 0.68