mintPauseCap function
Mint a new PauseCap. This bypasses the version gate so emergency pause
authority remains available from a package version below the runtime floor.
Implementation
MoveCallBuilder mintPauseCap(
{dynamic arguments, String? package, Map<String, dynamic>? config}) {
final packageAddress = package ??
(config?['predictPackageId'] as String?) ??
'@local-pkg/deepbook_predict';
return (tx) => tx.moveCall(
'$packageAddress::registry::mint_pause_cap',
arguments: normalizeMoveArguments(
tx,
withConfigDefaults(
arguments, config, const {'registry': 'registry'}),
[null, null],
['registry', 'AdminCap']),
);
}