fuel_vm::interpreter::contract

Function balance_decrease

source
pub fn balance_decrease<S>(
    storage: &mut S,
    contract: &ContractId,
    asset_id: &AssetId,
    amount: Word,
) -> IoResult<Word, S::Error>
Expand description

Decrease the asset balance for a contract.