High Severity Revert
·
Token Allowances
LTC20: Insufficient Allowance / LTC20InsufficientAllowance
LTC20: insufficient allowance / LTC20InsufficientAllowance(address,uint256,uint256)
Why Did This Transaction Revert?
A spender contract (e.g. Litecoin DEX, 1inch) attempted to transfer tokens using transferFrom, but the approved allowance is lower than the amount.
Smart Contract Revert Point
if (currentAllowance < amount) revert LTC20InsufficientAllowance(spender, currentAllowance, amount);
Step-by-Step Resolution Checklist
1
Execute an approve(spender, amount) transaction first.
2
Inspect existing permissions using the LtcPricer Token Approval Scanner (/token-approval).
3
Ensure you are approving the exact active router contract address.