valuationInProgress function
MoveCallBuilder
valuationInProgress({})
Return whether a full-pool valuation is in flight, for SDK and devInspect reads. The flush spans transactions, so "in flight" is an observable state: a keeper reads it to notice a flush it must finish or discard, and an integrator reads it to explain a gated keeper/config transaction. Trading is not gated on it.
Implementation
MoveCallBuilder valuationInProgress(
{dynamic arguments, String? package, Map<String, dynamic>? config}) {
final packageAddress = package ??
(config?['predictPackageId'] as String?) ??
'@local-pkg/deepbook_predict';
return (tx) => tx.moveCall(
'$packageAddress::protocol_config::valuation_in_progress',
arguments: normalizeMoveArguments(
tx,
withConfigDefaults(
arguments, config, const {'config': 'protocolConfig'}),
[null],
['config']),
);
}