loadCurrencyCollection function
Implementation
CurrencyCollection loadCurrencyCollection(Slice slice) {
final coins = slice.loadCoins();
final other = slice.loadDictionary(
Dictionary.createKeyUint(32),
Dictionary.createValueBigVarInt(5),
);
if (other.length == 0) {
return CurrencyCollection(coins);
}
return CurrencyCollection(coins, other);
}