Description
In processor.ts, the doesPaymentMatchTrigger() function hard-codes isXLM and returns false for any USDC payment. Users who receive USDC will have no rules triggered even for a generic rule. The depositUSDCToVault() function in vault.ts exists but is never called by the engine.
Root Cause
processor.ts line 42: "return matchesTrigger and isXLM" -- USDC payments always evaluate to false.
Steps to Reproduce
- Create an automation rule for saving a percentage of payments.
- Receive USDC to the monitored wallet.
- Observe that no automated transaction is created.
Impact
High - USDC is one of the most common assets on Stellar. AutoPilot silently ignores all USDC payment events.
Description
In processor.ts, the doesPaymentMatchTrigger() function hard-codes isXLM and returns false for any USDC payment. Users who receive USDC will have no rules triggered even for a generic rule. The depositUSDCToVault() function in vault.ts exists but is never called by the engine.
Root Cause
processor.ts line 42: "return matchesTrigger and isXLM" -- USDC payments always evaluate to false.
Steps to Reproduce
Impact
High - USDC is one of the most common assets on Stellar. AutoPilot silently ignores all USDC payment events.