Future<int> encodeScale(double value, String assetType) async { final hash = await getBlindScale(assetType); return (value * hash).round(); }