In this guide, we walk through the process of debugging a failed cross-contract swap.Documentation Index
Fetch the complete documentation index at: https://prism-ddf93e61.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
Run Decode
Run
prism decode <hash>. Prism identifies that the InvalidInput happened inside the Token contract during a transfer call.Esclate to Trace
Run
prism trace <hash>. The hierarchical timeline shows that the swap contract passed a negative amount to the token contract.