Description: Allow the contract Admin to withdraw stranded tokens from the contract balance in case of routing failures or a bug.
Acceptance Criteria:
- New function
emergency_withdraw(env, token, amount).
- Restricted strictly to the Admin address (
admin.require_auth()).
Branching Instructions: Create branch feat/contract-emergency-withdraw from main.
Description: Allow the contract Admin to withdraw stranded tokens from the contract balance in case of routing failures or a bug.
Acceptance Criteria:
emergency_withdraw(env, token, amount).admin.require_auth()).Branching Instructions: Create branch
feat/contract-emergency-withdrawfrommain.