專案簡介
The target of this audit is the private code repository of Fiat24 Contracts of Mantle. The Fiat24 Contracts of Mantle is a fiat-crypto payment infrastructure on Mantle that enables card authorization processing and operator-controlled vault management for fiat token operations. This update introduces a delegation vault and a double-booking mechanism. The delegation vault lets operators handle payouts, asset settlements, and rebalancing between Fiat24 tokens and USDC via the contract BufferPool and CryptoDeposit. The double-booking mechanism in the contract Fiat24CardAuthorizationMarqeta ensures that purchases via Ethena are properly tracked on-chain, preserving a verifiable record that links each payment to corresponding users.
Please refer to the report for the detailed audit scope.
Our audit methodology employs automated vulnerability scans, manual verification, and business logic analysis to uncover potential security issues coupled with gas and code quality optimization recommendations.
In summary, we did not find any critical issues within the audited codebase. However, we have identified some non-critical issues that should be addressed. Additionally, we have put forth recommendations and notes that should be taken into consideration. It is important to note that the scope of our audit was strictly limited to the specific code versions mentioned in the report. Any updates made subsequent to our review would require a re-evaluation.
關鍵發現
我們在該智能合約中共發現 2 個潛在問題,另有 5 條建議與 3 條說明,明細如下:
| ID | Severity | Description | Status |
|---|---|---|---|
| 1 | Medium | Lock of native tokens in the contract DelegationVault |
Fixed |
| 2 | Low | Lack of wallet provider checks in the function settleTokenToAccount() |
Fixed |
| 3 | - | Revise the misleading names in the skip mechanism | Confirmed |
| 4 | - | Revise the input name amountOutMinimum of the _depositTOkenViaUsdc() function |
Fixed |
| 5 | - | Remove redundant code | Partially Fixed |
| 6 | - | Correct misleading error names | Partially Fixed |
| 7 | - | Revise the inconsistent error message in the setAlternativeInputTokens() function |
Fixed |
| 8 | - | Ensure proper off-chain parameter validations | - |
| 9 | - | Proper approvals for double booking operations | - |
| 10 | - | Potential centralization risks | - |
更多細節見審計報告。