Intent-Code Divergence
Medium
- Confidence
- 97% confidence
- Finding
- The code attempts to read token allowance with token.allowance(wallet.address, quote.to), but allowance is not included in the contract ABI. In ethers this will fail at runtime, preventing the advertised exact-amount approval logic from working and potentially causing users to bypass or remove the check, which is especially dangerous in a script that signs live asset-moving transactions.
