verity_ic::remittance::utils

Function update_canister_balance

source
pub fn update_canister_balance(
    token: Wallet,
    chain: Chain,
    dc_canister: Principal,
    amount: i64,
)
Expand description

Updates the canister’s balance for a specific token.

§Parameters

  • token: The wallet token.
  • chain: The blockchain chain.
  • dc_canister: The principal of the DC canister.
  • amount: The amount to update the balance by.