The parameters that are used for the allowance function call are not in the same order that is used later in the call to safeTransferFrom
.
Reverse the order of parameters in allowance function call to fit the order that is in the safeTransferFrom function call.
- ConsenSys DeFi Save Finding 5.4
- Ordering
- Medium Severity
- Incorrect Parameter Ordering
- Fix Ordering
- Youtube Reference
- Medium severity finding from Consensys Diligence Audit of Defi Saver