Labels: complexity: high
Add SDK methods wrapping the contract's admin_freeze and admin_unfreeze functions. These are admin-only operations and the SDK should enforce that only an authorized admin keypair can call them.
Acceptance criteria:
adminFreezeInvoice(invoiceId, reason, adminKeypair) submits freeze transaction
adminUnfreezeInvoice(invoiceId, adminKeypair) submits unfreeze transaction
- Both methods verify the caller is an admin before building the transaction
- Emits correct audit event after submission
Labels: complexity: high
Add SDK methods wrapping the contract's
admin_freezeandadmin_unfreezefunctions. These are admin-only operations and the SDK should enforce that only an authorized admin keypair can call them.Acceptance criteria:
adminFreezeInvoice(invoiceId, reason, adminKeypair)submits freeze transactionadminUnfreezeInvoice(invoiceId, adminKeypair)submits unfreeze transaction