propbookBlockScholesStorePairForUnderlying function

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

Resolves the complete immutable Block Scholes binding for an underlying.

Implementation

MoveCallBuilder propbookBlockScholesStorePairForUnderlying(
    {required dynamic arguments, String? package}) {
  final packageAddress = package ?? '@local-pkg/propbook';
  return (tx) => tx.moveCall(
        '$packageAddress::registry::propbook_block_scholes_store_pair_for_underlying',
        arguments: normalizeMoveArguments(
            tx, arguments, [null, 'u32'], ['registry', 'propbookUnderlyingId']),
      );
}