Function fuel_vm::interpreter::contract::balance_increase
source ยท pub fn balance_increase<S>(
storage: &mut S,
contract: &ContractId,
asset_id: &AssetId,
amount: Word,
) -> IoResult<(Word, bool), S::Error>where
S: ContractsAssetsStorage + ?Sized,
Expand description
Increase the asset balance for a contract. Returns new balance, and a boolean indicating if a new entry was created.