containsPythSource function
Returns whether the Pyth source wrapper exists in the external source catalog.
Implementation
MoveCallBuilder containsPythSource(
{required dynamic arguments, String? package}) {
final packageAddress = package ?? '@local-pkg/propbook';
return (tx) => tx.moveCall(
'$packageAddress::registry::contains_pyth_source',
arguments: normalizeMoveArguments(
tx, arguments, [null, 'u32'], ['registry', 'pythSourceId']),
);
}