rangePrice function
MoveCallBuilder
rangePrice({})
Return both boundary probabilities for (lower, higher]. Use probability()
for the combined range probability; absent boundaries are infinite sentinels.
Implementation
MoveCallBuilder rangePrice(
{required dynamic arguments,
String? package,
Map<String, dynamic>? config}) {
final packageAddress = package ??
(config?['predictPackageId'] as String?) ??
'@local-pkg/deepbook_predict';
return (tx) => tx.moveCall(
'$packageAddress::pricing::range_price',
arguments: normalizeMoveArguments(
tx, arguments, [null, null, null], ['pricer', 'lower', 'higher']),
);
}