forward function

MoveCallBuilder forward({
  1. required dynamic arguments,
  2. String? package,
})

Returns the latest canonical forward observation at expiry_ms.

Implementation

MoveCallBuilder forward({required dynamic arguments, String? package}) {
  final packageAddress = package ?? '@local-pkg/propbook';
  return (tx) => tx.moveCall(
        '$packageAddress::block_scholes_store::forward',
        arguments: normalizeMoveArguments(
            tx, arguments, [null, 'u64'], ['store', 'expiryMs']),
      );
}