개요
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 | - |
자세한 내용은 감사 보고서에서 확인할 수 있습니다.