bindPythToUnderlying function
Admin-bind this Pyth source feed to a canonical Propbook underlying.
Implementation
MoveCallBuilder bindPythToUnderlying(
{required dynamic arguments, String? package}) {
final packageAddress = package ?? '@local-pkg/propbook';
return (tx) => tx.moveCall(
'$packageAddress::registry::bind_pyth_to_underlying',
arguments: normalizeMoveArguments(
tx,
arguments,
[null, null, null, 'u32'],
['registry', 'adminCap', 'feed', 'propbookUnderlyingId']),
);
}